Latency/Delay problems with pipewire alsa interface
- PipeWire version (
pipewire --version
): 0.3.60 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Arch Linux - Desktop Environment: gnome 43.1
- Kernel version (
uname -r
): 6.0.8-arch1-1
Description of Problem:
When using the pipewire alsa interface ("type pipewire" in alsa config), I get very large audio delay/desync in DaVinci Resolve. The delay is around 1 second. I found the others having the same issue for at least a year in this reddit post. Users there report the same issue in both Arch and Fedora.
On Arch Linux, configs can be switch by installing either "pipewire-alsa" or "pulseaudio-alsa". This just changes the alsa configuration. Everything works fine with "pulseaudio-alsa", but the delay is present with "pipewire-alsa".
Steps to Reproduce:
- Install pipewire-alsa (or manually change alsa config to "type pipewire")
- Play any video in DaVinci Resolve and observe audio delay/desync
Additional Info:
pipewire-alsa config (has delay/desync):
pcm.!default {
type pipewire
playback_node "-1"
capture_node "-1"
hint {
show on
description "Default ALSA Output (currently PipeWire Media Server)"
}
}
ctl.!default {
type pipewire
}
pulseaudio-alsa config (works fine, no delay):
# Default to PulseAudio
pcm.!default {
type pulse
fallback "sysdefault"
hint {
show on
description "Default ALSA Output (currently PulseAudio Sound Server)"
}
}
ctl.!default {
type pulse
fallback "sysdefault"
}