Ubuntu 20.04 Installing Nvidia drivers
So I had a total disaster with "Bumblebee". I entered the above commands but they caused all sorts of weird responses resulting in me having to give up and just re-install a clean copy of ubuntu 20.04 (not the reinstall option but the replace install option).
So how did I fix it? Well I didn't use bumblebee and instead did this:
- From terminal I entered
sudo ubuntu-drivers autoinstall
- When I restarted, I got the login problem. So selected ctrl+alt+F4
- Entered
sudo apt-get purge nvidia*
- Then
sudo apt-get install nvidia-driver-440
- Then
sudo apt-get install sddm
- Then
sudo dpkg-reconfigure sddm
(I got an option for choosing gdm3 or sddm, I chose sddm) - Finally
reboot
This gave me a different login screen, BUT I could actually login and the nvidia driver was running (and its control panel properly activated).
greenbeast
Updated on September 18, 2022Comments
-
greenbeast over 1 year
I am having troubles with getting Nvidia GeForce RTX 2070 drivers going on my AMD Ryzen desktop. I have entered the following terminal commands:
ubuntu-drivers devices
sudo ubuntu-drivers autoinstall
As can be seen, everything seems to install correctly but when I then reboot it goes to a logon screen with my name as the account name. When I try and login by entering a password, nothing happens. It just stays on the login screen. The only way to fix it, is to revert back to the nouveau driver by going to the command terminal as root (ctrl+alt+F2) and entering the following:
sudo apt-get remove --purge nvidia-*
sudo dpkg-reconfigure xserver-xorg
I know lots of posts have been made about this (but for 18.04, 16.04, 14.04 and 12.04) and the following command has been suggested:
sudo prime-select nvidia
And then followed by these commands:
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia
However, is this really the proper way to resolve this issue, and will it work? (or what is bumblebee?)
Thanks
-
Hossein about 3 yearsCould it be that your initial login problem was caused by secure boot being enabled? I had faced such issues that upon installing an nvidia driver and rebooting I couldnt log in! I turned out that I had to disable secure boot in the BIOS and then I could easily log in again!
-
greenbeast about 2 yearsSorry for the delay in responding. Secure boot is/was always in a disabled state so it couldn't have been that.