Ryzen 7 power cstates, suspend, hibernation, and crashes #8100
chadillac
started this conversation in
Suggestions
Replies: 1 comment
|
So I've been testing this more, the long diagnosed cstates don't seem to be the problem. The crash isn't reliable, it doesn't result in a panic, the system just slowly degrades and seems to manifest as a filesystem access issue, eventually requiring a power cycle once it fully locks up. I've tinkered with various NVME and other kernel flags, which did improve things, it doesn't crash as reliably (lol) but still hasn't fixed the problem. I'm including some updates users having the same issue can apply to default to hibernate vs suspend, which is reliable (in my testing) and also greatly reduces battery drain (compared to a /etc/systemd/sleep.conf.d/90-hibernate-only.conf/etc/systemd/logind.conf.d/90-hibernate-on-lid.conf |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm running a ThinkPad P14S, with a Ryzen 7
I have previously been an Endeavour user and had to troubleshoot these issues there before. The fix traditionally is to update the CPU power cstates to omit some of the newer "deep sleep" modes, that lack proper Kernel support (simplified explanation).
The fix is typically to edit
/etc/kernel/cmdlineto addprocessor.max_cstate=1to recover stable usage of suspend and hibernation functionality.Since Omarchy runs Limine these changes obviously don't take affect, updating
/etc/default/limineaddingKERNEL_CMDLINE[default]+=" processor.max_cstate=1"appears to fix the issue.Then run:
sudo limine-updateand a reboot should get things sorted out...
It's not an Omarchy bug, so I didn't want to file it as much, but it might be worth pointing this out for Ryzen users in the official docs, as it will impact any Ryzen 7+ system with these available cstates that aren't yet kernel supported.
All reactions