Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cnleo/8a78a587426c4863f7342eba223b1fc4 to your computer and use it in GitHub Desktop.
Save cnleo/8a78a587426c4863f7342eba223b1fc4 to your computer and use it in GitHub Desktop.
[Solution] Sound Issues Crackling/Pop on Arch Manjaro

[Solution] Sound Issues Crackling/Pop on Arch Manjaro

/etc/pipewire/pipewire.conf (or ~/.config/pipewire/pipewire.conf) <-- preffer ~/.config/...

...
context.properties = {
    ...
    default.clock.rate          = sample_rate
    default.clock.allowed-rates = [ sample_rate_1 sample_rate_2 sample_rate_3 ... ]
    ...

setup the rate lower as currently (mostly change it from 48000 to 44100) setup the allowed-rates with [ 44100 48000 ]

after that restart the PC or:

systemctl --user restart wireplumber pipewire pipewire-pulse

DONE

if you want to know what sample_rate your card is theoretical supporting: grep -E 'Codec|Audio Output|rates' /proc/asound/card*/codec#*

And take a look to the current setup: grep rate: /proc/asound/card?/pcm??/sub?/hw_params

SOURCES: https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Troubleshooting https://wiki.archlinux.org/title/PipeWire#Changing_the_default_sample_rate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment