I recently acquired an RTX 2060 so I need to upgrade my drivers from 410 (which came with CUDA 10) to 415 on a machine running Ubuntu 16.04.
Problem is if I try to install the 415 drivers it uninstalls CUDA 10 since the DEB package for CUDA 10 made the 410 drivers a prerequisite.
So if I try to install the 415 driver DEB package, apt-get will uninstall the 410 driver package (which it should correctly do so), and because CUDA 10 lists the 410 driver as a prerequisite apt-get then tries to uninstall CUDA 10 (which I obviously don’t want).
Anyone know of a way around this so I end up with CUDA 10 and 415 drivers?
I already tried the following:
- Uninstall CUDA via: apt-get remove cuda
- Install 415 drivers via (this will also uninstall the 410 drivers): apt-get install nvidia-415
- Install CUDA 10 toolkit (ie. exclude the 410 drivers in the DEB package) via: apt-get install cuda-toolkit-10.0
The above installs fine with no errors and after a reboot properly shows the 415 drivers installed when running nvidia-smi.
I can then compile kernels with the installed CUDA 10, all without any errors. Problem is when I try to run any of the compiled kernels I get an error saying the runtime driver version is older than the current system driver, probably due to the fact that the CUDA 10 DEB file was built with the older 410 drivers but the OS is running the 415 drivers.
So how to get around this issue?