loopback module produces large amount of errors after update
- PipeWire version (
pipewire --version
): 0.3.59 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Garuda Linux - Desktop Environment: KDE 5.26.1
- Kernel version (
uname -r
): 6.0.2-zen1-1-zen
Description of Problem:
I have an audio interface configured with a Pro Audio profile. It has 6 outputs connected to an analog mixer. For each pair of outputs, I have a loopback module configured to match my mixer's hardware channel configuration. Those loopback interfaces are auto connected with their respective AUX outputs.
I use those virtual devices throughout my system as audio outputs since it gives me better control over some of the sound in my computer. For instance, most apps are routed to MG16XU 5+6
(my default output) but communication apps are routed to MG16XU 7+8
and music applications are routed to MG16XU 9/10
.
All three of those virtual devices are configured according to https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Virtual-Devices#coupled-streams and, besides the node names and audio positions uses identical configurations.
{ name = libpipewire-module-loopback
args = {
node.description = "MG16XU 5+6"
capture.props = {
media.class = Audio/Sink
node.name = "MG16XU_5+6"
audio.position = [ FL FR ]
}
playback.props = {
node.name = "playback.MG16XU_5+6"
audio.position = [ AUX0 AUX1 ]
node.target = "alsa_output.pci-0000_81_00.0.pro-output-0"
stream.dont-remix = true
node.passive = true
}
}
}
This configuration used to work perfectly fine. However, since a recent update (last two weeks at most), two of the loopback modules have stopped forwarding audio from their sink to their source. pw-top
shows a large number of errors for those two processes whenever audio is routed through them.
Notice the ERR column. This is after only a few seconds.
The same problem does not occur for the first of the three loopback configuration. It also works fine if I manually connect the output of apps to the AUX channels of my soundcard.
I have attached the full pw-dump that I took a few seconds after taking the pw-top screenshot, as well as the config file that setups those interfaces.
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: pw-dump.log -
/etc/pipewire/pipewire.conf.d/pipewire.conf
: pipewire.conf