[PlanetCCRMA] Problem with qjackctl in Fedora 14

Fernando Lopez-Lezcano nando at ccrma.Stanford.EDU
Wed Dec 29 11:48:36 PST 2010


On 12/28/2010 08:57 AM, Roger Gagné wrote:
> Hello to you,
>                        My Fed 13 is working greatly...so I tried to
> install Fed 14 on a new partition with the ''planetccrma-core-F14'' and
> Jack seem to have problems:
> Cannot create thread 1: Operation not permitted
> Jack server starting in realtime mode with priority 60
> Cannot lock down memory area (cannot allocate memmory)....
> Cannot use real-time scheduling (RR/60)(1:Operation not permitted.
> Acquired SelfRealTime error.......
> Cannot lock down memory area

Ah, sorry, this is because Jack now comes from Fedora and it does not 
have the configuration file that enable realtime scheduling for all 
users with the proper priority (in Fedora it is only 20 for the group 
jackuser, Planet CCRMA needs higher priorities because of the rt patched 
kernel and the configuration of rtirq).

You can add this file (name it "90-jack.conf") to the 
/etc/security/limits.d/:

---- CUT HERE
# Planet CCRMA, jack-audio-connection-kit
#
# Allow processes access to rt priority and memory locking
# without limits, needed by the rt kernel and jackd
*	-	rtprio	99
*	-	memlock	4194304
-- CUT HERE

This will allow all users to use the full range of priorities for 
realtime scheduling. This is (as has been pointed out before) the most 
secure option.

I have to see what is the best solution for this long term (probably an 
additional package in the Planet CCRMA repository)...

-- Fernando



More information about the PlanetCCRMA mailing list