Remove all amd drivers linux

How do I remove the FGLRX drivers after I’ve installed them by hand?

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.

3 Answers 3

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

after running the first one I get sh: Can’t open /usr/share/ati/fglrx-uninstall.sh should I still run the second command?

The first command also didn’t work for me but the second worked like a champ after removing the ` from the end of the command. Ty for the tip bioshark

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.sh sudo 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-radeon sudo apt-get install xserver-xorg-video-ati sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup sudo 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 

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:

The most thorough removal attempt involves running two commands. However, there are several possible variants of the first command. In general, the two commands look like this (in pseudo code):

sudo sh /path/to/amd_proprietary_uninstall.sh sudo apt-get remove --purge fglrx and related packages 

Now let me give the specific actual commands.

First Command:

Here are all the variants of the first command. Try them in order. When you get one that works, you are done and you can move on to the second command:

sudo sh /usr/share/ati/ati-uninstall.sh sudo sh /usr/share/ati/amd-uninstall.sh sudo sh /usr/share/ati/fglrx-uninstall.sh sudo aticonfig --uninstall (NOTE: assumes the executable is in the path) sudo sh ati-driver-installer-x86.x86_64.run --uninstall 

As you probably see, the first 3 variants just involve changes to the script name that happened over time. You could simply do a listing of /usr/share/ati/ and look for the correct file name rather than trying all 3 of those command variants.

Читайте также:  Изменение hostname astra linux

The last two variants come from the official Catalyst Linux doc. These involve passing the —uninstall parameter to another script. However, you still need to find the correct name of that script. There could be more variants than shown above, although these are the only two listed in the official Catalyst Linux doc.

If you get a response to any of the first command variants above like this:

failed: No such file or directory 

then try the next variants. If you exhaust all the variants of the first command without anything executing, consider the job done.

Second Command:

Now, execute the second command. This form should cover all cases (thanks to the use of wildcards):

sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev* 

Restore original config

The original Xorg configuration file was automatically restored for me by the above steps. However, the official Catalyst Linux doc gives the following manual steps:

  • Locate backup configuration files: ls /etc/X11/xorg.conf.original-*
  • Take the latest version with the highest number and copy it over the existing xorg.conf file: cp /etc/X11/xorg.conf.original- /etc/X11/xorg.conf

Furthermore, I think it is important to read this link:

This question is about removing fglrx, but you also want to be able to reboot your computer into a working configuration after removing fglrx. The link above gives several steps. I think they are probably too long to paste here since it is not directly related to the question. But I mention it because it is important to reinstall the original drivers. In short, the command will be similar to:

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

lts hardware enablement stack

Important: if you are running the lts hardware enablement stack, things may be a bit more difficult. I found a solution here: https://askubuntu.com/a/344625/36661

It is in response to this question:

12.04 — Experiencing major issues on graphic displays — Ask Ubuntu
Experiencing major issues on graphic displays

See the link for full details.

Here are some related links:

Источник

Ati-Radeon как удалить драйвера и как восстановить удаленный значок??(((

Стоит Linux Mint x64 скачал и поставил драйвера через ОФ сайт АТI. Потом захотелось удалить установленные драйвера, а удалил только значок, теперь хочу спросить: 1) Как восстановить значок каталист центра? 2) Как правильно удалять драйвера? 3)Почему я не могу выбрать не один из пунктов в Менеджере драйверов, как выбрать другие драйвера на видюху?. Заранее спасибо за ответы. Linux поставил недавно, так что могу тупить))))

Читайте также:  Linux to virtual machine converter

скачал и поставил драйвера через ОФ сайт АТI

захотелось удалить установленные драйвера

Ты хоть бы почитал что и как перед тем как ставить. Сейчас кстати открытый драйвер на ATI неплох.

Стоит Linux Mint x64 скачал и поставил драйвера через ОФ сайт АТI.

А кто вам сказал, что так можно делать? Чем вас не устраивает установка драйвера из состава дистрибутива?

1) Как восстановить значок каталист центра?

2) Как правильно удалять драйвера?

Драйвер, поставленный в ручную из *.run файла, скачанного с сайта AMD правильно удаляется вот так:

Uninstalling the AMD Catalyst™ Proprietary Driver NOTE: This document uses «amd-driver-installer-x86.x86_64.run» as a generic reference to the AMD install file. You will need to replace the generic reference with the actual AMD Catalyst for Linux install file you wish to execute (e.g. amd-driver-installer-catalyst-13-4-x86.x86_64.run for Catalyst 13.4). Launch the Terminal Application/Window. With superuser permissions, enter the command «sudo aticonfig --uninstall». Alternatively, uninstall can be launched with superuser permissions using the following commands as well: sudo sh amd-driver-installer-x86.x86_64.run --uninstall OR sudo sh /usr/share/ati/amd-uninstall.sh If the above command is not supported, then an error message «Uninstaller for AMD Catalyst ™ Proprietary driver, /usr/share/ati/amd-uninstall.sh, does not exist or cannot be found» is displayed. Use that operating system's package management (RPM, APT, etc.) software to remove the AMD Catalyst proprietary driver. In order to restore the system to the previous state before the last installation, the original configuration file needs to be restored manually. Without that, Xorg may fail to start properly after uninstalling the driver and rebooting the system. To restore the original Xorg configuration file: Locate backup configuration files: ls /etc/X11/xorg.conf.original-* Take the latest version with the highest number and copy it over the existing xorg.conf file: cp /etc/X11/xorg.conf.original- /etc/X11/xorg.conf After that, it should be safe to reboot the system and start up using the open-source driver that ships with the OS. Reboot your system. You should have now successfully uninstalled the AMD Catalyst proprietary driver for Linux.

3)Почему я не могу выбрать не один из пунктов в Менеджере драйверов, как выбрать другие драйвера на видюху?

Какой вы хотите выбрать? А вообще ставьте через пакетный менеджер.

Заранее спасибо за ответы. Linux поставил недавно, так что могу тупить))))

Это и так уже видно. Не нужно сюда тащить свои виндовые привычки, скачивая драйверы с сайта производителя и ставя их в обход пакетного менеджера вы сделаете больше вреда, чем пользы. Сейчас переустанавливайте пакет mesa, т.к. с большой долей вероятности вы затёрли некоторые библиотеки.

Источник

Fedora 18 Uninstall AMD Catalyst Proprietary Driver

Installing a proprietary graphics driver installs a lot of packages and dependencies. In the event you want to uninstall the proprietary driver, sometimes it is not as straight forward as it should be because there is no documentation.

Читайте также:  Start selenium server linux

What follows are the steps I took to uninstall AMD’s proprietary Catalyst driver from Fedora 18.

Identify the Packages to Uninstall

Version 13.4-2 of the akmod-catalyst package installs the following dependencies:

akmod-catalyst-13.4-2.fc18.x86_64 @rpmfusion-nonfree-updates akmods-0.5.1-3.fc18.noarch @rpmfusion-free fakeroot-1.12.4-5.fc18.x86_64 @fedora fakeroot-libs-1.12.4-5.fc18.x86_64 @fedora kmodtool-1-22.fc18.noarch @rpmfusion-free-updates libmng-1.0.10-8.fc18.x86_64 @fedora patch-2.6.1-14.fc18.x86_64 @fedora qt-1:4.8.4-17.fc18.x86_64 @updates qt-settings-4.9-21.fc18.noarch @updates qt-x11-1:4.8.4-17.fc18.x86_64 @updates rpm-build-4.10.3.1-1.fc18.x86_64 @updates rpmdevtools-8.3-1.fc18.noarch @fedora xemacs-filesystem-21.5.33-4.fc18.noarch @updates xorg-x11-drv-catalyst-13.4-1.fc18.x86_64 @rpmfusion-nonfree-updates xorg-x11-drv-catalyst-libs-13.4-1.fc18.x86_64 @rpmfusion-nonfree-updates 

Of the packages listed above, the following are the relevant packages to remove if you want to uninstall the AMD Catalyst Proprietary Driver:

akmod-catalyst-13.4-2.fc18.x86_64 @rpmfusion-nonfree-updates akmods-0.5.1-3.fc18.noarch @rpmfusion-free kmodtool-1-22.fc18.noarch @rpmfusion-free-updates xorg-x11-drv-catalyst-13.4-1.fc18.x86_64 @rpmfusion-nonfree-updates xorg-x11-drv-catalyst-libs-13.4-1.fc18.x86_64 @rpmfusion-nonfree-updates 

Uninstall AMD Catalyst Proprietary Driver

Uninstall Repository Packages

Run the following command to uninstall the packages mentioned above. If you do not want to uninstall packages manually, yum history is a very useful command to rollback package installs.

yum erase akmod-catalyst akmods kmodtool xorg-x11-drv-catalyst xorg-x11-drv-catalyst-libs 

Create New initramfs

The following command will create a new /boot/initramfs-%-%.%.img and modify /boot/grub2/grub.cfg by removing the nomodeset kernel parameter from the most recently installed kernel’s boot line.

new-kernel-pkg --remove-args=nomodeset --mkinitrd --dracut --update $(rpm -q --queryformat="%-%.%\n" kernel | tail -n 1) 

Remove /etc/X11/xorg.conf

This will remove the xorg.conf file created by the aticonfig —initial -f command during installation. The aticonfig command will have created a backup xorg.conf file in /etc/X11 with a file name such as xorg.conf.original-0. If you know this to be a working xorg.conf file you can revert back to it. However, there is a possibility that file is empty if you have been using onboard video.

Remove the rpmfusion-nonfree Repository

This is optional, but you might want to remove the rpmfusion-nonfree repository if you no longer need it.

First, identify if there are any other packages installed from that repository:

yum list installed | grep rpmfusion-nonfree 

If there are any packages returned, uninstall them with yum erase .

Then, remove the rpmfusion-nonfree repository:

rpm --erase rpmfusion-nonfree-release-18.noarch 

Shutdown the System

Remove the Graphics Card and Boot the System

Physically remove the graphics card and connect your display adapter to the onboard video.

The system should now boot properly using onboard video.

If you found this post useful and would like to help support this site — and get something for yourself — sign up for any of the services listed below through the provided affiliate links. I will receive a referral payment from any of the services you sign-up for.

Get faster shipping and more with Amazon Prime: About to order something from Amazon but want to get more value out of the money you would normally pay for shipping? Sign-up for a free 30-day trial of Amazon Prime to get free two-day shipping, access to thousands of movies and TV shows, and more.

Thanks for reading and take care.

Источник

Оцените статью
Adblock
detector