Skip to main content
Topic: Newbie with an unusual sleep related issue (Read 410 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Newbie with an unusual sleep related issue

Greets.

I don't have a tremendous amount of Linux experience and have spent way too many years in Windows GUIs, so I could use some pointers on where to start troubleshooting this one.

I installed Artix on my Lenovo Yoga 6 13ABR8 (AMD) and after a little bit was able to get the accursed windows 11 optimized "new" sleep replaced with good old S3 sleep.  I thought it was clean sailing from there, until I discovered if I leave the laptop asleep long enough, something bizarre happens and I can no longer login: The login screen says "unable to login" and if I switch to a different text terminal, once I type in my user name, the console just sits there and never errors out or advances to the password prompt.  A power cycle is required at which point it's back to working happy until it's left idle long enough for whatever happens to happen again.  i can sometimes cause it with hibernate, but usually hibernate refuses to do anything.

Some slightly older Lenovos on the arch wiki seem to indicate there's an ACPI change that needs to be made, but I'm not sure if that applies to this model or not, so I thought I'd ask for help figuring out where to start looking in the logs.

Running an OpenRC build with KDE Plasma.

I also can't seem to get KDE Wayland to work, either, but one learning cliff at a time.

 

Re: Newbie with an unusual sleep related issue

Reply #1
What size swap partition do you have? Sometimes sleep starts off as suspend to RAM, then after a while it switches to suspend to disk using the swap partiton, which might need to be bigger than RAM, although that requirement can be avoided by altering image_size:

https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Hibernation