Hi all,
First timer here. Just bought my first “Gaming” type PC, so am totally new to everything Nvidia / GPU. I am familiar with Linux, servers, and open source software in general, just have always made-do with old junk computers.
The GPU is an Nvidia GeForce RTX 3070
I have installed Linux Mint 22 Cinnamon 64 bit.
One application I intend to use is “Flightgear” flight simulator which can make use of CUDA, so have been trying to follow the CUDA Ubuntu network installation guidance here: CUDA Installation Guide for Linux
Which appeared to be successful, until following the post-installation steps I went to test the installation using The Nvidia deviceQuery program from: GitHub - NVIDIA/cuda-samples: Samples for CUDA Developers which demonstrates features in CUDA Toolkit , which returned this result:
$ ./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
Info:
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Tue_Oct_29_23:50:19_PDT_2024
Cuda compilation tools, release 12.6, V12.6.85
Build cuda_12.6.r12.6/compiler.35059454_0
$ lspci
...
08:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3070] (rev a1)
08:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1)
...
I then had a stab following this: NVIDIA Transitions Fully Towards Open-Source GPU Kernel Modules | NVIDIA Technical Blog at installing the open source CUDA drivers:
$ sudo apt-get install nvidia-open
This again looked like a promising install, but testing with deviceQuery failed, but with a different code
$ ./deviceQuery
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
cudaGetDeviceCount returned 100
-> no CUDA-capable device is detected
Result = FAIL
At this point I thought it best to stop randomly installing packages and hoping for the best, as I may make a right mess of my system, and instead I should ask for help/guidance!
Please go gentle on me, ie: if I need to re-install something, please provide a clear guide or link to step by step info as this area is new to me.
Many thanks, Scott.