M-Audio ProFire 2626 + jack

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

M-Audio ProFire 2626 + jack

Sergio Cioban Filho
Hi there,

I'm trying to get the M-Audio ProFire 2626 working with jack but I'm having problems with either firewire (FFADO) driver or alsa (snd-dice) driver.

Does someone got this interface working with jack ?
What is the jack configuration?
Any help is appreciated.




Here is the jack output with alsa driver:
----------
$  /usr/bin/jackd -r -dalsa -dhw:FW2626 -r48000 -p512 -n3 -S
jackdmp 1.9.11
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 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
no message buffer overruns
no message buffer overruns
no message buffer overruns
JACK server starting in non-realtime mode
self-connect-mode is "Don't restrict self connect requests"
creating alsa driver ... hw:FW2626|hw:FW2626|512|3|48000|0|0|nomon|swmeter|-|16bit
configuring for 48000Hz, period = 512 frames (10.7 ms), buffer = 3 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 3 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 3 periods for playback
Using port names patch v0.1 (07.04.2010)
Trying to load portnames from /home/cioban/.config/jack/cards/FW2626.ss.ports.in
Trying to load portnames from /home/cioban/.config/jack/cards/FW2626.ports.in
Trying to load portnames from /etc/jack/cards/FW2626.ss.ports.in
Trying to load portnames from /etc/jack/cards/FW2626.ports.in
Trying to load portnames from /home/cioban/.config/jack/cards/FW2626.ss.ports.out
Trying to load portnames from /home/cioban/.config/jack/cards/FW2626.ports.out
Trying to load portnames from /etc/jack/cards/FW2626.ss.ports.out
Trying to load portnames from /etc/jack/cards/FW2626.ports.out
ALSA: poll time out, polled for 16015031 usecs
JackAudioDriver::ProcessAsync: read error, stopping...



JackPosixProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
Driver is not running
Cannot create new client
^CJack main caught signal 2
-----------




