Skip to content

Instantly share code, notes, and snippets.

View dlqqq's full-sized avatar
🫠
JAI v3 - 3/31

David L. Qiu dlqqq

🫠
JAI v3 - 3/31
View GitHub Profile
@dlqqq
dlqqq / ryzen_bug.md
Last active February 26, 2026 07:44 — forked from wmealing/C-states.md
AMD Ryzen "Freezing" Bug on GNU/Linux Systems

Random "Freezing" with AMD Ryzen CPUs

It seems that numerous GNU/Linux users (including myself) have been having issues with the system randomly "freezing" during light usage. From journalctl output and anecdotal accounts, it is speculated that the AMD Ryzen CPUs do not support other C-states for power management very well (at least on GNU/Linux distributions), and the freezing may be resolved by limiting the C-state of the CPU.

Possible Solution

Limiting the C-state of the CPU can be done through the addition of the following kernel boot parameter.

processor.max_cstate=1