Are there any CPUs that work well with Linux that aren't made by Intel or another company on the BDS list/that supports Israel?

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.

MachineFab812,

Here I was hoping we would get a breakdown on the companies making ARM processors … Still an informative comments section.

kittenzrulz123,

Please keep politics out of here

bloodfart,

Yeah, there’s nothing political about free software! Why should we have to read about people’s liberatory ideas in the linux community?

It’s absurd I tell you!

possiblylinux127,

I know you are joking but I actually agree with your statement

bloodfart,

That’s bad.

possiblylinux127,

That’s good

bloodfart,

you generally don’t want to hold a position being satirized, but if you feel the need, go off: how is there nothing political about free software?

kittenzrulz123,

Ohhh, I the title is just confusing. I thought it meant companies that support Israel. Nevermind, but companies that don’t are sadly rare.

possiblylinux127,

For what its worth I agree with you. From my experience the idea of not being political is unpopular with lemmings

palordrolap,

Attempting to avoid politics is itself a political stance. Enjoy your paradox, fellow lemming.

ProgrammingSocks,

This is pointless. Your tax dollars are doing MUCH more for Israel than what products you buy. Boycotts are a capitalist distraction from the real systemic issues.

root,

His point wasn’t to find a CPU, it was to make a political post in a tech community.

Goun,

I agree. We need more of these!

communism,
@communism@lemmy.ml avatar

Not when there’s an organised boycott, called for by Palestinians. You can do multiple things at once. Not buying something takes 0 hours of your time lol

Shareni,

Not buying something takes 0 hours of your time lol

It takes so little time you needed to make a post to ask for help lol

SkippingRelax,

Omg such a waste of time that could have been spent scrolling through memes instead of trying to do the right thing.

communism,
@communism@lemmy.ml avatar

Making a post takes a few mins of time. Not boycotting is taking so little of your time that you needed to make 2 comments about it, wow

mraow_,

Making a post takes a minute. Responses will take less than a minute. They were crowdsourcing specific and quite niche knowledge. In that time between making the post and reading them after a wait OP was able to do literally anything else instead of searching and trying to pull out decent looking CPUs they couldn’t guarantee. If you were buying any CPU you would hopefully look for reviews or comparisons, BDS or not, to inform you.

sheogorath,

What if you live in a country that doesn’t send any money to Israel? Also, boycotts do work.

onlinepersona,

Buhruh! Why not just stop voting since “your vote is only a drop in the ocean” or “it only legitimises a broken system”?

Every action towards progress counts. It’s better than nothing, which is what people do if you ask them to change the world in one go. Change is gradual, change is slow, change can be achieved by the small actions of many. Not everybody has the time to “tackle the systemic issues” you perceive to be true nor does everybody agree that those are the core issues.

Belittling action, no matter how small, is discouraging and counterproductive.

CC BY-NC-SA 4.0

ProgrammingSocks,

Voting is good because elections can be won by a few votes and ARE won by a few votes consistently. The tiny fraction off the top of your CPU purchase that might end up possibly supporting Israel is doing nothing compared to the hundreds of millions that, may I remind you, you cannot opt out of sending to Israel.

Changing what products you consoom is literally feel-good liberal shit to make you feel like you’re doing something. Talking to representatives and protesting is way more effective, in the sense that one of them does nothing and the other actually does something.

onlinepersona,

Changing what products you consoom is literally feel-good liberal shit to make you feel like you’re doing something.

This is why big companies continue making money, influencing politics, and can have more profits than some countries have budgets. Then people like you turn around and say “ermagerd, companies are destroying the world” with an iPhone in one hand and a venti in the other while wearing fast fashion. But at least you voted, amirite?

CC BY-NC-SA 4.0

ProgrammingSocks, (edited )

You are severely overestimating the amount of people who, to put it the shortest way I can think of rn, are not NPCs.

Yes, what you say could be true in a perfect world where everybody or even a majority of people participate in boycotts. I still believe it’s a distraction from capitalism’s structural problems but they could still be effective that way. The difference is that the world we live in is not that world and therefore small-scale boycotts like this do basically nothing. The average person does not care what companies support Israel. Also a lot of those lists are literally wrong but that’s a different issue. Also also, the government STILL sends a SHITTON of money to Israel whether you personally support it or not.

merthyr1831,

This smells of reductionist “no ethical consumption under capitalism” ideology.

That just means living in capitalism doesn’t exempt you from criticising the system, not that you can’t and shouldn’t use the mechanism of capitalism to help make life difficult for fascists.

It might not “fix” the problems but it sure as hell is making Israel pay while our national governments do fuck all.

Pantherina,

I think if you start with political positions of bigtech companies…

Just buy used

PaX,
@PaX@hexbear.net avatar

What motherboard do you have? Also what happens exactly when the lock-ups happen? Have you ever been playing audio when the lock-ups happen and does it loop or stop or keep playing?

I recently had to “fix” (workaround) a similar issue in the OpenBSD kernel with a specific hardware peripheral on my PC (running a 2nd-gen Ryzen), the High Definition Audio controller. For whatever reason (and only when I was running OpenBSD) interrupts from the HDA controller (to let the CPU know to refill audio buffers) would just randomly stop making it to the CPU and audio would loop for a few seconds and then shut off. I spent a long time trying to figure out what causes it and reading Linux driver code but I couldn’t find a cause or why only OpenBSD would trigger it. I ended up having to write kind of a hacky polling mode into the HDA driver. My only guess is some of these AMD-chipset-having motherboards have faulty interrupt controllers.

Maybe there is a similar issue with your system and timer interrupts aren’t making it to your CPU or something. But I’m not really an expert on PC architecture and idek if it even works like that on PCs lol

Sorry for so many questions but do you also have any kernel logs available from when this happens?

communism,
@communism@lemmy.ml avatar

This is my mobo

Also what happens exactly when the lock-ups happen?

Screen is frozen, doesn’t respond to keyboard or mouse input, including unable to switch to a tty or kill the graphical session (I have a keybind to exit my Wayland compositor, which I launch from the tty, so when I use the keybind it sends me to the tty—that is, if my computer isn’t locked up lol).

I don’t remember if this has ever happened with audio playing, idk what happens to audio if it happens with audio playing.

I think I did post kernel logs to a forum way back in the day when I first got this PC and started having this issue, to no avail—at this point I’d rather just get a new CPU and save the headache and stress, especially since this is a known issue with Ryzens

PaX,
@PaX@hexbear.net avatar

I see. Our motherboards have different chipsets (I have an X570 in mine). It probably has nothing to do with my issue…

Hoping those kernel parameters fix it. I wish I could help further. PCs are just a bottomless, mostly undocumented rabbithole :(

communism,
@communism@lemmy.ml avatar

Afraid the kernel params didn’t fix it. Have invested in a newer Ryzen cpu as people are saying that the first gen ones were particularly buggy so I’m hoping it’s fixed in the newer ones.

Stanley_Pain,
@Stanley_Pain@lemmy.dbzer0.com avatar

I never managed to fix this bug with my first gen Ryzens. Worth upgrading to something newer for sure.

communism,
@communism@lemmy.ml avatar

Ah. I’m getting this answer a lot actually. I might try a newer Ryzen then if a lot of people are saying the newer Ryzens work

KaRunChiy,
@KaRunChiy@kbin.run avatar

Newer ryzens are better, especially because they get frequent updates to their microcode that fixes a lot of the issues you're experiencing.

Yearly1845,

I have this same bug on the same platform! It was infuriating to track down. I was able to get around this by disabling c-states in the bios. I’ve heard that updating your aesga firmware also helps, but I can not confirm that.

sentient_loom,
@sentient_loom@sh.itjust.works avatar

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

UmbraTemporis, (edited )

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.

Stanley_Pain,
@Stanley_Pain@lemmy.dbzer0.com avatar

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

communism,
@communism@lemmy.ml avatar

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

Stanley_Pain,
@Stanley_Pain@lemmy.dbzer0.com avatar

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.

communism,
@communism@lemmy.ml avatar

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.

piexil,

extremetech.com/…/254750-amd-replaces-ryzen-cpus-…

They probably won’t replace it past warranty but it’s always worth a shot

woelkchen,
@woelkchen@lemmy.world avatar

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

ProgrammingSocks,

My Ryzen 9 5900X has none of these issues.

hallettj,
@hallettj@leminal.space avatar

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

Sentau,

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.

communism,
@communism@lemmy.ml avatar

the fTPM bullshit

Wait, what’s that?

Sentau,

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

PureTryOut,
@PureTryOut@lemmy.kde.social avatar

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

VeganCheesecake,
@VeganCheesecake@lemmy.blahaj.zone avatar

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

SimplyTadpole,
@SimplyTadpole@lemmy.dbzer0.com avatar

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

VeganCheesecake,
@VeganCheesecake@lemmy.blahaj.zone avatar

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

Buffalox, (edited )

I had a similar problem with a Ryzen 5 1600, at first it worked flawlessly when I did a manual OC, then when I made a reset, I didn’t care to OC again, and it began to occasionally freeze, usually when idle. When I made my manual OC again including upping voltages a bit for CPU and RAM it worked flawlessly again???

Weird since motherboard defaults aught to be stable IMO, but apparently they aren’t always.

I’ve been using this CPU for 7 years now, and it still runs like a champ, as long as I don’t use the motherboard defaults. I can’t remember last time it crashed or froze.

EDIT:

I just found out the package “disable-c6-systemd” mentioned in your link, is exactly to prevent voltage drop below 1v at idle, which sounds exactly like the bug I had. which is funny to learn 7 years later. ;)

