Many tests in examples are failing after a sucessful installation.

Hello,

I’m trying to setup Cuda on my Gentoo.

I’ve successfully installed the driver (177.73), the toolbox (in /usr/local/cuda) and the sdk,

but the examples are failing (it runs but the display is broken or Test FAILED appears).

I’ve been using the rhel *.run files (from the NVIDIA website).

Here is the device query output:

There is 1 device supporting CUDA

Device 0: "GeForce 8400M GT"

  Major revision number:						 1

  Minor revision number:						 1

  Total amount of global memory:				 66781184 bytes

  Number of multiprocessors:					 2

  Number of cores:							   16

  Total amount of constant memory:			   65536 bytes

  Total amount of shared memory per block:	   16384 bytes

  Total number of registers available per block: 8192

  Warp size:									 32

  Maximum number of threads per block:		   512

  Maximum sizes of each dimension of a block:	512 x 512 x 64

  Maximum sizes of each dimension of a grid:	 65535 x 65535 x 1

  Maximum memory pitch:						  262144 bytes

  Texture alignment:							 256 bytes

  Clock rate:									0.90 GHz

  Concurrent copy and execution:				 Yes

Test PASSED

Press ENTER to exit...

My graphic card is a Geforce 8400M GT 256 Mb (memory is correctly detected).

All the examples have been run with both version 177.73 and 177.80. I’ve also tested running them as root

but it did not change anything.

For instance, in the image denoising example, the windows appears, the noised image is displayed but pressing 1,2,3,4 doesn’t change anything (but there is console output saying that

the mode has been switched).

Any idea about how to solve that issue? I’ve seen other people having the same kind of problems but I didn’t catch any answer that could help me to solve the problem.

(I’m attaching a nvidia bug report to this topic).

Thanks!
nvidia_bug_report.log.txt (155 KB)

64MB of memory is really not enough to run CUDA; 128MB is the baseline, and 256MB is really when it becomes viable.