pipewire 0.3.40 breaks Ardours latency compensation
- PipeWire version (
pipewire --version
): 0.3.40 & 5ae75e1d - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Arch Linux - Desktop Environment: KDE Plasma
- Kernel version (
uname -r
): 5.15.2-arch1-1
Description of Problem:
Since upgrading to 0.3.40, I noticed that something sounds wrong in my projects in Ardour. Especially at higher buffer sizes, it is really noticeable, that some tracks seem to be not latency compensated anymore during playback. Downgrading to pipewire 0.3.39 fixes the problem.
How to reproduce
- Use pipewire version 0.3.40 or dd62b12a
- Open Ardour
- Use a high buffer size to make it more noticeable (like 8192 or 4096)
- Create one audio track and record something on it
- Create another audio track
- Route track 1 into track 2 in Ardour
- Rerecord track 1 onto track 2
Actual Results:
The tracks are out of sync.
Expected Results:
The tracks should align above each other / play in sync.
Additional Info (as attachments):
-
pw-dump > pw-dump.log
:
Screenshot comparing exports of the same Ardour project, upper one exported with pipewire 0.3.39 while bottom one is exported with pw 0.3.40. You can already see the timing differences.
With pipewire 0.3.40 most tracks play a little late (latency compensation broken?) so the music becomes out of sync.
In an Ardour project, rerecording one audio track onto another should end up being in sync. But it isn't anymore: