this post was submitted on 12 Aug 2025
22 points (89.3% liked)
Linux Gaming
23118 readers
83 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.
No memes/shitposts/low-effort posts, please.
Resources
WWW:
- Linux Gaming wiki
- Gaming on Linux
- ProtonDB
- Lutris
- PCGamingWiki
- LibreGameWiki
- Boiling Steam
- Phoronix
- Linux VR Adventures
Discord:
IRC:
Matrix:
Telegram:
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Usually crackling is buffer underruns. The sound hardware exhausts the buffered sound before the software can fill the buffer again.
Larger buffer or less stuff slowing down whatever's filling the buffer. I'm typing this with one hand while I eat pizza, but give me a few minutes and I'll give you some suggestions.
EDIT: Okay, took me a few hours instead of a few minutes.
The PULSE_LATENCY_MSEC reference in another comment is a way to increase buffer size at the Pulseaudio level if the program in question is're using pulseaudio (probably yes, as I think that WINE always goes through PulseAudio today).
You can set this persistently and systemwide for PulseAudio in
/etc/pulse/daemon.confwith thedefault-fragmentsanddefault-fragment-size-msec.For PipeWire, the newer system, you can set this at a per-user level using
pw-metadatalike so:https://wiki.debian.org/PipeWire
I don't know how the two typically interact today, unfortunately
most Linux audio systems to date have had some form of emulation of each other, which somewhat complicates matters. When I play back audio from
mpvtoday using the PipeWire audio output plugin, I see a stream both inpavucontrol, which is PulseAudio's mixer, and inpw-top, which is a PipeWire tool. Same thing happened with all of PulseAudio and ALSA and with ALSA and OSS in the past.