this post was submitted on 29 Nov 2023
25 points (96.3% liked)

Linux

48141 readers
467 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I dont know if this is pretty common? I reported a bug about this an eternity ago on Fedora, but it is still happening.

I am also not sure what project is responsible, mesa?

Whenever I sleep my Fedora KDE Laptop, close the lid, open it and it turns on but no input works.

Sometimes my entire screen is corrupted too, like this and often only a hard shutdown fixes it, sometimes it reacts by itself.

Do you know something similar? Where should I report it and how can I circumvent this by now, disable S3 sleep?

top 11 comments
sorted by: hot top controversial new old
[–] olorin99@kbin.social 4 points 11 months ago (2 children)

Many modern laptops no longer support S3 sleep at all. It is likely to be an issue with the bios rather than a linux project. On my laptop, with Ryzen 7 5825U, I had to give up on S3 and use s2idle. Also had to pass "pcie_aspm=off" as a kernel parameter because it would take ages to wake the ssd without it. Overall works ok. Not as good as S3 but better than nothing.

[–] Pantherina@feddit.de 1 points 11 months ago (1 children)

Thank you! How do you activate s2idle?

[–] olorin99@kbin.social 2 points 11 months ago (1 children)

So to check what suspend states your laptop supports run cat /sys/power/mem_sleep. It should print something like s2idle shallow [deep] with the option that is enabled having [] around it. To change the enabled option run echo "s2idle" > /sys/power/mem_sleep.
https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate has more info.

[–] Pantherina@feddit.de 1 points 11 months ago

S2idle.

Hm, anyways this is happening ;(

[–] PrefersAwkward@lemmy.world 1 points 11 months ago (1 children)

Pcie ASPM off would hurt battery life a lot wouldn't it? What sad do you have?

[–] olorin99@kbin.social 1 points 11 months ago

I haven't really noticed much of a difference. I figured it was probably worth actually being able to wake the laptop from sleep rather than having to restart it every time.

[–] PseudoSpock@lemmy.dbzer0.com 2 points 11 months ago (1 children)

Microsoft has pushed OEM's to stop supporting S3 in bios, instead wanting hybrid sleep. Microsoft wants this because hybrid sleep allows waking for sending telemetry to Microsoft all the dang time, like cell phones do. I curse the day they did this.

[–] Pantherina@feddit.de 1 points 11 months ago

Wtf this really sucks.

[–] fuckwit_mcbumcrumble@lemmy.world 1 points 11 months ago (1 children)

Are you sure S3 sleep is enabled in the bios? On most machines it's one or the other, not both at the same time. On some Intel machines you can still enable S3 standby, but I know AMD killed it a lot sooner than Intel did.

Windows has powercfg /availablesleepstates to show what states are supported. I'm sure there's something like that for linux but I'm not 100% sure. You could try dmesg | grep -i "acpi: (supports"

[–] Pantherina@feddit.de 1 points 11 months ago (1 children)

No seems I use s2idle.

What are real reasons for that killing?

[–] fuckwit_mcbumcrumble@lemmy.world 2 points 11 months ago

Microsoft says it’s more secure. and that since it stays on its 100% the OSes control which is supposed to be much more secure”reliable” than S3 standby.

Nevermind that S0 standby is so incredibly buggy and awful on windows where it’s supposed to be best. My i9 Thinkpad drops 20% battery in 15 minutes, then goes into hibernation. It has a 50% chance of overheating in my bag and crashing when trying to get in to hibernation.