No PulseAudio sink/sources for "JACK client" device when using api.jack.device
Version, Distribution, Desktop Environment: master, Arch Linux, Sway (reproduced running the latest master with the
pw-uninstalled.sh script and
make run from the build directory, but can also be reproduced on the stable version installed in the system).
Description of Problem: When running PipeWire as JACK client, pulse clients reach the JACK system playback ports correctly, but there's no sink and source in the PulseAudio
JACK client device.
Steps to Reproduce:
- run a JACK daemon, I've started it using
jack_controlCLI tool from the DBus integration
media-session.d/alsa-monitor.conf(in the buildddir daemon config) to have
alsa.jack_device = truein the
propertiessection, as documented here
- run PipeWire with the
make runfrom the build directory
- play a stream from a pulse client, e.g.
mpv --ao=pulse <file_or_url>
The stream is reaching the physical device through the JACK playback ports, as expected. However the PulseAudio profile doesn't have sink or sources, so it's not possible for example to use the capture port as a capture input port in a Pulse client (e.g. to use the microphone in the browser).
$ jack_lsp system:capture_1 system:capture_2 system:playback_1 system:playback_2 PipeWire:capture_1 PipeWire:capture_2 PipeWire:playback_1 PipeWire:playback_2 $ pactl list cards Card #40 Name: JACK Client Driver: jack Owner Module: n/a Properties: factory.name = "api.jack.device" node.name = "JACK-Device" factory.id = "8" client.id = "32" device.api = "jack" device.nick = "jack" device.name = "JACK Client" device.description = "JACK Client" api.jack.server = "default" media.class = "Audio/Device" object.id = "40" Profiles: off: Off (sinks: 0, sources: 0, priority: 0, available: yes) on: On (sinks: 0, sources: 0, priority: 0, available: yes) Active Profile: off $ pactl list sources $ pactl list sinks
Also the JACK client device has
off profile, but
on can't be activated.
The JACK client device should show a sink and a source, which are related to the JACK ports (
Additional Info Eg.
pw-dump -N > file: dump.json