Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MikimotoH/694fc8d247541630c119 to your computer and use it in GitHub Desktop.
Save MikimotoH/694fc8d247541630c119 to your computer and use it in GitHub Desktop.
CUDA driver version is insufficient for CUDA runtime version Ubuntu 14.04.3 GTX 970 CUDA 7.5
Symptom:
Error message "CUDA driver version is insufficient for CUDA runtime version" shown when running
/usr/local/cuda-7.5/samples/1_Utilities/deviceQuery/deviceQuery
My Equipment:
Ubunt 14.04.3 Trusty
EVGA GTX 970
CUDA 7.5
Cause:
The driver version is "not matched" with the SDK header and library version.
My driver is "352.63" but SDK is "352.39".
You have to install the driver bundled with the CUDA ".run" file.
1. Download "cuda_7.5.18_linux.run" from https://developer.nvidia.com/cuda-downloads
2. $ bash cuda_7.5.18_linux.run -extract /home/miki/Downloads/cuda_7.5/
3. you will see 3 files. One file is driver
-rwxr-xr-x 1 root root 1024788904 Jan 24 15:32 cuda-linux64-rel-7.5.18-19867135.run*
-rwxr-xr-x 1 root root 96490585 Jan 24 15:32 cuda-samples-linux-7.5.18-19867135.run*
-rwxr-xr-x 1 root root 77715105 Jan 24 15:32 NVIDIA-Linux-x86_64-352.39.run*
4. reinstall NVIDIA-Linux-x86_64-352.39.run
4.1. Alt-F1 go to CLI, sudo service lightdm stop; sudo init 3; sudo ./NVIDIA-Linux-x86_64-352.39.run
5. Now recompile /usr/local/cuda-7.5/samples/1_Utilities/deviceQuery/Makefile
In my case "driver version is insufficient" error message won't shown again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment