
























Hi everyone,
I'm encountering an issue on my Arch Linux desktop where the system stops automatically suspending after running for some time. This has happened on both GNOME 49 and GNOME 50.
When the system refuses to suspend, I checked systemd-inhibit --list and found the following entry blocking the suspend:
username 1000 username 3160 gsd-power handle-lid-switch External monitor attached or configuration changed recently blockThe system is a standard desktop PC, so it does not have a lid. I initially suspected a system update was causing this, but the issue appears randomly even without any updates.
Looking at journalctl logs for systemd-logind, the system suspends properly earlier in the day but eventually stops attempting to suspend entirely. There are no errors displayed, just an absence of suspend events:
May 11 00:51:34 my-arch-desktop systemd-logind[849]: The system will suspend now!
May 11 08:54:38 my-arch-desktop systemd-logind[849]: Operation 'suspend' finished.
May 11 09:09:38 my-arch-desktop systemd-logind[849]: The system will suspend now!
... [suspends normally a few more times] ...
May 11 22:29:05 my-arch-desktop systemd-logind[849]: The system will suspend now!
May 11 22:33:33 my-arch-desktop systemd-logind[849]: Operation 'suspend' finished.
May 13 22:32:07 my-arch-desktop systemd-logind[849]: Watching system buttons on /dev/input/event16 (Logitech USB Receiver Consumer Control)
May 13 22:32:07 my-arch-desktop systemd-logind[849]: Watching system buttons on /dev/input/event14 (Logitech USB Receiver)
May 13 22:32:07 my-arch-desktop systemd-logind[849]: Watching system buttons on /dev/input/event17 (Logitech USB Receiver System Control)(Notice that there were no suspends triggered on May 12th, despite the machine being used).
System Information:
OS: Arch Linux (Kernel 7.0.5-zen1-1-zen)
DE: GNOME Shell 50.1 (Also occurred on GNOME 49)
GPU: NVIDIA GeForce RTX 4070 Ti (Proprietary nvidia driver)
Logind configuration: /etc/systemd/logind.conf is completely default (all lines commented out).
Has anyone else encountered this stuck gsd-power inhibitor on a desktop machine without a lid? Are there any known workarounds specifically for GNOME to ignore lid-switch events on a desktop to prevent this block?
Any help or pointers on debugging gsd-power would be greatly appreciated!
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。