Skip to content

Instantly share code, notes, and snippets.

@erikvip
Last active March 3, 2024 19:37
Show Gist options
  • Save erikvip/0e46a6d9ad742c81d148 to your computer and use it in GitHub Desktop.
Save erikvip/0e46a6d9ad742c81d148 to your computer and use it in GitHub Desktop.
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/ld.so.conf
@flipoyo
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