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

            Bug ID: 510814
           Summary: Laptop fails to suspend on lid close - “Failed to
                    delay sleep: Sender is not authorized to send message”
    Classification: Plasma
           Product: kwin
      Version First 6.4.90
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 185913
  --> https://bugs.kde.org/attachment.cgi?id=185913&action=edit
filtered jounalctl after closing and opening lid and waking up with a button

SUMMARY
When lid close is set to suspend and the lid gets closed, the laptop does not
go into "deep" sleep and fails over to "s2idle". It seems like it is caused by
Kwin_wayland not being able to postpone the sleep for the GPU to go to sleep
properly. Aside from high power usage, this also causes the laptop to not wake
up when the lid gets opened and needs to be waken up using the power button.

The system sleeps properly when i sleep it manually using the sleep button in
the "Application Launcher".
This does NOT happen in Plasma 6.4.4

I am not sure if this happens on Intel laptops but my Thinkpad T14 Gen 2 with
an AMD CPU does it.

I included some logs.

STEPS TO REPRODUCE
1. Get Plasma 6.5 Beta (doesn't matter if 1 or 2)
2. Set "Power Management" -> "When laptop lid closed" to "Suspend"
3. Close the laptop's lid

OBSERVED RESULT
The sleep LED blink does not start.
Battery drains quickly and laptop heats up.
When lid opened the laptop doesn't wake up.

EXPECTED RESULT
The sleep LED blink starts.
No excessive battery drain in sleep.
When lid opened the laptop wakes up.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.91
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.3-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 5850U with Radeon Graphics
Memory: 32 GiB of RAM (30.2 GiB usable)
Graphics Processor: AMD Radeon Graphics

ADDITIONAL INFORMATION
My journal after trying to suspend by closing the lid is attached.

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

Reply via email to