[pulseaudio-discuss] jack module cannot use real-time scheduling errors

Tanu Kaskinen tanuk at iki.fi
Wed Jul 4 09:09:50 UTC 2018


On Thu, 2018-06-28 at 11:25 -0500, dag dg wrote:
> Changing the rlimit-rtprio doesn't cause it to change the priority it
> attempts to run as,

Yes, but it changes the allowed priority limit of the process. The
default limit is 9, so that would explain why libjack can't set the
priority to 15.

However, you showed that libjack can't set the priority to even 1, so
the rlimit-rtprio doesn't seem to be the problem (assuming that you
didn't change rlimit-rtprio to 0 when testing).

I don't know what the problem might be, since in your first email the
verbose log showed that pulseaudio itself was able to set a realtime
priority of 9. Maybe it was because pulseaudio is using rtkit and
libjack is calling the kernel directly? There's probably some way of
checking what the real rlimits are for a running process (probably some
file under /proc).

-- 
Tanu

https://liberapay.com/tanuk
https://www.patreon.com/tanuk


More information about the pulseaudio-discuss mailing list