13.04, Drivers, Xorg, Intel, GPU-Driver – How to Remove Intel’s Open Source Technology Center Driver

13.04driversintelvideo-driverxorg

I have downloaded and installed Intel's drivers from this link, following all instructions: https://01.org/linuxgraphics/downloads/2013/intelr-linux-graphics-installer-version-1.0.2

However, I would like to return to stock Ubuntu's driver configuration. How would I go about doing this? I've found this link, but it's only for Ubuntu 12.10: http://theclonker.de/?p=89

According to Synaptic, Intel's repository added the following packages locally (may contain typos; forgive me):

i915-3.9-3.8-dkms
intel-linux-graphics-installer
libdrm-dev
libdrm-intel1
libdrm-intel1:i386
libdrm-nouveau2
libdrm-nouveau2:i386
libdrm-radeon1
libdrm-radeon1:i386
libdrm2
libdrm2:i386
libkms1
libva-drm1
libva-egl1
libva-glx1
libva-tpi1
libva-wayland1
libva-X11-1
libva1
x11proto-input-dev
xserver-xorg-video-intel

I'm not sure whether the above list is complete and/or exhaustive as to the changes the Intel installer made.

Also important to note, Intel's instructions to delete their repository in Software Sources just flat-out doesn't work. It removes the repository, but keeps the packages installed locally.

Best Answer

All right. I have a history of answering my own questions, and here goes again:

Thanks to Saurav Kumar, I had another look at the second link I put in my question. Here's what you gotta do in Ubuntu 13.04:

Open the terminal and create a new file:

gksudo gedit /etc/apt/preferences.d/intel-removal

Copy+paste the following contents (MAKE SURE THAT THERE ARE NO TABS, SPACES OR INDENTS BEFORE ANY LINES, and replace raring with your own release):

Package: *
Pin: release a=raring*
Pin-Priority: 1001

Package: *
Pin: origin download.01.org
Pin-Priority: -100

Save the file and close gedit.

Run:

sudo apt-get dist-upgrade

In my case, this simply downgraded and removed some packages. I cannot guarantee what it will do on your system, because I'm a noob like that. So run at your own leisure, but don't blame me if things go wrong.

Now the cleaning up bit:

sudo rm /etc/apt/preferences.d/intel-removal
sudo rm /etc/apt/sources.list.d/intellinuxgraphics.list*
sudo apt-get update

Followed by removing the actual drivers (i915-3.9-3.8-dkms WILL be different depending on your version of Ubuntu):

sudo apt-get purge i915-3.9-3.8-dkms intel-linux-graphics-installer
sudo apt-get autoremove

Reboot, et voilà, we're done. Thanks to the author of the below blog post and Saurav Kumar.

Reference: http://theclonker.de/?p=89

Related Question