I mean, the title really says it all. It occurs seemingly at random, but not all the time and I’ve been unable to determine any pattern to it… I’m using the latest proton stable version and pipewire-pulse for audio. Any ideas on how to fix it?

  • yo_scottie_oh@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    After I installed my new graphics card, I started having audio issues in games, crackling, stuttering, etc. Had been using X without issue prior to the upgrade. Switching to Wayland fixed it. Never figured out why. Was (still am) on Nobara 38 I believe.

  • sp6@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    You didn’t list your distro, but I had the same issue on Pop!_OS. I fixed it by modifying the ALSA properties in /usr/share/wireplumber/main.lua.d/50-alsa-config.lua. I’d first try uncommenting headroom and changing it to 1024, then logging out and back in. If that doesn’t work, go 2048. If that still doesn’t work, then I’d maybe try adjusting period-size.

    For me, a value in the ~1200 range for headroom fixed it completely. But it will entirely depend on your sound card/hardware. And note, these values will probably be overwritten with any wireplummer updates.

    Also keep in mind, increasing headroom will increase audio latency, so try not to increase it too drastically.

    • Presi300@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      6 months ago

      I’m running alpine with the steam flatpak on plasma 6 Wayland, I just didn’t think it mattered that much…