21:32 - Wednesday, 23 April 2014

How Do I Remove The FGLRX Drivers After I’ve Installed Them By Hand?

#Topics: cannot purge fglrx drivers in ubuntu

I installed ati-driver-installer-11-9-x86.x86_64.run downloaded from the ATI Website.

However I installed the generic version instead of building a distribution specific installer.

Now I have the gnome-shell graphic glitches that are associated with having the old Fglrx drivers installed.

How can I remove these drivers?
They do not show up in the additional drivers dialog, and I cannot install any other drivers till these are removed.

Run both this commands:

sudo sh /usr/share/ati/fglrx-uninstall.sh sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*

Plus refer to this site:
ATI – Ubuntu Oneiric Installation Guide

Removing Catalyst/fglrx

The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.

sudo sh /usr/share/ati/fglrx-uninstall.shsudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*

If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see this Ubuntu wiki page

sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeonsudo apt-get install xserver-xorg-video-atisudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-coresudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backupsudo rm -rf /etc/ati

If you receive
$ E: Internal Error, No file name for libgl1-mesa-dri
Change the third command above to:
sudo apt-get install –reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core

After you finished all, reboot, then install the legacy 12.6 Driver, following the same procedure in the same Wiki:

Start from “Before you start” section, and skip the “wget” download, instead use the 12.6 Legacy you have downloaded. All the rest the same. It will eventually work !

After you installed, do not forget to:

sudo amdconfig --initial -f