cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
848 Views
Registered: ‎07-07-2019

ZCU104 HDMI Output Not Working

Hello,

I am working with the ZCU104 trying to get the different setup examples working. During initial bootups of the system, the HDMI screen would turn blue while communicating with the board through putty. I was attempting to get the facedetect example working, however, the See3Cam that came with the board is not compatible with the necessary inputs to the example project, and must be modified. During searching for modifications, I made the mistake of setting the export DISPLAY variable, and now the system will not communicate with the HDMI screen whatsoever. Is there a solution for this?

Thanks

Tags (2)
0 Kudos
17 Replies
Highlighted
Mentor
Mentor
836 Views
Registered: ‎06-16-2013

Re: ZCU104 HDMI Output Not Working

Hi @chance189 

 

I'm not familiar with facedetec example.

But I'd like to confirm your environment to resolve this issue.

Would you make sure the followings ?

 

- Make sure information on HDMI Tx by using following commands.

 

$ cat /sys/devices/platform/amba_pl@0/<your hdmi tx directoy name>/hdmi_info

$ cat /sys/devices/platform/amba_pl@0/<your hdmi tx directoy name>/hdmi_log

$ cat /sys/devices/platform/amba_pl@0/<your hdmi tx directoy name>/vphy_info

$ cat /sys/devices/platform/amba_pl@0/<your hdmi tx directoy name>/vphy_log

 

- Make sure log file if you use X-Window. (ex. /var/log/Xorg.0.log)

 

Best regards,

0 Kudos
Highlighted
Visitor
Visitor
817 Views
Registered: ‎07-07-2019

Re: ZCU104 HDMI Output Not Working

Hello @watari 

Thank you so much for your reply. I found the directory specified, but I'm not sure what to make of the files in this directory. The file path is /sys/devices/platform/amba/a008000.hdmi_txss.

The hdmi_log file show:

HDMI TX log
------
TX cable is connected....
TX Stream Start
TX Set Stream, with video mode (102)

The hdmi_info shows:

 

  Stream Info
 -------------
        Color Format:     RGB
        Color Depth:      8
        Pixels Per Clock: 2
        Mode:             Progressive
        Frame Rate:       60Hz
        Resolution:       1920x1080@60Hz
        Pixel Clock:      148500000

  Stream Timing
 ----------------

        HSYNC Timing: hav=1920, hfp=88, hsw=44(hsp=1), hbp=148, htot=2200
        VSYNC Timing: vav=1080, vfp=04, vsw=05(vsp=1), vbp=036, vtot=1125


Tx Info
--------
TX Mode - HDMI
HDMI Video Mask is Disabled

Scrambled: 0
Sample rate: 0
Audio channels: 0

 

The vphy_info shows:

TX: QPLL0
RX: CPLL
TX state: idle
RX state: idle

QPLL0 settings
-------------
M : 1 - N : 80 - D : 8

CPLL settings
-------------
M : 0 - N1 : 0 - N2 : 0 - D : 0

RX MMCM settings
-------------
Mult : 0 - Div : 0 - Clk0Div : 0 - Clk1Div : 0 - Clk2Div : 0

TX MMCM settings
-------------
Mult : 10 - Div : 1 - Clk0Div : 20 - Clk1Div : 10 - Clk2Div : 20

DRU Settings
-------------
Version  : 7
DRU is disabled

Tx Ref Clk: 0 Hz

The vphy_log

VPHY log
------
GT init start
GT init done

I'm confused, I completely wiped my SD card and put the files back on, but the error persists. Could I possibly reset the ZCU104 to resolve the issue? It was working fine before I began exporting settings. 

0 Kudos
Highlighted
Mentor
Mentor
806 Views
Registered: ‎06-16-2013

Re: ZCU104 HDMI Output Not Working

Hi @chance189 

 

Would you execute the following command ?

 

$ modetest

 

Best regards,

0 Kudos
Highlighted
Visitor
Visitor
802 Views
Registered: ‎07-07-2019

Re: ZCU104 HDMI Output Not Working

Hello,

Here is output:

Encoders:
id      crtc    type    possible crtcs  possible clones
37      0       TMDS    0x00000001      0x00000000

Connectors:
id      encoder status          name            size (mm)       modes   encoders
38      0       disconnected    DP-1            0x0             0       37
  props:
        1 EDID:
                flags: immutable blob
                blobs:

                value:
        2 DPMS:
                flags: enum
                enums: On=0 Standby=1 Suspend=2 Off=3
                value: 3
        5 link-status:
                flags: enum
                enums: Good=0 Bad=1
                value: 0
        39 sync:
                flags: range
                values: 0 1
                value: 0
        40 bpc:
                flags: enum
                enums: 6BPC=6 8BPC=8 10BPC=10 12BPC=12
                value: 8

CRTCs:
id      fb      pos     size
36      0       (0,0)   (0x0)
   0 0 0 0 0 0 0 0 0 0 flags: ; type:
  props:
        29 output_color:
                flags: enum
                enums: rgb=0 ycrcb444=1 ycrcb422=2 yonly=3
                value: 0
        30 bg_c0:
                flags: range
                values: 0 4095
                value: 0
        31 bg_c1:
                flags: range
                values: 0 4095
                value: 0
        32 bg_c2:
                flags: range
                values: 0 4095
                value: 0

Planes:
id      crtc    fb      CRTC x,y        x,y     gamma size      possible crtcs
34      0       0       0,0             0,0     0               0x00000001
  formats: VYUY UYVY YUYV YVYU YU16 YV16 YU24 YV24 NV16 NV61 BG24 RG24 XB24 XR24 XB30 XR30 YU12 YV12 NV12 NV21 XV15 XV20
  props:
        6 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 0
        33 tpg:
                flags: range
                values: 0 1
                value: 0
35      0       0       0,0             0,0     0               0x00000001
  formats: AB24 AR24 RA24 BA24 BG24 RG24 RA15 BA15 RA12 BA12 RG16 BG16
  props:
        6 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 1
        27 alpha:
                flags: range
                values: 0 255
                value: 255
        28 g_alpha_en:
                flags: range
                values: 0 1
                value: 1

Frame buffers:
id      size    pitch

0 Kudos
Highlighted
Mentor
Mentor
785 Views
Registered: ‎06-16-2013

Re: ZCU104 HDMI Output Not Working

Hi @chance189 

 

Would you execute the followings ?

 

1. Confirm correct node name about v_mix

 

$ ls /sys/devices/platform/amba_pl@0/

 

In my case, I found "a0070000.v_mix"

 

2. Inspect the connector-id and crtc-id for HDMI (not DP)

 

$ modetest -D <your v_mix's node name>

 

In my case, execute the following.

 

$ modetest -D a0070000.v_mix

 

3. set a mode to display video stream via HDMI Tx.

 

$ modetest -M xlnx -s <connector_id>@<crtc_id>:1920x1080@BG24

 

In my case, execute the following command

 

$ modetest -M xlnx -s 30@28:1920x1080@BG24

 

Best regards,

0 Kudos
Highlighted
Visitor
Visitor
720 Views
Registered: ‎07-07-2019

Re: ZCU104 HDMI Output Not Working

