How do I remove the proprietary ATI drivers?

I've installed 11.10 and the proprietary ATI drivers using "additional drivers" The performance of my system is absolutely awful and it shouldn't be. I tried to remove the proprietary drivers using the Additional Drivers tool and it appears to remove them. However after I reboot I cant get back into my desktop properly (the panel and launcher go missing). This doesn't seem to be an isolated problem in 11.XX. This guide covers how to restore the desktop (panel and launcher), but the guide doesn't fix my problem though.

Whenever I do sudo unity --reset it runs through its normal processes until it hangs at setting update "run_key" and never gets past that. I must reinstall the proprietary drivers using jockey-text or jockey-gtk in order to get back to my proper desktop.

Interestingly enough the system performance seems improved while it is in its "broken" state (missing panel and launcher).

I think restoring the default drivers may solve my problems but I cant figure out how to do it.


Solution 1:

Try to completely remove your ATI drivers from your system:

sudo apt-get purge "fglrx.*"

Remove your xorg.conf

sudo rm /etc/X11/xorg.conf

Reinstall xorg completely

sudo apt-get install --reinstall xserver-xorg-core libgl1-mesa-glx:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:amd64

Re-configure Xorg

sudo dpkg-reconfigure xserver-xorg

Reboot

sudo reboot

You should be greeted with lightdm, this will default everything x the same way a fresh install would.

Solution 2:

Remove the drivers, .deb or normal install (if you get a file not found ignore it)

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

Remove your xorg.conf

sudo rm /etc/X11/xorg.conf

Reinstall xorg

sudo apt-get install --reinstall xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dri libgl1-mesa-glx libgl1-mesa-dri

Configure Xorg

sudo dpkg-reconfigure xserver-xorg

Reboot:

sudo reboot

After the reboot all the fglrx packages will be gone, you will be using default open source.

For more information on how to remove / add / replace ATI drivers in your system there is already a very good post with these steps.

Solution 3:

To remove all the current fglrx packages from your system

If any of these returns errors like file not found or package not found, ignore it.

Run these commands in a Terminal (Ctrl+Alt+T):

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