Here is the jack output with firewire driver:
----------
$  /usr/bin/jackd -R -dfirewire -dhw:FW2626 -r48000 -p512 -n3
jackdmp 1.9.11
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 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
no message buffer overruns
no message buffer overruns
no message buffer overruns
JACK server starting in realtime mode with priority 20
self-connect-mode is "Don't restrict self connect requests"
1495660814738434:  (ffado.cpp)[  92] ffado_streaming_init: libffado 2.3.9999-2692 built May 23 2017 20:13:02
19238875791:  (dice_avdevice.cpp)[ 713] showDevice:  DICE Parameter Space info:
19238875812:  (dice_avdevice.cpp)[ 714] showDevice:   Global  : offset=0x0028 size=0360
19238875814:  (dice_avdevice.cpp)[ 715] showDevice:   TX      : offset=0x0190 size=0568
19238875816:  (dice_avdevice.cpp)[ 716] showDevice:                 nb=   2 size=0280
19238875817:  (dice_avdevice.cpp)[ 717] showDevice:   RX      : offset=0x03C8 size=1128
19238875819:  (dice_avdevice.cpp)[ 718] showDevice:                 nb=   2 size=0280
19238875820:  (dice_avdevice.cpp)[ 719] showDevice:   UNUSED1 : offset=0x0830 size=0016
19238875822:  (dice_avdevice.cpp)[ 720] showDevice:   UNUSED2 : offset=0x0000 size=0000
19238875823:  (dice_avdevice.cpp)[ 722] showDevice:  Global param space:
19238877603:  (dice_avdevice.cpp)[ 725] showDevice:   Owner            : 0x00000000FFFF0000
19238879093:  (dice_avdevice.cpp)[ 728] showDevice:   Notification     : 0x00000000
19238882092:  (dice_avdevice.cpp)[ 731] showDevice:   Nick name        : FW2626
19238883422:  (dice_avdevice.cpp)[ 735] showDevice:   Clock Select     : 0x02 0x0C
19238884809:  (dice_avdevice.cpp)[ 739] showDevice:   Enable           : false
19238886625:  (dice_avdevice.cpp)[ 743] showDevice:   Clock Status     : not locked 0x02
19238888097:  (dice_avdevice.cpp)[ 746] showDevice:   Extended Status  : 0x00000000
19238889448:  (dice_avdevice.cpp)[ 749] showDevice:   Samplerate       : 0x0000BB80 (48000)
19238890848:  (dice_avdevice.cpp)[ 752] showDevice:   Version          : 0x01000400
19238892245:  (dice_avdevice.cpp)[ 761] showDevice:   Version          : 0x01000400 (1.0.4.0)
19238893641:  (dice_avdevice.cpp)[ 764] showDevice:   Clock caps       : 0x13F9007F
19238895372:  (dice_avdevice.cpp)[ 767] showDevice:   Clock sources    :
19238895390:  (dice_avdevice.cpp)[ 773] showDevice:     SPDIF
19238895391:  (dice_avdevice.cpp)[ 773] showDevice:     AES34
19238895393:  (dice_avdevice.cpp)[ 773] showDevice:     AES56
19238895394:  (dice_avdevice.cpp)[ 773] showDevice:     TOS
19238895396:  (dice_avdevice.cpp)[ 773] showDevice:     AES_ANY
19238895397:  (dice_avdevice.cpp)[ 773] showDevice:     ADAT
19238895403:  (dice_avdevice.cpp)[ 773] showDevice:     ADAT_AUX
19238895405:  (dice_avdevice.cpp)[ 773] showDevice:     Word Clock
19238895411:  (dice_avdevice.cpp)[ 773] showDevice:     Unused
19238895412:  (dice_avdevice.cpp)[ 773] showDevice:     Unused
19238895415:  (dice_avdevice.cpp)[ 773] showDevice:     Unused
19238895417:  (dice_avdevice.cpp)[ 773] showDevice:     Unused
19238895420:  (dice_avdevice.cpp)[ 773] showDevice:     Internal
19238895421:  (dice_avdevice.cpp)[ 776] showDevice:  TX param space:
19238895425:  (dice_avdevice.cpp)[ 777] showDevice:   Nb of xmit        : 2
19238895427:  (dice_avdevice.cpp)[ 779] showDevice:   Transmitter 0:
19238896953:  (dice_avdevice.cpp)[ 782] showDevice:    ISO channel       :  -1
19238898362:  (dice_avdevice.cpp)[ 784] showDevice:    ISO speed         :   2
19238899762:  (dice_avdevice.cpp)[ 787] showDevice:    Nb audio channels :  10
19238901189:  (dice_avdevice.cpp)[ 789] showDevice:    Nb midi channels  :   1
19238902694:  (dice_avdevice.cpp)[ 792] showDevice:    AC3 caps          : 0x00000000
19238904122:  (dice_avdevice.cpp)[ 794] showDevice:    AC3 enable        : 0x00000000
19238905945:  (dice_avdevice.cpp)[ 797] showDevice:    Channel names     :
19238905979:  (dice_avdevice.cpp)[ 802] showDevice:      Mic-Line 1
19238906057:  (dice_avdevice.cpp)[ 802] showDevice:      Mic-Line 2
19238906059:  (dice_avdevice.cpp)[ 802] showDevice:      Mic-Line 3
19238906067:  (dice_avdevice.cpp)[ 802] showDevice:      Mic-Line 4
19238906069:  (dice_avdevice.cpp)[ 802] showDevice:      Mic-Line 5
19238906075:  (dice_avdevice.cpp)[ 802] showDevice:      Mic-Line 6
19238906077:  (dice_avdevice.cpp)[ 802] showDevice:      Mic-Line 7
19238906082:  (dice_avdevice.cpp)[ 802] showDevice:      Mic-Line 8
19238906083:  (dice_avdevice.cpp)[ 802] showDevice:      SPDIF L
19238906089:  (dice_avdevice.cpp)[ 802] showDevice:      SPDIF R
19238906094:  (dice_avdevice.cpp)[ 779] showDevice:   Transmitter 1:
19238907598:  (dice_avdevice.cpp)[ 782] showDevice:    ISO channel       :  -1
19238908975:  (dice_avdevice.cpp)[ 784] showDevice:    ISO speed         :   2
19238910373:  (dice_avdevice.cpp)[ 787] showDevice:    Nb audio channels :  16
19238911784:  (dice_avdevice.cpp)[ 789] showDevice:    Nb midi channels  :   0
19238913220:  (dice_avdevice.cpp)[ 792] showDevice:    AC3 caps          : 0x00000000
19238914682:  (dice_avdevice.cpp)[ 794] showDevice:    AC3 enable        : 0x00000000
19238916476:  (dice_avdevice.cpp)[ 797] showDevice:    Channel names     :
19238916484:  (dice_avdevice.cpp)[ 802] showDevice:      ADAT 1
19238916492:  (dice_avdevice.cpp)[ 802] showDevice:      ADAT 2
19238916494:  (dice_avdevice.cpp)[ 802] showDevice:      ADAT 3
19238916497:  (dice_avdevice.cpp)[ 802] showDevice:      ADAT 4
19238916499:  (dice_avdevice.cpp)[ 802] showDevice:      ADAT 5
19238916502:  (dice_avdevice.cpp)[ 802] showDevice:      ADAT 6
19238916504:  (dice_avdevice.cpp)[ 802] showDevice:      ADAT 7
19238916507:  (dice_avdevice.cpp)[ 802] showDevice:      ADAT 8
19238916509:  (dice_avdevice.cpp)[ 802] showDevice:      ADAT 9
19238916512:  (dice_avdevice.cpp)[ 802] showDevice:      ADAT 10
19238916513:  (dice_avdevice.cpp)[ 802] showDevice:      ADAT 11
19238916516:  (dice_avdevice.cpp)[ 802] showDevice:      ADAT 12
19238916518:  (dice_avdevice.cpp)[ 802] showDevice:      ADAT 13
19238916521:  (dice_avdevice.cpp)[ 802] showDevice:      ADAT 14
19238916522:  (dice_avdevice.cpp)[ 802] showDevice:      ADAT 15
19238916525:  (dice_avdevice.cpp)[ 802] showDevice:      ADAT 16
19238916529:  (dice_avdevice.cpp)[ 806] showDevice:  RX param space:
19238916533:  (dice_avdevice.cpp)[ 807] showDevice:   Nb of recv        : 2
19238916535:  (dice_avdevice.cpp)[ 809] showDevice:   Receiver 0:
19238917842:  (dice_avdevice.cpp)[ 812] showDevice:    ISO channel       :  -1
19238919276:  (dice_avdevice.cpp)[ 814] showDevice:    Sequence start    :   0
19238920737:  (dice_avdevice.cpp)[ 817] showDevice:    Nb audio channels :  10
19238922115:  (dice_avdevice.cpp)[ 819] showDevice:    Nb midi channels  :   1
19238923553:  (dice_avdevice.cpp)[ 822] showDevice:    AC3 caps          : 0x00000000
19238924974:  (dice_avdevice.cpp)[ 824] showDevice:    AC3 enable        : 0x00000000
19238927702:  (dice_avdevice.cpp)[ 827] showDevice:    Channel names     :
19238927729:  (dice_avdevice.cpp)[ 832] showDevice:      Line 1
19238927741:  (dice_avdevice.cpp)[ 832] showDevice:      Line 2
19238927743:  (dice_avdevice.cpp)[ 832] showDevice:      Line 3
19238927746:  (dice_avdevice.cpp)[ 832] showDevice:      Line 4
19238927748:  (dice_avdevice.cpp)[ 832] showDevice:      Line 5
19238927751:  (dice_avdevice.cpp)[ 832] showDevice:      Line 6
19238927752:  (dice_avdevice.cpp)[ 832] showDevice:      Line 7
19238927755:  (dice_avdevice.cpp)[ 832] showDevice:      Line 8
19238927757:  (dice_avdevice.cpp)[ 832] showDevice:      SPDIF L
19238927767:  (dice_avdevice.cpp)[ 832] showDevice:      SPDIF R
19238927771:  (dice_avdevice.cpp)[ 809] showDevice:   Receiver 1:
19238929061:  (dice_avdevice.cpp)[ 812] showDevice:    ISO channel       :  -1
19238930427:  (dice_avdevice.cpp)[ 814] showDevice:    Sequence start    :   0
19238931892:  (dice_avdevice.cpp)[ 817] showDevice:    Nb audio channels :  16
19238933240:  (dice_avdevice.cpp)[ 819] showDevice:    Nb midi channels  :   0
19238934699:  (dice_avdevice.cpp)[ 822] showDevice:    AC3 caps          : 0x00000000
19238936145:  (dice_avdevice.cpp)[ 824] showDevice:    AC3 enable        : 0x00000000
19238937963:  (dice_avdevice.cpp)[ 827] showDevice:    Channel names     :
19238937982:  (dice_avdevice.cpp)[ 832] showDevice:      ADAT 1
19238937996:  (dice_avdevice.cpp)[ 832] showDevice:      ADAT 2
19238937998:  (dice_avdevice.cpp)[ 832] showDevice:      ADAT 3
19238938047:  (dice_avdevice.cpp)[ 832] showDevice:      ADAT 4
19238938049:  (dice_avdevice.cpp)[ 832] showDevice:      ADAT 5
19238938052:  (dice_avdevice.cpp)[ 832] showDevice:      ADAT 6
19238938053:  (dice_avdevice.cpp)[ 832] showDevice:      ADAT 7
19238938056:  (dice_avdevice.cpp)[ 832] showDevice:      ADAT 8
19238938057:  (dice_avdevice.cpp)[ 832] showDevice:      ADAT 9
19238938060:  (dice_avdevice.cpp)[ 832] showDevice:      ADAT 10
19238938061:  (dice_avdevice.cpp)[ 832] showDevice:      ADAT 11
19238938064:  (dice_avdevice.cpp)[ 832] showDevice:      ADAT 12
19238938065:  (dice_avdevice.cpp)[ 832] showDevice:      ADAT 13
19238938068:  (dice_avdevice.cpp)[ 832] showDevice:      ADAT 14
19238938069:  (dice_avdevice.cpp)[ 832] showDevice:      ADAT 15
19238938072:  (dice_avdevice.cpp)[ 832] showDevice:      ADAT 16
19238962653:  (dice_avdevice.cpp)[ 323] setSamplingFrequency: Setting sample rate: 48000
firewire ERR: Could not start streaming threads
Cannot start driver
JackServer::Start() failed with -1
Failed to start server
Segmentation fault (core dumped)
----------





