CUDA kdernels don't run on my machine Debian Linux, GeForce 8600GT/256MB, driver 190.18

I’ve installed CUDA-capable NVidia driver, CUDA-tools and CUDA_SDK on my comp

deviceQuery from CUDA SDK shows this:

CUDA Device Query (Runtime API) version (CUDART static linking)
There is 1 device supporting CUDA

Device 0: “GeForce 8600 GT”
CUDA Driver Version: 2.30
CUDA Runtime Version: 2.30
CUDA Capability Major revision number: 1
CUDA Capability Minor revision number: 1
Total amount of global memory: 267714560 bytes
Number of multiprocessors: 4
Number of cores: 32
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: 1.19 GHz
Concurrent copy and execution: Yes
Run time limit on kernels: Yes
Integrated: No
Support host page-locked memory mapping: No
Compute mode: Default (multiple host threads can use this device simultaneously)

Test PASSED

But when I try to run some code from CUDA SDK with CUDA kernels, I always receive this:

Runtime API error in file …, line…: no CUDA-capable device is available.

$ uname -a
Linux sweden 2.6.26-2-686 #1 SMP Sun Jun 21 04:57:38 UTC 2009 i686 GNU/Linux

$ nvcc --version
nvcc: NVIDIA ® Cuda compiler driver
Copyright © 2005-2009 NVIDIA Corporation
Built on Thu_Jul__2_10:56:25_PDT_2009
Cuda compilation tools, release 2.3, V0.2.1221

$ gcc --version
gcc (Debian 4.3.3-3) 4.3.3
Copyright © 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

What I do wrong? Please help!

Does your user belong to the video group?
Can you run the sdk samples as root?
What is the output of
ls -l /dev/nv*

Thanks for care, things reveal to be much simpler.

My NVidia 8600GT card was broken due to overheat (on-card fan stopped to rotate). After replacing it things work as expected.

Hi everybody,

I am having the same issue as alecn2002, but the Quadro FX 570M seems to be running just fine; temperature is ok, 3D-applications run fine, so I assume the card to be running fine as well. Since I tried reinstalling the driver (versions 190.18 as well as 190.42) but it didn’t help.

Here’s what deviceQuery tells me:

[codebox]./deviceQuery

CUDA Device Query (Runtime API) version (CUDART static linking)

There is 1 device supporting CUDA

Device 0: “Quadro FX 570M”

CUDA Driver Version: 2.30

CUDA Runtime Version: 2.30

CUDA Capability Major revision number: 1

CUDA Capability Minor revision number: 1

Total amount of global memory: 133496832 bytes

Number of multiprocessors: 4

Number of cores: 32

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.95 GHz

Concurrent copy and execution: Yes

Run time limit on kernels: Yes

Integrated: No

Support host page-locked memory mapping: No

Compute mode: Default (multiple host threads can use this device simultaneously)

Test PASSED[/codebox]

But whenever I try to run any cuda example I get:

[codebox]~/NVIDIA_GPU_Computing_SDK/C/bin/linux/release$ ./scan

cudaSafeCall() Runtime API error in file <scan.cu>, line 100 : no CUDA-capable device is available.[/codebox]

I read that this may happen in case you’re not having read/write rights on the nvidia devices but this is not the case

[codebox]ll /dev/nv*

crw-rw-rw- 1 root root 195, 0 2009-12-11 14:12 /dev/nvidia0

crw-rw-rw- 1 root root 195, 255 2009-12-11 14:12 /dev/nvidiactl

crw-rw-rw- 1 root kmem 10, 144 2009-12-11 14:12 /dev/nvram

[/codebox]

I am running Ubuntu 09.10, nvidia driver 190.42 as well as CUDA toolkit + sdk 2.3 and compiled the examples with GCC 4.3.4.

[codebox]$gcc --version

gcc (Ubuntu 4.3.4-5ubuntu1) 4.3.4

Copyright © 2008 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.[/codebox]

Does anybody have any idea about what the reason might be that I cannot run any CUDA example?

Any help is highly appreciated! ;-)

Marius

I just tested the CUDA 2.3 Examples under Windows and the 195.62 and everything ran just fine.
Has anyone experienced the same problem?