When I launch "jackd -d alsa --help", it displays a generic error message that does not really apply to Gentoo, because Gentoo has realtime-base that jack-audio-connection-kit even depends upon if the "pam" USE flag is enabled. Please patch the message if pam is used. Reproducible: Always Steps to Reproduce: jackd -d alsa --help Actual Results: jackd 0.121.3 Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others. jackd comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details JACK is running in realtime mode, but you are not allowed to use realtime scheduling. Please check your /etc/security/limits.conf for the following line and correct/add it if necessary: @audio - rtprio 99 After applying these changes, please re-login in order for them to take effect. You don't appear to have a sane system configuration. It is very likely that you encounter xruns. Please apply all the above mentioned changes and start jack again! Expected Results: jackd 0.121.3 Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others. jackd comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details JACK is running in realtime mode, but you are not allowed to use realtime scheduling. On Gentoo systems, this can be fixed by adding your user to the `realtime' group. After applying these changes, please re-login in order for them to take effect. You don't appear to have a sane system configuration. It is very likely that you encounter xruns. Please apply all the above mentioned changes and start jack again!
jack-audio-connection kit already depends on sys-auth/realtime-base with pam useflag; this means, if you are using pam (most likely case), you can just add your user to the 'realtime' group and be done
No, it doesn't "work", because the user has to ignore the generic advice printed by jackd, and showhow find out that on Gentoo he is supposed to use the "realtime" group instead. IOW, the "realtime" group is suitable, but it is not the group that is mentioned by jackd in the help message. Please patch the message.
(In reply to Alexander E. Patrakov from comment #2) > No, it doesn't "work", because the user has to ignore the generic advice > printed by jackd, and showhow find out that on Gentoo he is supposed to use > the "realtime" group instead. > > IOW, the "realtime" group is suitable, but it is not the group that is > mentioned by jackd in the help message. Please patch the message. heh, i guess reading too quickly didn't work here as you already knew about rt group :) Please feel free to provide a patch for this message and I'll add it to our ebuilds. I'm not very convinced of its usefulness though, since only administrators can add people to groups or change limits.conf and realtime-base already tells them to do this; but you're right in the sense that jackd message is at best confusing.
A workaround that message is to create an audio group, it doesn't need to be configured, and add the jackd user into it.