Big Latency on USB-DAC when using wireplumber instead of pipewire-media-session
- PipeWire version (
pipewire --version
): pipewire Compiled with libpipewire 0.3.80 Linked with libpipewire 0.3.80 - Wireplumber: 0.4.14-1
- Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Arch Linux - Desktop Environment: plasma-desktop 5.27.8-1
- Kernel version (
uname -r
): 6.5.3-arch1-1
Description of Problem:
Hi, I notice a large sound delay in games (~300ms) when I use wireplumber
instead of pipewire-media-session
on Arch Linux on my Audio Dac (SMSL-Q5 Pro).
When I switch the audio output to my monitor (via Displayport), the delay is gone.
I'm a bit lost. I've tried reducing api.alsa.period-size
and enabled api.alsa.disable-batch
in /usr/share/wireplumber/main.lua.d/50-alsa-config.lua
but that did not help.
Currently I'm trying to figure out what wireplumber configures differently on the ALSA device than pipewire-media-session. Perhaps someone could point me in the right direction what to look for.
How Reproducible:
Always
Steps to Reproduce:
- Start a game, eg, Counter-Strike 2
- Launch a traning session
- Shoot and see a large delay between the visuals and the sound effect
Actual Results:
delay between weapon animation and sound effect
Expected Results:
no delay between weapon animation and sound effect
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: pw-dump.log