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.

    • communism@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      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

    • Spectranox@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      7 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.

      • communism@lemmy.mlOP
        link
        fedilink
        arrow-up
        0
        ·
        8 months ago

        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

        • ֆᎮ⊰◜◟⋎◞◝⊱ֆᎮ@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 months ago

          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.

        • Sentau@discuss.tchncs.de
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          7 months ago

          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.

            • Sentau@discuss.tchncs.de
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              7 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

  • TCB13@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    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.

  • ProgrammingSocks@pawb.social
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    8 months ago

    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@precious.net
      link
      fedilink
      arrow-up
      3
      ·
      8 months ago

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

    • onlinepersona@programming.dev
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      7 months ago

      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@pawb.social
        link
        fedilink
        arrow-up
        2
        ·
        7 months ago

        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@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          7 months ago

          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

    • merthyr1831@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      7 months ago

      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.

    • communism@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      2
      ·
      8 months ago

      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@programming.dev
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        8 months ago

        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

        • communism@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          7 months ago

          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

        • SkippingRelax@lemmy.world
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          7 months ago

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

  • bzLem0n@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    8 months ago

    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@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      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@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      8 months ago

      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@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        8 months ago

        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@lemmy.mlOP
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          8 months ago

          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 :)

  • addie@feddit.uk
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    Ah, that sounds a bit unfortunate. I’ve run AMD CPUs on Linux desktops with Bulldozer / Piledriver / Ryzen 7, my current laptop is a Ryzen 7 as well, never run into that at all. Hopefully the Arch wiki will sort you out. If not that, the third option would be ‘install Linux on an M-series Mac’ - don’t know how feasible it is at the moment, and paying the ‘Mac premium for hardware and software integration and then overwriting the software’ doesn’t make a lot of sense to me.

  • NorthCountryHermit@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    3
    ·
    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.

  • bruhduh@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    7 months ago

    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

    • merthyr1831@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      7 months ago

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

  • catloaf@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    Buy Intel used so that you’re not directly contributing?

    Other than that or AMD, your only other option is ARM.

      • catloaf@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months ago

        Yes.

        Not many, but they exist. I think most of them come soldered to the board like laptops.

      • Deckweiss@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        8 months ago

        ltt made a video recently-ish showcasing a multi threaded arm cpu desktop. Not sure how availabe that is to the market though.

        • TCB13@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          7 months ago

          The OP is concerned about stability and you’re suggesting an experimental CPU that is plagued by UEFI bugs and is overly expensive? From what I’ve been even a cheap Chinese SBC with a Rockchip CPU is more stable and reliable than that thing.