As a data-point, hibernation still works on mine, latest arch, latest bios on the 7840U framework 13.
Interesting it crashed after at least 8 cycles (didnât pay attention to it after 8 and came back to it on the encryption password prompt).
Never had that happen in actual use before.
Edit: interesting, second run ended with frozen system after 10 cycles
Yeah, youâve just been lucky I guess
I am now 21 cycles into a run, all I changed was increase the wait between cycles fro 5 to 30s, This may be a going down when not quite up issue or something.
Edit: and just as I post this it freezes XD
Linux 6.8.4 now includes possibly relevant changes:
"Greg Kroah-Hartman (12):
Revert âworkqueue: Shorten events_freezable_power_efficient nameâ
Revert âworkqueue: Donât call cpumask_test_cpu() with -1 CPU in wq_update_node_max_active()â
Revert âworkqueue: Implement system-wide nr_active enforcement for unbound workqueuesâ
Revert âworkqueue: Introduce struct wq_node_nr_activeâ
Revert âworkqueue: RCU protect wq->dfl_pwq and implement accessors for itâ
Revert âworkqueue: Make wq_adjust_max_active() round-robin pwqs while activatingâ
Revert âworkqueue: Move nr_active handling into helpersâ
Revert âworkqueue: Replace pwq_activate_inactive_work() with [__]pwq_activate_work()â
Revert âworkqueue: Factor out pwq_is_empty()â
Revert âworkqueue: Move pwq->max_active to wq->max_activeâ
Revert âworkqueue.c: Increase workqueue name lengthâ
Linux 6.8.4
"
Testing suspend/hibernate now.
suspend works, hibernate wouldnât start with systemctl hibernateâthat is, screen blanked, power led stayed on, and screen/system resumed.
And after attempting to hibernate, returning from suspend takes ~30sec.
OK, a major hint: suspend and hibernate work fine using kernel 6.6.25-1. Kernel 6.8.4 breaks hibernate.
However, even using 6.6.25, resume from suspend after hibernating takes many seconds. Resume from hibernate is quick.
Manjaro Linux, KDE latest.
6.8.4 didnât make a difference for me.
Looks like a relevant kernel (6.8.x) error has been patched upstream: [PATCH] PM: s2idle: Make sure CPUs will wakeup directly on resume - Anna-Maria Behnsen
looks like that patch fixes a bug that could end up in not reneabling clock(event) for all cores after a resume from suspend to idle, but isnât this thread about problems with suspend to disk (hibernate) and suspend to ram?
Can confirm 6.8.4 is still doing it after 10ish cycles
Hibernation still fails with 6.8.5 6.6.26 works fine.
Normal using it fine or doing more than 21 cycles of the stress-test fine?
Cause mine does the first but not the second.
Try this patch:
https://lore.kernel.org/amd-gfx/20240328041720.276684-1-tim.huang@amd.com/
Thatâs not planned for stable but if it does help for you we can make a case to bring it to stable.
hibernation doesnât work at all for me using 6.8.5, but works normally in 6.6.26 .
Thank you. Iâm not compiling my own kernel, so will have to rely on other people testing the patch
On 6.8.4 it mostly works, unless you run the stresstest then it freezes after 10-20 cycles. Never happened in actual use but quite reproducable
Starting cycle 48
Ending cycle 48
Starting cycle 49
Ending cycle 49
Starting cycle 50
Ending cycle 50
Yusss! 50 cycles!
Cool! I just sent a request out for it to be brought to stable from your testing.
https://lore.kernel.org/stable/CA+EcB1OKkBSj-VoJpyAgTxPEuj9EOBz-B6Li6fcByYjME7QxDQ@mail.gmail.com/T/#u
Thank you! Kernel 6.8.6 does not seem to include it, as expected.
What did you do?