jacktrip on catalina: how to get qjackctl to run jack server without jack pilot

463 views
Skip to first unread message

Sarah Weaver

unread,
Mar 22, 2020, 2:14:41 PM3/22/20
to jacktri...@googlegroups.com
I have been trouble-shooting running JackTrip on Catalina in consultation with some of you and we got to the point of asking this question to the list:

How to get qjackctl to run jack server without jack pilot?

I have the version qjackctl 0.6.0 that runs on Catalina, this is working. However we haven't been able to figure out how to point this to the jack server (JackPilot no longer runs on Catalina). 

Two solutions proposed: 
1) How to run jack server from terminal command line?
2) How to point qjackctl to the jack server?

Regarding pointing, Ben had sent a path "usr/local/bin/jackd". That works for earlier versions of qjackctl that have a field for server path. As you see in the attached screen shot, the server path in version 0.6.0 involves a prefix and a suffix. Anyone know how to point the server in this language?

Thanks for any info!
Sarah

Screen Shot 2020-03-22 at 1.34.40 PM.png

Michael Dessen

unread,
Mar 22, 2020, 4:14:26 PM3/22/20
to jacktri...@googlegroups.com
I am on Mojave and was able to get the latest versions of qjackctl and jack installed through Macports and both work. But I could still not get qjackctl to start jack, and I wrote into the jack users list to ask about this. Stephane Levy asked me to post my errors and I did, but no one replied and I haven't followed up there. I'll paste that thread below in case anyone can help. (Maybe I'm putting the wrong path settings so if anyone answers Sarah's 2nd question I'll try another way.) If you can get jackdmp working with the interface and settings you need, then it wouldn't be necessary to do it from qjackctl (but it would be convenient).

Michael


>> Begin forwarded message:
>>
>> From: Michael Dessen <mde...@gmail.com>
>> Subject: Re: [jackosx] A macOS Jack Dream
>> Date: February 9, 2020 at 5:56:18 PM PST
>> To: jac...@yahoogroups.com
>>
>> I run this command:
>> qjackctl -s
>> and a popup window in the QJ GUI says " Could not connect to JACK server as client.
>> - Overall operation failed.
>> - Unable to connect to server.
>> Please check the messages window for more info."
>>
>> then I see this readout below in QJ messages. If you see what I am missing or doing wrong, I'd love to know. Thanks!
>> michael
>>
>> ----------
>> 17:54:01.700 Statistics reset.
>> 17:54:01.714 Startup script...
>> 17:54:01.714 artsshell -q terminate
>> 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
>> 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
>> sh: artsshell: command not found
>> 17:54:02.125 Startup script terminated with exit status=32512.
>> 17:54:02.125 JACK is starting...
>> 17:54:02.126 /usr/local/bin/jackdmp -dcoreaudio -dhw:0 -r44100 -p128
>> 17:54:02.146 JACK was started with PID=12909.
>> jackdmp 1.9.11
>> Copyright 2001-2005 Paul Davis and others.
>> Copyright 2004-2016 Grame.
>> 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"
>> Default input and output devices are not the same !!
>> Cannot open default device
>> Cannot initialize driver
>> JackServer::Open failed with -1
>> Failed to open server
>> 17:54:02.323 JACK was stopped
>> 17:54:02.324 Post-shutdown script...
>> 17:54:02.324 killall jackd
>> No matching processes belonging to you were found
>> 17:54:02.736 Post-shutdown script terminated with exit status=256.
>> 17:54:04.405 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
>>
>> --------
>>
>>
>>> On Feb 9, 2020, at 5:29 PM, Stéphane Letz le...@grame.fr [jackosx] <jac...@yahoogroups.com> wrote:
>>>
>>> What kind of errors ?
>>>
>>> Stéphane
>>>
>>>> Le 10 févr. 2020 à 02:24, Michael Dessen mde...@gmail.com [jackosx] <jac...@yahoogroups.com> a écrit :
>>>>
>>>> FYI jackd and qjackctl do work on mac mojave after installing the latest version of each from macports, but I still get errors if I try starting jack from qjackctl, so I have to start jack first.
>>>> Thanks, Stéphane.
>>>> Michael
>>>>
>>>>
>>>>> On Feb 9, 2020, at 11:07 AM, Michael Dessen <mde...@gmail.com> wrote:
>>>>>
>>>>> Thanks, Stephane. I use brew but I'll try macports when I can and see if it works on mojave.
>>>>>
>>>>> michael
>>>>>
>>>>>> On Feb 9, 2020, at 10:51 AM, Stéphane Letz le...@grame.fr [jackosx] <jac...@yahoogroups.com> wrote:
>>>>>>
>>>>>> I would simply try to use jack and Qjackctl form the macports project : https://ports.macports.org/port/qjackctl/summary
>>>>>>
>>>>>> Stéphane
>>>>>>
>>>>>>> Le 9 févr. 2020 à 18:11, Michael Dessen mde...@gmail.com [jackosx] <jac...@yahoogroups.com> a écrit :
>>>>>>>
>>>>>>> I am not a developer but joined this list because many collaborators and I use JACK along with jacktrip (<https://github.com/jacktrip/jacktrip>) to do networked performance. Most of the people I work with are on Macs and really need a working binary install for JACK and a GUI like Jack Pilot to do this work. (FYI in the latest versions on macs usin the Qjackctl binary, Qjackctl works for routing if you start the server with Jack Pilot then connect via jacktrip then start Qjackctl, but from what I can tell Qjackctl does not work any longer for starting up the jack audio server.)
>>>>>>>
>>>>>>> I always liked the core audio feature back when it worked because there were times when it was convenient to route audio through system audio apps in a networked situation with jacktrip, but it's still less high a priority for those of us using JACK on Macs for networking than it is to just get an OSX-compatible version of Jack we can use with jacktrip.. I recently left a comment on the jackaudio github page on the thread called "macOS Catalina support #92", asking about this, so I appreciate Colin's question and share the dream. Sorry I don't have the programming skills to help with this myself but THANKS to everyone who does and contributes.
>>>>>>>
>>>>>>> Michael Dessen
>>>>>>>
>>>>>>>> On Feb 8, 2020, at 10:59 PM, Jeff Rausch tnek...@yahoo.com [jackosx] <jac...@yahoogroups.com> wrote:
>>>>>>>>
>>>>>>>> I couldn’t livestream Reason Studio on my Mac til I got Loopback, but never tried jackosx for it. I haven’t used jackosx for many years now since I had previously gotten Soundflower to work for all that I previously had been doing prior to recently needing a solution as I’ve started to stream live, and needed a solution for OBS to hear through Reason. fwiw
>>>>>>>>
>>>>>>>>> On Feb 8, 2020, at 10:11 PM, Michael keyb...@gmail.com [jackosx] <jac...@yahoogroups.com> wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 2020-02-08, at 8:18 AM, Colin Sullivan coli...@gmail.com [jackosx] <jac...@yahoogroups.com> wrote:
>>>>>>>>>
>>>>>>>>>> 2. The “JackRouter” as a core audio device feature does not work - this means that you cannot route iTunes or any arbitrary application through Jack on macOS. Jack can only be used with applications that can select their own audio interface, such as Ableton Live, Reaper, SuperCollider, etc. I’ll call these “advanced audio” apps below.
>>>>>>>>>
>>>>>>>>> I am still running 10.9.5 just because of this.
>>>>>>>>>
>>>>>>>>> I have a 10.12 boot partition, but what i've found is that even advanced audio programs that can specify a specific audio interface do not show up as individual sources -- there is just a generic single input for all programs.. And while I can still use it as an audio router, I can't have Chrome go to one place, OBS to another, etc.
>>>>>>>>>
>>>>>>>>> And yea, it's a bleeping pain for me as well. Imagine wanting to have Discord running in Chrome for a team chat and "low delay stream to teammates", a multiplayer game, OBS recording and streaming.
>>>>>>>>>
>>>>>>>>> You want the stream/recording to have game, mic, and discord chat.
>>>>>>>>> You want the discord "mic" to have mic and game, but not discord.
>>>>>>>>> You want the headphone audio to have discord and game, but not mic.
>>>>>>>>>
>>>>>>>>> This keeps me on 10.9.5. If there is a solution on 10.12 or .13, please let me know. And no, discord.app is NOT an option, on chrome I can run a plug-in to control the CSS pain.
>>>>>>>>>
>>>>>>>>> (14 has the forced reformat of the drive with no backwards compatible drivers, right? And I have 32 bit apps that I use.)
>>>>>>>>>
>>>>>>>>> ---
>>>>>>>>> Entertaining minecraft videos
>>>>>>>>> http://YouTube.com/keybounce
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------
>>>>>>>>>
>>>>>>>>> ------------------------------------
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------
>>>>>>>>>
>>>>>>>>> Yahoo Groups Links
> --
> You received this message because you are subscribed to the Google Groups "jacktrip-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jacktrip-user...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jacktrip-users/CALwwFRKrrZ%2BBTGOZEPkKpxHTkZTnBzrFer_SyFz4C_VSD8r2Sw%40mail.gmail.com.
> <Screen Shot 2020-03-22 at 1.34.40 PM.png>

Colin Sullivan

unread,
Mar 23, 2020, 1:58:32 PM3/23/20
to jacktri...@googlegroups.com
Greetings all,

The other day I attempted to re-post the same thread that Michael just forwarded along. I’ll paste my original post here because it is very relevant to recent discussions around creating an accessible way to run Jack on macOS.

It seems to me this challenge is only in part a technical one. It is also a problem of various fragmented communities / mailing lists with intersecting interests.

> Greetings list,
>
> I’m curious to start a discussion about the future of Jack on macOS and to share my dream.
>
> I’d like to steer clear of what has been expressed numerous times in several forums (though please correct me if I am wrong). Just to recap where we are at:
>
> 1. JackPilot still works on macOS 10.14 as a way to easily install Jack, start Jack, set options and make connections.
> 2. The “JackRouter” as a core audio device feature does not work - this means that you cannot route iTunes or any arbitrary application through Jack on macOS. Jack can only be used with applications that can select their own audio interface, such as Ableton Live, Reaper, SuperCollider, etc. I’ll call these “advanced audio” apps below.
>
> I am a software developer and electronic music maker. I rely on the JackPilot application heavily for #1 above.
>
> My dream is that macOS users can continue to have an easy way to install and run Jack, to route audio between advanced audio apps.
>
> I would be interested to contribute efforts towards making #1 happen. I don’t care to maintain #2, though it would be nice, it is quite an effort (and ongoing) and I don’t use it.
>
> My questions to you as a member of this mailing list:
>
> 1. Do you think there is enough interest in an easy way to install and use Jack on macOS without the core audio device feature?
>
> 2. My sense is the JackPilot application is no longer maintained. Does it make sense to continue to have a macOS specific installer & GUI application? Should we just somehow repackage qjackctl to run on macOS properly?
>
> 3. Imagine a scenario where JackPilot no longer runs on updated Macs. Would this impact you? I can compile jack2 and use it from the command-line, but this is not fun for folks who are starting to experiment with computer music and want to try routing things.
>
> Please forgive me if there are similar threads and many thanks for reading!
> ------
> Colin


------
Colin
> To view this discussion on the web visit https://groups.google.com/d/msgid/jacktrip-users/859F0700-1D3C-4E75-9BD7-FE409C3E635A%40gmail.com.

Sarah Weaver

unread,
Mar 23, 2020, 2:42:16 PM3/23/20
to jacktri...@googlegroups.com
Thanks Michael and Colin! I am happy to report that with ideas from the people on the list and heavy live efforts with Juan Parra Cancino we were finally able to get Jack running today from Terminal instead of JackPilot, and then running qjackctl version 0.6.0, in order to run JackTrip on Catalina.  

Here is the command line that worked:
jackd -d coreaudio -C MacBook Pro Microphone -P Radial USB Pro Output

Basically you have to specify coreaudio, then specify the input and output by name. There are a lot of other settings to discuss, but at least we were able to get the jack server running without jackpilot.

An easier way would be to figure out how to point the server prefix and suffix in qjackctl instead, as I mentioned in the first post. If anyone knows how to do this, it would be helpful.

Best wishes,
Sarah


Michael Dessen

unread,
Mar 23, 2020, 5:36:23 PM3/23/20
to jacktri...@googlegroups.com
Thanks for sharing that, Sarah. Does anyone know if it's possible using jackd via a shell command to set buffer size and sampling rate (as in the jackpilot prefs), or do those need to be set in the audio driver's defaults?

michael
> To view this discussion on the web visit https://groups.google.com/d/msgid/jacktrip-users/CALwwFRKXqUyaq9AdzBh%2Bd339bZ6XFRaJyNp%3DhW-DOLVc%3DqS%3DSQ%40mail.gmail.com.

Sarah Weaver

unread,
Mar 24, 2020, 1:54:16 PM3/24/20
to jacktri...@googlegroups.com
Quick update: In addition to the method I described yesterday, today we figured out the old qjackctl version 0.3.6 from 2010 opens in Catalina. Using the server path "usr/local/bin/jackdmp" and driver set to coreaudio, you can run the jack router without having to run it out of Terminal. This worked and we were able to connect on JackTrip at home.

If anyone can figure out the server prefix/suffix required for qjackctl version 0.6.0, we should be able to run jack out of this newer version of qjackctl that opens in Catalina. Version 0.5.0 doesn't open for me.

Thanks,
Sarah


Kenneth Fields

unread,
Mar 24, 2020, 2:07:41 PM3/24/20
to jacktri...@googlegroups.com
/usr/local/bin/jackd -R -d coreaudio -r 48000 -p 128 -o 2 -i 2 -d "Traktor Kontrol S8" -H  > /Users/kljhlkjh/Library/Logs/Artsmesh/Jack_Audio.log

Ken


Stéphane Letz

unread,
Sep 1, 2020, 5:25:23 PM9/1/20
to jacktrip-users

You can do that to get all core audio backend options:


jackd -d coreaudio -h

jackdmp 1.9.11

Copyright 2001-2005 Paul Davis and others.

Copyright 2004-2016 Grame.

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

-c, --channels Maximum number of channels. If -1, max possible number of channels will be used (default: -1)

-i, --in-channels Maximum number of input channels. If -1, max possible number of input channels will be used (default: -1)

-o, --out-channels Maximum number of output channels. If -1, max possible number of output channels will be used (default: -1)

-n, --input-list List of input channel number to be opened (syntax like : "0 3 2") (default: none)

-N, --output-list List of output channel number to be opened (syntax like : "0 3 2") (default: none)

-C, --capture Input CoreAudio device name (default: none)

-P, --playback Output CoreAudio device name (default: none)

-m, --monitor Provide monitor ports for the output (default: false)

-a, --AC3-encoding AC3 multi-channels encoding (default: false)

-b, --AC3-bitrate AC3 bitrate (default: 448)

-f, --AC3-LFE AC3 LFE channel (default: false)

-D, --duplex Provide both capture and playback ports (default: true)

-r, --rate Sample rate (default: 44100)

-p, --period Frames per period (default: 256)

-d, --device CoreAudio device name (default: none)

-I, --input-latency Extra input latency (frames) (default: 0)

-O, --output-latency Extra output latency (frames) (default: 0)

-l, --list-devices Display available CoreAudio devices (default: false)

-H, --hog Take exclusive access of the audio device (default: false)

-L, --async-latency Extra output latency in asynchronous mode (percent) (default: 100)

-G, --grain Computation grain in RT thread (percent) (default: 100)

-s, --clock-drift Whether to compensate clock drift in dynamically created aggregate device (default: false)

> >> To unsubscribe from this group and stop receiving emails from it, send an email to jacktri...@googlegroups.com.

> >> To view this discussion on the web visit https://groups.google.com/d/msgid/jacktrip-users/CALwwFRKrrZ%2BBTGOZEPkKpxHTkZTnBzrFer_SyFz4C_VSD8r2Sw%40mail.gmail.com.
> >> <Screen Shot 2020-03-22 at 1.34.40 PM.png>
> >
> > --
> > You received this message because you are subscribed to the Google Groups "jacktrip-users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to jacktri...@googlegroups.com.

> > To view this discussion on the web visit https://groups.google.com/d/msgid/jacktrip-users/859F0700-1D3C-4E75-9BD7-FE409C3E635A%40gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups "jacktrip-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jacktri...@googlegroups.com.

> To view this discussion on the web visit https://groups.google.com/d/msgid/jacktrip-users/6EDC8E7B-2218-4EBE-922E-2B6C5A466711%40gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups "jacktrip-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jacktri...@googlegroups.com.

> To view this discussion on the web visit https://groups.google.com/d/msgid/jacktrip-users/CALwwFRKXqUyaq9AdzBh%2Bd339bZ6XFRaJyNp%3DhW-DOLVc%3DqS%3DSQ%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "jacktrip-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jacktri...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "jacktrip-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jacktri...@googlegroups.com.

Stéphane Letz

unread,
Sep 1, 2020, 5:26:14 PM9/1/20
to jacktrip-users


Le mardi 1 septembre 2020 23:25:23 UTC+2, Stéphane Letz a écrit :

You can do that to get all coreaudio backend options:

OCH

unread,
Sep 1, 2020, 6:18:05 PM9/1/20
to jacktri...@googlegroups.com
I like this thread.

Next thing in line, make connections from the terminal:

- start jack server
- start jacktrip
- use jack_lsp to figure out the name of things
- use jack_connect and jack_disconnect to change connections
- pat yourself in the back, you made it

WIN


OCH

To unsubscribe from this group and stop receiving emails from it, send an email to jacktrip-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacktrip-users/d46f440a-3f10-43ea-9b7c-13b40137a9d4o%40googlegroups.com.

Ben Loveridge

unread,
Sep 1, 2020, 6:52:12 PM9/1/20
to jacktri...@googlegroups.com
I've been testing out Jacktrip 1.2 on Mac 10.15.6 (along with JACK Audio Connection Kit - Qt GUI Interface Version: 0.3.6) and have not had any issues with connecting two machines together on my local network. Server path is set to usr/local/bin/jackd. I've never really used JackPilot before since qjack has been able to do everything I need. I do note that yes you can run Jacktrip without starting up qjack first but I have not had consistent results between similar machines so for now am sticking with the starting qjack. I find it easier to configure all the settings through the GUI anyway. Michael any reason for not upgrading to 10.15?

Ben



--

Michael Dessen

unread,
Sep 1, 2020, 8:33:51 PM9/1/20
to jacktri...@googlegroups.com
Hi Ben. Wow, the note below is from late March which feels like years ago now (covid time). I later did find a way to use Qjackctl to start jack and also I got more used to starting jack via the command line. Having seen a lot of people get started using jack/jacktrip on macs these past few months, most on 10.15, I don't see any reason not to upgrade to 10.15. The only reason I'm staying on 10.14 myself is JackRouter but you can still do everything you use that for on 10.15 if you use BlackHole (or buy loopback) and do enough fiddling.

However, there is one thing that I have found which is strange but worth pointing out. There are rare times (I've seen this 3 or 4 times) that someone on Catalina can't get the server path usr/local/bin/jackd to work, but if they put instead usr/local/bin/jackdmp, it works. Ever time I've failed to understand why this is the case - the symlinks are set up correctly so it should not need to specify jackdmp at the end - but somehow it happens anyway.

Even beyond that one, I still find that people get other weird jack problems on macs sometimes that can be difficult to troubleshoot, which is frustrating. But I don't think Catalina itself is the issue. Best,

Michael
> To view this discussion on the web visit https://groups.google.com/d/msgid/jacktrip-users/CAMF0vwPL%2BXPqHrfZ4eO2kD7gesAvW-TbgSvN8W6R6ngEDEUqVA%40mail.gmail.com.

Michael Dessen

unread,
Sep 1, 2020, 8:37:21 PM9/1/20
to jacktri...@googlegroups.com
I'm not sure what caused this thread to come back from months ago but as long as he's making an appearance here, I want to thank Stéphane Letz and collagues for their work (starting long ago...) on Jack for OSX! All of us on this list who use Macs are indebted to their work on that port, if I understand things correctly. Thank you!

Michael
> To view this discussion on the web visit https://groups.google.com/d/msgid/jacktrip-users/CAFeM23aWKuGXbgQGu29vnDog%3DDSwP7ycEnY05H5OH1doaQBj8A%40mail.gmail.com.

Synthia Cynthia Payne

unread,
Sep 1, 2020, 9:46:48 PM9/1/20
to jacktri...@googlegroups.com
And btw JACK is going through a major update for both mac and win so it will be exciting to see them once they are posted on the website. Synth
> To view this discussion on the web visit https://groups.google.com/d/msgid/jacktrip-users/2AF2C1D4-0903-41EE-A600-55C1265DAD4E%40gmail.com.

Stéphane Letz

unread,
Sep 2, 2020, 2:31:11 AM9/2/20
to jacktri...@googlegroups.com

Synthia Cynthia Payne

unread,
Sep 2, 2020, 3:28:02 AM9/2/20
to jacktri...@googlegroups.com
yes, Stéphane, thank you! we're so excited about the updates!

cheers!
synthia
Reply all
Reply to author
Forward
0 new messages