I need to preface this by saying I'm new to Linux entirely, but I'm determined to use Debian. Any overly technical explanations will probably go over my head, even the small things.
For the past few hours I've been trying to fix my Debian12 fresh install hanging on the post-grub "OK" messages.
I've tried different desktop environments, different installs, I just can't fix it.
Basically, I'm pretty sure its a GPU issue. I'm running an AMD Rx 7800 xt, and an 7800x3d CPU. I ran a "dmesg" in TTY and filtered for error messages, which gave me the following:
amdgpu 0000:03:00.0 Direct firmware load for amdgpu/gc_11_0_3_mes_2.bin failed with error -2
amdgpu 0000:03:00.0 Direct firmware load for amdgpu/gc_11_0_3_mes.bin failed with error -2
[amdgpu]] ERROR early_init of IP block <mes_v11_0> failed -19
amdgpu: Fatal error during GPU init
The ONLY way I can possibly get to the desktop is by putting "nomodeset" into the GRUB settings, and with X11. If I use wayland, I get stuck in an infinite login screen loop. (Im using KDE Plasma, but I don't think Desktop environment is the problem here because using the others still yields the same result.)This will run the desktop at a low resolution, but it seems to work like it should, internet and all. From here I followed this guide: https://wiki.debian.org/AtiHowTo
After that, I rebooted, and nothing had changed. Still low resolution, and wont launch without "nomodeset" enabled.
I feel close to getting this fixed but I just don't know where to go next. Please help.
(Happy to answer any questions- Maybe I left out something)
Debian 12 Hangs on boot, close to fixing but no idea what steps to take next
- sunrat
- Site admin
- Posts: 7450
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 134 times
- Been thanked: 665 times
Re: Debian 12 Hangs on boot, close to fixing but no idea what steps to take next
Probably your hardware is too recent for Debian Bookworm. Likely you at least need to source newer firmware and kernel, but may also need a newer mesa graphics stack. Solved in this topic but it is for Debian Testing - [Testing - Trixie] [SOLVED] Install seems fine, but AMD GPU RX 7800 XT graphic card firmware not included.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: Debian 12 Hangs on boot, close to fixing but no idea what steps to take next
I did follow the solution just now; although it didn't seem to do anything. There was a command they ran - update.initramfs -u[sunrat wrote: 2024-09-01 12:08 Probably your hardware is too recent for Debian Bookworm. Likely you at least need to source newer firmware and kernel, but may also need a newer mesa graphics stack. Solved in this topic but it is for Debian Testing - [Testing - Trixie] [SOLVED] Install seems fine, but AMD GPU RX 7800 XT graphic card firmware not included.
I did try and run that in terminal but apparently that command isn't found. Is that a terminal command? As I said I don't really understand this stuff. I'm still not sure why it will only boot with that "nomodeset" in grub though. The resolution is still messed up as well. Should I switch to Testing? or would that not make a difference
Re: Debian 12 Hangs on boot, close to fixing but no idea what steps to take next
Nomodeset is purely a troubleshooting tool, enabling crude fallback graphics output in order to help facilitate log gathering, analysis and making repairs. The RX 7800 XT release announcement came more than 2 months after Bookworm, so you may need Trixie or some of its graphics components and/or backport kernel to fix this. Normally for any Linux distro you don't build yourself you want to choose an OS 6 months or more newer than your hardware for all the support you may need. I don't know that a point release (e.g. 12.6) really counts for this.