<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I meet maybe the same problem under fedora: I added myself to the
pulse-rt group.<br>
This group has priorities defined in
/etc/security/limits.d/95-jack.conf<br>
<br>
@jackuser - rtprio 95<br>
@jackuser - memlock unlimited<br>
<br>
#@audio - rtprio 95<br>
#@audio - memlock unlimited<br>
<br>
#@pulse-rt - rtprio 10<br>
#@pulse-rt - nice -20<br>
<br>
And because I belong to the jackuser and pulse-rt group, the lower
rtprio was retained.<br>
If I commented the pulse-rt part of 95-jack.conf everything was back
to normal.<br>
<br>
YC<br>
<br>
<div class="moz-cite-prefix">Le 06/06/2015 16:35, Harry van Haaren a
écrit :<br>
</div>
<blockquote
cite="mid:CAKudYbMC8jVi5XgtbJhag6TpFDKMn37XoWBBZAfaj9rDZ25X_A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Sat, Apr 4, 2015 at 8:13 PM,
Adrian Knoth <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:adi@drcomp.erfurt.thur.de" target="_blank">adi@drcomp.erfurt.thur.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"><span class=""></span>
Not enough information. I recommend starting jackd with
strace<br>
</blockquote>
<div>Done - apologies for the delay. Strace output
available[1], but the most interesting part copied here:<br>
<br>
sched_get_priority_min(SCHED_FIFO) = 1<br>
sched_setscheduler(0, SCHED_FIFO, { 1 }) = -1 EPERM
(Operation not permitted)<br>
write(2, "\nJACK is running in realtime mod"..., 87<br>
JACK is running in realtime mode, but you are not allowed
to use realtime scheduling.<br>
) = 87<br>
<br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
This code tries to call sched_setscheduler() with
SCHED_FIFO. My bet is<br>
that your "almost vanilla kernel" fails to fulfil this
request, but<br>
strace will tell you for sure.<br>
</blockquote>
<div>By "almost vanilla" I meant the Arch linux packaged
version - I didn't change the config myself (and Arch aims
to be true to vanilla). A very accurace prediction though
- indeed sched_setscheduler() is causing a return of -1.
This is running as root though - so something is wrong
here.<br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
The question is why said call should fail. The only thing
that comes to<br>
my mind are CGROUPS. Maybe your old kernel comes without,
the new kernel<br>
supports them and the configuration is set in a way that
disables<br>
SCHED_FIFO by default.<br>
</blockquote>
<div>Perhaps - I'm not experienced with cgroups or such, if
anybody has any test ideas for me I'll try them out?<br>
<br>
</div>
<div>Cheers, -Harry<br>
</div>
</div>
<br>
</div>
<div class="gmail_extra">[1] <a moz-do-not-send="true"
href="http://openavproductions.com/tmp/straceJackd.txt">http://openavproductions.com/tmp/straceJackd.txt</a><br>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Linux-audio-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Linux-audio-dev@lists.linuxaudio.org">Linux-audio-dev@lists.linuxaudio.org</a>
<a class="moz-txt-link-freetext" href="http://lists.linuxaudio.org/listinfo/linux-audio-dev">http://lists.linuxaudio.org/listinfo/linux-audio-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>