Strangely the previous post I had got taken down. The command I tried failed, getting an error : failed to find mode. 

0 Kudos
Highlighted
Mentor
Mentor
704 Views
Registered: ‎06-16-2013

Re: ZCU104 HDMI Output Not Working

Hi @chance189 

 

Could you post it again ?

I'm interesting error message and your command.

 

Best regards,

0 Kudos
Highlighted
Visitor
Visitor
666 Views
Registered: ‎07-07-2019

Re: ZCU104 HDMI Output Not Working

Hello, 

Thanks for the reply.

When I look inside the mix file, I see the below information

root@xilinx:/sys/devices/platform/amba/b00c0000.v_mix# modetest -D b00c0000.v_mix
Encoders:
id      crtc    type    possible crtcs  possible clones
35      34      TMDS    0x00000001      0x00000000

Connectors:
id      encoder status          name            size (mm)       modes   encoders
36      35      connected       HDMI-A-1        600x340         28      35
  modes:
        name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: preferred, driver
  1920x1080 75 1920 1968 2000 2080 1080 1083 1088 1119 174500 flags: phsync, nvsync; type: driver
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 148352 flags: phsync, pvsync; type: driver
  1920x1080 50 1920 2448 2492 2640 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver
  1600x900 60 1600 1624 1704 1800 900 901 904 1000 108000 flags: phsync, pvsync; type: driver
  1280x1024 75 1280 1296 1440 1688 1024 1025 1028 1066 135000 flags: phsync, pvsync; type: driver
  1280x1024 60 1280 1328 1440 1688 1024 1025 1028 1066 108000 flags: phsync, pvsync; type: driver
  1920x1080i 60 1920 2008 2052 2200 540 1084 1094 1125 74250 flags: phsync, pvsync, interlace; type: driver
  1920x1080i 60 1920 2008 2052 2200 540 1084 1094 1125 74176 flags: phsync, pvsync, interlace; type: driver
  1920x1080i 50 1920 2448 2492 2640 540 1084 1094 1125 74250 flags: phsync, pvsync, interlace; type: driver
  1152x864 75 1152 1216 1344 1600 864 865 868 900 108000 flags: phsync, pvsync; type: driver
  1280x720 60 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  1280x720 60 1280 1390 1430 1650 720 725 730 750 74176 flags: phsync, pvsync; type: driver
  1280x720 50 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  1024x768 75 1024 1040 1136 1312 768 769 772 800 78750 flags: phsync, pvsync; type: driver
  1024x768 60 1024 1048 1184 1344 768 771 777 806 65000 flags: nhsync, nvsync; type: driver
  800x600 75 800 816 896 1056 600 601 604 625 49500 flags: phsync, pvsync; type: driver
  800x600 60 800 840 968 1056 600 601 605 628 40000 flags: phsync, pvsync; type: driver
  720x576 50 720 732 796 864 576 581 586 625 27000 flags: nhsync, nvsync; type: driver
  720x480 60 720 736 798 858 480 489 495 525 27027 flags: nhsync, nvsync; type: driver
  720x480 60 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver
  640x480 75 640 656 720 840 480 481 484 500 31500 flags: nhsync, nvsync; type: driver
  640x480 60 640 656 752 800 480 490 492 525 25200 flags: nhsync, nvsync; type: driver
  640x480 60 640 656 752 800 480 490 492 525 25175 flags: nhsync, nvsync; type: driver
  720x400 70 720 738 846 900 400 412 414 449 28320 flags: nhsync, pvsync; type: driver
  720x576i 50 720 732 795 864 288 580 586 625 13500 flags: nhsync, nvsync, interlace, dblclk; type: driver
  720x480i 60 720 739 801 858 240 488 494 525 13514 flags: nhsync, nvsync, interlace, dblclk; type: driver
  720x480i 60 720 739 801 858 240 488 494 525 13500 flags: nhsync, nvsync, interlace, dblclk; type: driver
  props:
        1 EDID:
                flags: immutable blob
                blobs:

                value:
                        00ffffffffffff0010aca1d04c535731
                        031d0103803c2278eacd25a3574b9f27
                        0d5054a54b00714f8180a9c0d1c00101
                        010101010101023a801871382d40582c
                        450056502100001e000000ff0039334a
                        574b39314a3157534c0a000000fc0053
                        4532373137482f48580a2020000000fd
                        00384c1e5311000a2020202020200185
                        020320b14c9005040302071601141f12
                        1365030c001000681a00000101304be6
                        2a4480a0703827403020350056502100
                        001a011d8018711c1620582c25005650
                        2100009e011d007251d01e206e285500
                        56502100001e8c0ad08a20e02d10103e
                        96005650210000180000000000000000
                        00000000000000000000000000000028
        2 DPMS:
                flags: enum
                enums: On=0 Standby=1 Suspend=2 Off=3
                value: 0
        5 link-status:
                flags: enum
                enums: Good=0 Bad=1
                value: 0

CRTCs:
id      fb      pos     size
34      55      (0,0)   (1920x1080)
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: preferred, driver
  props:

Planes:
id      crtc    fb      CRTC x,y        x,y     gamma size      possible crtcs
29      0       0       0,0             0,0     0               0x00000001
  formats: YUYV
  props:
        6 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 0
        28 alpha:
                flags: range
                values: 0 256
                value: 256
30      0       0       0,0             0,0     0               0x00000001
  formats: YUYV
  props:
        6 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 0
        28 alpha:
                flags: range
                values: 0 256
                value: 256
31      0       0       0,0             0,0     0               0x00000001
  formats: UYVY
  props:
        6 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 0
        28 alpha:
                flags: range
                values: 0 256
                value: 256
32      34      55      0,0             0,0     0               0x00000001
  formats: AR24
  props:
        6 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 1
        28 alpha:
                flags: range
                values: 0 256
                value: 256
33      0       0       0,0             0,0     0               0x00000001
  formats: BG24
  props:
        6 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 0

Frame buffers:
id      size    pitch

I attempt to run your code, however, I get errors:

root@xilinx:/sys/devices/platform/amba/b00c0000.v_mix# modetest -M xlnx -s 36@34:1920x1080@BG24
failed to find mode "1920x1080" for connector 36
failed to create dumb buffer: Invalid argument

I read elsewhere on the forum, and found this issue, which seems similar to mine. I try the solution in this example as well, but receive the below error.

root@xilinx:/sys/devices/platform/amba/b00c0000.v_mix# modetest -D b00c0000.v_mix -s 36:1920x1080-60@BG24
setting mode 1920x1080-60Hz@BG24 on connectors 36, crtc 34
failed to set mode: Function not implemented

It appears in the other issue, he sees a blue screen. I do not. The ZCU104 is not communicating with my screen at all. I'm not sure what the problem is, it was working previously. I believe it was after setting the $DISPLAY parameter that all the errors occurred. 

Isn't all of this information based off the BOOT.bin file and associated files? Shouldn't resetting them fix the issue? 

Thanks for all your help

--Edit --

After searching more on the forums, I think I've found some similar error that befell the ZCU102 board. Looking at the bootup of linux, you can see here:

