Does anyone how how I can diagnose and fix this problem:

Sometimes, but not always, when shutting down the process does not actually complete and the computer does not turn off.

The screen turns off but the keyboard backlight is still responsive, the fan is still going and the power-on LED is lit. Because the screen is turned off I can’t interact graphically with the computer and have to just hold down the power button and do a hard reboot.

I haven’t tested it properly but I get the feeling it happens more often if I have been doing audio work.

Debian 13 GNOME 48 Intel Core Ultra 7 Laptop

  • SteveTech@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 hours ago

    When it happens, try pressing Alt + SysRq(/PrtSc) + o. If that turns off your computer, then the kernel is still running and something is preventing shutdown; if it doesn’t, either SysRq is disabled, or ACPI is broken.

  • artiman@piefed.social
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    18 hours ago

    I have had this issue with Hyprland in arch I could not for the life of me get it to shut down I had to just unplug It although It didn’t fix It when I halted (halt is what pressing power button by default does), I get power outages every week in Iran, so the chance of corruption is not astronomically higher

  • muhyb@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    21 hours ago

    Switch to a TTY and do “sudo poweroff”. See what happens. I feel like this is more likely a systemd issue.

    • oeuf@slrpnk.netOP
      link
      fedilink
      arrow-up
      2
      ·
      19 hours ago

      How do I do that? Bearing in mind the display is off when this happens.

      • HakunaHafada@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        18 hours ago

        I was also experiencing your same issue, just tried @muhyb@programming.dev’s recommendation, and my computer shut off completely as desired.

        Edit: I also opened a terminal and “sudo poweroff” and “sudo shutdown now” both work, so for me, I didn’t need to switch to a TTY console.

  • rozodru@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    22 hours ago

    something with the DE I suspect. KDE will do the same thing. never had the issue with another compositor/WM but with KDE Plasma every now and again the exact same thing you’re experiencing would happen. shut down, something in Plasma is still going and same results as you.