Please be aware that this answer may become slightly outdated. I will do my best to update it regularly, but I can’t guarantee anything. The driver version used below may not be the latest. Please check the Launchpad page to confirm.

Each of the issues described (and maybe even more) can be fixed by following the steps below.

If you’re installing Ubuntu, follow section 3.

1. First make sure you can enter a TTY

Press Ctrl+Alt+F1

If this brings you to a black screen with a login prompt, continue on. Otherwise, you will likely have to boot with a special kernel flag. Instructions are below.

2. Now for the fix

Log into your account in the TTY.

Run sudo apt-get purge nvidia-*

Run sudo add-apt-repository ppa:graphics-drivers/ppa and then sudo apt-get update.

Run sudo apt-get install nvidia-375.

Reboot and your graphics issue should be fixed.

3. If you are unable to enter a TTY or are trying to install Ubuntu

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.

(If installing Ubuntu, ignore this step, but follow the rest of the tutorial after the installation is finished.)

This solution should fix many problems described by users after an upgrade to 16.04. If a fresh install is affected, the solution is the same.

If you run into problems afterward, you should ask a different question. (Refer to this question so that we know it isn’t a duplicate.) However, there are a few other small fixes you can try out before you do.

Each Ubuntu DE has its own package name. If you have KDE or something else, the name should be similar to the ones above.

Fresh reinstall

It’s not the most inviting option, but sometimes it’s the best thing to do in cases like this.

Please remember that there are a lot of things that can go wrong, and this is not a guaranteed fix for everything. Even if you are experiencing something listed in the question, the solution may not fully work for you.

This answer is merely for driver issues with 16.04 and nVIDIA. Your issue may go deeper than a bad driver.

Other issues after the fix

If you get to a working display, but run into a login loop (you login and get returned to the login screen), take a look here.