So I’ve been trying to compile some of the CUDA examples but nothing was behaving as it should, I put a cudaGetLastError()
in front of my code and it turns out that it always returns 35, which I believe means: “CUDA driver version is insufficient for CUDA runtime version”.
Even after a full reinstall of my drivers and cuda packages this has not gone away, could someone tell me what is going here?
System info dump:
$ nvidia-smi
Wed Feb 19 04:42:14 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.64 Driver Version: 430.64 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Quadro T1000 Off | 00000000:01:00.0 On | N/A |
| N/A 39C P8 2W / N/A | 65MiB / 3911MiB | 4% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 2500 G /usr/lib/Xorg 63MiB |
+-----------------------------------------------------------------------------+
$ uname -a
Linux LinuxIsPower 5.5.2-1-MANJARO #1 SMP PREEMPT Tue Feb 4 19:22:35 UTC 2020 x86_64 GNU/Linux
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Oct_23_19:24:38_PDT_2019
Cuda compilation tools, release 10.2, V10.2.89
$ mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-430xx-bumblebee 2019.10.25 false PCI