If you use PulseAudio, you should be able to switch the output device in sound settings (or use pavucontrol). What happens if you do that?
ALSA + USB Audio Codec should work, if nothing else. Are there any errors in the system log (sudo journalctl -xe in a terminal) that might point at issues when the M-Track is connected?
I have the M-Track Solo interface, and that one sure uses “USB Audio Codec” in cadence/qjacktrl, as i use jack not pipewire, and in ardours audio Audio/Midi setup preferences.
I suggest to ignore pulseaudio. That is a desktop audio system not useful for professional work. It is playback only (and no MIDI).
The only reason Ardour supports it is because I often travel with a laptop and disconnect a pro-audio soundcard when doing so; at least this way one can listen (and mix) while on a train.
That is rather old so using pipewire’s JACK emulation will likely cause more issues that it’s worth. Your best bet is likely to use Ardour’s Audio System: ALSA and use “USB Audio” for both input and output.
That’s what’s not working currently - I get that electronic squeal followed by a crash. It’s not feedback, more like some signal not intended to be processed as audio.
Does that interface work when typical desktop applications are used with the pipewire server (i.e. normal desktop audio use like web site in a browser or VLC)?
Yes, but it seems to be just pipewire-pulse, not pipewire-jack, and jackdbus is in the stopped state.
I think that should work, but I forget how jackdbus differs from jackd. I know it accepts dbus commands, but I didn’t remember if jackdbus is actually the audio server, or if it just handles the dbus commands and then starts jackd.
One thing I do note however, is that although it allows me to select the audio interface, it does say (Pipewire) next to the input, which is weird since it shows no inputs in Ardour. My computer seems to detect and switch audio inputs at random, so I wonder if there’s a way to force the system to use JACK or ALSA globally?
Ok now something SUPER weird is happening. This worked just fine before, but now I’m getting a bizarre sort of duplication glitch. https://youtu.be/KRPy5X0ot0w
Tried to use qTractor to get some rehearsal work going and it gave me a much more detailed error report - does this reveal anything useful?
The audio/MIDI engine could not be started. Make sure the JACK audio server (jackd) and the ALSA Sequencer kernel module (snd-seq-midi) are up and running and then restart the session.
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot create RT messagebuffer thread: Operation not permitted (1)
Retrying messagebuffer thread without RT scheduling
Messagebuffer not realtime; consider enabling RT scheduling for user
no message buffer overruns
Cannot create RT messagebuffer thread: Operation not permitted (1)
Retrying messagebuffer thread without RT scheduling
Messagebuffer not realtime; consider enabling RT scheduling for user
no message buffer overruns
Cannot create RT messagebuffer thread: Operation not permitted (1)
Retrying messagebuffer thread without RT scheduling
Messagebuffer not realtime; consider enabling RT scheduling for user
no message buffer overruns
jackdmp 1.9.21
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2022 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for CODEC
control open "hw:CODEC" (No such device)
ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for CODEC
control open "hw:CODEC" (No such device)
creating alsa driver ... hw:CODEC,0|hw:CODEC,0|32|2|48000|0|0|nomon|swmeter|-|32bit
ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for CODEC
control open "hw:CODEC" (No such device)
ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for CODEC
ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for CODEC
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
JackTemporaryException : now quits...
ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for CODEC
control open "hw:CODEC" (No such device)
ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for CODEC
control open "hw:CODEC" (No such device)
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
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
New session: "Untitled1".
Additionally, running “QjackCtl” pulls up the interface, but clicking start produces the following errors:
15:24:10.570 Statistics reset.
15:24:10.571 ALSA connection change.
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
15:24:10.578 ALSA connection graph change.
15:24:13.834 JACK is starting...
15:24:13.834 /usr/bin/jackd -dalsa -dhw:0
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
15:24:13.837 JACK was started with PID=17963.
Cannot create RT messagebuffer thread: Operation not permitted (1)
Retrying messagebuffer thread without RT scheduling
Messagebuffer not realtime; consider enabling RT scheduling for user
no message buffer overruns
Cannot create RT messagebuffer thread: Operation not permitted (1)
Retrying messagebuffer thread without RT scheduling
Messagebuffer not realtime; consider enabling RT scheduling for user
no message buffer overruns
Cannot create RT messagebuffer thread: Operation not permitted (1)
Retrying messagebuffer thread without RT scheduling
Messagebuffer not realtime; consider enabling RT scheduling for user
no message buffer overruns
jackdmp 1.9.21
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2022 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Released audio card Audio0
audio_reservation_finish
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
15:24:13.939 JACK was stopped
15:24:15.995 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
First your user account is not configured to allow realtime scheduling.
The JACK server will complain about that and then drop back to non-realtime, so not a fatal error.
Next the JACK server is not able to open the interface for playback. Typically that is because another software is using the audio interface and will not relinquish control when requested.
Pipewire 1.0.5 should gracefully relinquish control when requested. Is there some other software running which is using the audio interface directly and not through pipewire?