[    9.045520] udevd[1887]: starting version 3.2.2
[    9.069652] udevd[1888]: starting eudev-3.2.2
[    9.132363] xilinx_vphy: loading out-of-tree module taints kernel.
[    9.133122] xilinx_vphy: loading out-of-tree module taints kernel.
[    9.135178] xilinx-vphy a0000000.vphy: probed
[    9.135655] VPhy version : 02.02 (0000)
[    9.139523] xilinx-vphy a0000000.vphy: probe successful
[    9.141798] xilinx-hdmi-rx a1000000.hdmi_rxss: probed
[    9.144451] xvphy_phy_init(ffffffc05720f800).
[    9.144480] xvphy_phy_init(ffffffc044bf5000).
[    9.144517] xvphy_phy_init(ffffffc044bf4400).
[    9.154188] xilinx-hdmi-rx a1000000.hdmi_rxss: Direct firmware load for xilinx/xilinx-hdmi-rx-edid.bin failed with error -2
[    9.154195] xilinx-hdmi-rx a1000000.hdmi_rxss: Using Xilinx built-in EDID.
[    9.154340]
[    9.154340] Successfully loaded edid.
[    9.154357] xilinx-video amba:vcap_hdmi: Entity type for entity a1000000.hdmi_rxss was not initialized!
[    9.155032] xilinx-hdmi-rx a1000000.hdmi_rxss: probe successful
[    9.155122] xlnx-drm-hdmi a0080000.hdmi_txss: probed
[    9.155147] xlnx-drm-hdmi a0080000.hdmi_txss: hdmi tx audio disabled in DT
[    9.155363] xlnx-drm-hdmi a0080000.hdmi_txss: retimer-clk not ready -EPROBE_DEFER
[    9.163354] dp159 2-005e: probed
[    9.187867] dp159 2-005e: probe successful
[    9.188457] xlnx-drm-hdmi a0080000.hdmi_txss: probed
[    9.188482] xlnx-drm-hdmi a0080000.hdmi_txss: hdmi tx audio disabled in DT
[    9.189331] xlnx-drm-hdmi a0080000.hdmi_txss: probe successful
[    9.189565] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    9.189567] [drm] No driver support for vblank timestamp query.
[    9.189723] xlnx-drm xlnx-drm.0: bound b00c0000.v_mix (ops 0xffffff8008b33eb8)
[    9.189761] xlnx-drm xlnx-drm.0: bound a0080000.hdmi_txss (ops xlnx_drm_hdmi_driver_exit [xilinx_hdmi_tx])
[    9.295463] xlnx-mixer b00c0000.v_mix: fb0:  frame buffer device
[    9.317109] [drm] Initialized xlnx 1.0.0 20130509 for b00c0000.v_mix on minor 1
[    9.651805] [drm] Cannot find any crtc or sizes

Additionally, looking at the modetest -c command, I see only the display port as a connector. Is this possibly a hardware issue? Code below:

 

root@xilinx:~# modetest -c
Connectors:
id      encoder status          name            size (mm)       modes   encoders
38      0       disconnected    DP-1            0x0             0       37
  props:
        1 EDID:
                flags: immutable blob
                blobs:

                value:
        2 DPMS:
                flags: enum
                enums: On=0 Standby=1 Suspend=2 Off=3
                value: 3
        5 link-status:
                flags: enum
                enums: Good=0 Bad=1
                value: 0
        39 sync:
                flags: range
                values: 0 1
                value: 0
        40 bpc:
                flags: enum
                enums: 6BPC=6 8BPC=8 10BPC=10 12BPC=12
                value: 8

 

0 Kudos
Highlighted
Visitor
Visitor
650 Views
Registered: ‎07-07-2019

Re: ZCU104 HDMI Output Not Working

Thanks for the reply.

When I look inside the mix file, I see the below information

root@xilinx:/sys/devices/platform/amba/b00c0000.v_mix# modetest -D b00c0000.v_mix
Encoders:
id      crtc    type    possible crtcs  possible clones
35      34      TMDS    0x00000001      0x00000000

Connectors:
id      encoder status          name            size (mm)       modes   encoders
36      35      connected       HDMI-A-1        600x340         28      35
  modes:
        name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: preferred, driver
  1920x1080 75 1920 1968 2000 2080 1080 1083 1088 1119 174500 flags: phsync, nvsync; type: driver
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 148352 flags: phsync, pvsync; type: driver
  1920x1080 50 1920 2448 2492 2640 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver
  1600x900 60 1600 1624 1704 1800 900 901 904 1000 108000 flags: phsync, pvsync; type: driver
  1280x1024 75 1280 1296 1440 1688 1024 1025 1028 1066 135000 flags: phsync, pvsync; type: driver
  1280x1024 60 1280 1328 1440 1688 1024 1025 1028 1066 108000 flags: phsync, pvsync; type: driver
  1920x1080i 60 1920 2008 2052 2200 540 1084 1094 1125 74250 flags: phsync, pvsync, interlace; type: driver
  1920x1080i 60 1920 2008 2052 2200 540 1084 1094 1125 74176 flags: phsync, pvsync, interlace; type: driver
  1920x1080i 50 1920 2448 2492 2640 540 1084 1094 1125 74250 flags: phsync, pvsync, interlace; type: driver
  1152x864 75 1152 1216 1344 1600 864 865 868 900 108000 flags: phsync, pvsync; type: driver
  1280x720 60 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  1280x720 60 1280 1390 1430 1650 720 725 730 750 74176 flags: phsync, pvsync; type: driver
  1280x720 50 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  1024x768 75 1024 1040 1136 1312 768 769 772 800 78750 flags: phsync, pvsync; type: driver
  1024x768 60 1024 1048 1184 1344 768 771 777 806 65000 flags: nhsync, nvsync; type: driver
  800x600 75 800 816 896 1056 600 601 604 625 49500 flags: phsync, pvsync; type: driver
  800x600 60 800 840 968 1056 600 601 605 628 40000 flags: phsync, pvsync; type: driver
  720x576 50 720 732 796 864 576 581 586 625 27000 flags: nhsync, nvsync; type: driver
  720x480 60 720 736 798 858 480 489 495 525 27027 flags: nhsync, nvsync; type: driver
  720x480 60 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver
  640x480 75 640 656 720 840 480 481 484 500 31500 flags: nhsync, nvsync; type: driver
  640x480 60 640 656 752 800 480 490 492 525 25200 flags: nhsync, nvsync; type: driver
  640x480 60 640 656 752 800 480 490 492 525 25175 flags: nhsync, nvsync; type: driver
  720x400 70 720 738 846 900 400 412 414 449 28320 flags: nhsync, pvsync; type: driver
  720x576i 50 720 732 795 864 288 580 586 625 13500 flags: nhsync, nvsync, interlace, dblclk; type: driver
  720x480i 60 720 739 801 858 240 488 494 525 13514 flags: nhsync, nvsync, interlace, dblclk; type: driver
  720x480i 60 720 739 801 858 240 488 494 525 13500 flags: nhsync, nvsync, interlace, dblclk; type: driver
  props:
        1 EDID:
                flags: immutable blob
                blobs:

                value:
                        00ffffffffffff0010aca1d04c535731
                        031d0103803c2278eacd25a3574b9f27
                        0d5054a54b00714f8180a9c0d1c00101
                        010101010101023a801871382d40582c
                        450056502100001e000000ff0039334a
                        574b39314a3157534c0a000000fc0053
                        4532373137482f48580a2020000000fd
                        00384c1e5311000a2020202020200185
                        020320b14c9005040302071601141f12
                        1365030c001000681a00000101304be6
                        2a4480a0703827403020350056502100
                        001a011d8018711c1620582c25005650
                        2100009e011d007251d01e206e285500
                        56502100001e8c0ad08a20e02d10103e
                        96005650210000180000000000000000
                        00000000000000000000000000000028
        2 DPMS:
                flags: enum
                enums: On=0 Standby=1 Suspend=2 Off=3
                value: 0
        5 link-status:
                flags: enum
                enums: Good=0 Bad=1
                value: 0

