I made a comment on the patch tracker concerning this, directly on the jack patch.&nbsp; However, looking at the patch, I cannot see how it would effect pd&#39;s audio when running in real-time.&nbsp; All I know is I ran pd-0.40.3-extended from April 15th yesterday, using jack in real-time, for a few hours and the audio was almost flawless.&nbsp; <br>
<br><div class="gmail_quote">On Wed, May 21, 2008 at 3:34 PM, Rich E &lt;<a href="mailto:reakinator@gmail.com">reakinator@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Wed, May 21, 2008 at 3:20 PM, Ken Restivo &lt;<a href="mailto:ken@restivo.org" target="_blank">ken@restivo.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><br>
On Wed, May 21, 2008 at 02:23:20PM -0700, Rich E wrote:<br>
&gt; &gt;<br>
&gt; &gt; IIRC, Ubuntu &quot;RT&quot; kernel is not actually Real Time (i.e. with Ingo<br>
&gt; &gt; patches), just a &quot;desktop RT&quot; which is not very useful for audio and<br>
&gt; &gt; certainly not enough for JACK apps of any heft.<br>
&gt; &gt;<br>
&gt;<br>
&gt; Where are you getting this info from? &nbsp;This is not what I have read, but<br>
&gt; maybe I am missing something somewhere. &nbsp;I thought that the Ubuntu kernel<br>
&gt; packagers recently switched to using full realtime preemption... I find this<br>
<br>
</div>My info is from having installed Ubuntu and used it... but that was a few years ago. Glad they&#39;re using Ingo&#39;s patches now.<br>
<div><br>
<br>
&gt; in the package description of linux-image-2.6.22-14-rt :<br>
&gt; Ingo Molnar&#39;s full real time preemption patch (2.6.22.1-rt9)<br>
&gt;<br>
&gt; Here is the output of uname -a:<br>
&gt; Linux pal 2.6.22-14-rt #1 SMP PREEMPT RT Tue Feb 12 09:57:10 UTC 2008 i686<br>
&gt; GNU/Linux<br>
&gt;<br>
&gt; .. and here are the kernel settings from &nbsp;cat /boot/config-2.6.22-14-rt |<br>
&gt; grep PREEMPT<br>
&gt; # CONFIG_PREEMPT_NONE is not set<br>
&gt; # CONFIG_PREEMPT_VOLUNTARY is not set<br>
&gt; # CONFIG_PREEMPT_DESKTOP is not set<br>
&gt; CONFIG_PREEMPT_RT=y<br>
&gt; CONFIG_PREEMPT=y<br>
&gt; CONFIG_PREEMPT_SOFTIRQS=y<br>
&gt; CONFIG_PREEMPT_HARDIRQS=y<br>
&gt; CONFIG_PREEMPT_BKL=y<br>
&gt; CONFIG_PREEMPT_RCU=y<br>
&gt; # CONFIG_DEBUG_PREEMPT is not set<br>
&gt; # CONFIG_CRITICAL_PREEMPT_TIMING is not set<br>
&gt;<br>
&gt; Looks realtime to me.. also the latency is really low (5-10ms<br>
&gt; conservatively), much lower than I have experienced on other OS&#39;s, with or<br>
&gt; without realtime. &nbsp;But, if you know something I don&#39;t... I have open ears.<br>
<br>
</div>Nope, you got real-time there, for sure. I was wrong then.<br>
<div><br>
&gt; Ubuntu runs so nicely on a laptop though... would hate to switch after<br>
&gt; finding such an easy-to-operate linux distribution because pd and only pd<br>
&gt; doesn&#39;t like jack in realtime.<br>
&gt;<br>
<br>
</div>Dunno. You&#39;re playing Xrun whack-a-mole. Done that; it&#39;s not fun.<br>
</blockquote></div></div><div><br>Ken, this made me laugh for quite a while.&nbsp; Thank you.<br>&nbsp;</div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>

Here&#39;s what I did to RT-ify my system (on Debian, but Ubuntu is based on it):<br>
<a href="http://www.restivo.org/blog/archives/preparing-a-debian-etch-system-for-audio-use" target="_blank">http://www.restivo.org/blog/archives/preparing-a-debian-etch-system-for-audio-use</a><br>
<br>
Also, I expect you know to use chrt to give the IRQ of your audio interface top priority, higher than JACK and any other process. That&#39;s a crucial step. If I omit that, then I get clicks and pops too, which is why I wrote a script to do it automatically. You could also install and configure the &quot;rtirq&quot; package, which works great too.<br>


<font color="#888888"></font></blockquote></div><div><br>I had it on my last setup, but for got to do it this time.&nbsp; Thanks for reminding me :)&nbsp; Also, as my other post mentions, I sometimes got clicks with pd even with the script.&nbsp; I actually had to change the irq priority of pd to get rid of them, which is bad since it changes all the threads pd has instead of only the scheduler.&nbsp;&nbsp; I would get &quot;I/O stuck... closing audio&quot; all the time.<br>

&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font color="#888888"><br>
-ken<br>
</font></blockquote></div><br>
</blockquote></div><br>