34 hours ago
Today, I installed Ubuntu 20.04 for dual boot with Windows 10.
My downloaded version of Ubuntu apparently came with kernel 5.4.0-42-generic (I got this from running uname -r in the terminal). At first boot I ran software update and this seemingly installed kernel 5.4.0-58-generic.
I also selected and installed a graphics driver for my GeForce GTX 1660 SUPER. ubuntu-drivers devices told me that nvidia-driver-455 is recommended, so I installed that.
Restarting, I got all the way to the login screen and entered my password. Then the screen turned black. I restarted and this time I selected 5.4.0-42-generic in the boot manager (instead of 5.4.0-58-generic which the boot now defaulted to). Now, I got past the login screen.
Any ideas why the screen turns black with the latest update? Will the driver not work with the 5.4.0-58-generic kernel?
I tried going back to the default driver (xserver-xorg-video-nouveau) but with that driver I don't even get to the login-screen. Instead, it seems like the boot-up crashes and shows a black screen with a lot of unreadable text.
Following the comment from @doug, I tried this:
sudo apt-get purge nvidia*
sudo apt install nvidia-driver-455
Screen still goes black after login.
I decided to re-install Ubuntu (deleting the partition used for Ubuntu, creating a new partition and running the installer again) and this time I made sure to reboot in-between updating the kernel and installing the driver:
This has the same result, however: The screen goes black after login.