Software & AppsOperating SystemLinux

How To Fix Blank Screen After Nvidia Driver Installation on Ubuntu

Ubuntu 17

In the world of Linux, Nvidia drivers have been known to cause issues from time to time. One such issue is the occurrence of a blank screen after installing Nvidia drivers on Ubuntu. This article aims to guide you through the steps to resolve this issue.

Quick Answer

To fix a blank screen after Nvidia driver installation on Ubuntu, you can try uninstalling the driver, installing the latest official stable Nvidia drivers, checking your BIOS settings, removing any previous Nvidia drivers, or using the built-in driver manager. These steps have been tested on Ubuntu 14.04 LTS and Ubuntu 15.10 and may work on other versions as well. Always remember to back up your data before making any major changes to your system.

Uninstall the Nvidia Driver

If you experience a blank screen after installing the Nvidia driver, the first step is to uninstall the driver. Here’s how you can do that:

  1. Boot your computer: When the GRUB menu appears, highlight the Ubuntu menu entry and press the E key. This will allow you to edit the boot parameters.
  2. Edit the boot parameters: Add nouveau.modeset=0 to the end of the linux line. This parameter disables the nouveau driver, which might be causing a conflict. Press F10 to boot into Ubuntu.
  3. Access the terminal: When the login screen appears, press Ctrl + Alt + F1 to access the terminal.
  4. Enter your credentials: Input your username and password.
  5. Execute the commands: Run the following commands to uninstall the Nvidia driver and reboot your system:
    sudo apt-get purge nvidia*
    sudo reboot

Install the Latest Official Stable Nvidia Drivers

If the issue persists after uninstalling the Nvidia driver, you may want to install the latest official stable Nvidia drivers. Here’s how:

  1. Boot your computer: Similar to the previous step, when the GRUB menu appears, highlight the Ubuntu menu entry and press the E key.
  2. Edit the boot parameters: Add nouveau.modeset=0 to the end of the linux line and press F10 to boot into Ubuntu.
  3. Access the terminal: When the login screen appears, press Ctrl + Alt + F1 to access the terminal.
  4. Enter your credentials: Input your username and password.
  5. Execute the commands: Run the following commands to add the graphics drivers repository, update your system, install the latest Nvidia drivers, and reboot your system:
    sudo add-apt-repository ppa:graphics-drivers/ppa
    sudo apt-get update
    sudo apt-get install nvidia-361
    sudo reboot

Check Your BIOS Settings

In some cases, the issue might be due to your BIOS settings. Ensure that the Nvidia adapter is selected in your BIOS settings. The steps to do this may vary depending on your system’s BIOS.

Remove Any Previous Nvidia Drivers

Before installing the Nvidia drivers, it’s a good idea to remove any previously installed Nvidia drivers. This can be done by executing the following command:

sudo apt-get purge nvidia*

Use the Built-in Driver Manager

If your Ubuntu-based distro does not have a built-in driver manager, you can install it by executing the following command:

sudo apt-get install kubuntu-driver-manager

To update the graphics drivers repository, execute the following command:

sudo add-apt-repository ppa:graphics-drivers/ppa

Then, search for “Driver manager” through the start menu and open it. Wait until the information gets collected, then install the suitable latest Nvidia drivers and restart your Linux system to confirm the changes.

Please note that these solutions have been tested on Ubuntu 14.04 LTS and Ubuntu 15.10. They may also work on other versions, but make sure to adapt the commands accordingly. Always remember to back up your data before making any major changes to your system.

We hope this guide has been helpful in resolving the issue of a blank screen after installing Nvidia drivers on Ubuntu. If you have any questions or need further assistance, feel free to ask in the comments section below.

What should I do if I can’t access the terminal after installing the Nvidia driver?

If you can’t access the terminal after installing the Nvidia driver, try pressing Ctrl + Alt + F2 or Ctrl + Alt + F3 to access a different terminal. If that doesn’t work, you may need to boot into recovery mode and access the terminal from there.

How do I boot into recovery mode?

To boot into recovery mode, restart your computer and when the GRUB menu appears, select the "Advanced options for Ubuntu" menu entry. From there, choose the recovery mode option and follow the prompts to access the terminal.

Can I use the same steps to fix the blank screen issue on other Linux distributions?

These steps are specifically tailored for Ubuntu. While they may work on other Linux distributions, it’s always best to consult the documentation or community support for your specific distribution to ensure compatibility and accuracy of the steps.

What should I do if the issue persists after following these steps?

If the issue persists after following these steps, you can try searching for solutions specific to your hardware or graphics card model. Additionally, you can seek help from the Ubuntu community forums or other Linux support channels for further assistance.

Will uninstalling the Nvidia driver affect my system’s performance or functionality?

Uninstalling the Nvidia driver may temporarily impact your system’s graphics performance and functionality. However, by installing the latest official stable Nvidia drivers, you should be able to restore proper performance and functionality.

How can I check if the Nvidia driver is properly installed after following these steps?

You can check if the Nvidia driver is properly installed by opening the Nvidia X Server Settings application. If it opens without any error messages, it indicates that the driver is installed correctly.

Can I revert back to the previous Nvidia driver version?

Yes, you can revert back to the previous Nvidia driver version by uninstalling the current driver and installing the previous version. However, it’s recommended to consult the Nvidia documentation or community support for the proper steps to ensure a smooth transition.

What should I do if I encounter any errors or issues during the installation process?

If you encounter any errors or issues during the installation process, try searching for the specific error message or issue online. There are often community forums or support channels dedicated to troubleshooting Nvidia driver installation problems. Additionally, you can seek help from the Ubuntu community forums or other Linux support channels for assistance.

Leave a Comment

Your email address will not be published. Required fields are marked *