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.
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
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.
I got also the same problem, and those commands helped me:
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!
If you can Alt+F2 into root recovery upon boot, you can do
$dpkg -l | grep -i amdgpu
and
dpkg --purge
what you find there for amdgpu.Then you can try the AMDGPU-open drive, instead of the propriatary,the AMDVLK open source driver, or even Mesa 18.X + Linux 4.19.
You have a beast of a card, which has been successfully ran under 18.04, and still have several options before giving up on it.