After doing an sudo update for Ubuntu Mate I now can no longer login to Ubuntu. This article seems to suggest that this is due to the Nvidia drivers conflicting with the normal drivers. Unfortunately the steps here does not help me:
How can I boot into Ubuntu and can this be fixed so that it does not happen every time I update?
Please boot to recovery mode and run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.
I also don’t have an xorg config file if you were going to ask that next. Turns out I can boot into the previous kernel version still (using recovery, freezes in recovery with latest kernel), it’s just the one from the update that freezes.
Like you already noticed, the driver is available and working fine for the -48 kernel but failed to load with the updated -49 kernel. Since you always seem to use the 460.39 driver, how did you initially install it? Please post the output of
dkms status returns nothing
I believe I installed the Nvidia drivers using the Software & Updates program, Additional Tab. It states there that I am using the recommended 460 driver.
Looks like the driver somehow got lost. Please run
sudo apt update
sudo apt install --reinstall nvidia-driver-460
and post any errors and dkms status afterwards.
Installed fine. Rebooted. Could boot normally. Then discovered I no longer had internet (looks like some Ubuntu kernel error). dkms status still returns nothing.
Then please try reinstalling the kernel headers
sudo apt install --reinstall linux-headers-$(uname -r)
and check if the dkms build link is created
ls -l /lib/modules/$(uname -r)/build
should return the kernel header directory. Of course, while booted to the -49 kernel