CRTCs:
id      fb      pos     size
34      55      (0,0)   (1920x1080)
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: preferred, driver
  props:

Planes:
id      crtc    fb      CRTC x,y        x,y     gamma size      possible crtcs
29      0       0       0,0             0,0     0               0x00000001
  formats: YUYV
  props:
        6 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 0
        28 alpha:
                flags: range
                values: 0 256
                value: 256
30      0       0       0,0             0,0     0               0x00000001
  formats: YUYV
  props:
        6 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 0
        28 alpha:
                flags: range
                values: 0 256
                value: 256
31      0       0       0,0             0,0     0               0x00000001
  formats: UYVY
  props:
        6 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 0
        28 alpha:
                flags: range
                values: 0 256
                value: 256
32      34      55      0,0             0,0     0               0x00000001
  formats: AR24
  props:
        6 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 1
        28 alpha:
                flags: range
                values: 0 256
                value: 256
33      0       0       0,0             0,0     0               0x00000001
  formats: BG24
  props:
        6 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 0

Frame buffers:
id      size    pitch

I attempt to run your code, however, I get errors:

root@xilinx:/sys/devices/platform/amba/b00c0000.v_mix# modetest -M xlnx -s 36@34:1920x1080@BG24
failed to find mode "1920x1080" for connector 36
failed to create dumb buffer: Invalid argument

I read elsewhere on the forum, and found this issue, which seems similar to mine. I try the solution in this example as well, but receive the below error.

root@xilinx:/sys/devices/platform/amba/b00c0000.v_mix# modetest -D b00c0000.v_mix -s 36:1920x1080-60@BG24
setting mode 1920x1080-60Hz@BG24 on connectors 36, crtc 34
failed to set mode: Function not implemented

It appears in the other issue, he sees a blue screen. I do not. The ZCU104 is not communicating with my screen at all. I'm not sure what the problem is, it was working previously. I believe it was after setting the $DISPLAY parameter that all the errors occurred. 

Isn't all of this information based off the BOOT.bin file and associated files? Shouldn't resetting them fix the issue? 

Thanks for all your help

PS: The forum keeps deleting my replies... Marked as spam?

0 Kudos
Highlighted
Visitor
Visitor
647 Views
Registered: ‎07-07-2019

Re: ZCU104 HDMI Output Not Working

After searching more on the forums, I think I've found some similar error that befell the ZCU102 board. Looking at the bootup of linux, you can see here:

[    9.045520] udevd[1887]: starting version 3.2.2
[    9.069652] udevd[1888]: starting eudev-3.2.2
[    9.132363] xilinx_vphy: loading out-of-tree module taints kernel.
[    9.133122] xilinx_vphy: loading out-of-tree module taints kernel.
[    9.135178] xilinx-vphy a0000000.vphy: probed
[    9.135655] VPhy version : 02.02 (0000)
[    9.139523] xilinx-vphy a0000000.vphy: probe successful
[    9.141798] xilinx-hdmi-rx a1000000.hdmi_rxss: probed
[    9.144451] xvphy_phy_init(ffffffc05720f800).
[    9.144480] xvphy_phy_init(ffffffc044bf5000).
[    9.144517] xvphy_phy_init(ffffffc044bf4400).
[    9.154188] xilinx-hdmi-rx a1000000.hdmi_rxss: Direct firmware load for xilinx/xilinx-hdmi-rx-edid.bin failed with error -2
[    9.154195] xilinx-hdmi-rx a1000000.hdmi_rxss: Using Xilinx built-in EDID.
[    9.154340]
[    9.154340] Successfully loaded edid.
[    9.154357] xilinx-video amba:vcap_hdmi: Entity type for entity a1000000.hdmi_rxss was not initialized!
[    9.155032] xilinx-hdmi-rx a1000000.hdmi_rxss: probe successful
[    9.155122] xlnx-drm-hdmi a0080000.hdmi_txss: probed
[    9.155147] xlnx-drm-hdmi a0080000.hdmi_txss: hdmi tx audio disabled in DT
[    9.155363] xlnx-drm-hdmi a0080000.hdmi_txss: retimer-clk not ready -EPROBE_DEFER
[    9.163354] dp159 2-005e: probed
[    9.187867] dp159 2-005e: probe successful
[    9.188457] xlnx-drm-hdmi a0080000.hdmi_txss: probed
[    9.188482] xlnx-drm-hdmi a0080000.hdmi_txss: hdmi tx audio disabled in DT
[    9.189331] xlnx-drm-hdmi a0080000.hdmi_txss: probe successful
[    9.189565] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    9.189567] [drm] No driver support for vblank timestamp query.
[    9.189723] xlnx-drm xlnx-drm.0: bound b00c0000.v_mix (ops 0xffffff8008b33eb8)
[    9.189761] xlnx-drm xlnx-drm.0: bound a0080000.hdmi_txss (ops xlnx_drm_hdmi_driver_exit [xilinx_hdmi_tx])
[    9.295463] xlnx-mixer b00c0000.v_mix: fb0:  frame buffer device
[    9.317109] [drm] Initialized xlnx 1.0.0 20130509 for b00c0000.v_mix on minor 1
[    9.651805] [drm] Cannot find any crtc or sizes

Additionally, looking at the modetest -c command, I see only the display port as a connector. Is this possibly a hardware issue? Code below:

 

root@xilinx:~# modetest -c
Connectors:
id      encoder status          name            size (mm)       modes   encoders
38      0       disconnected    DP-1            0x0             0       37
  props:
        1 EDID:
                flags: immutable blob
                blobs:

                value:
        2 DPMS:
                flags: enum
                enums: On=0 Standby=1 Suspend=2 Off=3
                value: 3
        5 link-status:
                flags: enum
                enums: Good=0 Bad=1
                value: 0
        39 sync:
                flags: range
                values: 0 1
                value: 0
        40 bpc:
                flags: enum
                enums: 6BPC=6 8BPC=8 10BPC=10 12BPC=12
                value: 8
0 Kudos
Highlighted
Mentor
Mentor
630 Views
Registered: ‎06-16-2013

Re: ZCU104 HDMI Output Not Working

Hi @chance189 

 

Would you share the followings when it occurs this issue ?

 

- hmdi_log, hdmi_info, vphy_log and vphy_info

=> There are useful information for debbuging HDMI Tx.

- result of modetest

- run "modetest -D b00c0000.v_mix -s 36:1920x1080-60@BG24" after getting edid value.

=> I'd like to confirm EDID value from your monitor. Because it is relevant to drm error.

- Share /var/log/Xorg.0.log file

 

Best regards,

0 Kudos
Highlighted
Visitor
Visitor
562 Views
Registered: ‎07-07-2019

Re: ZCU104 HDMI Output Not Working

Hello @watari 

Thank you so much for your help. I'm utterly confused, as it "worked" today after I first turned it on, meaning the screen turned blue, which I believe is indicative of the system communicating with the screen. Running the modetest -c still shows the same information, shown below

root@xilinx:~# modetest -c
Connectors:
id      encoder status          name            size (mm)       modes   encoders
38      0       disconnected    DP-1            0x0             0       37
  props:
        1 EDID:
                flags: immutable blob
                blobs:

                value:
        2 DPMS:
                flags: enum
                enums: On=0 Standby=1 Suspend=2 Off=3
                value: 3
        5 link-status:
                flags: enum
                enums: Good=0 Bad=1
                value: 0
        39 sync:
                flags: range
                values: 0 1
                value: 0
        40 bpc:
                flags: enum
                enums: 6BPC=6 8BPC=8 10BPC=10 12BPC=12
                value: 8

When I tried to run the following gstreamer command as a test:

gst-launch-1.0 -v \
    xlnxvideosrc src-type="usbcam"  ! \
    "video/x-raw, width=640, height=480, format=UYVY" ! \
    videoconvert ! \
    "video/x-raw, width=640, height=480, format=BGR" ! \
    videoconvert ! \
    xlnxvideosink sink-type="hdmi" plane-id=31 sync=false fullscreen-overlay=true

then the screen went to black again, with no signal as an input. 

So now after attempting your test "modetest -D b00c0000.v_mix -s 36:1920x1080-60@BG24"

I looked into each file and found that they are the same as before. These files are located in the same directory:

 /sys/devices/platform/amba/a008000.hdmi_txss

HDMI TX log
------
Initializing HDMI TX core....
Initializing VTC core....
Reset HDMI TX Subsystem....
TX cable is connected....
TX Stream Start
TX Set Stream, with video mode (102)
root@xilinx:/sys/devices/platform/amba/a0080000.hdmi_txss# cat hdmi_info

  Stream Info
 -------------
        Color Format:     RGB
        Color Depth:      8
        Pixels Per Clock: 2
        Mode:             Progressive
        Frame Rate:       60Hz
        Resolution:       1920x1080@60Hz
        Pixel Clock:      148500000

  Stream Timing
 ----------------

        HSYNC Timing: hav=1920, hfp=88, hsw=44(hsp=1), hbp=148, htot=2200
        VSYNC Timing: vav=1080, vfp=04, vsw=05(vsp=1), vbp=036, vtot=1125


Tx Info
--------
TX Mode - HDMI
HDMI Video Mask is Disabled

Scrambled: 0
Sample rate: 0
Audio channels: 0
VPHY log
------
GT init start
GT init done
root@xilinx:/sys/devices/platform/amba/a0080000.hdmi_txss# cat vphy_info
TX: QPLL0
RX: CPLL
TX state: idle
RX state: idle

QPLL0 settings
-------------
M : 1 - N : 80 - D : 8

CPLL settings
-------------
M : 0 - N1 : 0 - N2 : 0 - D : 0

RX MMCM settings
-------------
Mult : 0 - Div : 0 - Clk0Div : 0 - Clk1Div : 0 - Clk2Div : 0

TX MMCM settings
-------------
Mult : 10 - Div : 1 - Clk0Div : 20 - Clk1Div : 10 - Clk2Div : 20

DRU Settings
-------------
Version  : 7
DRU is disabled

Tx Ref Clk: 0 Hz

The Xorg log does not exist in that directory, until I run the Xorg command manually. I looked at the messages and dmesg files, and see a lot of kernel warning related to the drm. 

root@xilinx:/var/log# cat Xorg.0.log
[  1423.645]
X.Org X Server 1.19.3
Release Date: 2017-03-15
[  1423.645] X Protocol Version 11, Revision 0
[  1423.645] Build Operating System: Linux 3.10.0-327.el7.x86_64 x86_64
[  1423.645] Current Operating System: Linux xilinx 4.14.0-xilinx-v2018.3 #1 SMP Tue Dec 11 02:51:09 UTC 2018 aarch64
[  1423.645] Kernel command line: earlycon clk_ignore_unused rootfstype=ramfs earlyprintk uio_pdrv_genirq.of_id=xlnx,generic-uio cma=512M cpuidle.off=1 cpufreq.off=1
[  1423.645] Build Date: 03 December 2018  09:43:45PM
[  1423.645]
[  1423.645] Current version of pixman: 0.34.0
[  1423.645]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  1423.645] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1423.645] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jan  9 16:25:12 2019
[  1423.646] (==) Using config file: "/etc/X11/xorg.conf"
[  1423.646] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1423.646] (==) ServerLayout "ServerLayout0"
[  1423.646] (**) |-->Screen "DefaultScreen" (0)
[  1423.646] (**) |   |-->Monitor "<default monitor>"
[  1423.646] (**) |   |-->Device "ZynqMP"
[  1423.646] (==) No monitor specified for screen "DefaultScreen".
        Using a default monitor configuration.
[  1423.646] (**) Option "BlankTime" "0"
[  1423.646] (**) Option "StandbyTime" "0"
[  1423.646] (**) Option "SuspendTime" "0"
[  1423.646] (**) Option "OffTime" "0"
[  1423.646] (==) Automatically adding devices
[  1423.646] (==) Automatically enabling devices
[  1423.646] (==) Automatically adding GPU devices
[  1423.647] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1423.647] (WW) The directory "/usr/share/fonts/X11/misc/" does not exist.
[  1423.647]    Entry deleted from font path.
[  1423.647] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
[  1423.647]    Entry deleted from font path.
[  1423.647] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[  1423.647]    Entry deleted from font path.
[  1423.647] (WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.
[  1423.647]    Entry deleted from font path.
[  1423.647] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  1423.647]    Entry deleted from font path.
[  1423.647] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  1423.647]    Entry deleted from font path.
[  1423.647] (==) FontPath set to:

[  1423.647] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1423.647] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1423.647] (II) Loader magic: 0x5bfc00
[  1423.647] (II) Module ABI versions:
[  1423.647]    X.Org ANSI C Emulation: 0.4
[  1423.647]    X.Org Video Driver: 23.0
[  1423.647]    X.Org XInput driver : 24.1
[  1423.647]    X.Org Server Extension : 10.0
[  1423.647] (II) xfree86: Adding drm device (/dev/dri/card1)
[  1433.824] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1433.824] (II) no primary bus or device found
[  1433.824]    falling back to /sys/devices/platform/amba/b00c0000.v_mix/drm/card1
[  1433.824] (II) LoadModule: "glx"
[  1433.824] (WW) Warning, couldn't open module glx
[  1433.824] (II) UnloadModule: "glx"
[  1433.824] (II) Unloading glx
[  1433.824] (EE) Failed to load module "glx" (module does not exist, 0)
[  1433.824] (II) LoadModule: "armsoc"
[  1433.825] (II) Loading /usr/lib/xorg/modules/drivers/armsoc_drv.so
[  1433.825] (II) Module armsoc: vendor="X.Org Foundation"
[  1433.825]    compiled for 1.19.3, module version = 1.4.1
[  1433.825]    Module class: X.Org Video Driver
[  1433.825]    ABI class: X.Org Video Driver, version 23.0
[  1433.825] (II) ARMSOC: Driver for ARM Mali compatible chipsets
[  1433.825] (--) using VT number 3

