by vdfs · 6y ago · 0 comments
Turns out it was the CPU and how crappy AMD handle C-states that save energy, i had to turn them completely off and that resolved the issue (In AMD defense, freezing the entire OS do save a lot of energy)
This was exactly 2 years ago, and i had the issue for almost a year before figuring out the fix. I wonder if the new generation have this problem too?
From my experience, Intel is no better.
I have a 4 year old laptop with an Intel CPU that has the same problem, it was never fixed by Intel. [see EDIT]
For the first 3 years of use I just accepted the fact that my laptop would randomly freeze and I would have to reboot it.
One day, I got sick of it and started digging into forums until I found a way to avoid the specific c-state (by modifying kernel boot parameters) that caused the issue.
EDIT: Apparently, it's getting fixed now. Just 5 years late, issue was reported in 2015 https://bugzilla.kernel.org/show_bug.cgi?id=109051
In the end I switched to a 3700X; so far the problem hasn’t reoccurred. No doubt it will now that I’ve posted about it (fool me twice, shame on me).
I constantly had problems when attaching/deataching external monitor to my laptop, once in a while it wouldn't switch, or various parts of desktop (like task bar etc) would move around.
When they introduced PulseAudio, it wasn't ready at the time, so there were a lot of audio problems back then.
Overall the experience with Ubuntu was that every new release was taking some old bugs away and replacing them with new ones.
I hope things improved since then.
It turns out many PSUs don't handle low CPU power states well, and disabling C6 just prevents the CPU from being able to idle (and consequently, boost) properly. I've had perfect uptime with my 1600AF in a storage node since discovering this.
I've never had a problem running Intel based systems with Linux. So, even though everybody's talking about how good AMD is right now, and why you should buy one for your next rig, and how good are AMD graphic cards with open drivers instead of the nVidia binary blobs... I sincerely don't see any reason to ditch what has been working OK and make the switch when preparing a new build. Should I?
It wasn't until Ryzen 2000 / 3000 in particular that board vendors took the AMD stack seriously again.
I remember at release getting ram working on Zen 1 was a nightmare. Nowadays you can throw almost any stick to 3733mhz on Zen 2 no problem.
At home I've had a 3950x now for about six months and no such issues with the CPU at all. It just works and runs nicely. No freezes, no problems.