<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 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 href="http://openavproductions.com/tmp/straceJackd.txt">http://openavproductions.com/tmp/straceJackd.txt</a><br><br></div></div>