<div><br>&nbsp;<br></div><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Hi Daniel,<br><br>Interesting point here. Do you mean you edited the<br>/etc/security/limits.conf even when running the non rt kernel and that
<br>it made things better than with the non-edited /etc/security/limits.conf ?</blockquote><div><br>I already had realtime permissions enabled while using the rt kernel.<br><br>Yup, I basically was messing around trying to figure out why my suspend/sleep was broken in Gutsy
<br>when it had worked with the Live cd ... then I realized mabey its the rt kernel I had installed and reinstalled the generic.<br>Of course, that fixed these problems and I tried pd + jack and noticed that it also ran those really well ...
<br>better then the rt kernel which prompted me to wonder if anyone else had noticed this behaviour?&nbsp; I thought<br>it was some bug with pd or jack, in that pd was giving me noticeable xruns using the *realtime* kernel when in
<br>using such a kernel in dapper, edgy, and fiesty was the only way to *avoid* them.&nbsp; I remember reading somewhere<br>that the Ubuntu kernel team has been integrating some of the realtime kernel patches and enabling pre-emption to
<br>keep the kernel fast for the whole &quot;multimedia desktop experience&quot; etc ... and it seems that this works with realtime audio<br>in pd and jack, at least for me.<br><br>I also noticed that the realtime kernel has become more focused on *real* realtime requirements like robotics, etc on the 
<br>ubuntu page, dont recall the link off hand.<br><br>On a side note, merry christmas boys and boys (are there any girls on the list?).&nbsp; My parents just bestowed a solid state<br>harddrive upon my performance computer, so now I can bounce around without worrying about physical disc crashes!
<br>Happy nerdy xmas all.<br><br></div><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><br><br>That&#39;s definitely one thing I must try then...
<br><br>To get even more off-topic (even though I&#39;m not really convenced it is)<br>I noticed as well that rt kernels are really aggressive. For instance<br>when I just play mp3s through jack with the hdsp driver it eats all
<br>performance for the rest of desktop apps which then get really really<br>sluggish (on a PIV 3000MHz...).<br><br><br>Jé<br><br>Daniel Wilcox a écrit :<br>&gt; To all those Pd Ubuntu-ers out there,<br>&gt;<br>&gt; I have been using the realtime (lowlatency) kernel for a while, back
<br>&gt; since Feisty, and compiled my own in Dapper.<br>&gt;<br>&gt; I have noticed that, at least with Gusty, the generic kernel works<br>&gt; better then the rt kernel, giving me much *fewer*? xruns<br>&gt; and artifacting with Pd ... while using the rt kernel, &nbsp;Pd seems to
<br>&gt; &quot;sput&quot; xruns while using Jack. &nbsp;It&#39;s important to note that I<br>&gt; did enable the realtime privledges by writing to the security config as<br>&gt; noted on the Ubuntu studio page:<br>&gt; &nbsp; &nbsp; &nbsp;sudo su -c &#39;echo @audio - rtprio 99 &gt;&gt; /etc/security/limits.conf&#39;
<br>&gt; &nbsp; &nbsp; &nbsp;sudo su -c &#39;echo @audio - memlock 250000 &gt;&gt; /etc/security/limits.conf&#39;<br>&gt; &nbsp; &nbsp; &nbsp;sudo su -c &#39;echo @audio - nice -10 &gt;&gt; /etc/security/limits.conf&#39;<br>&gt;<br>&gt; Could it be that the preemption enabled in the rt kernel is a bit *too*
<br>&gt; aggressive? &nbsp;Realtime audio in PD with Jack seems to run much<br>&gt; better with the generic kernel! &nbsp;Even at a 8ms latency ... in fact I&#39;m<br>&gt; testing the same on my slow performance computer (PIII 500MHz) with a
<br>&gt; fresh install of a Minimal command line Gutsy and it works *soooo* much<br>&gt; better then the realtime kernel. &nbsp;(Plus suspend and<br>&gt; hibernation work, while they don&#39;t using the realtime kernel.)<br>&gt;
<br>&gt; --<br>&gt; Dan Wilcox<br>&gt; danomatika<br>&gt; <a href="http://www.robotcowboy.com/" target="_blank">www.robotcowboy.com</a> &lt;<a href="http://www.robotcowboy.com/" target="_blank">http://www.robotcowboy.com</a>
&gt;</blockquote><div><br>-- <br>Dan Wilcox<br>danomatika<br><a href="http://www.robotcowboy.com">www.robotcowboy.com</a>&nbsp;</div><br>