[  1433.844] (WW) Falling back to old probe method for armsoc
[  1433.844] (II) No BusID or DriverName specified - opening /dev/dri/card0
[  1433.844] (II) Got BusID fd4a0000.zynqmp-display
[  1433.844] (II) Opened DRM
[  1433.845] (II)    DeviceName is [/dev/dri/card0]
[  1433.845] (II)    bus_id is [fd4a0000.zynqmp-display]
[  1433.845] (II)    DriverName is [xlnx]
[  1433.845] (II)    version is [1.0.0]
[  1433.845] (II) Screen:0,  CRTC:-1
[  1433.845] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  1433.845] (II) ARMSOC(0): Creating default Display subsection in Screen section
        "DefaultScreen" for depth/fbbpp 24/32
[  1433.845] (**) ARMSOC(0): Depth 24, (--) framebuffer bpp 32
[  1433.845] (==) ARMSOC(0): RGB weight 888
[  1433.845] (==) ARMSOC(0): Using gamma correction (1.0, 1.0, 1.0)
[  1433.845] (==) ARMSOC(0): Default visual is TrueColor
[  1433.845] (II) No BusID or DriverName specified - opening /dev/dri/card0
[  1433.845] (II) Got BusID fd4a0000.zynqmp-display
[  1433.845] (II) Opened DRM
[  1433.845] (II)    DeviceName is [/dev/dri/card0]
[  1433.845] (II)    bus_id is [fd4a0000.zynqmp-display]
[  1433.845] (II)    DriverName is [xlnx]
[  1433.845] (II)    version is [1.0.0]
[  1433.845] (II) ARMSOC(0): Chipset: Mali
[  1433.845] (**) ARMSOC(0): Option "Debug" "false"
[  1433.845] (**) ARMSOC(0): Option "DRICard" "0"
[  1433.845] (II) ARMSOC(0): Buffer Flipping is Enabled
[  1433.845] (II) ARMSOC(0): umplock is Enabled
[  1433.845] (II) ARMSOC(0): Setting the video modes ...
[  1433.845] (II) ARMSOC(0): Adding all CRTCs
[  1433.845] (II) ARMSOC(0): Got CRTC: 0 (id: 36)
[  1434.924] (II) ARMSOC(0): Output DP-1 has no monitor section
[  1436.004] (II) ARMSOC(0): EDID for output DP-1
[  1436.004] (II) ARMSOC(0): Output DP-1 disconnected
[  1436.004] (WW) ARMSOC(0): No outputs definitely connected, trying again...
[  1436.004] (II) ARMSOC(0): Output DP-1 disconnected
[  1436.004] (WW) ARMSOC(0): Unable to find connected outputs - setting 1024x768 initial framebuffer
[  1436.004] (II) ARMSOC(0): Got KMS resources
[  1436.004] (==) ARMSOC(0): DPI set to (96, 96)
[  1436.004] (II) Loading sub module "dri2"
[  1436.004] (II) LoadModule: "dri2"
[  1436.004] (II) Module "dri2" already built-in
[  1436.004] (II) Loading sub module "exa"
[  1436.004] (II) LoadModule: "exa"
[  1436.004] (II) Loading /usr/lib/xorg/modules/libexa.so
[  1436.004] (II) Module exa: vendor="X.Org Foundation"
[  1436.004]    compiled for 1.19.3, module version = 2.6.0
[  1436.004]    ABI class: X.Org Video Driver, version 23.0
[  1436.004] (II) Loading sub module "fb"
[  1436.004] (II) LoadModule: "fb"
[  1436.004] (II) Loading /usr/lib/xorg/modules/libfb.so
[  1436.005] (II) Module fb: vendor="X.Org Foundation"
[  1436.005]    compiled for 1.19.3, module version = 1.0.0
[  1436.005]    ABI class: X.Org ANSI C Emulation, version 0.4
[  1436.005] (--) Depth 24 pixmap format is 32 bpp
[  1436.007] (II) ARMSOC(0): Soft EXA mode
[  1436.007] (II) EXA(0): Driver allocated offscreen pixmaps
[  1436.007] (II) EXA(0): Driver registered support for the following operations:
[  1436.007] (II)         Solid
[  1436.007] (II)         Copy
[  1436.007] (II)         Composite (RENDER acceleration)
[  1436.007] (II) ARMSOC(0): Setting swap chain size: 2
[  1436.007] (II) ARMSOC(0): [DRI2] Setup complete
[  1436.007] (II) ARMSOC(0): [DRI2]   DRI driver: armsoc
[  1436.007] (==) ARMSOC(0): Backing store enabled
[  1436.007] (==) ARMSOC(0): Silken mouse enabled
[  1436.007] (II) ARMSOC(0): HW cursor init()
[  1436.007] (II) ARMSOC(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  1436.008] (--) RandR disabled
[  1436.087] (II) config/udev: Adding input device See3CAM_CU30 (/dev/input/event0)
[  1436.087] (**) See3CAM_CU30: Applying InputClass "evdev keyboard catchall"
[  1436.087] (**) See3CAM_CU30: Applying InputClass "libinput keyboard catchall"
[  1436.087] (II) LoadModule: "libinput"
[  1436.088] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  1436.089] (II) Module libinput: vendor="X.Org Foundation"
[  1436.089]    compiled for 1.19.3, module version = 0.25.1
[  1436.089]    Module class: X.Org XInput Driver
[  1436.089]    ABI class: X.Org XInput driver, version 24.1
[  1436.089] (II) Using input driver 'libinput' for 'See3CAM_CU30'
[  1436.089] (**) See3CAM_CU30: always reports core events
[  1436.089] (**) Option "Device" "/dev/input/event0"
[  1436.089] (**) Option "_source" "server/udev"
[  1436.090] (II) event0  - (II) See3CAM_CU30: (II) is tagged by udev as: Keyboard
[  1436.090] (II) event0  - (II) See3CAM_CU30: (II) device is a keyboard
[  1436.090] (II) event0  - (II) See3CAM_CU30: (II) device removed
[  1436.124] (**) Option "config_info" "udev:/sys/devices/platform/amba/ff9d0000.usb0/fe200000.dwc3/xhci-hcd.0.auto/usb2/2-1/2-1:1.0/input/input0/event0"
[  1436.124] (II) XINPUT: Adding extended input device "See3CAM_CU30" (type: KEYBOARD, id 6)
[  1436.125] (II) event0  - (II) See3CAM_CU30: (II) is tagged by udev as: Keyboard
[  1436.125] (II) event0  - (II) See3CAM_CU30: (II) device is a keyboard
[  1436.271] (II) event0  - (II) See3CAM_CU30: (II) device removed
[  1436.301] (II) UnloadModule: "libinput"

