Ubuntu – How to uninstall Nvidia proprietary drivers?

12.04nvidia

OK, so I know that other people asked exactly the same… but I just moved from Nouveau to Nvidia using this tutorial, and the new drivers are really, really, really slow. How can I remove Nvidia drivers and recover the open ones?

Best Answer

  1. If you added things to the blacklist, remove them now from the list with sudo gedit /etc/modprobe.d/blacklist.conf
  2. Now close your session and press Ctrl + Alt + F1 in the login menu.
  3. Login with your username and password.
  4. Run sudo stop lightdm, which will stop X11 (including the standard login menu!)
  5. Now exec sudo nvidia-uninstall
  6. Press Yes to restore from a backup.
  7. You may find errors related with non-empty folders. Ignore them.
  8. If you removed Nouveau, run sudo apt-get install xserver-xorg-video-nouveau
  9. Now you can finish with sudo reboot