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.

  • elltee@lemmy.one
    link
    fedilink
    English
    arrow-up
    16
    ·
    1 year ago

    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.

    • empireOfLove@lemmy.oneOP
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      1 year ago

      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!

      • Aman Das@rammy.site
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        1 year ago

        If you plan on reinstall then try to separate the home and root partition… it’ll make future reinstalls simpler

        • curioushom@lemmy.one
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          Just to clarify for anyone reading this good advice; you want to separate the root and home partition. That allows for reinstalling the OS in your root partition without losing data in your home partition.

      • elltee@lemmy.one
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        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.

  • Oscar@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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.

    • empireOfLove@lemmy.oneOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      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.

      • INeedMana@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        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

        1. backup old kernel AND initrd
        2. have a rescue usb in case it completely stops booting up
        3. choose modules that are used for your hard drive and filesystem as built into the kernel, just in case
        4. you should be able to copy the CONFIG of the old kernel in the repo and use it (as the wiki proposes)
        5. remember to sleep
        • empireOfLove@lemmy.oneOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Not sure I’m feeling adventurous enough to be compiling my own kernel at this stage in the game. I might do that for some of my homelab machines as an experiment but my main computer really needs to be drop-in and go with full stability.

          • targetx@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            You should be able to boot into runlevel 1 easily and upgrade the kernel using the steps someone else already mentioned. No reason to reinstall the entire system.