this post was submitted on 24 May 2024
8 points (90.0% liked)

Linux Gaming

15294 readers
33 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 1 year ago
MODERATORS
8
submitted 5 months ago* (last edited 5 months ago) by Presi300 to c/linux_gaming
 

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?

top 8 comments
sorted by: hot top controversial new old
[–] sp6 4 points 5 months ago (1 children)

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 1 points 5 months ago* (last edited 5 months ago)

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

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

I was running Bazzite on my Deck, which uses pipewire(-pulse?), and it had intermittent audio crackling. I swapped back to SteamOS some time ago, which I believe uses just PulseAudio, and the audio crackling is gone. I suspect either there's something funky going on with the default config, or there's something wrong with pipewire-pulse itself.

Either way, hopefully someone can corroborate or that can help point you in the right direction.

[–] sp6 5 points 5 months ago (1 children)

SteamOS uses PipeWire, Pulse Audio isn't even installed

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

Weird, because there's a GUI settings app for Pulse. Anyway, if that's the case, it's probably the configuration.

[–] zelifcam 4 points 5 months ago (1 children)

Yes. Pipewire handles pulse apps like Pavucontrol.

[–] [email protected] 1 points 5 months ago
[–] [email protected] 1 points 5 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.