I recently acquired a Saffire pro 26. I used to have a simple Behringer usb interface whuch was working like a charm. However with the fancy saffire, I have an incredible number of Xrun (every few seconds) on what I believe is a fairly good configuration (dual 6 core xeon with 96Gb ram). After having read plenty on the subject I cannot find any reason why these happen.
Some details:
The kind of messages I get:Ubuntu 16.04.03 LTS
Kernel 4.4.0-21-lowlatency
User in audiogroup
I use pulseaudio jack sink.
I share the IRQ of the firewire with a USB bus which is not in use (I actually have deactivated it from the Bios at some point)Fri May 25 20:21:25 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 4 fd = 71
20:21:28.418 XRUN callback (109).
Jack: JackClient::ClientNotify ref = 3 name = qjackctl notify = 3
Jack: JackClient::kXRunCallback
Fri May 25 20:21:28 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 57
Fri May 25 20:21:28 2018: Jack: JackRequest::Notification
Fri May 25 20:21:28 2018: Jack: JackEngine::ClientNotify: no callback for notification = 3
Fri May 25 20:21:28 2018: Jack: JackEngine::ClientNotify: no callback for notification = 3
Fri May 25 20:21:28 2018: Jack: JackClient::ClientNotify ref = 2 name = dbusapi notify = 3
Fri May 25 20:21:28 2018: Jack: JackClient::kXRunCallback
Fri May 25 20:21:28 2018: Jack: JackExternalClient::ClientNotify ref = 3 client = qjackctl name = qjackctl notify = 3
Fri May 25 20:21:28 2018: Jack: JackEngine::ClientNotify: no callback for notification = 3
Fri May 25 20:21:28 2018: Jack: JackEngine::ClientNotify: no callback for notification = 3
Fri May 25 20:21:28 2018: Jack: FFADO XRun
Fri May 25 20:21:28 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 58
Fri May 25 20:21:28 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 3 fd = 63
Fri May 25 20:21:28 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 4 fd = 71
20:21:29.726 XRUN callback (110).
Jack: JackClient::ClientNotify ref = 3 name = qjackctl notify = 3
Jack: JackClient::kXRunCallback
Fri May 25 20:21:29 2018: Jack: FFADO XRun
Fri May 25 20:21:29 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 57
Fri May 25 20:21:29 2018: Jack: JackRequest::Notification
Fri May 25 20:21:29 2018: Jack: JackEngine::ClientNotify: no callback for notification = 3
Fri May 25 20:21:29 2018: Jack: JackEngine::ClientNotify: no callback for notification = 3
Fri May 25 20:21:29 2018: Jack: JackClient::ClientNotify ref = 2 name = dbusapi notify = 3
Fri May 25 20:21:29 2018: Jack: JackClient::kXRunCallback
Fri May 25 20:21:29 2018: Jack: JackExternalClient::ClientNotify ref = 3 client = qjackctl name = qjackctl notify = 3
Fri May 25 20:21:29 2018: Jack: JackEngine::ClientNotify: no callback for notification = 3
Fri May 25 20:21:29 2018: Jack: JackEngine::ClientNotify: no callback for notification = 3
Fri May 25 20:21:29 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 58
Fri May 25 20:21:29 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 3 fd = 63
Fri May 25 20:21:29 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 4 fd = 71
20:21:30.945 XRUN callback (111).
Jack: JackClient::ClientNotify ref = 3 name = qjackctl notify = 3
Jack: JackClient::kXRunCallback
Fri May 25 20:21:30 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 57
Fri May 25 20:21:30 2018: Jack: FFADO XRun
Fri May 25 20:21:30 2018: Jack: JackRequest::Notification
Fri May 25 20:21:30 2018: Jack: JackEngine::ClientNotify: no callback for notification = 3
Fri May 25 20:21:30 2018: Jack: JackEngine::ClientNotify: no callback for notification = 3
Fri May 25 20:21:30 2018: Jack: JackClient::ClientNotify ref = 2 name = dbusapi notify = 3
Fri May 25 20:21:30 2018: Jack: JackClient::kXRunCallback
Fri May 25 20:21:30 2018: Jack: JackExternalClient::ClientNotify ref = 3 client = qjackctl name = qjackctl notify = 3
Fri May 25 20:21:30 2018: Jack: JackEngine::ClientNotify: no callback for notification = 3
Fri May 25 20:21:30 2018: Jack: JackEngine::ClientNotify: no callback for notification = 3
Fri May 25 20:21:30 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 58
Fri May 25 20:21:30 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 3 fd = 63
Fri May 25 20:21:30 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 4 fd = 71
20:21:31.041 XRUN callback (1 skipped).
Fri May 25 20:21:40 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 57
Fri May 25 20:21:40 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 58
Fri May 25 20:21:40 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 3 fd = 63
Fri May 25 20:21:40 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 4 fd = 71
Fri May 25 20:21:50 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 57
Fri May 25 20:21:50 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 58
Fri May 25 20:21:50 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 3 fd = 63
Fri May 25 20:21:50 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 4 fd = 71
Fri May 25 20:22:00 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 57
Fri May 25 20:22:00 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 58
Fri May 25 20:22:00 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 3 fd = 63
Fri May 25 20:22:00 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 4 fd = 71
Fri May 25 20:22:10 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 57
Fri May 25 20:22:10 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 58
Fri May 25 20:22:10 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 3 fd = 63
Fri May 25 20:22:10 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 4 fd = 71
Fri May 25 20:22:20 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 57
Fri May 25 20:22:20 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 58
Fri May 25 20:22:20 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 3 fd = 63
Fri May 25 20:22:20 2018: Jack: JackSocketServerChannel::Execute : fPollTable i = 4 fd = 71
Any suggestion?
Thanks in advance
Edit: I am adding some more information about the config of jack
Driver is set on firewire
Sampling 48 KHz
512 frames
3 cycles
priority 70
rest is by default.
I have the script to get the bridge with pulseaudio working with Qjackctl
Nothing in dmesg that shows anything abnormal.
ffado diagnostics gives these outdated outputs. I don't find up to date info on PKG_CONFIG_PATH
$ ffado-diag
FFADO diagnostic utility 2.3.9999
============================
(C) 2008 Pieter Palmers
2009-2010 Arnold Krille
=== CHECK ===
Base system...
kernel version............ 4.4.0-21-lowlatency
Preempt (low latency)... True
RT patched.............. False
old 1394 stack present.... False
old 1394 stack loaded..... False
old 1394 stack active..... False
new 1394 stack present.... True
new 1394 stack loaded..... True
new 1394 stack active..... True
/dev/raw1394 node present. False
/dev/fw* permissions:
crw------- 1 root root 246, 0 May 25 17:57 /dev/fw0
crw-rw----+ 1 root audio 246, 1 May 25 17:57 /dev/fw1
User IDs:
uid=1000(julien) gid=1000(julien) groups=1000(julien),4(adm),24(cdrom),27(sudo),29(audio),30(dip),46(plugdev),112(lpadmin),124(sambashare)
Prerequisites (dynamic at run-time)...
gcc ............... gcc (Ubuntu 5.4.0-6ubuntu1~16.04.6) 5.4.0 20160609
g++ ............... g++ (Ubuntu 5.4.0-6ubuntu1~16.04.6) 5.4.0 20160609
PyQt4 (by pyuic4) . sh: 1: pyuic4: not found
jackd ............. jackdmp version 1.9.12 tmpdir /dev/shm protocol 8
path ............ /usr/bin/jackd
flags ........... Package jack was not found in the pkg-config search path.
Perhaps you should add the directory containing `jack.pc'
to the PKG_CONFIG_PATH environment variable
No package 'jack' found
libraw1394 ........ Package libraw1394 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libraw1394.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libraw1394' found
flags ........... Package libraw1394 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libraw1394.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libraw1394' found
libavc1394 ........ Package libavc1394 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavc1394.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavc1394' found
flags ........... Package libavc1394 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavc1394.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavc1394' found
libiec61883 ....... Package libiec61883 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libiec61883.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libiec61883' found
flags ........... Package libiec61883 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libiec61883.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libiec61883' found
libxml++-2.6 ...... Package libxml++-2.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml++-2.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml++-2.6' found
flags ........... Package libxml++-2.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml++-2.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml++-2.6' found
dbus-1 ............ Package dbus-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-1' found
flags ........... Package dbus-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-1' found
Prerequisites (static at compile-time)...
gcc ............... gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
g++ ............... g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
PyQt4 (by pyuic4) . Python User Interface Compiler 4.11.4 for Qt version 4.8.7
jackd ............. sh: 1: jackd: not found
path ............
flags ........... Package jack was not found in the pkg-config search path.
libraw1394 ........ 2.1.1
flags ........... -lraw1394
libavc1394 ........ Package libavc1394 was not found in the pkg-config search path.
flags ........... Package libavc1394 was not found in the pkg-config search path.
libiec61883 ....... 1.2.0
flags ........... -liec61883 -lraw1394
libxml++-2.6 ...... 2.40.1
flags ........... -std=c++11 -I/usr/include/libxml++-2.6 -I/usr/lib/x86_64-linux-gnu/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lglib-2.0 -lsigc-2.0
dbus-1 ............ 1.10.6
flags ........... -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -ldbus-1
uname -a...
Linux Chalk-Geophysics 4.4.0-21-lowlatency #37-Ubuntu SMP PREEMPT Mon Apr 18 20:20:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Hardware...
Host controllers:
07:0a.0 FireWire (IEEE 1394) [0c00]: Texas Instruments TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx] [104c:8023] (prog-if 10 [OHCI])
Subsystem: Dell TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx] [1028:026d]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (500ns min, 1000ns max), Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 18
Region 0: Memory at f3afb000 (32-bit, non-prefetchable) [size=2K]
Region 1: Memory at f3afc000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: firewire_ohci
Kernel modules: firewire_ohci
CPU info:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 24
On-line CPU(s) list: 0-23
Thread(s) per core: 2
Core(s) per socket: 6
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 44
Model name: Intel(R) Xeon(R) CPU E5645 @ 2.40GHz
Stepping: 2
CPU MHz: 1596.000
CPU max MHz: 2395.0000
CPU min MHz: 1596.0000
BogoMIPS: 4787.80
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 12288K
NUMA node0 CPU(s): 0-5,12-17
NUMA node1 CPU(s): 6-11,18-23
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 popcnt aes lahf_lm epb tpr_shadow vnmi flexpriority ept vpid dtherm ida arat
Configuration...
IRQ information
Hardware Interrupts:
--------------------
IRQ 0: PID: None, count: [266, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['2-edge timer']
IRQ 1: PID: None, count: [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['1-edge i8042']
IRQ 8: PID: None, count: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['8-edge rtc0']
IRQ 9: PID: None, count: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['9-fasteoi acpi']
IRQ 12: PID: None, count: [4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['12-edge i8042']
IRQ 16: PID: None, count: [17944, 0, 0, 0, 0, 0, 97235, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['16-fasteoi uhci_hcd:usb3', 'ioc0']
IRQ 17: PID: None, count: [715, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['17-fasteoi uhci_hcd:usb4', 'uhci_hcd:usb7']
IRQ 18: PID: None, count: [85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6825270, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['18-fasteoi uhci_hcd:usb8', 'firewire_ohci']
IRQ 22: PID: None, count: [139, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 190422, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['22-fasteoi ehci_hcd:usb1', 'uhci_hcd:usb5']
IRQ 23: PID: None, count: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['23-fasteoi ehci_hcd:usb2', 'uhci_hcd:usb6']
IRQ 26: PID: None, count: [100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6450, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['512000-edge ahci0']
IRQ 27: PID: None, count: [115, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 125, 0, 0], Sched None (priority None), drivers: ['512001-edge ahci1']
IRQ 28: PID: None, count: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['512002-edge ahci2']
IRQ 31: PID: None, count: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['512005-edge ahci5']
IRQ 43: PID: None, count: [565, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['442368-edge snd_hda_intel']
IRQ 44: PID: None, count: [475, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['10-fasteoi snd_hda_intel']
IRQ 45: PID: None, count: [116, 0, 0, 0, 0, 0, 0, 0, 0, 54610, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['3145728-edge enp6s0']
IRQ 46: PID: None, count: [90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 836456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['1572864-edge nvidia']
IRQ 72: PID: None, count: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['0-edge dmar0']
IRQ 73: PID: None, count: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['1-edge dmar1']
Software Interrupts:
--------------------
=== REPORT ===
FireWire kernel drivers:
The new FireWire kernel stack is loaded.
If running a kernel earlier than 2.6.37 and problems are experienced, either
try with the old Firewire kernel stack or upgrade to a newer kernel
(preferrably 2.6.37 or later).