I fail to start jackd with real time permissions. I am in group audio, my kernel is custom 2.6.29.5-rt21
Slackbuils.org writes about
:
1. /dev/shm -> done
2. setcap cap_sys_nice=ep /usr/bin/jackd (does not help)
3. I have also tried set_rlimits (does not help)
/etc/set_rlimits.conf
Code:
@audio /usr/bin/jackd nice=-1 rtprio=80
start command and result..
Code:
set_rlimits jackd -R -dalsa -dhw:1,0 -r44100 -p1024 -n2 -S -i2 -o2 -Xseq
jackd 0.116.1
[..bla-bla-bla]
creating alsa driver ... hw:1,0|hw:1,0|1024|2|44100|2|2|nomon|swmeter|-|16bit
[..bla-bla-bla]
JACK: unable to mlock() port buffers: Cannot allocate memory
JACK: unable to mlock() port buffers: Cannot allocate memory
When running as root, it starts ok but
1. I don't want to start as root (psychological problems
)
2. fst-git-feb2009 wants to start jackd, but if jackd is already started as root, it fails (stupidly? ) to start.
I believe I have "permissions" problem, but I don't know which "permissions" to tweak.