this post was submitted on 24 Mar 2024
49 points (62.8% liked)

Linux

48069 readers
777 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.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 7 months ago

Am I the only one of the opinion tech companies that don't produce any kind of military equipment should not have any political leaning whatsoever?

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

Flapping about, feeling morally superior... did you even try to search for an answer or did you just want to virtue signal? Take a look at RIsc, or Arm... or w/e the Chinese just released.

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

I've no ideia what you're rambling about. I can attest that the Ryzen 5 1600 and the Ryzen 5 2600 that aren't even new CPUs run perfectly fine with Debian.

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

I run AMD r9 7000 series fine on Linux since like a month

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

Modern Ryzen are fine on Linux. Not sure where they're declaring it happens for "all Ryzen" from.

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

Not sure where they’re declaring it happens for “all Ryzen” from.

I've not see anyone claim it happens on "all Ryzen", just that the Arch Wiki article doesn't specify a particular range or model

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

Not 100% sure if it is the same issue as you linked to, but I have an early Ryzen 7 1700 that has a hardware error (google "ryzen performance marginality" to find info about it) causing it not to work properly with linux. I never bothered to RMA my CPU. I've made it kinda work anyways, by disabling cool and quiet or whatever it is called, and set a fixed overclock to compensate for the lack of turbo after that. The idea is that the CPU should always run at a fixed clock speed instead of clocking down to save power when idle. Haven't had any issues with this CPU for a while now after I did that.

BTW I upgraded my desktop with a 3900x and put the 1700 in a server. Never had any issues with the 3900x on linux, so getting a newer generation ryzen for you PC second hand or something might just fix it as well.

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

Thank you, I'm getting this response a lot. Will be getting a newer gen Ryzen, probably a Ryzen 5 5600X because I don't want to get an AM5 board (which will only support DDR5 RAM, thus I'll have to replace my perfectly good DDR4 sticks, etc, just a ridiculous amount of unnecessary e-waste when I've had multiple people commenting here saying 5000 series seem to work fine)

[–] [email protected] 6 points 7 months ago* (last edited 7 months ago) (1 children)

My Ryzen 5700u work great with Debian, so as others said, consider upgrade CPU on your am4 motherboard, better buy apu since it always feels good to have backup gpu in your system in case main gpu breaks

[–] [email protected] 4 points 7 months ago

I don’t think getting an APU ‘just in case’ is a good idea. It limits your turbo frequency and halves your L3 cache compared to the equivalent CPU variants. It also limits you to PCIe 3.0 only. Some AM4 boards have a single 4.0 x16 slot for graphics cards, so getting an APU could directly affect the graphics performance from a discrete GPU. OP should get the chip that is more suited to their typical use case.

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

While it probably isn't the issue for you, I have once been chasing a hard freeze that was caused by some APM setting in the BIOS. If you are on AMD right now you could check it.

It was very weird, setting it to automatic would cause random freezes. Setting it to on or off would both work just fine. Somehow the automatic setting gave me issues.

Just a random thing for you to check I guess.

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

Holding out for the Oasis, myself. Cores licensed from SiFive and compliant even with the 1.0 rev of the Vector Extension (SG2380).

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

Not yet but planning to at the weekend.

[–] [email protected] 12 points 7 months ago* (last edited 7 months ago)

Well, that brings to light why I had an issue with my 3900x. Couldn't find it on google to save my life, but then it shows up randomly here, lol.

If it means anything, my 7800x3D doesn't have that bug. I've been using it now for about 3 months without issue. So maybe the rest of the 7000 series is good to go?

EDIT: I'd also like to mention that I'm heavily biased against Intel processors for that long line of severe security issues that they had on their processors a few years ago. I don't trust them at all.

[–] [email protected] 9 points 7 months ago

I've never had any issues with Ryzen, but I never had first gen. If you don't want Ryzen, and Intel is unethical, maybe you could try a Epyc /s?

Buying used Intel stuff might also be an option. No more money would go to Intel, and using used stuff is good on the e-waste front.

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

RK3588 is used in many Linux devices, but I'm not sure if Rockchip is in the BDS list. I don't know which factory was RK3588 from.

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

I heard that Linux gets new patches for Loongson, but I didn't try it yet.

load more comments
view more: next ›