<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Modartt user forum - Bad performance with JACK in Linux]]></title>
	<link rel="self" href="https://forum.modartt.com/extern.php?action=feed&amp;tid=1962&amp;type=atom"/>
	<updated>2011-06-17T17:29:10Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.modartt.com/viewtopic.php?id=1962</id>
		<entry>
			<title type="html"><![CDATA[Re: Bad performance with JACK in Linux]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=17698#p17698"/>
			<content type="html"><![CDATA[<p>Hi Julien,</p><p>I *really* appreciate the prompt reply!</p><p>Finally, some joy in my situation! PianoTeq is performing beautifully and not choking anymore; performance is as good as ALSA alone right now, it seems!</p><p>What worked for me is disabling &#039;CPU overload detection&#039;. I had already disabled &#039;multicore&#039; in the same &#039;Performance dialog&#039;, and just to be extra sure, I took all of my WIFI connections offline, as well as unloading the drivers for wireless all together while I played (in this case, it was &#039;ndiswrapper&#039;). I don&#039;t think it was causing a problem, but every extra thing that eats CPU or memory that I don&#039;t need while playing doesn&#039;t hurt to take offline.</p><p>Just FYI, for anyone who can find the information useful, my setup:</p><p>* ASUS EEEPC 1000HE<br />* Lexicon Lambda outboard USB sound interface, IRQ made RT priority with &#039;chrt -p 99 XXXX&#039;, XXXX being the process ID of the IRQ handling the USB sound interface, found with &#039;cat /proc/interrupts&#039; and &#039;lsusb&#039; <br />* Arch Linux, which I recommend over Ubuntu anyday for minimalists who want to squeeze every last drop of bloat (and thus benefit performance) out of their boxes.<br />* output of &#039;uname -a&#039; : Linux myhost 2.6.33-rt #1 SMP PREEMPT RT Sat Aug 7 09:40:44 UTC 2010 i686 Intel(R) Atom(TM) CPU N280 @ 1.66GHz GenuineIntel GNU/Linux<br />* output of &#039;jackd -V&#039;: jackd version 0.120.2 tmpdir /dev/shm protocol 24<br />* jackd command: &#039;jackd -dalsa -r44100 -p128 -n3&#039;</p><p>I&#039;ve heard that many USB interfaces seem to need 3 soft buffer periods per hardware buffer periods (&#039;-n3&#039; in the jackd command above). I knew this already, and that wasn&#039;t my issue, but I&#039;m just saying this to other folks who may have problems with outboard USB sound interfaces, that I&#039;ve found it to be true in the case of the Lexicon Lambda: it would choke and bleed xruns on things like &#039;-p256 -n2&#039; but I got as low as &#039;-p64 -n3&#039;, no problem! In this case, since I&#039;m prepping for a live situation, I&#039;m doubling everything from the lowest possible latency setting by default for insurance (&#039;-p128&#039; instead of &#039;-p64&#039;) because I can&#039;t afford a hard lock or crash in the show....</p><p>Thanks again!</p><p>AKJ</p>]]></content>
			<author>
				<name><![CDATA[Aaron Krister]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2133</uri>
			</author>
			<updated>2011-06-17T17:29:10Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=17698#p17698</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Bad performance with JACK in Linux]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=17688#p17688"/>
			<content type="html"><![CDATA[<p>Hi Aaron,</p><p>You did not give enough informations about your setup: cpu type, jack version, jack configuration (buffer size, sample rate, number of frames/period), and your Linux distribution. Also make sure that you have followed the &quot;README_LINUX.txt&quot; recommandations (especially those regarding cpu-freq and real-time priviledges)</p><p>If you are using jackd 2.x I would recommand to try jackd 1.x instead and see if there is less xruns -- especially on ubuntu 11.04.</p><p>Check the audio load curve in the pianoteq options / perf panel , is it relatively smooth or spiky (a screenshot would help, feel free to send it to <a href="http://www.pianoteq.com/support_form?direct">http://www.pianoteq.com/support_form?direct</a> )</p><p>Have you checked this thread: <a href="http://www.forum-pianoteq.com/viewtopic.php?id=1927">http://www.forum-pianoteq.com/viewtopic.php?id=1927</a> ? In that case the solution was to disable the wifi.</p>]]></content>
			<author>
				<name><![CDATA[julien]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2</uri>
			</author>
			<updated>2011-06-17T07:30:18Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=17688#p17688</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Bad performance with JACK in Linux]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=17684#p17684"/>
			<content type="html"><![CDATA[<p>Hi,</p><p>I hope the developers are listening....with Pianoteq, I&#039;ve experienced what is usually the reverse situation in most sound applications under Linux: better performance with ALSA alone than with the JACK low-latency server.</p><p>This is *extremely* frustrating to me, I&#039;ve spent at least 6 hours now trying to configure my system to use ALSA alone for an upcoming performance, for which I specifically bought Pianoteq. However, PianoTeq doesn&#039;t play nice with ALSA&#039;s &quot;dmix&quot; plugin, grabbing and holding the soundcard, and blocking any other apps from streaming audio to the soundcard. I need to be able to move quickly from one sound to another in this show, performing piano and harpsichord under PT, then playing a wav file, etc.</p><p>So, my situation is: PT performs nearly flawlessly under ALSA w/o JACK, but terribly with JACK, producing a horribly broken and xrun-ridden sound.</p><p>Apparently, if the developers had programmed PT to use ALSA in the standard way, using the &quot;dmix&quot; plugin instead of JACK would have worked. But right now, no joy.</p><p>Has anyone experienced this?</p><p>I feel like I&#039;ve been ripped off: this is supposed to be a flawless piece of software, and I paid good money for it. Maybe I can ask for a refund and just go back to using samples for now <i class="far fa-frown smiley"></i></p><p>AKJ</p>]]></content>
			<author>
				<name><![CDATA[Aaron Krister]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2133</uri>
			</author>
			<updated>2011-06-16T19:56:31Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=17684#p17684</id>
		</entry>
</feed>
