If you're using Pipewire and you're getting issues such as crackling or choppy audio, pops when starting playback on audio or video, especially on virtual machines - This video shows you a few fixes that should help you.
Pipewire Troubleshooting: https://gitlab.freedesktop.org/pipewi...
Pipewire Arch Wiki: https://wiki.archlinux.org/title/Pipe...
Credit for Firefox fixes: https://bbs.archlinux.org/viewtopic.p...
#Fix PipeWire crackling on VMs
sudo cp /usr/share/pipewire/pipewire.conf /etc/pipewire/
mkdir -p ~/.config/wireplumber/main.lua.d
cp /usr/share/wireplumber/main.lua.d/50-alsa-config.lua ~/.config/wireplumber/main.lua.d
sed -i "s/\[\"api.alsa.period-size\"\] = [[:digit:]]*/\[\"api.alsa.period-size\"\] = 1024/" ~/.config/wireplumber/main.lua.d/50-alsa-config.lua
sed -i "s/\[\"api.alsa.headroom\"\] = [[:digit:]]*/\[\"api.alsa.headroom\"\] = 8192/" ~/.config/wireplumber/main.lua.d/50-alsa-config.lua
#Fix PipeWire crackling with Fiefox (espacially in VMs)
sed -i "s/reader.parse-on-load.enabled\", true/reader.parse-on-load.enabled\", false/" $(find ~/.mozilla/firefox/ -name prefs.js)
sed -i "s/media.webspeech.synth.enabled\", true/media.webspeech.synth.enabled\", false/" $(find ~/.mozilla/firefox/ -name prefs.js)
systemctl --user restart wireplumber pipewire pipewire-pulse
Original Troubleshooting Article: https://gitlab.freedesktop.org/pipewi...
More info:
PipeWire Troubleshooting: https://wiki.archlinux.org/title/Pipe...
PulseAudio Troubleshooting: https://wiki.archlinux.org/title/Puls...
Check if using Pipewire or Pulse Audio
pactl info | grep "Server Name"Server
Timestamps:
0:00 - Intro/Explanation
0:50 - Reset Pipewire settings
2:36 - Fix Stuttering Audio (usually VMs)
4:02 - Fix Loud pops on sound start
4:55 - Other fixes
5:10 - Check if using Pipewire or Pulse Audio
#PipeWire #Linux #Guide
-----------------------------
💸 Found this useful? Help me make more! Support me by becoming a member: / @troublechute
-----------------------------
💸 Support me on Patreon: / troublechute
💸 Direct donations via Ko-Fi: https://ko-fi.com/TCNOco
💬 Discuss the video & Suggest (Discord): https://s.tcno.co/Discord
👉 Game guides & Simple tips: / troublechutebasics
🌐 Website: https://tcno.co
📧 Need voiceovers done? Business query? Contact my business email: TroubleChute (at) tcno.co
-----------------------------
🎨 My Themes & Windows Skins: https://hub.tcno.co/faq/my-windows/
👨💻 Software I use: https://hub.tcno.co/faq/my-software/
➡️ My Setup: https://hub.tcno.co/faq/my-hardware/
🖥️ My Current Hardware:
Intel i9-13900k - https://amzn.to/42xQuI1
GIGABYTE Z790 AORUS Master - https://amzn.to/3nHuBHx
G.Skill RipJaws 2x(2x32G) [128GB] - https://amzn.to/42cilxN
Corsair H150i 360mm AIO - https://amzn.to/42cznvP
MSI 3080Ti Gaming X Trio - https://amzn.to/3pdnLdb
Corsair 1000W RM1000i - https://amzn.to/42gOTGY
Corsair MP600 PRO XT 2TB - https://amzn.to/3NSvwzx
🎙️ My Current Mic/Recording Gear:
Shure SM7B - https://amzn.to/3nDGYo1
Audient iD14 - https://amzn.to/3pgf2XK
dbx 286s - https://amzn.to/3VNaq7O
Triton Audio FetHead - https://amzn.to/3pdjIgZ
Everything in this video is my personal opinion and experience and should not be considered professional advice. Always do your own research and ensure what you're doing is safe.