Ticket #376 (closed bug: invalid)

Opened 7 years ago

Last modified 7 years ago

DICE (Presonus FireStudio Project) clock sync problem.

Reported by: deva Assigned to:
Priority: major Milestone:
Component: devices/dice Version: FFADO 2.1.0
Keywords: clock sync Cc:
The device the bug applies to:

Description

I have two Presonus FireStudio? Project linked 'internally' by daisy-chainging them through firewire (one card is connected to the other and the other is connected to the pc).

When I leave jack running for a while they start drifting. I have two michrophones connected to channel 1 of each card, and when recording the same source they are not aligned properly.

The misalingment grows over time.

Below is complete output when running jack:

deva@planetar ~ $ jackd -R -dfirewire -r48000
jackdmp 1.9.10
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2013 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 10
libffado 2.1.9999- built Sep 15 2013 15:36:51
 DICE Parameter Space info:
  Global  : offset=0x0028 size=0360
  TX      : offset=0x0190 size=0568
                nb=   1 size=0280
  RX      : offset=0x03C8 size=1128
                nb=   1 size=0280
  UNUSED1 : offset=0x0830 size=0016
  UNUSED2 : offset=0x0000 size=0000
 Global param space:
  Owner            : 0x00000000FFFF0000
  Notification     : 0x00000040
  Nick name        : fsp1
  Clock Select     : 0x02 0x0C
  Enable           : false
  Clock Status     : locked 0x02
  Extended Status  : 0x00000000
  Samplerate       : 0x0000BB80 (48000)
  Version          : 0x01000400
  Version          : 0x01000400 (1.0.4.0)
  Clock caps       : 0x1102001F
  Clock sources    :
    AES12
    SPDIF
    AES56
    AES78
    AES_ANY
    ADAT
    ADAT_AUX
    Word Clock
    Unused
    Unused
    Unused
    Unused
    Internal
 TX param space:
  Nb of xmit        : 1
  Transmitter 0:
   ISO channel       :  -1
   ISO speed         :   2
   Nb audio channels :  10
   Nb midi channels  :   1
   AC3 caps          : 0x00000000
   AC3 enable        : 0x00000000
   Channel names     :
     Mic 1
     Mic 2
     Mic 3
     Mic 4
     Mic 5
     Mic 6
     Mic 7
     Mic 8
     SPDIF L
     SPDIF R
 RX param space:
  Nb of recv        : 1
  Receiver 0:
   ISO channel       :   1
   Sequence start    :   0
   Nb audio channels :  10
   Nb midi channels  :   1
   AC3 caps          : 0x00000000
   AC3 enable        : 0x00000000
   Channel names     :
     daw rt.1
     daw rt.2
     daw rt.3
     daw rt.4
     daw rt.5
     daw rt.6
     daw rt.7
     daw rt.8
     daw rt.9
     daw rt.10
 DICE Parameter Space info:
  Global  : offset=0x0028 size=0360
  TX      : offset=0x0190 size=0568
                nb=   1 size=0280
  RX      : offset=0x03C8 size=1128
                nb=   1 size=0280
  UNUSED1 : offset=0x0830 size=0016
  UNUSED2 : offset=0x0000 size=0000
 Global param space:
  Owner            : 0x00000000FFFF0000
  Notification     : 0x00000040
  Nick name        : fsp0
  Clock Select     : 0x02 0x0C
  Enable           : false
  Clock Status     : locked 0x02
  Extended Status  : 0x00000000
  Samplerate       : 0x0000BB80 (48000)
  Version          : 0x01000400
  Version          : 0x01000400 (1.0.4.0)
  Clock caps       : 0x1102001F
  Clock sources    :
    AES12
    SPDIF
    AES56
    AES78
    AES_ANY
    ADAT
    ADAT_AUX
    Word Clock
    Unused
    Unused
    Unused
    Unused
    Internal
 TX param space:
  Nb of xmit        : 1
  Transmitter 0:
   ISO channel       :  -1
   ISO speed         :   2
   Nb audio channels :  10
   Nb midi channels  :   1
   AC3 caps          : 0x00000000
   AC3 enable        : 0x00000000
   Channel names     :
     Mic 1
     Mic 2
     Mic 3
     Mic 4
     Mic 5
     Mic 6
     Mic 7
     Mic 8
     SPDIF L
     SPDIF R
 RX param space:
  Nb of recv        : 1
  Receiver 0:
   ISO channel       :   3
   Sequence start    :   0
   Nb audio channels :  10
   Nb midi channels  :   1
   AC3 caps          : 0x00000000
   AC3 enable        : 0x00000000
   Channel names     :
     daw rt.1
     daw rt.2
     daw rt.3
     daw rt.4
     daw rt.5
     daw rt.6
     daw rt.7
     daw rt.8
     daw rt.9
     daw rt.10
