I use the MX Linux distribution (Debian-based) as my dual-boot. Recently, I've started building a new PC, the crux of which will be a Radeon RX 7900xtx GPU. Since it showed up before everything else, I crammed it into my current PC to replace a GTX970 to test and play around.
After some fun with the Dell BIOS not giving me any video out, I got it running great in Windows.
However, when booting into MX Linux, the system simply hangs on a flashing cursor forever. If I press the power button, it shows the normal shutdown text of stopping services and shuts down fine, so I know it's not a hard crash, just a silent hang.
I'm assuming this is related to the NVidia drivers being embedded in the kernel or something and it just can't figure out how to initialize the Radeon card? I was using the NVidia proprietary drivers on my GTX970 before, installed through the MX Linux repos.
Any advice or guides you might have to get this install working again would be great! It would be no great loss if I had to reinstall it since I'll be moving to a totally new PC anyway, but I'd like to try and save this install anyway.
Radeon 79XX drivers are integrated into the 6.X kernel. Kernels lower than that won't really work. I don't have a MX install any more, but I'd guess that's the reason. You might try looking for the upgraded kernel. The nvidia drivers shouldn't have anything to do with it.
Ahhhh fuck that's it right there. MX's normal distribution is Debian stable and baked onto the 5.10 kernel. I have to install MX's AHS release for the 6.x kernel. I didn't even think about that.
MX is fairly integrated and I'm not sure I could upgrade the kernel in place without destroying the install, assuming I even knew how to replace such a thing.
I'm too used to having all my old hardware lol. Thank you so much!
Bringing this over from the site that shall not be named.
you probably need to update mx-packageintaller-pkglist, current version is 22.11.01mx21 if you don't have that and it doesn't upgrade you might want to change the repo (try MX Repo Manager) refresh and try to upgrade again, then after you update that it should be available in "Popular Applications" tab in MX Package Installer.
Dunno if it will help in your particular situation, but it might keep someone else from going to deddit in the future.
When does it hang? If it's after you log into your user, you could try to instead when on the login screen open a shell by pressing Ctrl + Alt + F2, uninstall Nvidia drivers and install mesa drivers. Or maybe at least investigate further.
yeah it hangs way before the login screen. It basically hangs immediately after exiting GRUB and goes directly to a flashing cursor.
elltee explained it above.. MX Linux's stable distribution is on kernel 5.10 and I need kernel 6.x (part of their advanced hardware support release) to get AMD RDNA3 drivers. So I'll most likely be doing a full reinstall unless you know how to replace kernels in place.
I have no idea what MX is but maybe you could just compile your own? It's not that hard. If you're going to wipe the system anyway, it's an opportunity to mess around a little and learn
Just remember to
backup old kernel AND initrd
have a rescue usb in case it completely stops booting up
choose modules that are used for your hard drive and filesystem as built into the kernel, just in case
you should be able to copy the CONFIG of the old kernel in the repo and use it (as the wiki proposes)