CUDA驱动程序版本不适用于CUDA运行时版本,尽管它是最新的驱动程序

时间:2016-07-17 00:59:23

标签: cuda nvidia

所以我有一个非常类似的问题: What can I do against 'CUDA driver version is insufficient for CUDA runtime version'?

当我制作并运行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

这是我的系统:

andycui97@andycui97-Z10PE-D8-WS:~$ nvidia-settings -q NvidiaDriverVersion

  Attribute 'NvidiaDriverVersion' (andycui97-Z10PE-D8-WS:0.0): 367.35
  Attribute 'NvidiaDriverVersion' (andycui97-Z10PE-D8-WS:0[gpu:0]): 367.35

andycui97@andycui97-Z10PE-D8-WS:~$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module  367.35  Mon Jul 11 23:14:21 PDT 2016
GCC version:  gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.1)

andycui97@andycui97-Z10PE-D8-WS:~$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Wed_May__4_21:01:56_CDT_2016
Cuda compilation tools, release 8.0, V8.0.26

andycui97@andycui97-Z10PE-D8-WS:~$ nvidia-smi
Sat Jul 16 17:48:19 2016       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 367.35                 Driver Version: 367.35                    |
|-------------------------------+----------------------+----------------------+
| 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 1070    Off  | 0000:03:00.0      On |                  N/A |
| 27%   39C    P5    12W / 151W |    545MiB /  8106MiB |     31%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0       900    G   /usr/lib/xorg/Xorg                             241MiB |
|    0      1556    G   compiz                                         140MiB |
|    0      7455    G   ...s-passed-by-fd --v8-snapshot-passed-by-fd   136MiB |
|    0      9861    G   /home/andycui97/.steam/ubuntu12_32/steam        25MiB |
+-----------------------------------------------------------------------------+
​

所以我有一个gtx 1070并且我从linux 16.04的runfile安装了cuda 8rc

如果我没有弄错的话,我的驱动程序版本是绝对最新的,按字面意思在一天前发布 http://www.nvidia.com/download/driverResults.aspx/105343/en-us,所以我对我的CUDA驱动程序版本不足之处感到困惑。

任何帮助将不胜感激!

1 个答案:

答案 0 :(得分:2)

解决方案:

使用来自Nvidia网站的runfile来获得稍微较旧的驱动程序,367.27