CUDA 10.1 installation on Ubuntu 18.04 does not detect installed driver version

$ sudo bash cuda_10.1.105_418.39_linux.run =========== = Summary = =========== Driver: Not Selected Toolkit: Installed in /usr/local/cuda-10.1/ Samples: Installed in /home/tom/ Please make sure that - PATH includes /usr/local/cuda-10.1/bin - LD_LIBRARY_PATH includes /usr/local/cuda-10.1/lib64, or, add /usr/local/cuda-10.1/lib64 to /etc/ld.so.conf and run ldconfig as root To uninstall the CUDA Toolkit, run cuda-uninstaller in /usr/local/cuda-10.1/bin Please see CUDA_Installation_Guide_Linux.pdf in /usr/local/cuda-10.1/doc/pdf for detailed information on setting up CUDA. ***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least 418.00 is required for CUDA 10.1 functionality to work. To install the driver using this installer, run the following command, replacing <CudaInstaller> with the name of this run file: sudo <CudaInstaller>.run --silent --driver Logfile is /var/log/cuda-installer.log 
$ nvidia-smi Mon Apr 29 22:35:43 2019 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 418.56 Driver Version: 418.56 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 GeForce RTX 2060 Off | 00000000:1F:00.0 On | N/A | | 25% 37C P8 10W / 160W | 347MiB / 5901MiB | 4% Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 1221 G /usr/lib/xorg/Xorg 18MiB | | 0 1250 G /usr/bin/gnome-shell 51MiB | | 0 1585 G /usr/lib/xorg/Xorg 126MiB | | 0 1715 G /usr/bin/gnome-shell 76MiB | | 0 3993 G ...quest-channel-token=4060387737626309356 72MiB | +-----------------------------------------------------------------------------+ 

I assumed that I don’t want to use the included driver because that version is not listed for my GPU – rather I’m using the newest official driver. I’m still like 98% sure that 418.56 > 418.00, but I would appreciate some help all the same.

Thanks!

What happens when you try to compile a small CUDA program?