Hi doc, thanks for the guess. sudo chrt does work, though. I'm supposed to not need it with the rt-patched kernel, which allows non-root users to set high priorities.<br>-Chuckk<br><br><br>On 10/24/07, <b class="gmail_sendername">
Dragan Noveski</b> <<a href="mailto:perodog@gmx.net">perodog@gmx.net</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;">
chuckk, i can only try to guess.<br>perhaps sudo on your system is not allowed to do chrt?<br>on my system i have the file /etc/sudoers containing this two important<br>lines:<br><br>root ALL=(ALL) ALL<br>nowhiskey ALL=NOPASSWD: ALL
<br><br>don't know if it could be the root of the problem, because if so, i<br>would expect something like 'operation not permitted' error, but who knows.<br><br><br>cheers,<br>doc<br>><br>> My kernel has:
<br>> # CONFIG_PREEMPT_NONE is not set<br>> # CONFIG_PREEMPT_VOLUNTARY is not set<br>> # CONFIG_PREEMPT_DESKTOP is not set<br>> CONFIG_PREEMPT_RT=y<br>> CONFIG_PREEMPT=y<br>> CONFIG_PREEMPT_SOFTIRQS=y<br>
> CONFIG_PREEMPT_HARDIRQS=y<br>> CONFIG_PREEMPT_BKL=y<br>> # CONFIG_CLASSIC_RCU is not set<br>> CONFIG_PREEMPT_RCU=y<br>><br>> /etc/security/limits.conf has:<br>> @audio - nice -10
<br>> @audio - rtprio 99<br>> @audio - memlock 4000000 (someone on the jack list<br>> suggested that my previous value "unlimited" was not recognized, so I<br>> stuck this in but no change)
<br>><br>> and user "chuckk" is in group "audio".<br>><br>> Lastly, the output from my script when the second sudo chrt line is<br>> commented out:<br>> ------------------------------
<br>> pid 684's current scheduling policy: SCHED_FIFO<br>> pid 684's current scheduling priority: 82<br>> jackd 0.103.0<br>> Copyright 2001-2005 Paul Davis and others.<br>> jackd comes with ABSOLUTELY NO WARRANTY
<br>> This is free software, and you are welcome to redistribute it<br>> under certain conditions; see the file COPYING for details<br>><br>> JACK compiled with System V SHM support.<br>> pid 5132's current scheduling policy: SCHED_OTHER
<br>> pid 5132's current scheduling priority: 0<br>> loading driver ..<br>> Enhanced3DNow! detected<br>> SSE2 detected<br>> apparent rate = 44100<br>> creating alsa driver ... hw:0|-|256|2|44100|0|0|nomon
<br>> |swmeter|-|32bit<br>> control device hw:0<br>> configuring for 44100Hz, period = 256 frames, buffer = 2 periods<br>> ALSA: final selected sample format for playback: 32bit little-endian<br>> ALSA: use 2 periods for playback
<br>><br>> --------------------------------------<br>><br>> Any ideas what I may have missed or misconfigured?<br>><br>> Thanks!<br>> -Chuckk<br>><br>><br>> --<br>> <a href="http://www.badmuthahubbard.com">
http://www.badmuthahubbard.com</a><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> Linux-audio-user mailing list<br>
> <a href="mailto:Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a><br>> <a href="http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user">http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
</a><br>><br><br>_______________________________________________<br>Linux-audio-user mailing list<br><a href="mailto:Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a><br><a href="http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user">
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user</a><br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.badmuthahubbard.com">http://www.badmuthahubbard.com</a>