kugmo,
@kugmo@sh.itjust.works avatar

Based question but I hope your username is ironic.

VeganCheesecake,
@VeganCheesecake@lemmy.blahaj.zone avatar

I mean, communist doesn’t have to mean tankie.

nkat2112,
@nkat2112@sh.itjust.works avatar

I appreciate you raising this question, thank you.

bzLem0n,

I have a system with a Ryzen 1700 with the same issue and have found the only reliable way to run it is by installing and enabling the disable-c6-systemd package from the AUR. The other fixes provided in the wiki article you linked are correct but aren’t sufficient on my system, the CPU keeps reenabling the C6 state on its own and the disable-c6-systemd package works to counter that. The reason it works on Windows is they’ve disabled the C6 state by default for the CPU.

Buffalox,

This is amazing to find out now after 7 years:) I actually adjusted voltage manually on my Ryzen R5 1600, and it became 100% reliable, apparently the fix you mention prevent voltage below 1v at idle. I wondered why my CPU wasn’t reliable unless I made manual OC with some voltage tweaks?

I never looked it up, because my OC solved the issue, but I always thought it was a bit weird.

communism,
@communism@lemmy.ml avatar

Ah, thanks. I’m using runit not systemd (although this was happening on systemd when I was on systemd too) but I saw amd-disable-c6 in the AUR so I’ve installed that now, fingers crossed it works (the fixes in the Arch Wiki article haven’t fixed it for me, it just happened again rip)

Edit: nvm, looks like that package is a systemd service

bzLem0n,

The package is just a systemd unit to run the command python zenstates --c6-disable so if you install the zenstates-git package and get runit to run that command at startup it would be equivalent.

communism, (edited )
@communism@lemmy.ml avatar

Thank you!!

Edit: Tried running that, I’m getting the error that /dev/cpu/0/msr doesn’t exist. dev/cpu doesn’t seem to exist at all on my machine. Hm

Edit 2: You need to run sudo modprobe msr. All good now :)

d3Xt3r,

I have a Zen 2, Zen 3+ and a Zen 4 system and they all work well very with various Linux distros (Arch, Fedora) and recent kernels.

It’s very likely that your bug is specific to early Ryzen CPUs/chipsets. A couple of folks on those reports mentioned their issues went away after a motherboard/BIOS upgrade. So I think you’ll be fine if you went for a more recent AMD CPU+mobo.

mesamunefire,

Risc v maybe? Rock 64?

merthyr1831,

A few more years until RISC-V is at 1st-gen ryzen levels (though it looks like RISC-V is accelerating every day)

HumanPerson,

As I understand, early ryzen processors are generally more buggy. I run 5800x on my desktop and a 5600(x?) in my server. You could try a newer ryzen and see if it works. I would recommend shopping around for a decent warranty.

communism,
@communism@lemmy.ml avatar

That’s good to hear that you’re not having problems on newer Ryzen. Although not sure if I want to risk buying a new Ryzen CPU if there’s a chance I could have the same problem

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • fightinggames
  • All magazines