On Ubuntu Oneiric, I've started jack (using qjackctl) and it says its running happily, but in "Messages" I get the following error:
Everything seemed fine (according to QJackCtl's GUI), but when I tried to start a new session in Ardour, it crashed (or froze): the session handling window stayed there forever and I had to kill Ardour's processCannot lock down memory area (Cannot allocate memory)
[SOLUTION]
When installing the "jackd2" package, it usually asks you if it should allow real-time priority to Jackd. Even if you did say "yes" to that question, the user you're starting qjackctl (and therefore jackd) as, might not be in the group "audio".
So, in order to fix this, do the following:
a) Make sure that the jackd2 package adds a security rule to enable real-time and memory-lock:
Code: Select all
sudo dpkg-reconfingure -p high jackd2
c) Restart, in order for all privilege and security settings to apply.
d) Check if everything went fine:
Code: Select all
ulimit -l -r
If it does: fine! Try to start jackd - and the problem should be gonemax locked memory (kbytes, -l) unlimited
real-time priority (-r) 95