I am trying to install nvidia drivers in my new laptop MSI (Ubuntu 20.04). Once I have done it and try to reboot I cannot, and I just get a black screen with a blinking cursor.
I have tried many different ways of installing the drivers:
-
By using the file .run downloaded from the official website: Linux x64 (AMD64/EM64T) Display Driver | 535.104.05 | Linux 64-bit | NVIDIA
-
By using the command line:
sudo add-apt-repository ppa:graphics-drivers
sudo apt-get update
sudo apt-get install nvidia-driver-535 -
By using the “Software & Updates” GUI, in the “Additional Drivers” Section, and choosing the options without “open”. I have tried the 525 and 535
In every installation I have made sure that I have erased everything nvidia related by doing: sudo apt-get purge nvidia
Moreover I have tried many other troubleshooting solutions I have found, like using the nomodeset in the /etc/default/grub/ or removing /etc/X11/xorg.conf which already does not exist.
When I remove all the drivers, by pressing Ctrl + Alt + F4 and typing sudo apt-get purge nvidia, I am able to boot normally again (but without drivers).
nvidia-bug-report.log (257.0 KB)