Some users have reported issues with NVIDIA drivers after upgrading or installing Ubuntu 16.04. The issues are: blank display, display is flickering, different programs complain of graphic issues, and the computer boots into low-graphics mode.
These issues can be fixed by reinstalling NVIDIA drivers, in most cases the problem is in incorrect or not correctly installed drivers.
RECOMMENDED: How to Use Ubuntu: A Must Read for Beginners
The issues from above can be fixed by following the steps below.
Log into TTY mode:
- Log into your account in the TTY by pressing Ctrl + Alt + F7 or run the command startx in the Terminal.
- Then run the command which will remove everything related to NVIDIA drivers:
sudo apt-get purge nvidia-*
- After write the following command which will add add the specified repository:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
4. Then run the following command to install back the NVIDIA drivers:
sudo apt-get install nvidia-364
5. Reboot your computer, now the issue should be fixed.
If you are Not Able to Log Into TTY:
- Reboot into GRUB.
- Highlight the Ubuntu option and press E.
- Add nouveau.modeset=0 to the end of the line beginning with linux.
- Press F10 to boot.
- Follow the instructions above.
This should fix the issues you have with drivers on a fresh installed Ubuntu 16.04 or id you upgraded to Ubuntu 16.04. If the solution doesn’t work you can go further with investigation:
Go back into the TTY mode and run the following commands to remove and reinstall Xorg:
sudo apt-get purge xorg-* xserver-xorg
sudo apt-get install xorg xserver-xorg
sudo dpkg-reconfigure xorg
Restart your computer, if this solution did not work, you can try the following.
Reinstall the Desktop Environment:
If the problem still persists you can try to reinstall the desktop environment. This may help in certain situations. Run the commands also from TTY mode.
For Ubuntu with Unity desktop environment:
sudo apt-get purge ubuntu-desktop
sudo apt-get install ubuntu-desktop
For Ubuntu with Gnome desktop environment:
sudo apt-get purge ubuntu-gnome-desktop
sudo apt-get install ubuntu-gnome-desktop
For Ubuntu with KDE desktop environment:
sudo apt-get purge ubuntu-kde-desktop
sudo apt-get install ubuntu-kde-desktop
I think that you noted that each version of Ubuntu has its own package name according to the type of desktop its using. If you have any other type of desktop, the name should be similar to the ones above.
If one of these solutions worked for you that is great. If any of these solutions didn’t work, I recommend to backup your data and to do a Fresh Install.
RECOMMENDED: What Is The Most Stable Linux Edition?