Bug 499089 - PC will not wake from sleep
Summary: PC will not wake from sleep
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power management & brightness (show other bugs)
Version: 6.1.5
Platform: Kubuntu Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-24 14:00 UTC by goo
Modified: 2025-01-24 14:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description goo 2025-01-24 14:00:06 UTC
SUMMARY
under power management, setting suspend option to sleep results in a hard lockup and PC will not wake up.

STEPS TO REPRODUCE
1. go to settings > power management > suspend options > sleep
2. allow system to fall asleep with default sleep.config
3. try to wake system after suspend (via USB or power button)

OBSERVED RESULT
system does not wake or respond to anything other than a hard reset with the power button (holding it down for 5sec)

EXPECTED RESULT
system resumes to the exact state it was in before suspend.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Kernel Version: 6.11.0-13-generic (64-bit)
Graphics Platform: X11
Processors: 28 × Intel® Core™ i7-14700K
Memory: 62.6 GiB of RAM
Graphics Processor: AMD Radeon RX 6800
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7D27
System Version: 1.0

ADDITIONAL INFORMATION

investigating the `/etc/systemd/sleep.conf` options and testing various settings by uncommenting lines in the file, i have discovered that the the "freeze" state to be the root of the problem. 

`cat /sys/power/state` shows the order of operations with `freeze mem disk`, but freeze does not work on my system, only mem and disk

so setting the sleep.conf as shown avoids the "freeze" state 

```
[Sleep]
AllowSuspend=yes
AllowHibernation=yes
AllowSuspendThenHibernate=yes
AllowHybridSleep=no
SuspendState=mem disk
HibernateMode=platform shutdown
MemorySleepMode=deep
HibernateDelaySec=60
#SuspendEstimationSec=60min

```
Comment 1 Bug Janitor Service 2025-01-24 14:33:36 UTC
Thank you for the bug report!

However Plasma 6.1.5 is no longer eligible for support or maintenance from KDE; supported versions are 5.27. (LTS), and 6.2 (non-LTS) or newer. Please upgrade to a supported version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.

If you need support for Plasma 6.1.5, please contact your distribution, who bears the responsibility of providing support for older releases that are no longer supported by KDE.

If you can reproduce the issue after upgrading to a supported version, feel free to re-open this bug report.