Fix Crackling Audio in Wine/Proton After waking up from hibernate/Sleep

1. Edit /usr/share/pipewire/pipewire.conf to add these lines: 

context.properties = {
  default.clock.quantum       = 1024
  default.clock.min-quantum   = 1024
}

If you can't find the pipewire.conf, find it in any of the additional locations mentioned in the official doc

 

2. Edit usr/share/pipewire/pipewire-pulse.conf and add these lines:

stream.properties = {
  resample.quality = 10
}

pulse.properties = {
  pulse.min.req          = 1024/48000
  pulse.default.req      = 1024/48000
  pulse.min.frag         = 256/48000
  pulse.min.quantum      = 256/48000
}

3. Restart pipewire and pipewire-pulse systemd services.

systemctl --user restart pipewire-pulse.service
systemctl --user restart pipewire.service

source:

Comment
byu/ReakDuck from discussion
inarchlinux

 

 

Comments

Popular posts from this blog

Install Waydroid in openSUSE Tumbleweed

Install Ubuntu 22.04 in 32 bit UEFI intel Atom and cherrytrail devices

Enable Hibernation in openSUSE Tumbleweed