Thanks in advance.
---
Sergio Cioban Filho

_______________________________________________
Linux-audio-user mailing list
[hidden email]
http://lists.linuxaudio.org/listinfo/linux-audio-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M-Audio ProFire 2626 + jack

Jeremy Jongepier
Hello Sergio,

On 05/24/2017 11:32 PM, Sergio Cioban Filho wrote:
> Hi there,
>
> I'm trying to get the M-Audio ProFire 2626 working with jack but I'm having
> problems with either firewire (FFADO) driver or alsa (snd-dice) driver.
>
> Does someone got this interface working with jack ?
> What is the jack configuration?
> Any help is appreciated.
>

It seems the interface gets properly initialized and then it goes wrong.
This could indicate one or more of the following things:
- The Firewire chipset shares its IRQ with one or more peripherals
- CPU scaling is set to a scaling governor like ondemand
- Bad Firewire cable (I've had a Focusrite and the cable it shipped with
didn't cut it)

So check if you can free the IRQ of your Firewire chipset with rtirq:
http://wiki.linuxaudio.org/wiki/system_configuration#rtirq
For CPU frequency scaling see
http://wiki.linuxaudio.org/wiki/system_configuration#cpu_frequency_scaling

Best,

Jeremy



_______________________________________________
Linux-audio-user mailing list
[hidden email]
http://lists.linuxaudio.org/listinfo/linux-audio-user

signature.asc (853 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M-Audio ProFire 2626 + jack

Chris Caudle
In reply to this post by Sergio Cioban Filho
On Wed, May 24, 2017 4:32 pm, Sergio Cioban Filho wrote:
> I'm trying to get the M-Audio ProFire 2626 working with jack but I'm
> having problems with either firewire (FFADO) driver or alsa (snd-dice)
driver.

This message may indicate that the clock configuration is not set properly:
Clock Status     : not locked 0x02

Make sure the device is set to use internal clock, or if you want to use
an external clock source make sure the correct clock input is chosen.
--
Chris Caudle


_______________________________________________
Linux-audio-user mailing list
[hidden email]
http://lists.linuxaudio.org/listinfo/linux-audio-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M-Audio ProFire 2626 + jack

Sergio Cioban Filho
Thanks for the tips guys.

I'll check this and try again today when I get home.

---
Sergio Cioban Filho
 

On 27 May 2017 at 22:14, Chris Caudle <[hidden email]> wrote:
On Wed, May 24, 2017 4:32 pm, Sergio Cioban Filho wrote:
> I'm trying to get the M-Audio ProFire 2626 working with jack but I'm
> having problems with either firewire (FFADO) driver or alsa (snd-dice)
driver.

This message may indicate that the clock configuration is not set properly:
Clock Status     : not locked 0x02

Make sure the device is set to use internal clock, or if you want to use
an external clock source make sure the correct clock input is chosen.
--
Chris Caudle


_______________________________________________
Linux-audio-user mailing list
[hidden email]
http://lists.linuxaudio.org/listinfo/linux-audio-user


_______________________________________________
Linux-audio-user mailing list
[hidden email]
http://lists.linuxaudio.org/listinfo/linux-audio-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M-Audio ProFire 2626 + jack

Sergio Cioban Filho
Hi guys,

I'm back to share some nice findings from last night... :)

So, I spent some time playing around with my Linux and the interface.

I've started checking and configuring my Linux system.

My CPU was already configured as performance.
----
[root@thinkpad ~]# cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
performance
performance
performance
performance
----

My firewire card is not sharing  IRQ
---
grep firewire /proc/interrupts 
 19:         14     172073          0          0  IR-IO-APIC  19-fasteoi   firewire_ohci
---

But I did some changes in my system in order to improve the performance.
Even after the changes, jackd wasn't starting.
So I spent some time looking and playing with the interface clock.
After some time and a lot of changes I could start jackd using 48000 but I had no idea what I did to make jack work.
So I decided to reboot my system and try again to make sure that I have the steps clear.

After some time I found the steps to to make jack work:
- open ffado-dbus-server in one terminal
- open ffado-mixer in other terminal
- Now is the trick, the mixer was already showing 'Clock source: Internal' and 'Sample rate: 48000' but I've needed to re-select the  Clock source to internal and also the  Sample rate to 48000
- After that, I opened another terminal and started jackd: $  /usr/bin/jackd -R -dfirewire -dhw:FW2626 -r48000 -p512 -n3
- And, it works!!!!!
- I could see all inputs and outputs in qjackctl
- I've also followed the same steps but using sample rate 96000 and jack works.


OK, I didn't  test any sound recording or playing as it was late ate night.
But I'll do this test today and I'll update this thread :)

Just one doubt.
Just to clarify, in the ffado-mixer, when referring to outputs and inputs  is the mixer using the system point of view or the interface point of view?  
I mean, the firewire input in the mixer is related to one firewire output in the computer?



For now, thank you so much for all thoughts and help here :)
---
Sergio Cioban Filho



On 29 May 2017 at 09:34, Sergio Cioban Filho <[hidden email]> wrote:
Thanks for the tips guys.

I'll check this and try again today when I get home.

---
Sergio Cioban Filho
 

On 27 May 2017 at 22:14, Chris Caudle <[hidden email]> wrote:
On Wed, May 24, 2017 4:32 pm, Sergio Cioban Filho wrote:
> I'm trying to get the M-Audio ProFire 2626 working with jack but I'm
> having problems with either firewire (FFADO) driver or alsa (snd-dice)
driver.

This message may indicate that the clock configuration is not set properly:
Clock Status     : not locked 0x02

Make sure the device is set to use internal clock, or if you want to use
an external clock source make sure the correct clock input is chosen.
--
Chris Caudle


_______________________________________________
Linux-audio-user mailing list
[hidden email]
http://lists.linuxaudio.org/listinfo/linux-audio-user



_______________________________________________
Linux-audio-user mailing list
[hidden email]
http://lists.linuxaudio.org/listinfo/linux-audio-user
Loading...