I’m having an issue with cuda 7.5 on ubuntu 15.10 after I did an apt-get upgrade. I have subsequently uninstalled and reinstalled the complete cuda packaged (including all dependencies) using apt-get remove and apt-get autoremove.
After reinstallation the output of the deviceQuery example is “cudaGetDeviceCount returned 38 -> no CUDA-capable device is detected”. This despite the fact that lspci detects an nvidia gpu and the driver reports itself as being installed. The one odd detail that I have found so far is the output of
cat /proc/driver/nvidia/gpus/0000:01:00.0/information which contains a lot of question marks. I would suspect this means the driver was not installed properly after all.
My question is, how to continue troubleshooting in this circumstance?
$ lspci | grep NVIDIA
01:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX 980 Ti] (rev a1)
$ ls /dev/nvidia* -l
crw-rw-rw- 1 root root 195, 0 Jun 30 15:39 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 Jun 30 15:38 /dev/nvidiactl
$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 352.99 Mon Jul 4 23:52:14 PDT 2016
GCC version: gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2)
driver gpu info
$ cat /proc/driver/nvidia/gpus/0000:01:00.0/information
Model: GeForce GTX 980 Ti
GPU UUID: GPU-???-???-???-???-???
Video BIOS: ??.??.??.??.??
Bus Type: PCIe
DMA Size: 40 bits
DMA Mask: 0xffffffffff
Bus Location: 0000:01:00.0