JackLab/Rt-lsm

From openSUSE

User realtime with rt-lsm

NOTE: RT-LSM is currently not available for RT kernel 2.6.19 (openSUSE 10.2)

This is the radical way for "full user preemt". That means: the user processes have full control over the machine so it's possible to freeze your system. Otherwise the realtime audio is more stable and performant.

-The user must add himself to the group "audio"

-Install the rpm: realtime-lsm-kmp

For SUSE 10.1 with Kernel 2.6.17-jad1 we have a full automated script now inside the realtime-lsm-kmp rpm, so the next steps are not nessesary.

Determine ID users of the audio (as a user)

~> id
~> uid=1000(metasymbol) gid=100(users) Gruppen=16(dialout), 17(audio), 33(video), 100(users)

activate modules: (as root)

# insmod /lib/modules/2.6.15-jad2-default/extra/realtime.ko
# rmmod realtime
# depmod -ae
# modprobe realtime gid=17


Now the regular user is able to run audio realtime capabilities for jackd.

# lsmod | grep realtime
realtime               11280  0


if realtime is working OK, a:

# echo "modprobe realtime gid=17" >> /etc/init.d/boot.local

will automate the start of the real-time user module.