[linux-audio-dev] nice [was: jack, low latency and IO]

Jens M Andreasen jens.andreasen at chello.se
Tue Dec 7 19:34:30 UTC 2004


On tis, 2004-12-07 at 12:06 -0600, Jack O'Quin wrote:
> Jens M Andreasen  writes:
> 
> > > Also I've figured that to lower the nice number I'll need root
> > > priviliges. After patching my kernel [ok, downloading a patched kernel
> > > ;-P] to be able jack and friends as my normal self?.. or does this
> > > patch changes the situation? 
> > 
> > I seem also not to be able to connect to jack without being root
> > (although the app runs suid root... )
> 
> All JACK clients must run as the same UID as the server.  Please don't
> run JACK as root, except as an experiment to get things working.
> 
> To gain realtime privileges as a non-root user you need the
> realtime-lsm (with 2.6 kernels) or the capabilities patch (with 2.4).
> 
>   http://jackit.sourceforge.net/docs/faq.php#a52


OK!

Jack has been distributed with Mandrake 10.1 without the realtime
module. So it only runs as root by default here, and then still being
severely disturbed by the underlying journaling filesystem.

I have rebuild the jackd according to the recommendations in the source-
distribution. Works as advertized :) Guess I missed the part about
realtime-lsm while dancing ...


mvh // Jens M Andreasen





More information about the Linux-audio-dev mailing list