You are not logged in.

#1 2018-06-17 17:24:24

GRG121
Member
Registered: 2016-02-28
Posts: 10

CUDA driver version is insufficient for CUDA runtime version

I'm trying to use CUDA in a laptopt with Nvidia optimus configuration (MSI cx61 2pc) using Bumblebee. I've installed Nvidia-390xx drivers as it seems to be the appropriate version for my card, mesa package and also xf86-video-intel. I've tried to generate a xorg.conf file with nvidia-xconfig but, doing that I can't get xorg working and I have some screen-tilling problem so I tried to remove the xorg.conf file and not using any of them I get xorg working.

After beeing fighting with this problems and have things working I installed cuda package, as well as opencl-390xx... I wrote a program in CUDA, compile and execute it, everything seemed to be ok... but then I tried to compile and execute cuda default samples... more specifically, I tried to execute deviceQuery example... and I got the error:  CUDA driver version is insufficient for CUDA runtime version

I have tried to use nvidia driver (without 390xx and then I don't get that error, but I can't load nvidia module as the driver is not the apropiate to my card, dmesg show a warning saying that I should use 390xx version).... So... I think maybe I should uninstall cuda package and install an older cuda version from AUR but... I'm nor sure which version should I use and I can't find any correspondence between the driver 390xx and CUDA available versions...

Any idea? Am I wrong supposing that? maybe is there a way to use CUDA 9.0 with nvidia-390xx driver?

Thanks for read :)

some info:


 $  lspci -k | grep -A 2 -E "(VGA|3D)"                         
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
	Subsystem: Micro-Star International Co., Ltd. [MSI] 4th Gen Core Processor Integrated Graphics Controller
	Kernel driver in use: i915
--
01:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)
	Subsystem: Micro-Star International Co., Ltd. [MSI] GeForce 820M
	Kernel driver in use: nvidia

Offline

#2 2018-06-18 02:32:10

huyizheng
Member
Registered: 2018-05-15
Posts: 20

Re: CUDA driver version is insufficient for CUDA runtime version

The newest version of CUDA in the official repository is 9.2, which requires nvidia driver version 396 or later.
If I recall it correctly, CUDA 9.1 requires 387 or later, CUDA 9.0 requires 384 or later.

Offline

#3 2018-06-18 18:29:08

GRG121
Member
Registered: 2016-02-28
Posts: 10

Re: CUDA driver version is insufficient for CUDA runtime version

so... it should work with nvidia-390xx?

I've tried installing cuda 8.0 but I got the same error hmm

Offline

#4 2018-07-16 11:10:35

PMR021
Member
Registered: 2018-07-16
Posts: 4

Re: CUDA driver version is insufficient for CUDA runtime version

The CUDA release notes at https://docs.nvidia.com/cuda/cuda-toolk … index.html have a CUDA/driver compatibility chart -- you will need to scroll down that page to see it. In particular, it indicates that CUDA 9.2 (specifically 9.2.148 update 1) requires a driver >= 396.37, although the current version (on 16/07/2018) in extra is 396.24-15.

The current nvidia-390xx version is, I think, 390.67-2 so that compatibility chart suggests that you need CUDA 9.1 (e.g. 9.1.85-1), which in turn needs gcc6 and gcc6-libs.
That's what I installed, and was then able to compile and run the samples on a GTX 960 card; you may need to get them from the Arch archive.

Offline

Board footer

Powered by FluxBB