You are not logged in.

#1 2015-09-26 22:05:09

phste
Member
Registered: 2015-09-26
Posts: 3

Jack stopped working with firewire soundcard since kernel 4.1.8

Hi,

I recently installed a fresh Arch x64 onto my computer. I started to use the system with the linux-lts kernel, which was version 3.14 then.

Connected to my computer I have a Focusrite Saffire Pro 40. The card was used by jack2 and then piped to pulseaudio with the module "pulseaudio-jack".
Everything worked fine until linux-lts was updated to kernel verison 4.1.8. Since then jack is not starting with the exact same configuration, which is basically the standard configuration for any firewire card.

This is the output when I try to start jack with qjackctl.

 
23:51:45.330 /usr/bin/jackd -v -dfirewire -r48000 -p16 -n3
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
23:51:45.344 JACK was started with PID=3185.
no message buffer overruns
no message buffer overruns
no message buffer overruns
jackdmp 1.9.10
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2014 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
Jack: JackPosixThread::StartImp : create non RT thread
Jack: JackPosixThread::ThreadHandler : start
Jack: JackDriver::Open capture_driver_name = 
Jack: JackDriver::Open playback_driver_name = 
Jack: Check protocol client = 8 server = 8
Jack: JackEngine::ClientInternalOpen: name = system
Jack: JackEngine::AllocateRefNum ref = 0
Jack: JackPosixSemaphore::Allocate name = jack_sem.1000_default_system val = 0
Jack: JackEngine::NotifyAddClient: name = system
Jack: JackGraphManager::SetBufferSize size = 16
Jack: JackConnectionManager::DirectConnect first: ref1 = 0 ref2 = 0
Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
Jack: JackDriver::SetupDriverSync driver sem in flush mode
Jack: JackSocketServerChannel::Open
Jack: JackServerSocket::Bind : addr.sun_path /dev/shm/jack_default_1000_0
Jack: JackSocketServerChannel::BuildPoolTable size = 1
Jack: JackEngine::Open
Jack: JackClientSocket::Connect : addr.sun_path /dev/shm/jack_default_1000_0
Jack: JackEngine::ClientInternalOpen: name = freewheel
Jack: JackEngine::AllocateRefNum ref = 1
Jack: JackPosixSemaphore::Allocate name = jack_sem.1000_default_freewheel val = 0
Jack: JackEngine::NotifyAddClient: name = freewheel
Jack: JackDriver::ClientNotify ref = 1 driver = system name = freewheel notify = 0
Jack: JackDriver::ClientNotify ref = 0 driver = freewheel name = system notify = 0
Jack: JackConnectionManager::DirectConnect first: ref1 = 1 ref2 = 1
Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 1 ref2 = 1
Jack: JackDriver::SetupDriverSync driver sem in flush mode
Jack: JackFFADODriver::Attach fBufferSize 16 fSampleRate 48000
1443304305427083:  (ffado.cpp)[  92] ffado_streaming_init: libffado 2.2.1-Unversioned directory built Apr 29 2015 09:24:36
01587504905: [31mWarning (dice_eap.cpp)[1811] read: No routes found. Base 0x7, offset 0x4000
[0m01587543287:  (dice_avdevice.cpp)[ 706] showDevice:  DICE Parameter Space info:
01587543311:  (dice_avdevice.cpp)[ 707] showDevice:   Global  : offset=0x0028 size=0360
01587543323:  (dice_avdevice.cpp)[ 708] showDevice:   TX      : offset=0x0190 size=0568
01587543330:  (dice_avdevice.cpp)[ 709] showDevice:                 nb=   2 size=0280
01587543339:  (dice_avdevice.cpp)[ 710] showDevice:   RX      : offset=0x03C8 size=1128
01587543346:  (dice_avdevice.cpp)[ 711] showDevice:                 nb=   2 size=0280
01587543355:  (dice_avdevice.cpp)[ 712] showDevice:   UNUSED1 : offset=0x0830 size=0016
01587543362:  (dice_avdevice.cpp)[ 713] showDevice:   UNUSED2 : offset=0x0000 size=0000
01587543372:  (dice_avdevice.cpp)[ 715] showDevice:  Global param space:
01587544845:  (dice_avdevice.cpp)[ 718] showDevice:   Owner            : 0x00000000FFC10001
01587546223:  (dice_avdevice.cpp)[ 721] showDevice:   Notification     : 0x00000010
01587549573:  (dice_avdevice.cpp)[ 724] showDevice:   Nick name        : Pro40-003770
01587551173:  (dice_avdevice.cpp)[ 728] showDevice:   Clock Select     : 0x02 0x0C
01587552526:  (dice_avdevice.cpp)[ 732] showDevice:   Enable           : false
01587554179:  (dice_avdevice.cpp)[ 736] showDevice:   Clock Status     : locked 0x02
01587555562:  (dice_avdevice.cpp)[ 739] showDevice:   Extended Status  : 0x00000000
01587557189:  (dice_avdevice.cpp)[ 742] showDevice:   Samplerate       : 0x0000BB80 (48000)
01587559661:  (dice_avdevice.cpp)[ 745] showDevice:   Version          : 0x01000400
01587561355:  (dice_avdevice.cpp)[ 754] showDevice:   Version          : 0x01000400 (1.0.4.0)
01587562935:  (dice_avdevice.cpp)[ 757] showDevice:   Clock caps       : 0x1325001E
01587564556:  (dice_avdevice.cpp)[ 760] showDevice:   Clock sources    :
01587564566:  (dice_avdevice.cpp)[ 766] showDevice:     SPDIF
01587564574:  (dice_avdevice.cpp)[ 766] showDevice:     AES34
01587564576:  (dice_avdevice.cpp)[ 766] showDevice:     SPDIF-OPT
01587564580:  (dice_avdevice.cpp)[ 766] showDevice:     AES78
01587564581:  (dice_avdevice.cpp)[ 766] showDevice:     AES-ANY
01587564584:  (dice_avdevice.cpp)[ 766] showDevice:     ADAT
01587564586:  (dice_avdevice.cpp)[ 766] showDevice:     ADAT_AUX
01587564590:  (dice_avdevice.cpp)[ 766] showDevice:     Word Clock
01587564592:  (dice_avdevice.cpp)[ 766] showDevice:     Unused
01587564594:  (dice_avdevice.cpp)[ 766] showDevice:     Unused
01587564596:  (dice_avdevice.cpp)[ 766] showDevice:     Unused
01587564599:  (dice_avdevice.cpp)[ 766] showDevice:     Unused
01587564600:  (dice_avdevice.cpp)[ 766] showDevice:     Internal
01587564603:  (dice_avdevice.cpp)[ 769] showDevice:  TX param space:
01587564604:  (dice_avdevice.cpp)[ 770] showDevice:   Nb of xmit        : 2
01587564609:  (dice_avdevice.cpp)[ 772] showDevice:   Transmitter 0:
01587566102:  (dice_avdevice.cpp)[ 775] showDevice:    ISO channel       :  -1
01587567492:  (dice_avdevice.cpp)[ 777] showDevice:    ISO speed         :   2
01587569460:  (dice_avdevice.cpp)[ 780] showDevice:    Nb audio channels :  10
01587571070:  (dice_avdevice.cpp)[ 782] showDevice:    Nb midi channels  :   1
01587572442:  (dice_avdevice.cpp)[ 785] showDevice:    AC3 caps          : 0x00000000
01587574079:  (dice_avdevice.cpp)[ 787] showDevice:    AC3 enable        : 0x00000000
01587575898:  (dice_avdevice.cpp)[ 790] showDevice:    Channel names     :
01587575921:  (dice_avdevice.cpp)[ 795] showDevice:      IP 1
01587575924:  (dice_avdevice.cpp)[ 795] showDevice:      IP 2
01587575928:  (dice_avdevice.cpp)[ 795] showDevice:      IP 3
01587575930:  (dice_avdevice.cpp)[ 795] showDevice:      IP 4
01587575933:  (dice_avdevice.cpp)[ 795] showDevice:      IP 5
01587575934:  (dice_avdevice.cpp)[ 795] showDevice:      IP 6
01587575937:  (dice_avdevice.cpp)[ 795] showDevice:      IP 7
01587575939:  (dice_avdevice.cpp)[ 795] showDevice:      IP 8
01587575942:  (dice_avdevice.cpp)[ 795] showDevice:      SPDIF L
01587575944:  (dice_avdevice.cpp)[ 795] showDevice:      SPDIF R
01587575948:  (dice_avdevice.cpp)[ 772] showDevice:   Transmitter 1:
01587577250:  (dice_avdevice.cpp)[ 775] showDevice:    ISO channel       :  -1
01587579990:  (dice_avdevice.cpp)[ 777] showDevice:    ISO speed         :   2
01587581482:  (dice_avdevice.cpp)[ 780] showDevice:    Nb audio channels :  10
01587583050:  (dice_avdevice.cpp)[ 782] showDevice:    Nb midi channels  :   0
01587584446:  (dice_avdevice.cpp)[ 785] showDevice:    AC3 caps          : 0x00000000
01587586055:  (dice_avdevice.cpp)[ 787] showDevice:    AC3 enable        : 0x00000000
01587587607:  (dice_avdevice.cpp)[ 790] showDevice:    Channel names     :
01587587622:  (dice_avdevice.cpp)[ 795] showDevice:      ADAT 1
01587587625:  (dice_avdevice.cpp)[ 795] showDevice:      ADAT 2
01587587628:  (dice_avdevice.cpp)[ 795] showDevice:      ADAT 3
01587587630:  (dice_avdevice.cpp)[ 795] showDevice:      ADAT 4
01587587633:  (dice_avdevice.cpp)[ 795] showDevice:      ADAT 5
01587587635:  (dice_avdevice.cpp)[ 795] showDevice:      ADAT 6
01587587637:  (dice_avdevice.cpp)[ 795] showDevice:      ADAT 7
01587587639:  (dice_avdevice.cpp)[ 795] showDevice:      ADAT 8
01587587642:  (dice_avdevice.cpp)[ 795] showDevice:      Loop 1
01587587643:  (dice_avdevice.cpp)[ 795] showDevice:      Loop 2
01587587648:  (dice_avdevice.cpp)[ 799] showDevice:  RX param space:
01587587650:  (dice_avdevice.cpp)[ 800] showDevice:   Nb of recv        : 2
01587587653:  (dice_avdevice.cpp)[ 802] showDevice:   Receiver 0:
01587589444:  (dice_avdevice.cpp)[ 805] showDevice:    ISO channel       :  -1
01587591056:  (dice_avdevice.cpp)[ 807] showDevice:    Sequence start    :   0
01587592401:  (dice_avdevice.cpp)[ 810] showDevice:    Nb audio channels :  12
01587594042:  (dice_avdevice.cpp)[ 812] showDevice:    Nb midi channels  :   1
01587595417:  (dice_avdevice.cpp)[ 815] showDevice:    AC3 caps          : 0x00000000
01587597033:  (dice_avdevice.cpp)[ 817] showDevice:    AC3 enable        : 0x00000000
01587600005:  (dice_avdevice.cpp)[ 820] showDevice:    Channel names     :
01587600023:  (dice_avdevice.cpp)[ 825] showDevice:      Mon 1
01587600027:  (dice_avdevice.cpp)[ 825] showDevice:      Mon 2
01587600033:  (dice_avdevice.cpp)[ 825] showDevice:      Line 3
01587600035:  (dice_avdevice.cpp)[ 825] showDevice:      Line 4
01587600039:  (dice_avdevice.cpp)[ 825] showDevice:      Line 5
01587600041:  (dice_avdevice.cpp)[ 825] showDevice:      Line 6
01587600044:  (dice_avdevice.cpp)[ 825] showDevice:      Line 7
01587600046:  (dice_avdevice.cpp)[ 825] showDevice:      Line 8
01587600049:  (dice_avdevice.cpp)[ 825] showDevice:      Line 9
01587600051:  (dice_avdevice.cpp)[ 825] showDevice:      Line 10
01587600054:  (dice_avdevice.cpp)[ 825] showDevice:      SPDIF L
01587600056:  (dice_avdevice.cpp)[ 825] showDevice:      SPDIF R
01587600061:  (dice_avdevice.cpp)[ 802] showDevice:   Receiver 1:
01587601493:  (dice_avdevice.cpp)[ 805] showDevice:    ISO channel       :  -1
01587603094:  (dice_avdevice.cpp)[ 807] showDevice:    Sequence start    :   0
01587604473:  (dice_avdevice.cpp)[ 810] showDevice:    Nb audio channels :   8
01587606084:  (dice_avdevice.cpp)[ 812] showDevice:    Nb midi channels  :   0
01587607480:  (dice_avdevice.cpp)[ 815] showDevice:    AC3 caps          : 0x00000000
01587609442:  (dice_avdevice.cpp)[ 817] showDevice:    AC3 enable        : 0x00000000
01587611240:  (dice_avdevice.cpp)[ 820] showDevice:    Channel names     :
01587611253:  (dice_avdevice.cpp)[ 825] showDevice:      ADAT 1
01587611256:  (dice_avdevice.cpp)[ 825] showDevice:      ADAT 2
01587611259:  (dice_avdevice.cpp)[ 825] showDevice:      ADAT 3
01587611261:  (dice_avdevice.cpp)[ 825] showDevice:      ADAT 4
01587611263:  (dice_avdevice.cpp)[ 825] showDevice:      ADAT 5
01587611265:  (dice_avdevice.cpp)[ 825] showDevice:      ADAT 6
01587611267:  (dice_avdevice.cpp)[ 825] showDevice:      ADAT 7
01587611269:  (dice_avdevice.cpp)[ 825] showDevice:      ADAT 8
firewire MSG: Streaming thread running with Realtime scheduling, priority 15
firewire ERR: Could not prepare streaming device!
Cannot attach audio driver
Jack: JackDriver::Close
Jack: JackConnectionManager::DirectDisconnect last: ref1 = 1 ref2 = 1
Jack: JackGraphManager::DisconnectRefNum cur_index = 0 ref1 = 1 ref2 = 1
Jack: JackEngine::ClientInternalClose ref = 1
Jack: JackEngine::ClientCloseAux ref = 1
Jack: JackGraphManager::RemoveAllPorts ref = 1
Jack: JackDriver::ClientNotify ref = 1 driver = system name = freewheel notify = 1
Jack: JackPosixSemaphore::Destroy name = jack_sem.1000_default_freewheel
Jack: JackEngine::Close
Jack: JackClientSocket::Close
Jack: JackServerSocket::Close /dev/shm/jack_default_1000_0
Jack: JackDriver::Close
Jack: JackConnectionManager::DirectDisconnect last: ref1 = 0 ref2 = 0
Jack: JackGraphManager::DisconnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
Jack: JackEngine::ClientInternalClose ref = 0
Jack: JackEngine::ClientCloseAux ref = 0
Jack: JackGraphManager::RemoveAllPorts ref = 0
Jack: JackPosixSemaphore::Destroy name = jack_sem.1000_default_system
Jack: no message buffer overruns
Jack: JackPosixThread::Stop
Jack: JackPosixThread::ThreadHandler : exit
JackServer::Open failed with -1
Jack: Succeeded in unlocking 82274202 byte memory area
Jack: JackShmMem::delete size = 0 index = 0
Jack: ~JackDriver
no message buffer overruns
Jack: ~JackDriver
Jack: Succeeded in unlocking 1186 byte memory area
Jack: JackShmMem::delete size = 0 index = 1
Jack: Cleaning up shared memory
Jack: Cleaning up files
Jack: Unregistering server `default'
Failed to open server
23:51:45.744 JACK was stopped
23:51:47.598 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started

At first I recognized that the firewire card was captured by PulseAudio. To see if PulseAudio was the cause I told PulseAudio to ignore the card via this udev rule:

SUBSYSTEMS=="firewire", ENV{PULSE_IGNORE}="1"

But disabling PulseAudio capturing the card was not the cause, the errors were still the same. I don't find a solution to this problem other than downgrading the kernel back to 3.14.
And I don't want to downgrade to a now not-supported kernel.

Here is some other output from the ffado-test tool

ffado-test ListDevices

=== 1394 PORT 0 ===
  Node id  GUID                  VendorId     ModelId   Vendor - Model
   0       0x00130e0401403770  0x0000130E  0x00000005   Focusrite - SAFFIRE_PRO_40
no message buffer overruns

Moreover some output of ffado-diag

Base system...
  kernel version............ 4.1.6-1-ARCH
    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.... False
  new 1394 stack loaded..... True
  new 1394 stack active..... True
  /dev/raw1394 node present. False
  /dev/fw* permissions:
crw-------  1 root root  251, 0 26. Sep 23:25 /dev/fw0
crw-rw----+ 1 root audio 251, 1 26. Sep 23:29 /dev/fw1
Prerequisites (dynamic at run-time)...
   gcc ............... gcc (GCC) 5.2.0
   g++ ............... g++ (GCC) 5.2.0
   PyQt4 (by pyuic4) . sh: python2-pyuic4: command not found
   jackd ............. no message buffer overruns
     path ............ /usr/bin/jackd
     flags ........... -ljack 
   libraw1394 ........ 2.1.1
     flags ........... -lraw1394 
   libavc1394 ........ 0.5.4
     flags ........... -lavc1394 -lrom1394 -lraw1394 
   libiec61883 ....... 1.2.0
     flags ........... -liec61883 -lraw1394 
   libxml++-2.6 ...... 2.38.1
     flags ........... -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lglib-2.0 -lsigc-2.0 
   dbus-1 ............ 1.10.0
     flags ........... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -ldbus-1 
 Prerequisites (static at compile-time)...
   gcc ............... gcc (GCC) 4.9.2 20150304 (prerelease)
   g++ ............... g++ (GCC) 4.9.2 20150304 (prerelease)
   PyQt4 (by pyuic4) . Python User Interface Compiler 4.11.3 for Qt version 4.8.6
   jackd ............. jackd version 0.124.1 tmpdir /dev/shm protocol 25
     path ............ /usr/bin/jackd
     flags ........... -ljack -lpthread 
   libraw1394 ........ 2.1.0
     flags ........... -lraw1394 
   libavc1394 ........ 0.5.4
     flags ........... -lavc1394 -lrom1394 -lraw1394 
   libiec61883 ....... 1.2.0
     flags ........... -liec61883 -lraw1394 
   libxml++-2.6 ...... 2.38.0
     flags ........... -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lglib-2.0 -lsigc-2.0 
   dbus-1 ............ 1.8.16
     flags ........... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -ldbus-1 
Host controllers:
06:01.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller [1106:3044] (rev c0) (prog-if 10 [OHCI])
	Subsystem: ASUSTeK Computer Inc. Motherboard [1043:81fe]
	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: 32 (8000ns max), Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 17
	Region 0: Memory at fe400000 (32-bit, non-prefetchable) [size=2K]
	Region 1: I/O ports at d000 [size=128]
	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):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 42
Model name:            Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
Stepping:              7
CPU MHz:               2129.191
CPU max MHz:           3400,0000
CPU min MHz:           1600,0000
BogoMIPS:              6222.83
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              6144K
NUMA node0 CPU(s):     0-3
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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveopt
 Configuration...
  IRQ information
Hardware Interrupts:
--------------------
 IRQ    0: PID:  None, count:      [18, 0, 0, 0], Sched None (priority None), drivers: ['timer']
 IRQ    1: PID:  None, count:       [3, 0, 0, 0], Sched None (priority None), drivers: ['i8042']
 IRQ    5: PID:  None, count:       [0, 0, 0, 0], Sched None (priority None), drivers: ['parport0']
 IRQ    8: PID:  None, count:       [1, 0, 0, 0], Sched None (priority None), drivers: ['rtc0']
 IRQ    9: PID:  None, count:       [0, 0, 0, 0], Sched None (priority None), drivers: ['acpi']
 IRQ   12: PID:  None, count:       [4, 0, 0, 0], Sched None (priority None), drivers: ['i8042']
 IRQ   16: PID:  None, count:    [1652, 0, 0, 0], Sched None (priority None), drivers: ['16-fasteoi   ath9k']
 IRQ   17: PID:  None, count:    [3031, 0, 0, 0], Sched None (priority None), drivers: ['17-fasteoi   firewire_ohci', '0000:07:00']
 IRQ   18: PID:  None, count:     [258, 0, 0, 0], Sched None (priority None), drivers: ['18-fasteoi   pata_jmicron', 'i801_smbus']
 IRQ   23: PID:  None, count:   [52297, 0, 0, 0], Sched None (priority None), drivers: ['23-fasteoi   ehci_hcd:usb1', 'ehci_hcd:usb4']
 IRQ   24: PID:  None, count:       [0, 0, 0, 0], Sched None (priority None), drivers: ['PCIe PME']
 IRQ   25: PID:  None, count:       [0, 0, 0, 0], Sched None (priority None), drivers: ['PCIe PME']
 IRQ   26: PID:  None, count:       [0, 0, 0, 0], Sched None (priority None), drivers: ['PCIe PME']
 IRQ   27: PID:  None, count:       [0, 0, 0, 0], Sched None (priority None), drivers: ['PCIe PME']
 IRQ   28: PID:  None, count:       [0, 0, 0, 0], Sched None (priority None), drivers: ['PCIe PME']
 IRQ   29: PID:  None, count:       [0, 0, 0, 0], Sched None (priority None), drivers: ['PCIe PME']
 IRQ   30: PID:  None, count:       [0, 0, 0, 0], Sched None (priority None), drivers: ['PCIe PME']
 IRQ   31: PID:  None, count:   [92364, 0, 0, 0], Sched None (priority None), drivers: ['xhci_hcd']
 IRQ   32: PID:  None, count:       [0, 0, 0, 0], Sched None (priority None), drivers: ['xhci_hcd']
 IRQ   33: PID:  None, count:       [0, 0, 0, 0], Sched None (priority None), drivers: ['xhci_hcd']
 IRQ   34: PID:  None, count:       [0, 0, 0, 0], Sched None (priority None), drivers: ['xhci_hcd']
 IRQ   35: PID:  None, count:       [0, 0, 0, 0], Sched None (priority None), drivers: ['xhci_hcd']
 IRQ   36: PID:  None, count:   [40221, 0, 0, 0], Sched None (priority None), drivers: ['0000:00:1f']
 IRQ   37: PID:  None, count:      [10, 0, 0, 0], Sched None (priority None), drivers: ['mei_me']
 IRQ   38: PID:  None, count:   [51892, 0, 0, 0], Sched None (priority None), drivers: ['enp8s0']
 IRQ   39: PID:  None, count:     [949, 0, 0, 0], Sched None (priority None), drivers: ['snd_hda_intel']
 IRQ   40: PID:  None, count:     [259, 0, 0, 0], Sched None (priority None), drivers: ['snd_hda_intel']
 IRQ   41: PID:  None, count:  [172207, 0, 0, 0], Sched None (priority None), drivers: ['radeon']

Thanks in advance for help smile

Last edited by phste (2015-09-26 22:06:43)

Offline

#2 2015-09-27 11:12:52

BenderRodriguez
Member
Registered: 2010-07-05
Posts: 16
Website

Re: Jack stopped working with firewire soundcard since kernel 4.1.8

Give alsa (via QJackCtl) a try. That device should be supported via alsa since about a year. You won't need ffado that way. With the newest pulseaudio it should automatically create jack sinks when it is started.

Offline

#3 2015-09-27 11:46:45

phste
Member
Registered: 2015-09-26
Posts: 3

Re: Jack stopped working with firewire soundcard since kernel 4.1.8

Unfortunately it did not work. ALSA is also complaining

13:35:58.554 /usr/bin/jackd -dalsa -dhw:Pro40003770 -r48000 -p16 -n3
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
13:35:58.567 JACK was started with PID=6031.
no message buffer overruns
no message buffer overruns
no message buffer overruns
jackdmp 1.9.10
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2014 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:Pro40003770|hw:Pro40003770|16|3|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 16 frames (0.3 ms), buffer = 3 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: cannot set period size to 16 frames for capture
ALSA: cannot configure capture channel
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
13:35:58.684 JACK was stopped

PulseAudio did recognize the device before I banned it, unfortunately it did recognize it as a surround device so all the bass was missing on headphones.
Moreover it stopped working after a random time.  I also use the device for playing with my bass guitar.

Offline

#4 2015-09-27 12:16:55

BenderRodriguez
Member
Registered: 2010-07-05
Posts: 16
Website

Re: Jack stopped working with firewire soundcard since kernel 4.1.8

Try something like 512 frames/period with 2 buffers. If that doesn't work play around with these settings.
16 frames doesn't work for me either. I'm using a StudioKonnekt 48 btw. This device is also build upon the DICE chipset.
In rare cases another jack instance may hang and lock the device. Hence, restarting it with qjackctl will give an error message "Failed to acquire device name...". You need to kill the hanging instance if that happens.

Last edited by BenderRodriguez (2015-09-27 12:22:59)

Offline

#5 2015-09-27 14:03:38

phste
Member
Registered: 2015-09-26
Posts: 3

Re: Jack stopped working with firewire soundcard since kernel 4.1.8

Thank you, really! ALSA is working now and shown via PulseAudio Jack Sink.

Only problem after about 30 seconds of listening to music it suddenly stops with this error in the qjackctl logs, maybe you have a clue.

 
Sun Sep 27 16:02:00 2015: ERROR: ALSA: poll time out, polled for 16008911 usecs
Sun Sep 27 16:02:00 2015: ERROR: JackAudioDriver::ProcessAsync: read error, stopping...
Sun Sep 27 16:02:00 2015: Jack: JackPosixThread::ThreadHandler : exit

Offline

#6 2015-09-27 19:35:58

BenderRodriguez
Member
Registered: 2010-07-05
Posts: 16
Website

Re: Jack stopped working with firewire soundcard since kernel 4.1.8

Hmm, no clue about that error message. Could be a driver problem? Try to experiment with these buffer settings. Larger values should be more stable but result in longer latency. Smaller values allow for software monitoring but are less robust against buffer underruns.
Furthermore, you probably want to use/tick the RT/realtime option.

Offline

Board footer

Powered by FluxBB