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.

  • Corngood
    link
    fedilink
    arrow-up
    26
    ·
    18 days ago

    I’ve had those errors on my system for years. I never thought that they were NixOS specific. I just assumed something to do with a buggy firmware:

    Enabled 4 GPEs in block 00 to 1F
    ACPI Error: Aborting method \_SB.PCI0.GPP2.PTXH.RHUB.POT3._PLD due to previous error (AE_AML_UNINITIALIZED_ELEMENT) (20240322/psparse-529)
    [x~20]
    ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
    

    I don’t notice any ill-effects from them, so it may be a red herring. I have a:

    $ < /sys/devices/virtual/dmi/id/board_name
    ROG STRIX B450-F GAMING
    

    with a 5900X.

    I don’t usually see as many prints as you have there, but it’s quite a few, and the number seems to vary (grow?) over time. I keep meaning to investigate it, but haven’t got around to it.

    I think you should keep looking in your logs for other problems. If you can share the full log I’d be happy to take a look.

    • Sunny' 🌻@slrpnk.netOP
      link
      fedilink
      arrow-up
      9
      ·
      18 days ago

      Thanks for the reply! I will investigate further, and try to share the logs if I figure out a smart way to do it.

      • balsoft
        link
        fedilink
        English
        arrow-up
        10
        ·
        18 days ago

        FYI a great way to share your logs (if you have internet on the machine but no GUI) is to use a pastebin like 0x0.st. E.g. do journalctl | curl -F'file=@-' https://0x0.st and post the link here.

    • Sunny' 🌻@slrpnk.netOP
      link
      fedilink
      arrow-up
      1
      ·
      17 days ago

      I have the same motherboard! I also rock the AMD 6700 XT graphics card, which I acquired this year, so it would defo leave a sour taste in my mouth if this was the guilty puzzlepiece in the my stack.

      Whilst 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 by others. Journalctl command results in this if thats to any help; https://0x0.st/Xt2e.txt

      and this is lsmod;

      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
      
    • Sunny' 🌻@slrpnk.netOP
      link
      fedilink
      arrow-up
      1
      ·
      17 days ago

      Do you also struggle with extremely long boot times? Whenever I reboot or start the computer up, I am stuck with watching the ROG Asus logo for approx 5 whole minutes… Even if I try to press delete to enter bios, it still takes that long for it to enter bios. However, this doesn’t always happen, sometimes it decides to be “quick about it”. I’ve just made sure I’m running the latest bios version, and have set all values back to default values. So not sure what it can be. It only started this year, too, after acquiring the AMD GPU…

      • Corngood
        link
        fedilink
        arrow-up
        1
        ·
        17 days ago

        No, I haven’t seen anything like that. That’s odd.