Thanks for all your help.

0 Kudos
Highlighted
Mentor
Mentor
557 Views
Registered: ‎06-16-2013

Re: ZCU104 HDMI Output Not Working

Hi @chance189 

 

# about result of "modetest -c"

 

It shows the followings from result of "modetest -c"

 

- DP Tx active. But it hasn't finished a negociation between MPSoC and monitor.

- It hasn't read EDID value from monitor yet.

- MPSoC hasn't set CRTC value yet.

 

But since you'd like to use HDMI Tx, it's correct.

You must properly connect a graph for output video and set CRTC value.

 

# about gstreamer command

If this command is correct, I suggest you to execute the following command instead of I mentioned before.

 

$ modetest -D b00c0000.v_mix -s 36:1920x1080-60@AR24 -w 31:"alpha":0

 

# about HDMI/vphy log

According to these files, vphy works fine. But since CRTC setting is wrong, HDMI Tx fails.

 

# about Xorg.0.log

Would you make sure /var/log/Xorg.0.log again ?

Also, would you share it, if you found it ?

 

Best regards,

0 Kudos
Highlighted
Visitor
Visitor
545 Views
Registered: ‎07-07-2019

Re: ZCU104 HDMI Output Not Working

Hello, the command supplies just hangs

root@xilinx:~# modetest -D b00c0000.v_mix -s 36:1920x1080-60@AR24 -w 31:"alpha":0
setting mode 1920x1080-60Hz@AR24 on connectors 36, crtc 34

And the Xorg file does not exist on boot. I have to manually run the command Xorg, at which it stores the log in the file location you specified. 

Here is showing that it doesn't exist, then I run Xorg, which fails. 

root@xilinx:/var/log# ls
boot             dmesg            messages         wtmp
boot~            lastlog          postinstall.log
root@xilinx:/var/log# Xorg

X.Org X Server 1.19.3
Release Date: 2017-03-15
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.10.0-327.el7.x86_64 x86_64
Current Operating System: Linux xilinx 4.14.0-xilinx-v2018.3 #1 SMP Tue Dec 11 02:51:09 UTC 2018 aarch64
Kernel command line: earlycon clk_ignore_unused rootfstype=ramfs earlyprintk uio_pdrv_genirq.of_id=xlnx,generic-u                                                                            io cma=512M cpuidle.off=1 cpufreq.off=1
Build Date: 03 December 2018  09:43:45PM

Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jan  9 17:38:25 2019
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"


