[linux-audio-user] 188.8.131.52, realtime-lsm, jackd -R,
rlrevell at joe-job.com
Sun Feb 12 18:03:52 EST 2006
On Sun, 2006-02-12 at 14:45 -0800, Kjetil S. Matheussen wrote:
> Frank Barknecht:
> > > Is it true that realtime-lsm is deprecated? How do I enable realtime
> > > preemption on a 2.6.15?
> > It's true. The easiest alternative IMO is to use set_rtlimits. A quick
> > explanation is at http://tapas.affenbande.org/?page_id=22
> > Basically you download and install this:
> > http://www.physics.adelaide.edu.au/~jwoithe/set_rtlimits-1.1.0.tgz
> > then add something like this to /etc/set_rtlimits.conf:
> > @audio /usr/bin/jackd -1 90
> > assuming you have a user group "audio" and start jackd like:
> > $ set_rtlimits -r /usr/bin/jackd --realtime -d alsa -d hw:0
> > Alternatively you can use a patched PAM-module, but that is a bit more
> > work, if your distribution doesn't ship it.
> That is rediculous. Do you really have to start program that way
> to get realtime priority? In case, I guess (and _really_ hope)
> that realtime-lsm (or something similar) will continue to exist for a
> long time still.
Yes, absolutely, it is ridiculous.
In the upcoming Ubuntu Dapper release this will Just Work. No patching
the kernel or PAM or cryptic CLI utilities.
In the meantime everyone should use the realtime LSM IMHO. And if you
don't use Ubuntu, contact your distro and urge them to solve this
problem in the next release.
More information about the linux-audio-user