https://bugs.kde.org/show_bug.cgi?id=528651

David Toman <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from David Toman <[email protected]> ---
**Same issue on TUXEDO OS with Plasma 6.6.6 – repeated hibernation after
lid-triggered resume**

I can reproduce what appears to be the same issue on a TUXEDO InfinityBook Pro
AMD Gen9.

**System information:**
- Hardware: TUXEDO InfinityBook Pro AMD Gen9
- CPU/GPU: AMD Ryzen 7 8845HS / Radeon 780M
- Distribution: TUXEDO OS 24.04.5 LTS
- Kernel: 7.0.0-113043-tuxedo
- KDE Plasma: 6.6.6
- KWin Wayland: 6.6.6
- PowerDevil: 6.6.6
- Graphics platform: Wayland

**Steps to reproduce:**

1. Configure the laptop lid action to hibernate.
2. Close the lid and allow the laptop to enter hibernation.
3. Open the lid and power on the laptop.
4. Unlock the screen.
5. After approximately 10 seconds, the screen locks again.
6. Unlocking it does not help. The system continues attempting to hibernate
repeatedly.

**Observed behavior:**

Hibernation itself succeeds initially, and the previous desktop session is
restored.

However, shortly after resuming, PowerDevil appears to request another
hibernation. Subsequent attempts fail with "Device or resource busy", and the
requests repeat approximately every 18 seconds.

This makes the desktop practically unusable until the system is restarted.

**Relevant journal entries from November 23, 2026:**

```text
09:13:15 systemd-logind: Lid closed.
09:13:15 systemd-logind: The system will hibernate now!

19:51:57 systemd-sleep: System returned from sleep operation 'hibernate'.

19:52:07 org.kde.powerdevil.wakeupsourcehelper activated
19:52:07 systemd-logind: The system will hibernate now!
19:52:38 systemd-sleep: Failed to put system to sleep. System resumed again:
Device or resource busy

19:52:48 org.kde.powerdevil.wakeupsourcehelper activated
19:52:48 systemd-logind: The system will hibernate now!
19:52:55 systemd-sleep: Failed to put system to sleep. System resumed again:
Device or resource busy

19:53:06 systemd-logind: The system will hibernate now!
19:53:13 systemd-sleep: Failed to put system to sleep. System resumed again:
Device or resource busy

19:53:24 systemd-logind: The system will hibernate now!
19:53:34 systemd-sleep: Failed to put system to sleep. System resumed again:
Device or resource busy
```

Further attempts occurred at 19:53:44, 19:54:02, 19:54:20, 19:54:38, 19:54:56,
19:55:14 and 19:55:33.

The system eventually entered hibernation successfully on a later attempt.

**Additional observations:**

- Hibernation initiated manually from the KDE menu works correctly.
- The problem is reproducible when hibernation is triggered by closing the
laptop lid.
- The ACPI lid sensor reports `open` when checked after a subsequent reboot.
- The journal contains `Lid closed` before the initial hibernation, but no
corresponding `Lid opened` entry.
- PowerDevil holds the logind inhibitor for `handle-lid-switch`.
- `wakeupsourcehelper` is activated immediately before repeated hibernation
requests.

**Conclusion:**

This appears consistent with the retry mechanism described in this bug report,
possibly involving `HandleButtonEvents::onResumeFromSuspend()` and
`checkWakeup()`.

The issue also affects Plasma/PowerDevil 6.6.6 on TUXEDO OS, so it is not
specific to Plasma 6.8.x or CachyOS.

I can provide the complete journal from the affected session if needed.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to