I just wanted to report that I finally have joy regarding the
Pianoteq/JACK issues I've been plagued by!
What worked for me is disabling 'CPU overload detection' (in
Pianoteq). I had already disabled 'multicore' in the same 'Performance
dialog', 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 'ndiswrapper'). I don't think it
was causing a problem, but every extra thing that eats CPU or memory
that I don't need while playing doesn't hurt to take offline.
Just FYI, for anyone who can find the information useful, my setup:
* ASUS EEEPC 1000HE
* Lexicon Lambda outboard USB sound interface, IRQ made RT priority
with 'chrt -p 99 XXXX', XXXX being the process ID of the IRQ handling
the USB sound interface, found with 'cat /proc/interrupts' and 'lsusb'
* 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.
* output of 'uname -a' : 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
* output of 'jackd -V': jackd version 0.120.2 tmpdir /dev/shm protocol 24
* jackd command: 'jackd -dalsa -r44100 -p128 -n3'
I've heard that many USB interfaces seem to need 3 soft buffer periods
per hardware buffer periods ('-n3' in the jackd command above). I knew
this already, and that wasn't my issue, but I'm just saying this to
other folks who may have problems with outboard USB sound interfaces,
that I've found it to be true in the case of the Lexicon Lambda: it
would choke and bleed xruns on things like '-p256 -n2' but I got as
low as '-p64 -n3', no problem! In this case, since I'm prepping for a
live situation, I'm doubling everything from the lowest possible
latency setting by default for insurance ('-p128' instead of '-p64')
because I can't afford a hard lock or crash in the show....
On Sun, Jun 12, 2011 at 2:40 AM, Aaron Krister Johnson
Aaron Krister Johnson
Linux-audio-user mailing list