Skip to content

Instantly share code, notes, and snippets.

Last active April 23, 2022 19:45
  • Star 8 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Reinstall default graphics driver on Ubuntu

Remove installed nvidia driver & reset to default graphics driver

On Ubuntu 15.10, after installing the nvidia proprietary driver, it didn't quite work as expected...going down to older version made it work, but graphics were slow. Run the below to reset back to the original graphics setup.

sudo apt-get purge nvidia-*
sudo apt-get install --reinstall xserver-xorg-video-intel libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
sudo dpkg-reconfigure xserver-xorg

# May not have any alternatives configured (ok to skip)
sudo update-alternatives --remove gl_conf /usr/lib/nvidia-current/
Copy link

flipoyo commented Apr 23, 2022

Thx it worked for me on 20.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment