GeForce 8800 GT: card works, but not CUDA kernel 2.6.24, nvidia driver, X works

I’m having a weird problem. With version 169.09 nvidia driver and a GeForce 8800 GT, I have X working (nvidia splash screen shows) but not CUDA (all the demos report “There is no device supporting CUDA.”).

NVRM: loading NVIDIA UNIX x86_64 Kernel Module 169.09 Fri Jan 11 14:04:37 PST 2008

lspci:


03:00.0 VGA compatible controller: nVidia Corporation GeForce 8800 GT (rev a2)

kernel: Linux version 2.6.24-1-amd64 (Debian 2.6.24-4) (waldi@debian.org) (gcc version 4.1.3 20080114 (prerelease) (Debian 4.1.2-19)) #1 SMP Mon Feb 11 13:47:43 UTC 2008

I’ve tried some of the boot parameters suggested when searching around the intarnets: pci=nommconf acpi=off pci=routeirq (none of these produce different results)

I don’t know if this is a red herring, but dmesg reports:

PCI: Failed to allocate mem resource #6:20000@d0000000 for 0000:03:00.0

Other related stuff about the card from lspci:

PCI->APIC IRQ transform: 0000:03:00.0[A] -> IRQ 16
PCI: Failed to allocate mem resource #6:20000@d0000000 for 0000:03:00.0
Boot video device is 0000:03:00.0
PCI: Setting latency timer of device 0000:03:00.0 to 64

deviceQuery says:

./deviceQuery

There is no device supporting CUDA.

Device 0: “Device Emulation (CPU)”
Major revision number: -1
Minor revision number: -1
Total amount of global memory: -1 bytes
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: 1350000 kilohertz

Test PASSED

Press ENTER to exit…

Any hints?

Thanks,
mike

Did you install the drivers via a package instead of the NVIDIA provided download? Some packages don’t install the cuda shared libraries, which causes this behavior.

Ah, yes; bells ringing. I had indeed installed from nvidia-kernel-common package. Grabbing the stuff from nvidia solves the problem.

(So, yes, the pci stuff is a red-herring).

Thanks!

mike