You are not logged in.

#101 2024-05-21 21:55:40

solstice
Member
Registered: 2006-10-27
Posts: 237
Website

Re: System freezes while trying to sleep

After using the lts61 kernel for a few months, i am back at using linux-zen with 6.9.1 version, and things seem to be finally ok, regarding that freeze

Edit. Well it took 2 days for it to fail again during suspend, but it does NOT work better with 6.9.1 F*** !

Last edited by solstice (2024-05-23 11:21:35)

Offline

#102 2024-11-19 04:03:05

archdong
Member
Registered: 2024-11-19
Posts: 2

Re: System freezes while trying to sleep

I'm experiencing the same thing. Was not an issue in prior 5.x kernels, but it's a constant issue that appears for me now in 6.9.x and 6.11.x and probably others.

Here's a way you can see if it's the same issue I've encountered.

Go into your BIOS, and DISABLE Intel SpeedStep and DISABLE Intel SpeedShift as well as DISABLE "Enable CPU C-States" (apologies for the poor wording there, you do NOT  want CPU C-States enabled, my ASUS BIOS has all 3 settings put together in the CPU Power Management settings pane in Advanced Settings)

Save and reboot.

Test your sleep a few times. Does it work now where it previously would hard crash on resume? If so, than someone broke the Intel SpeedStep/SpeedShift implementation / handling in the Kernel sometime in one of the 6.x branches and it's persisted since. Would probably help get the problem isolated and solved if you (@solstice) and others can confirm if my 'workaround' fixes the problem for you.

So you can use that as a workaround for the time being, if it fixes your problem, but it's going to hurt your battery life / performance balancing and really needs a kernel fix. This affects my desktop PC so it's not limited to Laptops.

Last edited by archdong (2024-11-19 04:10:08)

Offline

#103 2024-11-19 06:52:26

seth
Member
Registered: 2012-09-03
Posts: 59,120

Offline

#104 2024-11-29 00:31:15

archdong
Member
Registered: 2024-11-19
Posts: 2

Re: System freezes while trying to sleep

I'm going out on a limb here, since this problem followed me over to a new AMD build, so my previous theory wasn't correct.

I'm getting a freezing black screen after login but the mouse moves (KDE). I checked the journalctl output, and saw

""Activated service 'org.kde.Ksplash' failed: Process org.kde.KSplash exited with status 1"."

The thing is, I have KSplash disabled. So, on a whim, I've re-enabled KSplash (Settings | Apperance | Splash Screen | Choose anything but none | Apply), and I've logged out and back in about 20 times now and it /won't crash/ anymore, including on resume from suspend and login.

Is one of these Black Screen bugs a bloody race condition with KSplash when it's been disabled?

For those who have these symptoms: Are you using SDDM, KDE, and do you have your KSplash screen disabled? Try enabling it. Does it fix it?

EDIT: Alright, it looks like there are two different scenarios. One presents as 'resume from sleep, black screen, mouse cursor visible, but mouse cursor completely frozen in place'. That seems to have nothing to do with KSplash. The other presents as 'immediately after login, black screen, mouse cursor visible, mouse cursor responds to mouse movements, but no desktop loads'. That seems to be a potential issue with KSplash that can be mitigated with the above fix. This is a bit of a mess, this spanned two completely different platforms - an older generation intel and a brand new AMD, including with new monitors and GPU. Googling shows lots of people complaining about this - I wonder what got broken so badly that identifying a fix is being so evasive? I'm seeing 'could be USB Audio', 'could be KDE's X integration layer', 'could be xyz in the kernel' - seems there are a lot of problems that present the same way. I don't think I'm getting a stable resume / stable login/out  any time soon sad I tried to help!

Last edited by archdong (2024-11-29 02:41:56)

Offline

#105 2024-11-29 08:10:13

seth
Member
Registered: 2012-09-03
Posts: 59,120

Re: System freezes while trying to sleep

ksplash should™ not be invoked around an S3/s2idle cycle and "resume from suspend and login" does not log you out, the lockscreen might look like the login screen, but is a different thing.

Aaaaand…

EDIT: Alright, it looks like there are two different scenarios. One presents as 'resume from sleep, black screen, mouse cursor visible, but mouse cursor completely frozen in place'. That seems to have nothing to do with KSplash.

I need to learn to not respond while reading wink

1. Did you actually have resume from sleep issues or has this always just been "a freezing black screen after login"?
2. is this KDE on wayland or X11?
Please post your complete system journal for an affected boot, eg

sudo journalctl -b | curl -F 'file=@-' 0x0.st

for the current one (… -b -1 …) would be the previous one.

Offline

Board footer

Powered by FluxBB