I’ve been developing CUDA code for some time on Windows, and it is now time to move to linux. I have a decent amount of experience developing on ubuntu, but I’ve never installed proprietary video drivers before, and never used CUDA on linux…
Driver install is failing on two identical hardware machines, one with ubunutu 18.04, and one with 19.04
Here is the report of the installed device:
ebrandt@ubu:~$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001C03sv00003842sd00006163bc03sc00i00
vendor : NVIDIA Corporation
model : GP106 [GeForce GTX 1060 6GB]
driver : nvidia-driver-390 - distro non-free
driver : nvidia-driver-418 - distro non-free recommended
driver : xserver-xorg-video-nouveau - distro free builtin
I proceed with
ebrandt@ubu:~$ sudo ubuntu-drivers autoinstall
…and it proceeds to install 418.
The install succeeds (apparently), no errors are reported.
I reboot, and during reboot, it locks on the text logging screen (see here: https://imgur.com/a/u4AjqrN)
The only option I know at that point is to reboot to ubunutu command line and
apt-get purge nvidia*
and then reboot and it will be back to the usual gnome graphics (but not with the nvidia driver)
What steps can I take to troubleshoot this? How can I get a nvidia driver installed so I can port my windows CUDA code to linux and test?
(BTW, I have tried the same thing with apt-get install of 390, and it fails in the same way).
Thanks in advance!