So much to my surprise yesterday I installed Ubuntu Desktop 20.04 on the Dell Optiplex 740, and compiled 1.3.0 Jacktrip and installed/built Jamulus.
The Jamulus side IS working with our one Virtual Studio box here, and I've noodled around with the AT&T Uverse router to do the port forwarding to allow outside connections. I've emailed all our singers to turn on their VS boxes and we'll see if they successfully connect. Thus far I've got 4 devices saying they are connected, and two of us can hear each other. I've got to chase down the other folks.
On the Jacktrip side, not quite as much joy. I was following Chris Chafe's Notes from 1/16/21, shown below. I didn't notice anything amiss; a lot of compile warnings. If I'm remembering right, this did NOT build jackd. However, the Jamulus install directions DID.
WHEN the Jamulus instructions installed jackd, it threw up a dialog about
Configuring jackd2
If you want to run jackd with realtime priorities, the user starting jackd needs realtime permissions. Accept this option to create the file /etc/security/limits.d/audio.conf, granting realtime priority and memlock privileges to the audio group.
Running jackd with realtime priority minimizes latency, but may lead to complete system lock-ups by requesting all the available physical system memory, which is unacceptable in multi-user environments.
Enable realtime process priority?
This sounded like a Good Thing, so I did.
Subsequent attempts to start JackTrip as a server failed with an error which seemed related to this. I attempted to place my userid "neal" in the group audio with no success, so I ultimately created a user "jack" in the group "audio", and logged in as "jack" to start the server. I also created /etc/jackdrc and put “/usr/bin/jackd -d dummy --rate 48000 --period 128” in it.
Running "./jacktrip -S" as user jack resulted in starting, and a local connection was established from a VS box, but no audio and lots of errors:
$ ./jacktrip -S
mThreadPool default maxThreadCount = 2
mThreadPool maxThreadCount set to 32
JackTrip HUB SERVER: UDP Base Port set to 61002
JackTrip HUB SERVER: Waiting for client connections...
JackTrip HUB SERVER: Hub auto audio patch setting = 0 (server-to-clients)
=======================================================
JackTrip HUB SERVER: Client Connection Received!
JackTrip HUB SERVER: Client Connect Received from Address : ::ffff:192.168.1.171
JackTrip HUB SERVER: Reading UDP port from Client...
JackTrip HUB SERVER: Client UDP Port is = 4524
JackTrip HUB SERVER: Sending Final UDP Port to Client: 61002
JackTrip HUB SERVER: Client TCP Connection Closed!
JackTrip HUB SERVER: Spawning JackTripWorker...
JackTrip HUB SERVER: Starting JackTripWorker...
--->JackTripWorker: PeerNumChannels = 2
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jackdmp 1.9.12
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2017 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
no message buffer overruns
no message buffer overruns
no message buffer overruns
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
JACK server started
Setting JACK Process Callback...
SUCCESS
---------------------------------------------------------
The Sampling Rate is: 48000
---------------------------------------------------------
The Audio Buffer Size is: 128 samples
or: 512 bytes
---------------------------------------------------------
The Number of Channels is: 2
---------------------------------------------------------
Using UDP Protocol
---------------------------------------------------------
Using JitterBuffer strategy 1
Waiting for Connection From a Client...
UDP Socket Receiving in Port: 61002
---------------------------------------------------------
Waiting for Peer...
Received Connection from Peer!
JackTrip HUB SERVER: Total Running Threads: 1
===============================================================
spawning jacktripWorker so change patch
JackEngine::XRun: client = __ffff_192.168.1.171 was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = __ffff_192.168.1.171 was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackTimedDriver::Process XRun = 57 usec
JackEngine::XRun: client = __ffff_192.168.1.171 was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackTimedDriver::Process XRun = 57 usec
JackEngine::XRun: client = __ffff_192.168.1.171 was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackTimedDriver::Process XRun = 32 usec
JackEngine::XRun: client = __ffff_192.168.1.171 was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackTimedDriver::Process XRun = 30 usec
JackEngine::XRun: client = __ffff_192.168.1.171 was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackTimedDriver::Process XRun = 33 usec
JackEngine::XRun: client = __ffff_192.168.1.171 was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
The Jacktrip install was done from this:
[build tools]
sudo apt install -y --no-install-recommends build-essential qt5-default
[dependency]
sudo apt install libjack-jackd2-dev
[latest jacktrip]
git clone
https://github.com/jacktrip/jacktrip.git[go to src subdirectory]
cd jacktrip/src/
[start the build process]
./build