Hi everyone,
Not sure how to fix this so I’ll cave in and ask here. If I have used any wrong terminology or if this sounds confusing, feel free to ask more questions or correct me.
The problem:
This only started happening a few weeks ago out of the blue. My computer has no problems going to sleep (either by suspend or hibernate) after booting from a powered off state. However, after I wake up the computer from its sleep and later attempt to put the computer to sleep again (so putting it to sleep for the 2nd time since the last fresh boot), it locks up indefinitely and I am forced to just hold the power button to turn it off.
Symptoms:
There are no problems or any unusual aspects until I try to put the computer to sleep a 2nd time. This is what happens then:
The desirable:
- All inputs and outputs cease to respond (keyboard, mouse, audio playback, etc)
- Network disconnects
- All hardware lights go off
The undesirable:
- The screens go blank; not entirely off, just a blank screen.
- All fans continue running exactly as they were prior to putting the computer to sleep, going on eternally (or at least until I can no longer wait before forcing a shutdown). This is what tells me it never actually goes to sleep, just enters some blank state.
- Doing anything to try waking up the computer does nothing at all (pressing power button, etc.)
What I’ve tried so far:
- Reading the journalctl to diagnose.
- There are no entries or lines indicating any issues when trying to sleep. The last line before I just go ahead and shut off is simply “localhost.localdomain kernel: PM: suspend entry (deep)”.
- Performed “sudo swapoff -a” and “sudo swapon -a” just in case it was a memory swap issue.
- Performed “systemd-inhibit --list” to see if there were any blockers. All I have in here are the following:
ModemManager (delay), NetworkManager (delay), UPower (delay), PowerDevil (block) and Screen Locker (delay).
- Since I’m on KDE that might not mean anything, but could PowerDevil be the culprit here?
- Changed the lock screen SDDM and themes just in case that was doing something.
- Tried to check out the /etc/systemd/sleep.conf file. It contains the following:
[Sleep]
#AllowSuspend=yes
#AllowHibernation=yes
#AllowSuspendThenHibernate=yes
#AllowHybridSleep=yes
#SuspendMode=platform suspend
#SuspendState=mem standby freeze
#HibernateMode=shutdown
#HibernateState=disk
#HybridSleepMode=suspend platform shutdown
#HybridSleepState=disk
#HibernateDelaySec=3600
- Is the above configuration the culprit? If not, is it still how it should be?
- Tried a variety sleep methods including pressing the power button on the desktop, clicking “Sleep” in the menu, and even a number of systemctl and pm commands to both suspend and hibernate. No luck.
That’s as far as I can get diagnostic-wise, but does anyone know of any other files, settings or logs that could help provide more clues or even an outright solution to help the computer actually go to sleep? Is there a possible clue in that it only happens the 2nd time onwards?
Thanks for taking the time to read; any help would be much appreciated!