Jack not recognized

Screenshot from 2020-08-04 09-33-07

as you can see, ardour isnt recognizing JACK at all. it wont load at all.

please help me…

If you want to use JACK with Ardour, you need to allow JACK to use realtime permissions.

On debian based systems, the easiest way to set this up is:

sudo dpkg-reconfigure -p high jackd2

Enable realtime, then re-login (or reboot) to apply the change.

The generic, distro-independent, instructions are: https://jackaudio.org/faq/linux_rt_config.html

im on manjaro… do you know how i would be able to enable the RR/S the code isnt working. and how do i create a config folder to put the files in? it desribes what to do, but not how to do it…

this is what i get in the log now when i try to start JACK :

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

Tue Aug 4 10:59:28 2020: Starting jack server…

Tue Aug 4 10:59:28 2020: JACK server starting in realtime mode with priority 10

Tue Aug 4 10:59:28 2020: self-connect-mode is “Don’t restrict self connect requests”

Tue Aug 4 10:59:28 2020: ERROR: Cannot lock down 82280346 byte memory area (Cannot allocate memory)

Tue Aug 4 10:59:28 2020: ERROR: control open “hw:io2” (No such device)

Tue Aug 4 10:59:28 2020: ERROR: control open “hw:io2” (No such device)

Tue Aug 4 10:59:28 2020: creating alsa driver … hw:io2,0|hw:io2,0|1024|2|44100|0|0|nomon|swmeter|-|32bit

Tue Aug 4 10:59:28 2020: ERROR: control open “hw:io2” (No such device)

Tue Aug 4 10:59:28 2020: ERROR: ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode

Tue Aug 4 10:59:28 2020: ERROR: control open “hw:io2” (No such device)

Tue Aug 4 10:59:28 2020: ERROR: control open “hw:io2” (No such device)

Tue Aug 4 10:59:28 2020: ERROR: Cannot initialize driver

Tue Aug 4 10:59:28 2020: ERROR: JackServer::Open failed with -1

Tue Aug 4 10:59:28 2020: ERROR: Failed to open server

Tue Aug 4 10:59:29 2020: Saving settings to “/home/benji/.config/jack/conf.xml” …

10:59:30.667 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

I’m on Manjaro and have jack and Ardour working. You don’t need jack if you are not planning to route audio from one application to another. Anyway you can use it with Ardour if you want to.

Do the following modifications as the roor - user:

First install qjackctl, this will install jack 1 for you.

pacman -S qjackctl

Add the following lines to file: /etc/security/limits.conf (The last line gives Ardour the ability lock 10 GB of memory to itself. You need to leave some Ram for the OS, so adjust this value to match your system)

@audio - rtprio 99
@audio - memlock 10000000

Add your user to the “audio” group with the terminal command below. In the example user: mika is added to audio group.

usermod -a -G audio mika

Add the following lines to file: /etc/sysctl.d/99-sysctl.conf

vm.swappiness = 10
fs.inotify.max_user_watches = 524288

Reboot

I use Ardour and Jack with the 5.4.x default kernel and they work fine. You can also install the 5.4.x Realtime kernel if you need to squeeze some more performance out of your system. 5.4 kernel series is the latest Long Term Support release, so it will receive security updates and fixes for a long time.

take a look at this video https://www.youtube.com/watch?v=vgrqMv3Lzfk
It is a easy to follow video from which I’ve managed to understand some key basics about linux audio system.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.