Fixed. See third post.
Hi,
I’m running Fedora 18 x86_64 with akmod-nvidia and nvidia driver version 319.60 from rpmfusion-nonfree, and a GTX 670. I have cuda-5.5 install from the cuda repo. Compilation with nvcc appears to work fine, but at runtime I get the “CUDA driver version is insufficient for CUDA runtime version” error.
$ lspci -v | grep -i nvidia
Kernel driver in use: nvidia
$ nvidia-settings -q NvidiaDriverVersion
Attribute 'NvidiaDriverVersion' (calculus:0.0): 319.60
Attribute 'NvidiaDriverVersion' (calculus:0[gpu:0]): 319.60
(Is it odd that this lists two items?)
$ uname -r
3.10.13-101.fc18.x86_64
$ ./deviceQuery
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
cudaGetDeviceCount returned 35
-> CUDA driver version is insufficient for CUDA runtime version
Result = FAIL
$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 319.60 Wed Sep 25 14:28:26 PDT 2013
GCC version: gcc version 4.7.2 20121109 (Red Hat 4.7.2-8) (GCC)
$ lsmod | grep -i nvidia
nvidia 9451598 40
drm 272315 2 nvidia
i2c_core 38420 3 drm,i2c_i801,nvidia
$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2013 NVIDIA Corporation
Built on Wed_Jul_17_18:36:13_PDT_2013
Cuda compilation tools, release 5.5, V5.5.0
$ nvidia-smi
Sat Oct 5 17:09:40 2013
+------------------------------------------------------+
| NVIDIA-SMI 5.319.60 Driver Version: 319.60 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 670 Off | 0000:01:00.0 N/A | N/A |
| 30% 29C N/A N/A / N/A | 314MB / 2047MB | N/A Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Compute processes: GPU Memory |
| GPU PID Process name Usage |
|=============================================================================|
| 0 Not Supported |
+-----------------------------------------------------------------------------+
(I was previously running driver version 319.37 from the cuda repo, but since this doesn’t support the 3.10.x kernels, I removed it and moved to the latest driver from rpmfusion, which is I believe the latest long lived branch.)