Hi.

Tried to install nix but am stuck with an issue I’m not able to resolve. Whenever I boot the system, it uses approx 5min on the boot-up of Nixos Stage #1 as seen in the picture. After a while it will boot into the system but without a GUI. I’ve done the installation twice, with different isos to make sure I didn’t do it wrong. It only works if I downgrade to nixos 23.11, but if I update(+plasma 6) from there It results in the same problem.

The error is:

kernel: Acpi Error: Aborting method (long string) due to previous error (AE_AML_UNINITIALIZED_ELEMENT)

Have no idea what this error is, and there don’t seem to be alot of info on it. Reaching out here to see if anyone is able to help me troubleshoot this, as I would really like to try latest Nixos.

  • chameleon@fedia.io
    link
    fedilink
    arrow-up
    8
    ·
    2 months ago

    In my experience, most hangs with a message about amdgpu loading on screen are caused by an amdgpu issue of some kind. I’d check to see if amdgpu ends up being loaded correctly via lsmod | grep amdgpu and just a general journalctl -b 0 | grep amdgpu to see if there’s any obvious failures there. Chances are that even if it’s not amdgpu, the real failure is in the journal somewhere.

    Could be a wrong setting of hardware.enableRedistributableFirmware (should be true) or the new-ish hardware.amdgpu.initrd.enable (can be either really but either true or false might be more or less reliable on your system).

    • Sunny' 🌻@slrpnk.netOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      2 months ago

      I ended up booting up bazzite, as I had to have a working computer for today. But ran the commands to see what it resulted in, but not sure what to make of the logs. However when trying to install other .iso’s late last night i kept seeing the ACPI errors over and over again, which has me thinking this is a problem with my hardware setup, as you suggested. I have the AMD RX 6700 X card.

      Journalctl command results in this; https://0x0.st/Xt2e.txt

      lunix@fedora:~$ lsmod | grep amdgpu
      amdgpu              17293312  158
      amdxcp                 12288  1 amdgpu
      drm_exec               12288  1 amdgpu
      gpu_sched              69632  1 amdgpu
      drm_buddy              20480  1 amdgpu
      video                  81920  2 asus_wmi,amdgpu
      i2c_algo_bit           20480  2 igb,amdgpu
      drm_suballoc_helper    16384  1 amdgpu
      drm_display_helper    253952  1 amdgpu
      drm_ttm_helper         12288  1 amdgpu
      ttm                   118784  2 amdgpu,drm_ttm_helper