Hello All. I have Echo Audiofire 4 and ieee-1394 controller ST-Lab F122(Nec chipset).
When i'm running jack, i have regular xruns(sometimes 1 in minute, sometimes seldom) and jackd crashes(on watchdog timeout).
I Have tried to run jack with highest priority: first, i added this strigs in /etc/security/limits.d/audio.conf:
@audio - rtprio 99
@audio - memlock 1333248 (this value also was "unlimited" - the behaviour is the same)
@audio - nice -20
I have tried difference buffer size( -p1024 -n3; -p2048 -n3; -p1024 -n4 and many others in 44100, 48000, 96000)
I have tried to gain priority of jack with schedtool and nice.
this is ny start script for jack:
#!/bin/sh
/usr/bin/jackd -R -P89 -dfirewire -r96000 -p2048 -n3 & 2>/dev/null
sleep 2;
schedtool -F -p 99 pgrep jackd
renice -20 -p pgrep jackd
It helps, but don't change the situation noticeable.
Then i have played with irq, i added this to script:
for i in pgrep ksoftirqd; do
sudo chrt -f -p 99 $i;
done
It didn't help.
After I have compiled rt kernel 2.6.31 and added an rtirq script.
It didn't help.
My distr: debian lenny.
FFADO and jack - from debian-multimedia.org(unstable)
FFADO - 2.0.0-1
jack - 0.118+snv3796-2
Video card - NV GF7300GT; propriethary drivers 190.42(same on both kernels)
I Have tested nv drivers on rt kernel(on xen kernel nv driver don't work :) ), but nothing changed(see ffado-jack-nv.log)
see below jack logs, ffado-diag, info about irqs on both kernels(2.6.26-xen-amd64 and 2.6.31-rt-amd64).
P.S. Once I have listening the music with audiofire one hour without any xruns, in spite of rt kernel building in this time. But after restart jack i have same old picture.
Have you any ideas to getting audiofire works without xruns?