Trying to use a source created with module-remap-source will crash, cause errors or drastically lower performance
- PipeWire version (
pipewire --version
): 0.3.39 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Ubuntu Jammy Jellyfish (development branch) - Desktop Environment: xfce4
- Kernel version (
uname -r
): 5.13.0-19-generic
Description of Problem:
I went to the pipewire IRC channel to ask about a problem with the module-remap-source which seemed to not work. After more testing, it was noticed if the default source was the source created with module-remap-source it would cause problems with applications. Some of the effects observed were: crashes, errors or drastically low performance.
The command to create the source was:
pactl load-module module-remap-source source_name=mono-source master=alsa_input.pci-0000_00_1f.3.analog-stereo master_channel_map=right,right channel_map=right,left
How Reproducible:
Always happen when using the source created using module-remap-source
is the default.
Steps to Reproduce:
- Create the source using something like
pactl load-module module-remap-source source_name=mono-source master=alsa_input.pci-0000_00_1f.3.analog-stereo master_channel_map=right,right channel_map=right,left
- Set the newly created source as the default source;
- Open an application that uses the microphone;
- Observe the problematic behaviour.
Actual Results:
The programs tested and the results were:
- ffplay: crash with
mono-source: Resource temporarily unavailable
; - pavumeter: crash with
Connection failed: Conexão terminada
; - Firefox: don't record anything while the default source is the one created with
module-remap-source
; - Google Chrome: becomes extremely slow, but is able to record;
- Audacity: shows an error like
Error when opening the recording device Error code: -9999 Unanticipated host error
and then continues - OBS Studio: continues but is unable to get audio from any source
Expected Results:
The source created using module-remap-source
works properly.
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: pw-dump.log