How to uninstall AMDGPU?
Solution 1
Similar happened to me trying to figure out settings and drivers for Mythtv on 18.04 with Kaveri. If 'sudo amdgpu-pro-uninstall' didn't return errors, and the dpkg --purge didn't work (I also did both). Then my many driver install/uninstall resulted in missing files for the radeon driver fixed for me with
sudo apt-get install --reinstall xserver-xorg-video-radeon
And if that fails, then maybe uncomment Enable=true under debug in /etc/gdm3/custom.conf. Then use Virtual Terminals (I ssh in from my laptop) to switch between multi-user and graphical.target so you can review ~/.local/share/xorg/Xorg.0.conf for more clues. Similar debugging and searching on askubuntu led me to the reinstall above.
Solution 2
I got also the same problem, and those commands helped me:
sudo apt-get install --reinstall xserver-xorg-video-radeon xserver-xorg-core
sudo apt install xserver-xorg
sudo update-initramfs -u -k all
Solution 3
The amdgpu-pro-install is a script file that you can read. To uninstall, apparently you can type in:
./amdgpu-pro-install --uninstall
This worked for me. Good luck!
Related videos on Youtube
Comments
-
Googlebot over 1 year
I have a fresh install of
18.04
on my desktop with Radeon Vega 64 GPU. Since I installed AMD GPU official driver, I have a collection of problems.For a week, the mouse was lagging after a few hours. Now, the entire screen freezes after a few hours. There is no graphic output. If I turn off the monitor and start it again, there is no signal. However, the machine still works as a webserver.
I uninstalled
AMD GPU
with the command,amdgpu-pro-uninstall
but then, Ubuntu does not boot into the graphical interface (freezes before the purple screen).
I tried to blacklist the driver, according to this answer.
Again, Ubuntu does not come up.
It is frustraiting, as my machine is practically useless because of this stupid driver. I am thinking of buying an Nvidia GPU.
Do you know a safe method to get rid of
AMD GPU
driver? Because I don't remember any of these problems with the fresh install of Ubuntu 18.04. I believe the native firmware worked much better. -
Nick Bailuc about 4 yearsshould be grep amdgpu-pro not amdgpu (which is the built-in free driver)
-
Neticegear over 3 years@NickBailuc
dpkg -l | grep -i amdgpu
will list all files with amdgpu* patten, includingamdgpu-pro
. Also suggesting that we should only be looking atamdgpu-pro
files is not appropriate as we have no knowledge whatamdgpu-pro-uninstall
did. We need to first remove the corresponding drivers, and then reinstall them to avoid future issues.