Recover from AMDGPU-PRO install

Solution 1:

Ran into this question while trying to solve the same problem, I solved it just by uninstalling amd driver.

  • Enter ubuntu Recovery mode while booting in.
  • Enable networking and mount file system using the recovery options.
  • Now "Drop to the root shell prompt".
  • Use amdgpu-pro-uninstall command to uninstall.

"exit" and everything should be back to normal.

Solution 2:

I had the same issue it is because of the modification to the initrd file in /boot folder. You can recover by reverting to the old initrd file stored in /boot as initrd.dkms.old. I didn't know how to do that, so I just reinstalled the OS.

Also, the amd install guide said that there is a amdgpu-pro-uninstall script in the extracted folder but there isn't.

Update if you find a way to reverting to the old initrd or another way to fix the problem apart from re-installation.

Solution 3:

If you are looking for the amdgpu-pro-uninstall script for newer installs it can probably be found in a different directory (as mentioned in the comments), try

/usr/bin/amdgpu-uninstall
/usr/bin/amdgpu-pro-uninstall

Solution 4:

There is an --uninstall option in amdgpu-pro-install.sh.