Jack is installed and working.:
$ sudo apt-get install qjackctl
This installs jack, dependencies, and qjackctl.
The install procedure asks me a question. I answer YES. It creates a file named `/etc/security/limits.d/audio.conf that contains:
# Provided by the jackd package.
#
# Changes to this file will be preserved.
#
# If you want to enable/disable realtime permissions, run
#
# dpkg-reconfigure -p high jackd
@audio - rtprio 95
@audio - memlock unlimited
#@audio - nice -19
This file is sort-of a duplication of what I manually put in /etc/security/limits.conf
, but whatever, I’m not going to mess with this right now.
Then in Ubuntu’s Dash I type:
qjackctl
Here, I click [Setup] and change the ‘Server Path’ to:
/usr/bin/pasuspender -- /usr/bin/jackd -S
I did this because it’s recommended here (option 4) and here (-S). Then I clicked [Start].
It doesn’t work. I keep getting the error: Cannot lock down 82246176 byte memory area.
Googling reveals two things.
-
I probably don’t need
pasuspender
with the Jack that was installed (aka JACK2, aka 1.9.8, aka your versioning sucks Mr. Davis) -
I need to logout/login to activate the “memlock unlimted” config above. I rebooted just to be anti-Linux.
Again, after reboot, in [Dash Home] I type:
qjackctl
Then I click [Start].
In the messgaes log I still got “Cannot lock down 82246176 byte memory area” but the JACK server started now.
I launch Renoise, it connected to Jack, it works.
Tada.
Honestly, I don’t actually see myself using JACK (yet?). In the cases where I do want to use it, I will manually start/stop it using qjackctl
.
I tested this for all of 30 seconds so no guarantees that what I did is correct. At least it’s installed?
TODO: Keep an eye on this thread Something about JACK1 vs JACK2 and Linux perfomance.