<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
You can use your own systemd --user service for it (to circumvent
all the weird dbus stuff).<br>
Talked about this at this year's LAC.<br>
<a class="moz-txt-link-freetext" href="http://lac.linuxaudio.org/2015/download/lac2015_arch_slides.pdf">http://lac.linuxaudio.org/2015/download/lac2015_arch_slides.pdf</a><br>
<br>
For reference (you can get the package from the AUR, it's called
uenv-git):<br>
<a class="moz-txt-link-freetext" href="https://git.sleepmap.de/uenv.git/tree/user/jack@.service">https://git.sleepmap.de/uenv.git/tree/user/jack@.service</a><br>
<a class="moz-txt-link-freetext" href="https://git.sleepmap.de/uenv.git/tree/config/fw1">https://git.sleepmap.de/uenv.git/tree/config/fw1</a><br>
<br>
<br>
<div class="moz-cite-prefix">On 06.06.2015 16:35, Harry van Haaren
wrote:<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>
<pre class="moz-signature" cols="72">--
David Runge
Köpenicker Straße 163
10997 Berlin
<a class="moz-txt-link-freetext" href="http://www.sleepmap.de">http://www.sleepmap.de</a></pre>
</body>
</html>