Bug#539581: jackd always tries to run realtime

gzeus gzeusmants at gmail.com
Sun Aug 2 17:46:13 UTC 2009


At Sun, 2 Aug 2009 14:02:42 +0200,
Adrian Knoth wrote:
> 
> On Sun, Aug 02, 2009 at 01:37:46AM -0500, TheGZeus wrote:
> 
> Hi!
> 
> > Severity: important
> 
> I usually don't mess with severity levels, but as the "fix" for this bug
> is really easy, I've lowered it to "minor".
> 
Since it's kinda a documentation bug, rather than the app, that's cool.
> > I cannot get jackd to run, as it continues to try running in realtime
> > mode,
> 
> Yes, that's the new default. Upstream has changed to realtime as the
> default. It's the "normal" way of running jackd, so you'd now need to
> tell jackd NOT to use realtime prios.
> 
> Unfortunately, this change isn't documented, yet. I'll add a NEWS file
> to the package and probably send a manpage fix, too.
> 
Danke.
> Within some months, everybody will know that realtime is the default. ;)
> 
> 
> JFTR, here's the relevant code:
> 
> jack/jackd/jackd.c:
> 
> static int realtime = 1;
> 
> [..]
> 
>                switch (opt) {
> 
>                 case 'L':
>                         realtime = 0;
>                         break;
> [..]
>                 case 'R':
>                         /* this is now the default */
>                         realtime = 1;
>                         break;
> 
> 
> > Is it asking me to completely log out of every shell, X, etc before I
> > can use it?
> 
> You can run it without realtime prios: This is done by passing -L to
> jackd, i.e. something like this:
> 
>    $ jackd -L -d alsa ...
> 
> 
> Running it with realtime prios would really mean to re-logon to X, since
> the limits are set by PAM upon login. Note that this is only necessary
> if you answer "YES" to the debconf question (dpkg-reconfigure -phigh
> jackd)
> 
Hmm. Yeah, that's inconvenient -_-, and the wording of the error, while perfectly fine for 90% of people doesn't make sense to people like myself who live in shells and startx from there. Then again, while I compute like that, I don't really know how to program... I'm on the outside.
The other thing is that answering that debconf question 'YES' doesn't alter /etc/security/limits.conf.
I added the standard lines from the Jack documentation myself. 
> 
> HTH
> 
> PS: If you still have trouble getting jackd running, feel free to reply
> to this bug.
> 
If it doesn't give me realtime next time (now that I know X needs a restart, I'll give it a try) I'll do so.
> 
> -- 
> mail: adi at thur.de  	http://adi.thur.de	PGP/GPG: key via keyserver





More information about the pkg-multimedia-maintainers mailing list