https://bugzilla.kernel.org/show_bug.cgi?id=200087

--- Comment #49 from Samantha McVey (samant...@posteo.net) ---
siyia: I seem to be getting freezing during suspend too (though you seem to be
getting it more than I). There are some with Ryzen that their crashes were
fixed if they disabled C6 powerstate. Since I use a laptop that was mostly a
non-option for me, but I wrote as script so systemd will disable C6 sleep
before suspend and then enable it again after suspend (so CPU doesn't happen to
be in C6 state aronud suspend time).

May or may not work. Since it has only happened every once in a while for me, I
may not know for several days if the fix worked or not. You can test it out by
putting https://gist.github.com/samcv/0b6a915aadcddc0e19640c20d9dd3164 as
/usr/lib/systemd/system-sleep/disable-enable-c6-state.sh and doing `chmod +x
/usr/lib/systemd/system-sleep/disable-enable-c6-state.sh`. You will need
download https://github.com/r4m0n/ZenStates-Linux/blob/master/zenstates.py and
then set the ZENSTATES variable in my `disable-enable-c6-state.sh` script to
wherever you put the script. If the script is working you should get an output
from `journalctl -b 0 | grep -Ei '(enabled|disabled)\s*c6'` after you have done
a suspend/resume cycle. If that doesn't fix it, your issue (and possibly mine
depending on how my results go) should probably have their own bug filed.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to