xfxf / av-foss-stack

Conference FOSS AV stack components
http://www.nextdayvideo.com.au/
6 stars 0 forks source link

Fix HDMI2USB output with Blackmagic gear #7

Closed xfxf closed 7 years ago

xfxf commented 7 years ago

During Wrest Point testing, the Opsis would not output successfully to the Blackmagic gear they have in the Plenary hall (ATEM TV Studio, and separately a Blackmagic HDMI to SDI converter they use for running long lines).

No video is detected / shown. Tried all 720p and 1080p resolutions available.

@xfxf has identical equipment with him at the Hackfest that can be used for testing.

mithro commented 7 years ago

@xfxf Can you dump the EDID info of both those devices?

xfxf commented 7 years ago

@mithro can you confirm we're just going to use scalers for now?

mithro commented 7 years ago

Scalers are the current plan, I'm going to have another play with it today.

My current theory is that they require a proper HDMI signal and don't support the DVI1.0 signal we are sending. /However/, I could be wrong and it could be a timing problem.

It would really help for @joeladdison to finish the EDID mode-line addition stuff, then I could add the exact mode lines that the blackmagic device is advertising and make sure it isn't something like that.

mithro commented 7 years ago

I'm also a little worried that we don't have enough scalers - @xfxf Can you update https://docs.google.com/spreadsheets/d/1uc_QICAHcZtQpQxt8bpTy2hKk7BN11h375hLQG0wcoA/edit as a matter of priority?

mithro commented 7 years ago
HDMI1 connected 1280x720+1366+0 (normal left inverted right x axis y axis) 708mm x 398mm
    EDID:
        00ffffffffffff002301000001000000
        26100103804728960adaffa3584aa229
        17494b00000001010101010101010101
        010101010101011d8018711c1620582c
        2500c48e2100009e011d007251d01e20
        6e285500c48e2100001e000000fc0042
        4d442048444d490a20202020000000fd
        00323c1f4408000a202020202020019a
        02031c76488584879493960312230904
        078301000066030c000000008c0aa014
        51f01600267c4300138e21000098011d
        80d0721c1620102c2580c48e2100009e
        011d00bc52d01e20b8285540c48e2100
        001e8c0aa02051201810187e2300138e
        21000098000000000000000000000000
        00000000000000ffffffffffffffffff
    aspect ratio: Automatic
        supported: Automatic, 4:3, 16:9
    Broadcast RGB: Automatic
        supported: Automatic, Full, Limited 16:235
    audio: auto
        supported: force-dvi, off, auto, on
   1920x1080i    60.00 +  50.00    59.94  
   1280x720      60.00*   50.00    59.94  
   1440x576i     50.00  
   1440x480i     59.94  
   720x576       50.00  
   720x576i      50.00  
   720x480       60.00    59.94  
   720x480i      60.00    59.94  
HDMI2 disconnected (normal left inverted right x axis y axis)
    aspect ratio: Automatic
        supported: Automatic, 4:3, 16:9
    Broadcast RGB: Automatic
        supported: Automatic, Full, Limited 16:235
    audio: auto
        supported: force-dvi, off, auto, on
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
mithro commented 7 years ago
Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   23 01 00 00 01 00 00 00 26 10
version:         01 03
basic params:    80 47 28 96 0a
chroma info:     da ff a3 58 4a a2 29 17 49 4b
established:     00 00 00
standard:        01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1:    01 1d 80 18 71 1c 16 20 58 2c 25 00 c4 8e 21 00 00 9e
descriptor 2:    01 1d 00 72 51 d0 1e 20 6e 28 55 00 c4 8e 21 00 00 1e
descriptor 3:    00 00 00 fc 00 42 4d 44 20 48 44 4d 49 0a 20 20 20 20
descriptor 4:    00 00 00 fd 00 32 3c 1f 44 08 00 0a 20 20 20 20 20 20
extensions:      01
checksum:        9a

Manufacturer: HXA Model 0 Serial Number 1
Made week 38 of 2006
EDID version: 1.3
Digital display
Maximum image size: 71 cm x 40 cm
Gamma: 2.50
Supported color formats: RGB 4:4:4, YCrCb 4:4:4
First detailed timing is preferred timing
Established timings supported:
Standard timings supported:
Detailed mode: Clock 74.250 MHz, 708 mm x 398 mm
               1920 2008 2052 2200 hborder 0
                540  542  547  562 vborder 0
               +hsync +vsync interlaced 
Detailed mode: Clock 74.250 MHz, 708 mm x 398 mm
               1280 1390 1430 1650 hborder 0
                720  725  730  750 vborder 0
               +hsync +vsync 
Monitor name: BMD
Monitor ranges (GTF): 50-60Hz V, 31-68kHz H, max dotclock 80MHz
Has 1 extension blocks
Checksum: 0x9a (valid)

CEA extension block
Extension version: 3
24 bytes of CEA data
  Video data block
    VIC   5 1920x1080i@60Hz (native)
    VIC   4 1280x720@60Hz (native)
    VIC   7 1440x480i@60Hz (native)
    VIC  20 1920x1080i@50Hz (native)
    VIC  19 1280x720@50Hz (native)
    VIC  22 1440x576i@50Hz (native)
    VIC   3 720x480@60Hz 
    VIC  18 720x576@50Hz 
  Audio data block
    Linear PCM, max channels 2
    Supported sample rates (kHz): 48
    Supported sample sizes (bits): 24 20 16
  Speaker allocation data block
    Speaker map: FL/FR
  Vendor-specific data block, OUI 000c03 (HDMI)
    Source physical address 0.0.0.0
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
6 native detailed modes
Detailed mode: Clock 27.000 MHz, 531 mm x 398 mm
               1440 1478 1602 1716 hborder 0
                240  244  247  262 vborder 0
               -hsync -vsync interlaced 
Detailed mode: Clock 74.250 MHz, 708 mm x 398 mm
               1920 2448 2492 2640 hborder 0
                540  542  547  562 vborder 0
               +hsync +vsync interlaced 
Detailed mode: Clock 74.250 MHz, 708 mm x 398 mm
               1280 1720 1760 1980 hborder 0
                720  725  730  750 vborder 0
               +hsync +vsync 
Detailed mode: Clock 27.000 MHz, 531 mm x 398 mm
               1440 1464 1590 1728 hborder 0
                288  290  293  312 vborder 0
               -hsync -vsync interlaced 
Checksum: 0xff (should be 0x51)

EDID block does NOT conform to EDID 1.3!
    Detailed block string not properly terminated
EDID block does not conform at all!
    Block has broken checksum
xfxf commented 7 years ago

Windows machine configured with Blackmagic ATEM software, to remotely control. Note documentation indicates it needs both the USB + ethernet connected (static IP, 192.168.10/24).

mithro commented 7 years ago

As I expected, despite outputting the exact details requested by the BlackMagic mixer (thanks to @joeladdison 's "Custom EDID Mode" thingy) - still not getting anything on the BlackMagic Mixer...

Tried the following; 720p50

74.25 1280 1720 1760 1980 720  725  730  750 +hsync +vsync

720p60

74.25 1280 1390 1430 1650 720  725  730  750 +hsync +vsync

Can we try the blackmagic sender thingies?