<div style="text-align:left">I finally got some spare time to &quot;fix&quot; my system. I installed arch linux from scratch (3.1 kernel) and the alsa drivers included there work way better than the ones included in ubuntu studio. The distortion is gone and the latency is decent (256 samples). Thanks for the input! :)</div>

<br><br><div class="gmail_quote">On Thu, Nov 3, 2011 at 7:33 AM, Rafael Vega <span dir="ltr">&lt;<a href="mailto:email.rafa@gmail.com" target="_blank">email.rafa@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for the input Daniel, I&#39;ll try this as soon as I reinstall my OS (messed up partitions :P)<br>
<div><div><br>
On Nov 1, 2011, at 5:04 AM, Daniel James wrote:<br>
<br>
&gt; Hi Rafael,<br>
&gt;<br>
&gt;&gt; My laptop is a MacBookPro8,1 with i7 processor, 8GB ram, built-in intel<br>
&gt;&gt; HDA soundcard<br>
&gt;<br>
&gt; For Intel HDA a tweak is often required to get good performance. See:<br>
&gt;<br>
&gt; <a href="http://apps.linuxaudio.org/wiki/intel_hda_realtime_howto" target="_blank">http://apps.linuxaudio.org/wiki/intel_hda_realtime_howto</a><br>
&gt;<br>
&gt; Ignore the kernel recompile part, but note the issue with mixer capture<br>
&gt; switches if using jackd in full duplex mode.<br>
&gt;<br>
&gt;&gt; Codec: Cirrus Logic CS4206<br>
&gt;<br>
&gt; Try adding these options at the end of /etc/modprobe.d/alsa-base.conf<br>
&gt;<br>
&gt; options snd-hda-intel model=mbp55 position_fix=1 enable=1 index=0<br>
&gt;<br>
&gt; The mbp55 value for CS4206 is found near the end of:<br>
&gt;<br>
&gt; <a href="http://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio-Models.txt" target="_blank">http://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio-Models.txt</a><br>
&gt;<br>
&gt; Then reboot and see if JACK performance improves. You should be able to<br>
&gt; get 64 frames/period x 3 periods/buffer @ 48KHz on this hardware.<br>
&gt;<br>
&gt; Cheers!<br>
&gt;<br>
&gt; Daniel<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Rafael Vega<br><a href="mailto:email.rafa@gmail.com" target="_blank">email.rafa@gmail.com</a><br>