<div class="gmail_quote"><div class="gmail_quote">Hi there<br>
I have a problem with jack. I have a Edirol fa-101 firewire soundcard on
amd processer (2500+) with 512Mb RAM. If i have low frames/period setting (
128) jack shots down after short time (2 - 20 sec or almost instantly if
I run a program; ardour or openoffice) or if I have a high
frames/period setting (1024) I get xruns.<br><br>I have tried almost every setting possible and tried changing nice values on the firewire card and a lot of other stuff.<br>
<br>
Can anyone help?<br>
<br>
Kind Regards Thomas<br><br><br>
<br>
Here is a uname -a<br>
Linux thomas-laptop 2.6.31-10-rt #153-Ubuntu SMP PREEMPT RT Tue Jan 12
10:42:21 UTC 2010 i686 GNU/Linux<br>
<br>thomas@thomas-laptop:~$ cat .jackdrc <br>/usr/bin/jackd -P82 -t2000 -m -dfirewire -r44100 -p1024 -n3<br><br>
<br>
<br>
First jack messages when framesperiod is 128:<br>
<br>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:32:19.478 Patchbay deactivated.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:32:19.503 Statistics reset.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(102, 204, 153);">13:32:19.713 ALSA connection graph change.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 204, 153);">13:32:20.223 ALSA connection change.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:33:28.994 Startup script...</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 0, 153);">13:33:28.996 artsshell -q terminate</span></p>
<p style="margin: 0px; text-indent: 0px;">sh: artsshell: not found</p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:33:29.400 Startup script terminated with exit
status=32512.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:33:29.401 JACK is starting...</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 0, 153);">13:33:29.402 /usr/bin/jackd -P82 -t2000 -m -dfirewire -r44100
-p128 -n3</span></p>
<p style="margin: 0px; text-indent: 0px;">jackd 0.118.0</p>
<p style="margin: 0px; text-indent: 0px;">Copyright 2001-2009 Paul
Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.</p>
<p style="margin: 0px; text-indent: 0px;">jackd comes with ABSOLUTELY NO
WARRANTY</p>
<p style="margin: 0px; text-indent: 0px;">This is free software, and you
are welcome to redistribute it</p>
<p style="margin: 0px; text-indent: 0px;">under certain conditions; see
the file COPYING for details</p>
<p style="margin: 0px; text-indent: 0px;">Memory locking is unlimited -
this is dangerous. You should probably alter the line:</p>
<p style="margin: 0px; text-indent: 0px;"> @audio - memlock
unlimited</p>
<p style="margin: 0px; text-indent: 0px;">in your /etc/limits.conf to
read:</p>
<p style="margin: 0px; text-indent: 0px;"> @audio - memlock
427074</p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:33:29.436 JACK was started with PID=5101.</span></p>
<p style="margin: 0px; text-indent: 0px;">no message buffer overruns</p>
<p style="margin: 0px; text-indent: 0px;">JACK compiled with System V
SHM support.</p>
<p style="margin: 0px; text-indent: 0px;">loading driver ..</p>
<p style="margin: 0px; text-indent: 0px;">libffado 2.0.0 built Mar 31
2010 14:47:42</p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 51);">13:33:31.527 Server configuration saved to
"/home/thomas/.jackdrc".</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:33:31.531 Statistics reset.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:33:31.534 Client activated.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 204);">13:33:31.537 JACK connection change.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 153, 102);">13:33:31.552 JACK connection graph change.</span></p>
<p style="margin: 0px; text-indent: 0px;">firewire ERR: wait status <
0! (= -1)</p>
<p style="margin: 0px; text-indent: 0px;">DRIVER NT: could not run
driver cycle</p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 153, 102);">13:33:45.166 JACK connection graph change.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 204);">13:33:45.251 JACK connection change.</span></p>
<p style="margin: 0px; text-indent: 0px;">jack main caught signal 12</p>
<p style="margin: 0px; text-indent: 0px;">no message buffer overruns</p>
<p style="margin: 0px; text-indent: 0px;">zombified - calling shutdown
handler</p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 102, 102);">13:33:45.334 Shutdown notification.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:33:45.337 JACK is stopping...</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:33:45.338 JACK is being forced...</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:33:45.539 JACK was stopped successfully.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:33:45.540 Post-shutdown script...</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 0, 153);">13:33:45.541 killall jackd</span></p>
<p style="margin: 0px; text-indent: 0px;">jackd: no process found</p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:33:45.958 Post-shutdown script terminated with exit
status=256.</span></p><br>
<br>
Second when framesperiod is 1024:<br>
<br>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:35:54.240 Patchbay deactivated.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:35:54.259 Statistics reset.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(102, 204, 153);">13:35:54.375 ALSA connection graph change.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 204, 153);">13:35:54.762 ALSA connection change.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:37:02.730 Startup script...</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 0, 153);">13:37:02.731 artsshell -q terminate</span></p>
<p style="margin: 0px; text-indent: 0px;">sh: artsshell: not found</p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:37:03.137 Startup script terminated with exit
status=32512.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:37:03.138 JACK is starting...</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 0, 153);">13:37:03.139 /usr/bin/jackd -P82 -t2000 -m -dfirewire -r44100
-p1024 -n3</span></p>
<p style="margin: 0px; text-indent: 0px;">jackd 0.118.0</p>
<p style="margin: 0px; text-indent: 0px;">Copyright 2001-2009 Paul
Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.</p>
<p style="margin: 0px; text-indent: 0px;">jackd comes with ABSOLUTELY NO
WARRANTY</p>
<p style="margin: 0px; text-indent: 0px;">This is free software, and you
are welcome to redistribute it</p>
<p style="margin: 0px; text-indent: 0px;">under certain conditions; see
the file COPYING for details</p>
<p style="margin: 0px; text-indent: 0px;">Memory locking is unlimited -
this is dangerous. You should probably alter the line:</p>
<p style="margin: 0px; text-indent: 0px;"> @audio - memlock
unlimited</p>
<p style="margin: 0px; text-indent: 0px;">in your /etc/limits.conf to
read:</p>
<p style="margin: 0px; text-indent: 0px;"> @audio - memlock
427074</p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:37:03.176 JACK was started with PID=5140.</span></p>
<p style="margin: 0px; text-indent: 0px;">no message buffer overruns</p>
<p style="margin: 0px; text-indent: 0px;">JACK compiled with System V
SHM support.</p>
<p style="margin: 0px; text-indent: 0px;">loading driver ..</p>
<p style="margin: 0px; text-indent: 0px;">libffado 2.0.0 built Mar 31
2010 14:47:42</p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 51);">13:37:05.304 Server configuration saved to
"/home/thomas/.jackdrc".</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:37:05.319 Statistics reset.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 153);">13:37:05.346 Client activated.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 153, 102);">13:37:05.373 JACK connection graph change.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 153, 102);">13:37:06.047 JACK connection graph change.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(153, 153, 204);">13:37:06.240 JACK connection change.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 102, 204);">13:37:09.708 XRUN callback (1).</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 102, 204);">13:37:15.710 XRUN callback (2).</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 102, 204);">13:37:45.718 XRUN callback (3).</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 102, 204);">13:38:09.713 XRUN callback (4).</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 102, 204);">13:38:15.718 XRUN callback (5).</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 102, 204);">13:38:39.713 XRUN callback (6).</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 102, 204);">13:38:45.716 XRUN callback (7).</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 102, 204);">13:39:09.711 XRUN callback (8).</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 102, 204);">13:39:15.714 XRUN callback (9).</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 102, 204);">13:39:39.713 XRUN callback (10).</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 102, 204);">13:39:45.714 XRUN callback (11).</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 102, 204);">13:40:09.711 XRUN callback (12).</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 102, 204);">13:40:15.713 XRUN callback (13).</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 102, 204);">13:40:45.722 XRUN callback (14).</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 102, 204);">13:41:09.715 XRUN callback (15).</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 102, 204);">13:41:15.720 XRUN callback (16).</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(204, 102, 204);">13:41:45.707 XRUN callback (17).</span></p><br>
<br>
<br>
<br>
<br>
thomas@thomas-laptop:~$ cat /proc/cpuinfo <br>
processor : 0<br>
vendor_id : AuthenticAMD<br>
cpu family : 6<br>
model : 10<br>
model name : Mobile AMD Athlon(tm) XP 2500+<br>
stepping : 0<br>
cpu MHz : 1855.000<br>
cache size : 512 KB<br>
fdiv_bug : no<br>
hlt_bug : no<br>
f00f_bug : no<br>
coma_bug : no<br>
fpu : yes<br>
fpu_exception : yes<br>
cpuid level : 1<br>
wp : yes<br>
flags : fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov pat
pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow up<br>
bogomips : 3710.02<br>
clflush size : 32<br>
power management: ts fid vid<br>
<br>
<br>
Here is cat/proc interrupts CPU0 <br>
0: 7412489 XT-PIC-XT timer<br>
1: 5159 XT-PIC-XT i8042<br>
2: 0 XT-PIC-XT cascade<br>
3: 1 XT-PIC-XT <br>
4: 1 XT-PIC-XT <br>
5: 1 XT-PIC-XT <br>
6: 1 XT-PIC-XT <br>
7: 1 XT-PIC-XT <br>
8: 0 XT-PIC-XT rtc0<br>
9: 1969 XT-PIC-XT acpi<br>
10: 445734 XT-PIC-XT ohci1394, yenta,
radeon@pci:0000:01:05.0<br>
11: 32807 XT-PIC-XT ehci_hcd:usb1, ohci_hcd:usb2,
ohci_hcd:usb3, eth0, ALI 5451<br>
12: 292660 XT-PIC-XT i8042<br>
14: 35966 XT-PIC-XT pata_ali<br>
15: 111856 XT-PIC-XT pata_ali<br>
NMI: 0 Non-maskable interrupts<br>
LOC: 0 Local timer interrupts<br>
SPU: 0 Spurious interrupts<br>
CNT: 0 Performance counter interrupts<br>
PND: 0 Performance pending work<br>
RES: 0 Rescheduling interrupts<br>
CAL: 0 Function call interrupts<br>
TLB: 0 TLB shootdowns<br>
TRM: 0 Thermal event interrupts<br>
THR: 0 Threshold APIC interrupts<br>
MCE: 0 Machine check exceptions<br>
MCP: 25 Machine check polls<br>
ERR: 0<br>
MIS: 0<br><u><br>My Firewire card:</u><br>
thomas@thomas-laptop:~$ lspci | grep Fire<br>00:0a.1 FireWire (IEEE 1394): Texas Instruments PCI4410 FireWire Controller (rev 02)<br><br><u>Htop:</u><br> RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0<br> 13 root RT -5 0 0 0 S 0.0 0.0 0:00.00 posixcputmr/0<br>
14 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0<br> 4565 thomas -93 0 89936 8016 6000 S 0.0 1.4 0:00.00 /usr/bin/jackd -P82 -t2000 -m -dfirewire -r44100 -p1024 -n3<br> 643 root -91 -5 0 0 0 S 0.0 0.0 0:00.00 irq/8-rtc0<br>
4562 thomas -84 0 89936 8016 6000 S 7.0 1.4 0:04.03 /usr/bin/jackd -P82 -t2000 -m -dfirewire -r44100 -p1024 -n3<br> 4566 thomas -83 0 89936 8016 6000 S 1.0 1.4 0:00.84 /usr/bin/jackd -P82 -t2000 -m -dfirewire -r44100 -p1024 -n3<br>
4563 thomas -82 0 89936 8016 6000 S 6.0 1.4 0:03.65 /usr/bin/jackd -P82 -t2000 -m -dfirewire -r44100 -p1024 -n3<br> 603 root -81 -5 0 0 0 S 0.0 0.0 0:00.00 irq/11-ehci_hcd<br> 608 root -81 -5 0 0 0 S 0.0 0.0 0:00.00 irq/11-ohci_hcd<br>
612 root -80 -5 0 0 0 S 0.0 0.0 0:00.00 irq/11-ohci_hcd<br> 4570 thomas -78 0 68688 22936 17744 S 0.0 4.0 0:00.19 /usr/bin/qjackctl.bin<br> 629 root -76 -5 0 0 0 S 0.0 0.0 0:00.03 irq/1-i8042<br>
628 root -75 -5 0 0 0 S 0.0 0.0 0:01.00 irq/12-i8042<br> 517 root -51 -5 0 0 0 S 0.0 0.0 0:00.04 irq/14-pata_ali<br> 518 root -51 -5 0 0 0 S 0.0 0.0 0:00.09 irq/15-pata_ali<br>
187 root -51 -5 0 0 0 S 0.0 0.0 0:00.00 irq/9-acpi<br> 853 root -51 -5 0 0 0 S 0.0 0.0 0:00.42 irq/10-ohci1394<br> 3571 root -51 -5 0 0 0 S 0.0 0.0 0:00.31 irq/10-yenta<br>
3648 root -51 -5 0 0 0 S 0.0 0.0 0:00.00 irq/11-ALI 5451<br> 3708 root -51 -5 0 0 0 S 0.0 0.0 0:00.00 irq/11-eth0<br> 4091 root -51 -5 0 0 0 S 0.0 0.0 0:00.22 irq/10-radeon@p<br>
5 root -50 -5 0 0 0 S 0.0 0.0 0:01.52 sirq-timer/0<br> 8 root -50 -5 0 0 0 S 0.0 0.0 0:00.26 sirq-block/0<br> 12 root -50 -5 0 0 0 S 0.0 0.0 0:00.22 sirq-rcu/0<br>
4 root -50 -5 0 0 0 S 0.0 0.0 0:00.00 sirq-high/0<br> 6 root -50 -5 0 0 0 S 0.0 0.0 0:00.00 sirq-net-tx/0<br> 7 root -50 -5 0 0 0 S 0.0 0.0 0:00.00 sirq-net-rx/0<br>
9 root -50 -5 0 0 0 S 3.0 0.0 0:01.81 sirq-tasklet/0<br> 10 root -50 -5 0 0 0 S 0.0 0.0 0:00.00 sirq-sched/0<br> 11 root -50 -5 0 0 0 S 0.0 0.0 0:00.00 sirq-hrtimer/0<br>
17 root -2 -5 0 0 0 S 0.0 0.0 0:00.06 events/0<br> 4561 thomas -2 0 89936 8016 6000 S 0.0 1.4 0:00.00 /usr/bin/jackd -P82 -t2000 -m -dfirewire -r44100 -p1024 -n3<br><br>
<br>
<br>
</div><br>
</div><br>