Blank screen fix for Ubuntu (Nvidia)
If you’re using an Nvidia graphics card on Ubuntu and you’re experiencing a blank screen issue, try the following steps:
Restart your computer: This may sound simple, but sometimes a restart can solve the issue.
Boot into Recovery Mode: If the restart doesn’t work, try booting into recovery mode. To do this, hold down the Shift key while your computer is starting up. This should take you to the GRUB menu. From there, select the Recovery Mode option and press Enter.
Remove any Nvidia drivers: Once you’re in Recovery Mode, select the option to drop to a root shell prompt. Then, use the following command to remove any Nvidia drivers that may be causing the issue:
sudo apt-get remove --purge nvidia-*
- Reinstall Nvidia drivers: After removing the Nvidia drivers, you’ll need to reinstall them. Use the following commands to add the graphics drivers PPA and install the latest Nvidia driver:
sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt-get update sudo apt-get install nvidia-driver-470
(Note: You may need to change the version number of the driver depending on which version is the latest at the time.)
- Reboot: Once the driver installation is complete, reboot your computer and see if the blank screen issue is resolved.
- Remove Nvidia proprietary drivers.
sudo nvidia-settings --uninstall sudo apt-get remove --purge nvidia*
- Purge xserver
sudo apt-get remove --purge xserver-xorg-video-nouveau</code>
- Reinstall drivers and xserver
sudo apt-get install nvidia-common sudo apt-get install xserver-xorg-video-nouveau
- Reconfigure the xserver.
sudo dpkg-reconfigure xserver-xorg
…tags: ubuntu - fix & category: nvidia