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

  • muhyb@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    4 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
      ·
      2 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
        2
        ·
        edit-2
        40 minutes 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.

      • muhyb@programming.dev
        link
        fedilink
        arrow-up
        4
        ·
        2 hours ago

        I mean, give the shutdown command like this, not after already choosing it via menu. This way you may catch what’s wrong. Also, you can check the logs when you boot next time via journalctl -b -1 but to make it easier maybe this one should be more helpful journalctl -b -1 | grep -i shutdown