Installed drivers on a Ubuntu 22.04 VM without desktop from URL : CUDA Toolkit 12.4 Update 1 Downloads | NVIDIA Developer
$ sudo sh cuda_12.4.1_550.54.15_linux.run
= Summary =
Driver: Installed
Toolkit: Installed in /usr/local/cuda-12.4/
Please make sure that
- PATH includes /usr/local/cuda-12.4/bin
- LD_LIBRARY_PATH includes /usr/local/cuda-12.4/lib64, or, add /usr/local/cuda-12.4/lib64 to /etc/ld.so.conf and run ldconfig as root
To uninstall the CUDA Toolkit, run cuda-uninstaller in /usr/local/cuda-12.4/bin
To uninstall the NVIDIA Driver, run nvidia-uninstall
Logfile is /var/log/cuda-installer.log
However, when I run nvidia-smi it is throwing error.
~$ nvidia-smi
No devices were found
~$ lspci | grep -i nvidia
0b:00.0 VGA compatible controller: NVIDIA Corporation Device 2684 (rev a1)
0b:00.1 Audio device: NVIDIA Corporation Device 22ba (rev a1)
~$ lspci | grep -i vga
00:0f.0 VGA compatible controller: VMware SVGA II Adapter
0b:00.0 VGA compatible controller: NVIDIA Corporation Device 2684 (rev a1)
nvidia-bug-report.log.gz (99.5 KB)