2

Someone at gitlab.freedesktop.org's forum adviced that I could get a minimal installation of GL drivers supporting AMD ROCm on 24.04 by use of the command,

sudo amdgpu-install --usecase=graphics,dkms

After a minute of installation, a screen came up, looking like an old DOS screen, telling me that because I have secure boot enabled I was going to have to set a password, and enter it again upon reboot. I entered a password, it gave me an error message I do not remember; I hit PrintScreen to save it, but now I have no access to it. Something about pkg returning error. I entered reboot and it rebooted.

After the bios screen, another screen opened up asking me cryptic questions; it had a main selection for boot, ubuntu and hash, like, what could it possibly mean? I selected ubuntu, and it presented me a number of arcane choices, incomprehensible; I selected the first, then it asked for the password, I entered it, and nothing else I selected from those menus worked. So I hit the reboot menu.

When it rebooted it showed me a white screen saying "Oh no! Something has gone wrong. A problem has occurred and the system can't recover. Please contact the administrator." The bad news is I'm the administrator, and I have no idea what to do now. I'm writing from my old laptop computer. My new rig is dead.

So, it "was" 24.04 with MATE, the hardware being AM5 mobo, Ryzen 5, 32 gigs DDR5.

Anything I can do to revive it? Would getting rid of secure boot help?

DanW58
  • 527

2 Answers2

2

i ran into the same issue today.

I got out of it by switching to a TTY Terminal by pressing CTRL+ALT+F2 or so. Then i logged in and removed the amd driver with

sudo amdgpu-install --uninstall

Now i have a running and usable system, but without special drivers, so no gaming atm.

My research until now is that amdgpu really wants a kernel older than 6.4. I will try to switch to an older kernel now.

Lets hope for updates.

Secureboot seems to be unimportant on this toppic.

Best regards

elektrohexer

[edit] I reinstalled Ubuntu 22.04.4 LTS (Jammy Jellyfish). After that the amdgpu-driver installed without bigger problems.

1

I spent a lot of time with the new 24.04. I hope this helps because I'm not the most experienced Ubuntu user. Little remark.

Regarding the latest drivers, basic drivers will already be included out of the box. If things go really bad, it's better to roll back using Live USB or Grub. Yes, your can turn off Safe Boot.

They removed a bunch of x32 compatible libraries that were in the older driver versions. Therefore, you should probably wait before installing ROCm and other tools for working with PyTorch, etc.

You should roll back to the primary drivers and remove what you have already installed from tty (Ctrl+Alt+F3).

If you want to boot into the shell, you might need to update the configurations in Grub by specifying nomodset to boot with the basic graphics driver.

sudo nano /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodset"

sudo update-grub

sudo reboot

If you try to install everything according to these manuals, most likely nothing will work: ROCm Installation Guide

Therefore, only the new driver update utility 6.2 amdgpu-install will work.

I was able to update only the graphics, everything else seems not fully supported. But with this, you can at least try to fix things back.

sudo amdgpu-install --usecase=graphics --no-32