Ardour6 cracking sounds with pipewire-jack and log full of resyncs errors
Hi,
whenever I record something with ardour6
and use pipewire-jack as a backend, I have cracking sounds in my recordings. If I check my logs, I have a lot of resync errors:
Apr 01 09:35:16 orville pipewire[1508]: spa.alsa: front:0: follower delay:2012 target:1074 thr:1024, resync
Apr 01 09:35:16 orville pipewire[1508]: spa.alsa: front:0: follower delay:1986 target:1074 thr:1024, resync
Apr 01 09:35:17 orville pipewire[1508]: spa.alsa: front:0: follower delay:1993 target:1074 thr:1024, resync
Apr 01 09:35:17 orville pipewire[1508]: spa.alsa: front:0: follower delay:1994 target:1074 thr:1024, resync
Apr 01 09:35:17 orville pipewire[1508]: spa.alsa: front:0: follower delay:2014 target:1074 thr:1024, resync
Apr 01 09:35:17 orville pipewire[1508]: spa.alsa: front:0: follower delay:1986 target:1075 thr:1024, resync
Apr 01 09:35:17 orville pipewire[1508]: spa.alsa: front:0: follower delay:2005 target:1074 thr:1024, resync
Apr 01 09:35:17 orville pipewire[1508]: spa.alsa: front:0: follower delay:1998 target:1075 thr:1024, resync
Apr 01 09:35:17 orville pipewire[1508]: spa.alsa: front:0: follower delay:1993 target:1075 thr:1024, resync
Apr 01 09:35:17 orville pipewire[1508]: spa.alsa: front:0: follower delay:1998 target:1075 thr:1024, resync
Apr 01 09:35:17 orville pipewire[1508]: spa.alsa: front:0: follower delay:2001 target:1075 thr:1024, resync
Apr 01 09:35:17 orville pipewire[1508]: spa.alsa: front:0: follower delay:1990 target:1075 thr:1024, resync
Apr 01 09:35:17 orville pipewire[1508]: spa.alsa: front:0: follower delay:1989 target:1075 thr:1024, resync
Apr 01 09:35:17 orville pipewire[1508]: spa.alsa: front:0: follower delay:2017 target:1075 thr:1024, resync
Apr 01 09:35:17 orville pipewire[1508]: spa.alsa: front:0: follower delay:1993 target:1075 thr:1024, resync
When I use pipewire-pulseaudio as a backend, there are no resync errors in my log. When I quit ardour6
the resync errors stop. Unfortunately, I cannot tell you since I have this problem. I'm running ArchLinux with sway on wayland. In the following you find more details about my system:
$ pipewire --version
pipewire
Compiled with libpipewire 0.3.49
Linked with libpipewire 0.3.49
$ uname -a
Linux orville 5.17.1-arch1-1 #1 SMP PREEMPT Mon, 28 Mar 2022 20:55:33 +0000 x86_64 GNU/Linux
$ ardour6 --version
Ardour6.9.0 (built using 6.9 and GCC version 11.2.0)
Things that I tried so far, but did not had any effect:
- I disconnected all external audio devices (webcam, USB mic)
- I increased the buffer size in the Audio/Midi Setup in ardour
- I opened an empty session in ardour6 instead of my session that already exists
Attached you will a debug log.gz that I have created with PIPEWIRE_DEBUG=5 ardour6 2>log
. And the output of pw-dump.json.gz is also attached.
Any help is appreciated. If you need more information, I'm happy to help. Thanks in advance!