No announcement yet.

Linux Finally Has A Fix For Crackling Audio Input On Recent AMD Systems

  • Filter
  • Time
  • Show
Clear All
new posts

  • Linux Finally Has A Fix For Crackling Audio Input On Recent AMD Systems

    Phoronix: Linux Finally Has A Fix For Crackling Audio Input On Recent AMD Systems

    Queued now for Linux 5.3 and also marked for back-porting to existing kernel stable series is a fix to address distorted and crackling analog audio input that has affected AMD systems for at least the past two years with certain Realtek audio codecs...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    For so long I thought my audio issues when streaming was something to do with incorrect bit depth and sample rate, and it's been the chipset and Realtek audio all along. So glad to see a workaround for this!


    • #3
      oh this is good news! there have been many times I have had to reboot into windows for clean mic audio... soon to be no more!


      • #4
        I just see playback problem for first 5 minutes of audio, but i need to run

        akonadictl --verbose fsck
        akonadictl --verbose vacuum


        sudo nice --10 rpm -Va

        paralelly to play audio and problem last only for first 5 minutes, than all become OK.


        • #5
          The patch also applies on 4.19... I'm tempted to give it a try.

          Edit: Yep, seems to work fine. I'm no longer sounding like Darth Vader in Discord.
          Last edited by soulsource; 13 August 2019, 03:13 AM.


          • #6
            Yay, this is great news! Audio input on my X370-board hasn't been working on either Windows or GNU/Linux, and I had pretty much lost hope of it ever working. This makes me so happy


            • #7
              I'll give it a shot, maybe finally I can use my mic on Linux.


              • #8
                This issue also affect, AMD APUs?
                I was searching to buy a AMD laptop, now I don't know what to do..


                • #9
                  Thanks for your time. Did many people complained-about/investigated it? I wanted to, but it wasn't a big priority for me and is still on my TODO list.

                  I don't usually capture audio on my AMD systems (desktop 1022:1457 / laptop 1002:15de), but when I do I had the same problem on both systems crackling and pinging sounds that got louder as captured audio got louder. I only "captured audio" for meetings, i don't have meetings very often and just used my USB-DAC for that. I have not noticed any problem with playback.

                  I ran various versions of Ubuntu and Fedora where the problem was present on 3 different microphones and 2 AMD systems. I did not experience any problems with those microphones/cables when using it with my USB-DAC on Linux. The onboard sound capture worked in Windows 10 (although don't know if Windows is using voodoo hax to remove noise, I've seen Windows audio do some odd things).

                  PS: Over a year ago I tried some pulse-audio modules just out of curiosity, but never got it to work they way i wanted.

                  pactl load-module module-echo-cancel
                  pactl load-module module-echo-cancel aec_args="analog_gain_control=0 digital_gain_control=0"


                  • #10
                    Does this mean I can lower the sample rate in my PulseAudio config files? Because that was the only way to eliminate crackling, and by cranking it up so high, just having Firefox run idly will make PA use 12% of my CPU.