How to fix flashing screen after nvidia driver update in Ubuntu
Just tried updating to the latest nvidia drivers and the screen was flashing after reboot. I have tried reinstalling drivers from other repositories but nothing worked. Had to use nouveau to get back to boot and still looking for a solution to get my desktop back to previous state. Anyhow, here is how to switch to nouveau:
At the flashing screen press “Ctrl + Alt + F1” to get to terminal at Ubuntu log in screen.
Log in using your credentials.
Stop X11 by entering this command:
sudo stop lightdm
Remove all nvidia packages by entering this command:
sudo apt-get purge nvidia-*
Install nouveau package by entering this command:
sudo apt-get install xserver-xorg-video-nouveau
Restart:
sudo reboot
or
sudo shutdown -r now
Hope it helps!