Re: [linux-audio-user] 2.6.15.4, realtime-lsm, jackd -R,

From: Lee Revell <rlrevell@email-addr-hidden-job.com>
Date: Mon Feb 13 2006 - 01:03:52 EET

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.

Lee
Received on Mon Feb 13 04:15:06 2006

This archive was generated by hypermail 2.1.8 : Mon Feb 13 2006 - 04:15:06 EET