On 10/30/07, <b class="gmail_sendername">Lars Luthman</b> <<a href="mailto:lars.luthman@gmail.com">lars.luthman@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, 2007-10-29 at 23:54 +0200, Chuckk Hubbard wrote:<br>> On 10/29/07, Florian Schmidt <<a href="mailto:mista.tapas@gmx.net">mista.tapas@gmx.net</a>> wrote:<br>> On Monday 29 October 2007, Chuckk Hubbard wrote:
<br>> > On 10/25/07, Florian Schmidt <<a href="mailto:mista.tapas@gmx.net">mista.tapas@gmx.net</a>> wrote:<br>> > > Well, if chrt works now without sudo, try running<br>> > >
<br>> > > jackd -R -P 70 -d alsa ...<br>> > ><br>> > > again. It should work now, too..<br>> ><br>> > Update: I just discovered that running jackd -R -P 70 -dalsa
<br>> -P -p256 -n2<br>> > -r44100 as ROOT doesn't even set priority 70. jackd then<br>> runs as a root<br>> > process with priority 20, according to both chrt and top.
<br>> > Apparently my system is not able to run anything higher than<br>> 20 priority;<br>> > does this mean my kernel is misconfigured, or might it be<br>> something else?
<br>> > -Chuckk<br>><br>> install htop<br>><br>> run it<br>><br>> press f2 [setup]<br>> -> Display Options<br>> -> uncheck "Hide userland threads"
<br>> -> uncheck "Hide kernel threads"<br>><br>> Do you see all 4 jack threads now?<br>><br>> Woop, there it is. Thanks. I see 5 actually, one -71, one -81<br>> (watchdog?), and the rest 20. Running Csound with its --sched=N flag,
<br>> I also see two csound processes, one of which is -70 and the other 20,<br>> no matter what value I put... time to take that up with the Csound<br>> list I guess.<br><br>With JACK output?<br><br>From the Csound manual:
<br><br>"DO NOT use "--sched" if you are using JACK for audio output. JACK<br>controls scheduling for the audio applications connected to it, and also<br>tries to run at the highest possible priority. If the "--sched" flag is
<br>used, Csound and JACK will be competing rather than cooperating,<br>resulting in extremely poor performance."</blockquote><div><br>I combed that section carefully, but I missed that part. I'll request that someone put it in the description of either -+rtaudio=jack or --sched... Thanks so much!
<br><br>-Chuckk<br><br></div></div><br>-- <br><a href="http://www.badmuthahubbard.com">http://www.badmuthahubbard.com</a>