<div>You don&#39;t need the realtime-lsm module any more. That has been superceded by rtlimits.</div>
<div>&nbsp;</div>
<div>5ms sounds pretty good to me.. depends what card you are using. I get 20ms (512)&nbsp;for full duplex with SBLive! with no xruns, which is fine for my purposes.</div>
<div>&nbsp;</div>
<div>If you really want to push the envelope with realtime, you need to install the realtime kernel patches, </div>
<div>&nbsp;</div>
<div>see: <a href="http://www.osadl.org/projects-realtime-kernel.0.html">http://www.osadl.org/projects-realtime-kernel.0.html</a></div>
<div>&nbsp;</div>
<div>and <a href="http://people.redhat.com/mingo/realtime-preempt/">http://people.redhat.com/mingo/realtime-preempt/</a></div>
<div>&nbsp;</div>
<div>but it is possible that your sound card might not be able to do this, unless it is a proper audiophile quality one..</div>
<div>&nbsp;</div>
<div>James</div>
<div>&nbsp;</div>
<div><span class="gmail_quote">On 12/20/06, <b class="gmail_sendername">J M Needham</b> &lt;<a href="mailto:J.M.Needham@bath.ac.uk">J.M.Needham@bath.ac.uk</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi all,<br><br>So I&#39;ve just installed Ubuntu 6.09, and followed the instructions on<br><a href="http://fort2.xdas.com/~kor/oss2jack/install.html">
http://fort2.xdas.com/~kor/oss2jack/install.html</a> to install the<br>realtime-lsm module and I&#39;ve added<br>@audio - rtprio 80<br>@audio - memlock 500000<br><br>to /etc/security/limits.conf and set the realtime mode on Jack. Seems ok,
<br>the only thing is that I can&#39;t get below 5.8 ms latency. Jack&#39;s behaving<br>nicely with very few xruns, but won&#39;t do any better. The output of the<br>messages with 32 frames for capture, for example, is:<br>
<br>10:41:35.039 Startup script...<br>10:41:35.039 artsshell -q terminate<br>sound server terminated<br>10:41:35.375 Startup script terminated successfully.<br>10:41:35.381 JACK is starting...<br>10:41:35.382 /usr/bin/jackd -R -u -dalsa -dhw:0 -r44100 -p32 -n2 -S
<br>10:41:35.391 JACK was started with PID=5503 (0x157f).<br>jackd 0.100.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>JACK compiled with System V SHM support.<br>loading driver ..<br>apparent rate = 44100<br>creating alsa driver ... hw:0|hw:0|32|2|44100|0|0|nomon|swmeter|-|16bit
<br>control device hw:0<br>configuring for 44100Hz, period = 32 frames, buffer = 2 periods<br>ALSA: cannot set period size to 32 frames for capture<br>ALSA: cannot configure capture channel<br>cannot load driver module alsa
<br>10:41:35.502 JACK was stopped successfully.<br>10:41:37.430 Could not connect to JACK server as client. Please check the<br>messages window for more info<br><br>And I can&#39;t see anything of any use in here. Any ideas?
<br><br>Jonty<br><br></blockquote></div><br>