jackdbus fails to start because the ALSA card is not released on a request via dbus
- PipeWire version (
pipewire --version
): 0.3.40 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Gentoo Linux - Desktop Environment: Gnome 41
- Kernel version (
uname -r
): 5.15.2-gentoo
Description of Problem:
pipewire 0.3.36 that includes pipewire-media-session.service, works ok. Starting jack via dbus works ok with this. pipewire-0.3.40 with wireplumber produces the following
How Reproducible:
always
Steps to Reproduce:
- start qjackctl
- start jackdbus
- watch the error messages in jack log
Actual Results:
13:03:59.002 D-BUS: JACK server could not be started. Sorry
Tue Nov 23 13:03:58 2021: Starting jack server...
Tue Nov 23 13:03:58 2021: JACK server starting in realtime mode with priority 10
Tue Nov 23 13:03:58 2021: self-connect-mode is "Don't restrict self connect requests"
Tue Nov 23 13:03:58 2021: Acquired audio card Audio2
Tue Nov 23 13:03:58 2021: creating alsa driver ... hw:II23901082|hw:II23901082|256|2|48000|0|0|nomon|swmeter|-|32bit
Tue Nov 23 13:03:58 2021: ERROR:
ATTENTION: The capture device "hw:II23901082" is already in use. The following applications are using your soundcard(s) so you should check them and stop them as necessary before trying to start JACK again:
jackdbus (process ID 1640115)
pipewire (pr
Tue Nov 23 13:03:58 2021: Released audio card Audio2
Tue Nov 23 13:03:58 2021: ERROR: Cannot initialize driver
Tue Nov 23 13:03:58 2021: ERROR: JackServer::Open failed with -1
Tue Nov 23 13:03:59 2021: ERROR: Failed to open server
Tue Nov 23 13:04:00 2021: Saving settings to "/home/anton/.config/jack/conf.xml" ...
13:04:15.440 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Expected Results:
Jack dbus starts on the audio card released from PW.
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: