Tuesday, April 30, 2019

boot - Blank screen after updating NVIDIA drivers

After installing NVIDIA drivers I get a blank screen after grub. I've tried all remedies from related threads, such as this one, but the problem persists for me.




Edit: (Removed unneccessary clutter, added following)


If I boot into recovery mode and then select "resume normal boot", it works! How is that possible?


Based on the logs, it looks like it tries to load NVIDIA drivers from the encrypted hard drive before it is decrypted, and that is causing the error? This would also explain why booting via recovery mode works: in that case the drive is decrypted before NVIDIA drivers are loaded. I tried to install without full disk encryption and everything worked, so this is definitely related to encryption. Other people also experienced issues with full disk encryption + nvidia drivers. I tried these steps to make the password entry screen text-only, but it didn't work (I tried the steps before installing drivers and I was still seeing a graphical window for entering the password).


Also, in the successful boot I see only 1 "drm device card", but on the failed boot I see 2:


xfree86: Adding drm device (/dev/dri/card1)
xfree86: Adding drm device (/dev/dri/card0)

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...