While you're here, please consider supporting GamingOnLinux on:
Reward Tiers:
Patreon. Plain Donations:
PayPal.
This ensures all of our main content remains totally free for everyone with no article paywalls. We also don't have tons of adverts, there's also no tracking and we respect your privacy. Just good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers:


This ensures all of our main content remains totally free for everyone with no article paywalls. We also don't have tons of adverts, there's also no tracking and we respect your privacy. Just good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
-
Mesa 23.2.1 drivers out now
- Shmerl -
Epic Games sheds 830 people due to 'spending way more m…
- tuubi -
Epic Games sheds 830 people due to 'spending way more m…
- Koopacabras -
Epic Games sheds 830 people due to 'spending way more m…
- Purple Library Guy -
Counter-Strike 2 is out now with Linux support
- dvd - > See more comments
Latest Forum Posts
- New Desktop Screenshot Thread
- Pengling - New Steam Deck screen mod kit released.
- Linux_Rocks - Weekend Players' Club 9/29/2023
- Grogan - Help me track down system stalling / lagging
- Grogan - Help me Wine like a pro?
- amortician - See more posts
View PC info
I'm absolutely no expert, but have been using Linux since 2003 and generally have been able to troubleshoot on my own and do IT for a living. That said, I am at my damn wits end trying to solve this issue. Since building my PC last year and moving from Intel + Nvidia, I have had very frequent system freezes that require hard shutdowns. I'd generally figure this was some defective hardware if I hadn't seen a number of people with similar or roughly the same components going through the same thing and posting about it on Reddit and other various places. If anyone has experienced this same thing and figured out a solution, I'd really appreciate any help.
What triggers the freeze:
Happens randomly--sometimes as early as the login screen, sometimes with only a browser open, sometimes not til after many many hours of use.
Can usually trigger a freeze faster by running a game through Proton, but that can also be very inconsistent.
So things I've tried:
Updating BIOS (I've updated the BIOS more times than I can recall at this point)
Disabling C-states in BIOS (this was suggested to be the solution by several people on Reddit)
Updating to a newer kernel (tried up to 5.12 with no success)
Updating to a newer mesa
SSH-ing into the computer to attempt to capture logs with no helpful info in them
Installing a different Linux OS (Fedora, Arch, newest Ubuntu)
Installing Windows 10 (runs consistently without issue, but I obviously don't want to run Win)
System info:
Ryzen 9 3900x
Radeon RX 5700 XT
ASUS TUF Gaming B550M-Plus (Wi-Fi)
Thanks!
Ben
or it could be that one module is damaged in that case you should try a ram verifying software and check one module at a time to see which one is damaged.
most of RAM manufacters have lifetime warranty so if one module is damaged you could receive a replacement from RMA.
I think on debian/ubuntu there is a cli utility to check ram can't remember it's name.
also if your motherboard has and "Idle Mode" option, change it to "Typical Current Idle", but afaik that was an issue with Zen 1 processors never heard of that happening on Zen 2. Also you could try increasing the voltage of your Ryzen CPU too (but this was an issue with Zen 1 as well, but trying won't hurt)
Also another thing you could try is adding this options to grub:
processor.max_cstate=1 rcu_nocbs=0-23 idle=nomwait
or
processor.max_cstate=5 rcu_nocbs=0-23 idle=nomwait
(but AFAIK this issue was fixed in newer kernels)
also if you pase a full dmesg log could help.
dmesg > dmesg.txt
and copy paste the output on pastebin.
Last edited by Koopacabras on 6 June 2021 at 9:10 pm UTC
View PC info
View PC info
Though you say windows runs without issues. Which is a bit weird then.
WHat Aquabat suggested is worth a try though
Last edited by Xpander on 7 June 2021 at 7:01 am UTC
View PC info
Last edited by Whitewolfe80 on 7 June 2021 at 1:10 pm UTC
View PC info
The RAM (as well as the PSU) is repurposed from my previous build, has been re-seated, is listed as compatible with the motherboard and passes both memory tests I've tried...which I know doesn't always mean it's good RAM. I should probably just invest in some faster RAM and splurge on 32GB.
I've tried this out and haven't had any crashes after a couple hours of gaming, which makes me cautiously hopeful! I'll try a few more games after work today to see how it goes. My hopes have been dashed a few times with other attempts at fixes.
A weird added detail--my system is 100% stable while running CS:GO 🤷♂️
I really appreciate all of you taking the time to respond!
Ben
View PC info
For my Ryzen disabling C6 fixed the problem too (I have an old 1300x). Weirdly, i read too somewhere that the C-state issues were fixed in newer hardware. But i have C6 disabled in the BIOS and the kernel options too.
(Seems like people still had problems with C6 last year: https://bugzilla.kernel.org/show_bug.cgi?id=206487)
View PC info
Sorry for going off topic.