^CXorg: ../../xorg-server-1.19.3/include/privates.h:122: dixGetPrivateAddr: Assertion `key->initialized' failed.
Aborted
root@xilinx:/var/log# ls
Xorg.0.log       boot~            lastlog          postinstall.log
boot             dmesg            messages         wtmp
root@xilinx:/var/log#

Then the contents of Xorg are:

root@xilinx:/var/log# cat Xorg.0.log
[  1480.013]
X.Org X Server 1.19.3
Release Date: 2017-03-15
[  1480.013] X Protocol Version 11, Revision 0
[  1480.013] Build Operating System: Linux 3.10.0-327.el7.x86_64 x86_64
[  1480.013] Current Operating System: Linux xilinx 4.14.0-xilinx-v2018.3 #1 SMP Tue Dec 11 02:51:09 UTC 2018 aarch64
[  1480.013] Kernel command line: earlycon clk_ignore_unused rootfstype=ramfs earlyprintk uio_pdrv_genirq.of_id=xlnx,generic-uio cma=512M cpuidle.off=1 cpufreq.off=1
[  1480.013] Build Date: 03 December 2018  09:43:45PM
[  1480.013]
[  1480.013] Current version of pixman: 0.34.0
[  1480.013]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  1480.013] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1480.013] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jan  9 17:43:15 2019
[  1480.014] (==) Using config file: "/etc/X11/xorg.conf"
[  1480.014] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1480.014] (==) ServerLayout "ServerLayout0"
[  1480.014] (**) |-->Screen "DefaultScreen" (0)
[  1480.014] (**) |   |-->Monitor "<default monitor>"
[  1480.014] (**) |   |-->Device "ZynqMP"
[  1480.014] (==) No monitor specified for screen "DefaultScreen".
        Using a default monitor configuration.
[  1480.014] (**) Option "BlankTime" "0"
[  1480.014] (**) Option "StandbyTime" "0"
[  1480.014] (**) Option "SuspendTime" "0"
[  1480.014] (**) Option "OffTime" "0"
[  1480.014] (==) Automatically adding devices
[  1480.014] (==) Automatically enabling devices
[  1480.014] (==) Automatically adding GPU devices
[  1480.015] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1480.015] (WW) The directory "/usr/share/fonts/X11/misc/" does not exist.
[  1480.015]    Entry deleted from font path.
[  1480.015] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
[  1480.015]    Entry deleted from font path.
[  1480.015] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[  1480.015]    Entry deleted from font path.
[  1480.015] (WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.
[  1480.015]    Entry deleted from font path.
[  1480.015] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  1480.015]    Entry deleted from font path.
[  1480.015] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  1480.015]    Entry deleted from font path.
[  1480.015] (==) FontPath set to:

[  1480.015] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1480.015] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1480.015] (II) Loader magic: 0x5bfc00
[  1480.015] (II) Module ABI versions:
[  1480.015]    X.Org ANSI C Emulation: 0.4
[  1480.015]    X.Org Video Driver: 23.0
[  1480.015]    X.Org XInput driver : 24.1
[  1480.015]    X.Org Server Extension : 10.0
[  1480.015] (II) xfree86: Adding drm device (/dev/dri/card1)
[  1490.144] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1490.144] (II) no primary bus or device found
[  1490.144]    falling back to /sys/devices/platform/amba/b00c0000.v_mix/drm/card1
[  1490.144] (II) LoadModule: "glx"
[  1490.144] (WW) Warning, couldn't open module glx
[  1490.144] (II) UnloadModule: "glx"
[  1490.144] (II) Unloading glx
[  1490.144] (EE) Failed to load module "glx" (module does not exist, 0)
[  1490.144] (II) LoadModule: "armsoc"
[  1490.145] (II) Loading /usr/lib/xorg/modules/drivers/armsoc_drv.so
[  1490.145] (II) Module armsoc: vendor="X.Org Foundation"
[  1490.145]    compiled for 1.19.3, module version = 1.4.1
[  1490.145]    Module class: X.Org Video Driver
[  1490.145]    ABI class: X.Org Video Driver, version 23.0
[  1490.145] (II) ARMSOC: Driver for ARM Mali compatible chipsets
[  1490.145] (--) using VT number 3

[  1490.146] (WW) Falling back to old probe method for armsoc
[  1490.146] (II) No BusID or DriverName specified - opening /dev/dri/card0
[  1490.146] (II) Got BusID fd4a0000.zynqmp-display
[  1490.146] (II) Opened DRM
[  1490.146] (II)    DeviceName is [/dev/dri/card0]
[  1490.146] (II)    bus_id is [fd4a0000.zynqmp-display]
[  1490.146] (II)    DriverName is [xlnx]
[  1490.146] (II)    version is [1.0.0]
[  1490.146] (II) Screen:0,  CRTC:-1
[  1490.146] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  1490.146] (II) ARMSOC(0): Creating default Display subsection in Screen section
        "DefaultScreen" for depth/fbbpp 24/32
[  1490.146] (**) ARMSOC(0): Depth 24, (--) framebuffer bpp 32
[  1490.146] (==) ARMSOC(0): RGB weight 888
[  1490.146] (==) ARMSOC(0): Using gamma correction (1.0, 1.0, 1.0)
[  1490.146] (==) ARMSOC(0): Default visual is TrueColor
[  1490.146] (II) No BusID or DriverName specified - opening /dev/dri/card0
[  1490.146] (II) Got BusID fd4a0000.zynqmp-display
[  1490.146] (II) Opened DRM
[  1490.146] (II)    DeviceName is [/dev/dri/card0]
[  1490.146] (II)    bus_id is [fd4a0000.zynqmp-display]
[  1490.146] (II)    DriverName is [xlnx]
[  1490.146] (II)    version is [1.0.0]
[  1490.146] (II) ARMSOC(0): Chipset: Mali
[  1490.146] (**) ARMSOC(0): Option "Debug" "false"
[  1490.146] (**) ARMSOC(0): Option "DRICard" "0"
[  1490.146] (II) ARMSOC(0): Buffer Flipping is Enabled
[  1490.146] (II) ARMSOC(0): umplock is Enabled
[  1490.146] (II) ARMSOC(0): Setting the video modes ...
[  1490.146] (II) ARMSOC(0): Adding all CRTCs
[  1490.146] (II) ARMSOC(0): Got CRTC: 0 (id: 36)
[  1491.224] (II) ARMSOC(0): Output DP-1 has no monitor section
[  1492.304] (II) ARMSOC(0): EDID for output DP-1
[  1492.304] (II) ARMSOC(0): Output DP-1 disconnected
[  1492.304] (WW) ARMSOC(0): No outputs definitely connected, trying again...
[  1492.304] (II) ARMSOC(0): Output DP-1 disconnected
[  1492.304] (WW) ARMSOC(0): Unable to find connected outputs - setting 1024x768 initial framebuffer
[  1492.304] (II) ARMSOC(0): Got KMS resources
[  1492.304] (==) ARMSOC(0): DPI set to (96, 96)
[  1492.304] (II) Loading sub module "dri2"
[  1492.304] (II) LoadModule: "dri2"
[  1492.304] (II) Module "dri2" already built-in
[  1492.304] (II) Loading sub module "exa"
[  1492.304] (II) LoadModule: "exa"
[  1492.304] (II) Loading /usr/lib/xorg/modules/libexa.so
[  1492.304] (II) Module exa: vendor="X.Org Foundation"
[  1492.304]    compiled for 1.19.3, module version = 2.6.0
[  1492.304]    ABI class: X.Org Video Driver, version 23.0
[  1492.304] (II) Loading sub module "fb"
[  1492.304] (II) LoadModule: "fb"
[  1492.304] (II) Loading /usr/lib/xorg/modules/libfb.so
[  1492.305] (II) Module fb: vendor="X.Org Foundation"
[  1492.305]    compiled for 1.19.3, module version = 1.0.0
[  1492.305]    ABI class: X.Org ANSI C Emulation, version 0.4
[  1492.305] (--) Depth 24 pixmap format is 32 bpp
[  1492.307] (II) ARMSOC(0): Soft EXA mode
[  1492.307] (II) EXA(0): Driver allocated offscreen pixmaps
[  1492.307] (II) EXA(0): Driver registered support for the following operations:
[  1492.307] (II)         Solid
[  1492.307] (II)         Copy
[  1492.307] (II)         Composite (RENDER acceleration)
[  1492.307] (II) ARMSOC(0): Setting swap chain size: 2
[  1492.307] (II) ARMSOC(0): [DRI2] Setup complete
[  1492.307] (II) ARMSOC(0): [DRI2]   DRI driver: armsoc
[  1492.307] (==) ARMSOC(0): Backing store enabled
[  1492.307] (==) ARMSOC(0): Silken mouse enabled
[  1492.307] (II) ARMSOC(0): HW cursor init()
[  1492.307] (II) ARMSOC(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  1492.308] (--) RandR disabled
[  1492.387] (II) config/udev: Adding input device See3CAM_CU30 (/dev/input/event0)
[  1492.387] (**) See3CAM_CU30: Applying InputClass "evdev keyboard catchall"
[  1492.387] (**) See3CAM_CU30: Applying InputClass "libinput keyboard catchall"
[  1492.387] (II) LoadModule: "libinput"
[  1492.388] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  1492.389] (II) Module libinput: vendor="X.Org Foundation"
[  1492.389]    compiled for 1.19.3, module version = 0.25.1
[  1492.389]    Module class: X.Org XInput Driver
[  1492.389]    ABI class: X.Org XInput driver, version 24.1
[  1492.389] (II) Using input driver 'libinput' for 'See3CAM_CU30'
[  1492.389] (**) See3CAM_CU30: always reports core events
[  1492.389] (**) Option "Device" "/dev/input/event0"
[  1492.389] (**) Option "_source" "server/udev"
[  1492.389] (II) event0  - (II) See3CAM_CU30: (II) is tagged by udev as: Keyboard
[  1492.389] (II) event0  - (II) See3CAM_CU30: (II) device is a keyboard
[  1492.389] (II) event0  - (II) See3CAM_CU30: (II) device removed
[  1492.420] (**) Option "config_info" "udev:/sys/devices/platform/amba/ff9d0000.usb0/fe200000.dwc3/xhci-hcd.0.auto/usb2/2-1/2-1:1.0/input/input0/event0"
[  1492.420] (II) XINPUT: Adding extended input device "See3CAM_CU30" (type: KEYBOARD, id 6)
[  1492.421] (II) event0  - (II) See3CAM_CU30: (II) is tagged by udev as: Keyboard
[  1492.421] (II) event0  - (II) See3CAM_CU30: (II) device is a keyboard
[  1495.631] (II) event0  - (II) See3CAM_CU30: (II) device removed
[  1495.661] (II) UnloadModule: "libinput"
root@xilinx:/var/log#
0 Kudos
Highlighted
Mentor
Mentor
532 Views
Registered: ‎06-16-2013

Re: ZCU104 HDMI Output Not Working

Hi @chance189 

 

Would you tell me where do you get this example design ?

I'd like to investigate the route cause with it.

 

Best regards,

0 Kudos
Highlighted
Visitor
Visitor
518 Views
Registered: ‎07-07-2019

Re: ZCU104 HDMI Output Not Working

Go to this address:

https://www.xilinx.com/products/design-tools/ai-inference/ai-developer-hub.html#edge

And it is the DNNDK for SDSOC, which is this one. I'm trying to do the YOLO example, which is the pedestrian walking one. 

a_Picture.JPG

 

0 Kudos
Highlighted
Explorer
Explorer
140 Views
Registered: ‎03-21-2019

Re: ZCU104 HDMI Output Not Working

"You must properly connect a graph for output video and set CRTC value."

How would one go about this?

0 Kudos