(partially solved, will update when completed) Please help with an xfce/powerup bug: black screen after suspend/hibernate
MX Linux, Xfce 4.18
Closing the laptop lid suspends the system, opening it resumes it, but the screen is black. I'm guessing it's related to powerup because suspending through the logout menu and systemctl suspend both work as expected. When it's black, switching to a different tty works, as well as C-M-Backspace to logout.
Same results with both lightdm and sddm, when replacing suspend with hibernate, and I've tried a few solutions like disabling lock on sleep.
Seems like this issue has been around for years, but had a whole bunch of different causes since every other thread has a different solution.
I've tried resuming 50+ times while troubleshooting, and it only once did it correctly. Now I try to replicate the bug and it worked correctly 2/3 times.
I've tried resuming 50+ times while troubleshooting, and it only once did it correctly. Now I try to replicate the bug and it worked correctly 2/3 times
That's just the computers fucking with you. It's how it always happens 😉
Regarding the sleep modes, I was referring to the S* states. Run this:
[ 9760.639020] PM: suspend entry (deep)
[ 9761.235526] printk: Suspending console(s) (use no_console_suspend to debug)
[ 9764.716421] ACPI: PM: Preparing to enter system sleep state S3
[ 9764.764150] ACPI: PM: Waking up from system sleep state S3
[ 9767.889922] PM: suspend exit
I just tried starting the xfce power manager in i3 and using it to go to standby when i close the lid. It woke up 10 times in a row without an issue. It looks like it's a purely xfce issue.
Also, when it wakes up it turns on the display, but then it doesn't go black but instead turns it off. I was still able to reboot while it was off.
$ swapon -s
Filename Type Size Used Priority
/swap/swap file 38915068 0 -2
That’s just the computers fucking with you. It’s how it always happens 😉
Oh I know, just complaining
sudo dmesg | grep -E "S3|suspend"
[ 7225.917778] PM: suspend entry (deep)
[ 7226.596293] printk: Suspending console(s) (use no_console_suspend to debug)
[ 7230.132960] ACPI: PM: Preparing to enter system sleep state S3
[ 7230.178542] ACPI: PM: Waking up from system sleep state S3
[ 7233.500089] PM: suspend exit