Setting sample rate: 48000
 DICE Parameter Space info:
  Global  : offset=0x0028 size=0360
  TX      : offset=0x0190 size=0568
                nb=   1 size=0280
  RX      : offset=0x03C8 size=1128
                nb=   1 size=0280
  UNUSED1 : offset=0x0830 size=0016
  UNUSED2 : offset=0x0000 size=0000
 Global param space:
  Owner            : 0xE0000000FFC0FFFF
  Notification     : 0x00000020
  Nick name        : fsp1
  Clock Select     : 0x02 0x0C
  Enable           : false
  Clock Status     : locked 0x02
  Extended Status  : 0x00000000
  Samplerate       : 0x0000BB80 (48000)
  Version          : 0x01000400
  Version          : 0x01000400 (1.0.4.0)
  Clock caps       : 0x1102001F
  Clock sources    :
    AES12
    SPDIF
    AES56
    AES78
    AES_ANY
    ADAT
    ADAT_AUX
    Word Clock
    Unused
    Unused
    Unused
    Unused
    Internal
 TX param space:
  Nb of xmit        : 1
  Transmitter 0:
   ISO channel       :  -1
   ISO speed         :   2
   Nb audio channels :  10
   Nb midi channels  :   1
   AC3 caps          : 0x00000000
   AC3 enable        : 0x00000000
   Channel names     :
     Mic 1
     Mic 2
     Mic 3
     Mic 4
     Mic 5
     Mic 6
     Mic 7
     Mic 8
     SPDIF L
     SPDIF R
 RX param space:
  Nb of recv        : 1
  Receiver 0:
   ISO channel       :   1
   Sequence start    :   0
   Nb audio channels :  10
   Nb midi channels  :   1
   AC3 caps          : 0x00000000
   AC3 enable        : 0x00000000
   Channel names     :
     daw rt.1
     daw rt.2
     daw rt.3
     daw rt.4
     daw rt.5
     daw rt.6
     daw rt.7
     daw rt.8
     daw rt.9
     daw rt.10
Setting sample rate: 48000
 DICE Parameter Space info:
  Global  : offset=0x0028 size=0360
  TX      : offset=0x0190 size=0568
                nb=   1 size=0280
  RX      : offset=0x03C8 size=1128
                nb=   1 size=0280
  UNUSED1 : offset=0x0830 size=0016
  UNUSED2 : offset=0x0000 size=0000
 Global param space:
  Owner            : 0xE0000004FFC0FFFF
  Notification     : 0x00000020
  Nick name        : fsp0
  Clock Select     : 0x02 0x0C
  Enable           : false
  Clock Status     : locked 0x02
  Extended Status  : 0x00000000
  Samplerate       : 0x0000BB80 (48000)
  Version          : 0x01000400
  Version          : 0x01000400 (1.0.4.0)
  Clock caps       : 0x1102001F
  Clock sources    :
    AES12
    SPDIF
    AES56
    AES78
    AES_ANY
    ADAT
    ADAT_AUX
    Word Clock
    Unused
    Unused
    Unused
    Unused
    Internal
 TX param space:
  Nb of xmit        : 1
  Transmitter 0:
   ISO channel       :  -1
   ISO speed         :   2
   Nb audio channels :  10
   Nb midi channels  :   1
   AC3 caps          : 0x00000000
   AC3 enable        : 0x00000000
   Channel names     :
     Mic 1
     Mic 2
     Mic 3
     Mic 4
     Mic 5
     Mic 6
     Mic 7
     Mic 8
     SPDIF L
     SPDIF R
 RX param space:
  Nb of recv        : 1
  Receiver 0:
   ISO channel       :   3
   Sequence start    :   0
   Nb audio channels :  10
   Nb midi channels  :   1
   AC3 caps          : 0x00000000
   AC3 enable        : 0x00000000
   Channel names     :
     daw rt.1
     daw rt.2
     daw rt.3
     daw rt.4
     daw rt.5
     daw rt.6
     daw rt.7
     daw rt.8
     daw rt.9
     daw rt.10

Change History

01/08/14 05:25:39 changed by cladisch

These devices do not support clock synchronization over FireWire ("Internal" means that each device uses its own clock):

  Clock sources    :
    AES12
    SPDIF
    AES56
    AES78
    AES_ANY
    ADAT
    ADAT_AUX
    Word Clock
    Internal

You have to connect them with S/PDIF, and set S/PDIF as clock source on the receiving device.

01/08/14 06:54:21 changed by deva

I switched to SPDIF on the slave and connected them accordingly and now the cards seem to sync up just fine. I guess this "bug" was on me ;)

A suggestion for an improvement then: Add a warning (in red like already used in other places) if more than one card is in use but they are running on the internal clock?

01/08/14 06:54:42 changed by deva

  • status changed from new to closed.
  • resolution set to invalid.