this post was submitted on 24 Mar 2024
45 points (62.2% liked)

Linux

46775 readers
1770 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I have a Ryzen 3 1300X at the moment and it's always had this soft lock freezing bug on Linux. I used to dual-boot Windows on this machine and Windows never had the same problem, so I think it is an issue with the Linux kernel (I've also replaced nearly every bit of hardware that I originally built the PC with, except for the CPU and motherboard, so it probably is an issue the kernel has with my CPU, or possibly the motherboard firmware).

I've changed the kernel parameters as suggested by the Arch Wiki. The bug is pretty inconsistent about happening so only time will tell if this solves the issue. But if it doesn't solve the issue, I'd honestly consider just getting a new CPU that doesn't have this issue, as completely freezing up, unable to get to a tty or anything, and only being able to power off by physically holding down the power button, is a pretty major issue, even if it only happens sometimes.

So if I do get a new CPU, or maybe just for when I'm next buying a CPU for reasons unrelated to this bug (been considering an upgrade to something that's better for compiling anyway), are there any good options out there? Intel is investing $25 billion into Israel and the BNC has called for "divestment and exclusion" from it (it's not officially on the BDS consumer boycott list, but I'm still very much not comfortable buying from Intel). But the Arch Wiki article seems to suggest this bug is applicable to Ryzen CPUs in general, or at least it never specifies a particular model or range of models. So maybe I'm limited to non-Ryzen AMD CPUs?

I'm guessing this is one of the situations where two companies have a complete duopoly over the market and there isn't an all-round good solution, but thought I'd ask in case anyone had some useful input.

you are viewing a single comment's thread
view the rest of the comments
[–] sentient_loom 31 points 5 months ago (3 children)

I've heard that newer Ryzens play nicer with Linux.

[–] [email protected] 10 points 5 months ago* (last edited 5 months ago)

Yeah, my 5800X3D works perfectly; absolutely zero issues. I'm guessing it's making use of the 3DvCache too since I don't notice any performance degredations compared to Windows.

[–] [email protected] 6 points 5 months ago (2 children)

Yeah First Gen Ryzens definitely had a Linux lock up bug. My x1700 had it all the time and could never fix it.

[–] [email protected] 3 points 5 months ago

I experienced that issue, AMD replaced it for free for me. Still rocking that R7 1700 to this day, still going to strong!

[–] [email protected] 1 points 5 months ago (5 children)

Do you know if it's limited to first gen Ryzens? I'm looking into getting a Ryzen 5 5600X and I want to be sure I'm not gonna have the same issue

[–] [email protected] 10 points 5 months ago (1 children)

Yes, AMD was replacing Ryzens that had that bug. I'm not sure if they are anymore though. But it's 100% a confirmed thing. I have not heard anything Zen 2 and newer having this problem and have no experienced any Linux issues with my 3000, 5000 and 7000 series CPUs.

[–] [email protected] 4 points 5 months ago (1 children)

Ah rip. I didn't know they were replacing Ryzens. I'll reach out to them but the warranty on my CPU is almost definitely voided after so long.

[–] [email protected] 6 points 5 months ago
[–] [email protected] 5 points 5 months ago

My Ryzen 9 5900X has none of these issues.

[–] [email protected] 2 points 4 months ago* (last edited 4 months ago) (1 children)

I have a 5600h system(laptop) and I have not run into the issue you mention. In fact in the past six months after the fTPM bullshit was fixed, I haven't run into any issues.

[–] [email protected] 2 points 4 months ago (1 children)

the fTPM bullshit

Wait, what's that?

[–] [email protected] 2 points 4 months ago* (last edited 4 months ago)

In zen 2 and above firmware TPM was being used for a random number generator. This led to stutters during RN generation. Eventually this was fixed in 6.3.x series(or 6.4.x I can't remember) and then the fix was backported to all lts kernels

[–] [email protected] 2 points 5 months ago

I have a Ryzen 7 5800X and I've had no problems

[–] [email protected] 1 points 5 months ago

Never experienced or even heard of Steam Deck having that bug and that's a somewhat recent Ryzen.

[–] [email protected] 2 points 5 months ago (1 children)

I have a 3600X and haven't had any problems under Linux.

[–] [email protected] 1 points 5 months ago (1 children)

Can confirm (but mine is the regular trim rather than the X version).

[–] [email protected] 1 points 5 months ago

It's better value anyway. Only got the X because it had a rebate while the standard didn't.