cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
1,202 Views
Registered: ‎08-31-2019

zcu106 X display on HDMI not working

Jump to solution

Hi all,

I am trying to enable X display on HDMI port of ZCU106 eval board. I use vcu trd 2019.1 design. X display on DP port runs perfectly fine. But when I run Xorg on HDMI port, somehow it gives me error as belows. Could someone please help me out? Any advice would be appreciated!

 

(II) ARMSOC(0): Printing probed modes for output HDMI-1
(II) ARMSOC(0): Modeline "3840x2160"x60.0 533.25 3840 3888 3920 4000 2160 2163 2168 2222 +hsync -vsync (133.3 kHz eP)
(II) ARMSOC(0): Modeline "3840x2160"x60.0 594.00 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync (135.0 kHz e)
(II) ARMSOC(0): Modeline "3840x2160"x50.0 594.00 3840 4896 4984 5280 2160 2168 2178 2250 +hsync +vsync (112.5 kHz e)
(II) ARMSOC(0): Modeline "3840x2160"x59.9 593.41 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync (134.9 kHz e)
(II) ARMSOC(0): Modeline "3840x2160"x30.0 297.00 3840 4016 4104 4400 2160 2163 2169 2250 +hsync +vsync (67.5 kHz e)
(II) ARMSOC(0): Modeline "3840x2160"x30.0 297.00 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync (67.5 kHz e)
(II) ARMSOC(0): Modeline "3840x2160"x25.0 297.00 3840 4896 4984 5280 2160 2168 2178 2250 +hsync +vsync (56.2 kHz e)
(II) ARMSOC(0): Modeline "3840x2160"x24.0 297.00 3840 5116 5204 5500 2160 2168 2178 2250 +hsync +vsync (54.0 kHz e)
(II) ARMSOC(0): Modeline "3840x2160"x30.0 296.70 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync (67.4 kHz e)
(II) ARMSOC(0): Modeline "3840x2160"x24.0 296.70 3840 5116 5204 5500 2160 2168 2178 2250 +hsync +vsync (53.9 kHz e)
(II) ARMSOC(0): Modeline "2560x1440"x60.0 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync +vsync (88.8 kHz e)
(II) ARMSOC(0): Modeline "2560x1080"x60.0 198.00 2560 2808 2852 3000 1080 1084 1089 1100 +hsync +vsync (66.0 kHz e)
(II) ARMSOC(0): Modeline "2560x1080"x59.9 197.80 2560 2808 2852 3000 1080 1084 1089 1100 +hsync +vsync (65.9 kHz e)
(II) ARMSOC(0): Modeline "2048x1152"x60.0 162.00 2048 2074 2154 2250 1152 1153 1156 1200 +hsync +vsync (72.0 kHz e)
(II) ARMSOC(0): Modeline "1920x1200"x60.0 154.00 1920 1968 2000 2080 1200 1203 1209 1235 +hsync -vsync (74.0 kHz e)
(II) ARMSOC(0): Modeline "1920x1080"x60.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 -hsync -vsync (67.5 kHz e)
(II) ARMSOC(0): Modeline "1920x1080"x60.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
(II) ARMSOC(0): Modeline "1920x1080"x50.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
(II) ARMSOC(0): Modeline "1920x1080"x59.9 148.35 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
(II) ARMSOC(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
(II) ARMSOC(0): Modeline "1600x900"x60.0 108.00 1600 1624 1704 1800 900 901 904 1000 +hsync +vsync (60.0 kHz e)
(II) ARMSOC(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
(II) ARMSOC(0): Modeline "1440x900"x59.9 88.75 1440 1488 1520 1600 900 903 909 926 +hsync -vsync (55.5 kHz e)
(II) ARMSOC(0): Modeline "1920x1080i"x60.0 74.25 1920 2008 2052 2200 540 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
(II) ARMSOC(0): Modeline "1920x1080i"x59.9 74.18 1920 2008 2052 2200 540 1084 1094 1125 interlace +hsync +vsync (33.7 kHz e)
(II) ARMSOC(0): Modeline "1280x800"x59.9 71.00 1280 1328 1360 1440 800 803 809 823 +hsync -vsync (49.3 kHz e)
(II) ARMSOC(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz e)
(II) ARMSOC(0): Modeline "1280x720"x60.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
(II) ARMSOC(0): Modeline "1280x720"x50.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz e)
(II) ARMSOC(0): Modeline "1280x720"x59.9 74.18 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
(II) ARMSOC(0): Modeline "1024x768"x75.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz e)
(II) ARMSOC(0): Modeline "1024x768"x70.1 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz e)
(II) ARMSOC(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
(II) ARMSOC(0): Modeline "832x624"x74.6 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz e)
(II) ARMSOC(0): Modeline "800x600"x72.2 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz e)
(II) ARMSOC(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz e)
(II) ARMSOC(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
(II) ARMSOC(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e)
(II) ARMSOC(0): Modeline "720x576"x50.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz e)
(II) ARMSOC(0): Modeline "720x480"x60.0 27.03 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
(II) ARMSOC(0): Modeline "720x480"x59.9 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
(II) ARMSOC(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz e)
(II) ARMSOC(0): Modeline "640x480"x72.8 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz e)
(II) ARMSOC(0): Modeline "640x480"x66.7 30.24 640 704 768 864 480 483 486 525 -hsync -vsync (35.0 kHz e)
(II) ARMSOC(0): Modeline "640x480"x60.0 25.20 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
(II) ARMSOC(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
(II) ARMSOC(0): Modeline "720x400"x70.1 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e)
(II) ARMSOC(0): Output HDMI-1 connected
(II) ARMSOC(0): Using exact sizes for initial modes
(II) ARMSOC(0): Output HDMI-1 using initial mode 3840x2160 +0+0
(II) ARMSOC(0): Got KMS resources
(**) ARMSOC(0): Display dimensions: (520, 290) mm
(**) ARMSOC(0): DPI set to (187, 189)
(II) Loading /usr/lib/xorg/modules/libexa.so
(II) Module exa: vendor="X.Org Foundation"
compiled for 1.20.1, module version = 2.6.0
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.20.1, module version = 1.0.0
(II) ARMSOC(0): Soft EXA mode
(II) EXA(0): Driver allocated offscreen pixmaps
(II) EXA(0): Driver registered support for the following operations:
(II) Solid
(II) Copy
(II) Composite (RENDER acceleration)
(II) ARMSOC(0): Setting swap chain size: 2
(II) ARMSOC(0): [DRI2] Setup complete
(II) ARMSOC(0): [DRI2] DRI driver: armsoc
(==) ARMSOC(0): Backing store enabled
(==) ARMSOC(0): Silken mouse enabled
(II) ARMSOC(0): HW cursor init()
(EE) ARMSOC(0): ERROR: drm failed to set mode: Invalid argument
(EE) ARMSOC(0): ERROR: xf86SetDesiredModes() failed!
(EE) ARMSOC(0): ERROR: ARMSOCEnterVT() failed!
(EE)
Fatal server error:
(EE) AddScreen/ScreenInit failed for driver 0
(EE)
(EE)

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Observer
Observer
933 Views
Registered: ‎08-31-2019
Hi Watari,

I solved this issue by adding a BGRA8 layer in video mixer. It's probably because Xorg needs a AR24 plane to work.

View solution in original post

12 Replies
Highlighted
Teacher
Teacher
1,141 Views
Registered: ‎06-16-2013

Hi @yizhijiang 

 

I suggest you to make sure the followings.

 

- Result of the following command.

$ cat /sys/devices/platform/amba_pl@0/<your HDMI Tx's property name>/vphy_info

$ cat /sys/devices/platform/amba_pl@0/<your HDMI Tx's property name>/vphy_log

$ cat /sys/devices/platform/amba_pl@0/<your HDMI Tx's property name>/hdmi_info

$ cat /sys/devices/platform/amba_pl@0/<your HDMI Tx's property name>/hdmi_log

$ modetest

$ modetest -d xlnx_drm

 

- Make sure parameter of X Window on Xorg.conf

 

Best regards,

0 Kudos
Highlighted
Observer
Observer
1,117 Views
Registered: ‎08-31-2019

Hi Watari,

 

Thank you for your help! I ran the commands you suggested. Modetest only shows DP connector, not HDMI. I'm not sure where the problem is.

 

$ cat /sys/devices/platform/amba_pl@0/<your HDMI Tx's property name>/vphy_info

root@zcu106_vcu_trd:/sys/devices/platform/amba_pl@0/a0020000.v_hdmi_tx_ss# cat vphy_info
TX: QPLL0
RX: CPLL
TX state: idle
RX state: idle

QPLL0 settings
-------------
M : 0 - N : 0 - D : 0

CPLL settings
-------------
M : 1 - N1 : 5 - N2 : 2 - D : 2

RX MMCM settings
-------------
Mult : 4 - Div : 1 - Clk0Div : 8 - Clk1Div : 4 - Clk2Div : 8

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

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

Tx Ref Clk: 27000832 Hz

 

$ cat /sys/devices/platform/amba_pl@0/<your HDMI Tx's property name>/vphy_log

VPHY log
------
GT init start
GT init done
TX frequency event
TX timer event
QPLL reconfig done
GT TX reconfig start
GT TX reconfig done
RX frequency event
RX timer event
RX DRU disable
CPLL reconfig done
GT RX reconfig start
GT RX reconfig done
CPLL lock
RX reset done
RX MMCM reconfig done
RX MMCM lock

$ cat /sys/devices/platform/amba_pl@0/<your HDMI Tx's property name>/hdmi_info

Stream Info
-------------
Color Format: RGB
Color Depth: 0
Pixels Per Clock: 0
Mode: Progressive
Frame Rate: 60Hz
Resolution: 720x480@60Hz (I)
Pixel Clock: 13513500

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

HSYNC Timing: hav=0000, hfp=00, hsw=00(hsp=0), hbp=000, htot=0000
VSYNC Timing: vav=0000, vfp=00, vsw=00(vsp=0), vbp=000, vtot=0000


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

Scrambled: 0
Sample rate: 0
Audio channels: 0

$ cat /sys/devices/platform/amba_pl@0/<your HDMI Tx's property name>/hdmi_log

HDMI TX log
------
Initializing HDMI TX core....
Initializing VTC core....
Reset HDMI TX Subsystem....
TX cable is connected....
TX Stream Start
TX Audio Unmuted

$ modetest

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

Connectors:
id encoder status name size (mm) modes encoders
39 0 disconnected DP-1 0x0 0 38

$ modetest -d xlnx_drm

shows nothing

 

0 Kudos
Highlighted
Teacher
Teacher
1,100 Views
Registered: ‎06-16-2013

Hi @yizhijiang 

 

Which project are you using ?

 

Best regards,

0 Kudos
Highlighted
Observer
Observer
1,089 Views
Registered: ‎08-31-2019
Hi Watari,

I'm using ZCU106 VCU TRD 2019.1 version.
0 Kudos
Highlighted
Teacher
Teacher
1,071 Views
Registered: ‎06-16-2013

Hi @yizhijiang 

 

Got it. But I'd like to know more detail to confirm plane-id.

In my case, I use vcu_plddr_hdmi to investigate capability of VCU.

 

Would you share it ?

 

Best regards,

0 Kudos
Highlighted
Observer
Observer
1,058 Views
Registered: ‎08-31-2019
Hi Watari,

If I run modetest -D a0070000.v_mix, I got

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

Connectors:
id encoder status name size (mm) modes encoders
41 0 connected HDMI-A-1 520x290 52 40

And plane id is from 30-38


If I run gst-launch-1.0 -v videotestsrc ! kmssink bus-id="a0070000.v_mix", HDMI monitor shows gstreamer videotestsrc generated video.

It's just now that I would like to run my QT application on HDMI monitor, I need to active Xserver on HDMI display, and then I came to the problem that I posted originally.

BR,
0 Kudos
Highlighted
Teacher
Teacher
1,050 Views
Registered: ‎06-16-2013

Hi @yizhijiang 

 

OK. I guess you use "zcu106_trd".

Would you share the following result (full information) after run "gst-launch-1.0" ?

 

$ modetest -D a0070000.v_mix

 

I'd like to make sure maximum resolution and connection (whether there is EDID value or not) between MPSoC and HDMI monitor (23.4 inch).

 

Best regards,

0 Kudos
Highlighted
Observer
Observer
1,046 Views
Registered: ‎08-31-2019
Hi Watari,

Yes, I use zcu106_vcu_trd, here is result of modetest -D a0070000.v_mix after running "gst-launch-1.0"

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

Connectors:
id encoder status name size (mm) modes encoders
41 40 connected HDMI-A-1 520x290 52 40
modes:
name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
3840x2160 60 3840 3888 3920 4000 2160 2163 2168 2222 533250 flags: phsync, nvsync; type: preferred, driver
3840x2160 60 3840 4016 4104 4400 2160 2168 2178 2250 594000 flags: phsync, pvsync; type: driver
3840x2160 60 3840 4016 4104 4400 2160 2168 2178 2250 593407 flags: phsync, pvsync; type: driver
3840x2160 50 3840 4896 4984 5280 2160 2168 2178 2250 594000 flags: phsync, pvsync; type: driver
3840x2160 30 3840 4016 4104 4400 2160 2163 2169 2250 297000 flags: phsync, pvsync; type: driver
3840x2160 30 3840 4016 4104 4400 2160 2168 2178 2250 297000 flags: phsync, pvsync; type: driver
3840x2160 30 3840 4016 4104 4400 2160 2168 2178 2250 297000 flags: phsync, pvsync; type: driver
3840x2160 30 3840 4016 4104 4400 2160 2168 2178 2250 296703 flags: phsync, pvsync; type: driver
3840x2160 25 3840 4896 4984 5280 2160 2168 2178 2250 297000 flags: phsync, pvsync; type: driver
3840x2160 24 3840 5116 5204 5500 2160 2168 2178 2250 297000 flags: phsync, pvsync; type: driver
3840x2160 24 3840 5116 5204 5500 2160 2168 2178 2250 296703 flags: phsync, pvsync; type: driver
2560x1440 60 2560 2608 2640 2720 1440 1443 1448 1481 241500 flags: phsync, pvsync; type: driver
2560x1080 60 2560 2808 2852 3000 1080 1084 1089 1100 198000 flags: phsync, pvsync; type: driver
2560x1080 60 2560 2808 2852 3000 1080 1084 1089 1100 197802 flags: phsync, pvsync; type: driver
2048x1152 60 2048 2074 2154 2250 1152 1153 1156 1200 162000 flags: phsync, pvsync; type: driver
1920x1200 60 1920 1968 2000 2080 1200 1203 1209 1235 154000 flags: phsync, nvsync; type: driver
1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: nhsync, nvsync; type: driver
1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; 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
1680x1050 60 1680 1728 1760 1840 1050 1053 1059 1080 119000 flags: phsync, nvsync; 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
1440x900 60 1440 1488 1520 1600 900 903 909 926 88750 flags: phsync, nvsync; 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
1280x800 60 1280 1328 1360 1440 800 803 809 823 71000 flags: phsync, nvsync; 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 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 70 1024 1048 1184 1328 768 771 777 806 75000 flags: nhsync, nvsync; type: driver
1024x768 60 1024 1048 1184 1344 768 771 777 806 65000 flags: nhsync, nvsync; type: driver
832x624 75 832 864 928 1152 624 625 628 667 57284 flags: nhsync, nvsync; type: driver
800x600 75 800 816 896 1056 600 601 604 625 49500 flags: phsync, pvsync; type: driver
800x600 72 800 856 976 1040 600 637 643 666 50000 flags: phsync, pvsync; type: driver
800x600 60 800 840 968 1056 600 601 605 628 40000 flags: phsync, pvsync; type: driver
800x600 56 800 824 896 1024 600 601 603 625 36000 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 27027 flags: nhsync, nvsync; type: driver
720x480 60 720 736 798 858 480 489 495 525 27000 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 73 640 664 704 832 480 489 492 520 31500 flags: nhsync, nvsync; type: driver
640x480 67 640 704 768 864 480 483 486 525 30240 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
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
props:
1 EDID:
flags: immutable blob
blobs:

value:
00ffffffffffff005a633873a6030000
271d010380341d782e5995af4f42af26
0f5054bfef80e1c0d100d1c0b300a9c0
9500810081c04dd000a0f0703e803020
35000a262100001a000000fd00283c0f
cc3c000a202020202020000000fc0056
58323437382d344b2d48440a000000ff
005654583139333930303933340a01ff
020337f24d61605a10050403021f1312
015f23090f07830100006d030c003000
387820006001020367d85dc40178c800
e3050000e20f7f04740030f2705a80b0
5836000a262100001e565e00a0a0a029
50302035000a262100001e0000000000
00000000000000000000000000000000
00000000000000000000000000000075
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
6 non-desktop:
flags: immutable range
values: 0 1
value: 0
19 CRTC_ID:
flags: object
value: 39

CRTCs:
id fb pos size
39 73 (0,0) (3840x2160)
3840x2160 60 3840 3888 3920 4000 2160 2163 2168 2222 533250 flags: phsync, nvsync; type: preferred, driver
props:
20 ACTIVE:
flags: range
values: 0 1
value: 1
21 MODE_ID:
flags: blob
blobs:

value:
02230800000f300f500fa00f00007008
73087808ae0800003c00000009000000
48000000333834307832313630000000
00000000000000000000000000000000
00000000
18 OUT_FENCE_PTR:
flags: range
values: 0 18446744073709551615
value: 0

Planes:
id crtc fb CRTC x,y x,y gamma size possible crtcs
30 0 0 0,0 0,0 0 0x00000001
formats: NV12
props:
7 type:
flags: immutable enum
enums: Overlay=0 Primary=1 Cursor=2
value: 0
16 FB_ID:
flags: object
value: 0
17 IN_FENCE_FD:
flags: signed range
values: -1 2147483647
value: -1
19 CRTC_ID:
flags: object
value: 0
12 CRTC_X:
flags: signed range
values: -2147483648 2147483647
value: 480
13 CRTC_Y:
flags: signed range
values: -2147483648 2147483647
value: 0
14 CRTC_W:
flags: range
values: 0 2147483647
value: 2880
15 CRTC_H:
flags: range
values: 0 2147483647
value: 2160
8 SRC_X:
flags: range
values: 0 4294967295
value: 0
9 SRC_Y:
flags: range
values: 0 4294967295
value: 0
10 SRC_W:
flags: range
values: 0 4294967295
value: 20971520
11 SRC_H:
flags: range
values: 0 4294967295
value: 15728640
31 0 0 0,0 0,0 0 0x00000001
formats: NV12
props:
7 type:
flags: immutable enum
enums: Overlay=0 Primary=1 Cursor=2
value: 0
16 FB_ID:
flags: object
value: 0
17 IN_FENCE_FD:
flags: signed range
values: -1 2147483647
value: -1
19 CRTC_ID:
flags: object
value: 0
12 CRTC_X:
flags: signed range
values: -2147483648 2147483647
value: 0
13 CRTC_Y:
flags: signed range
values: -2147483648 2147483647
value: 0
14 CRTC_W:
flags: range
values: 0 2147483647
value: 0
15 CRTC_H:
flags: range
values: 0 2147483647
value: 0
8 SRC_X:
flags: range
values: 0 4294967295
value: 0
9 SRC_Y:
flags: range
values: 0 4294967295
value: 0
10 SRC_W:
flags: range
values: 0 4294967295
value: 0
11 SRC_H:
flags: range
values: 0 4294967295
value: 0
32 0 0 0,0 0,0 0 0x00000001
formats: NV12
props:
7 type:
flags: immutable enum
enums: Overlay=0 Primary=1 Cursor=2
value: 0
16 FB_ID:
flags: object
value: 0
17 IN_FENCE_FD:
flags: signed range
values: -1 2147483647
value: -1
19 CRTC_ID:
flags: object
value: 0
12 CRTC_X:
flags: signed range
values: -2147483648 2147483647
value: 0
13 CRTC_Y:
flags: signed range
values: -2147483648 2147483647
value: 0
14 CRTC_W:
flags: range
values: 0 2147483647
value: 0
15 CRTC_H:
flags: range
values: 0 2147483647
value: 0
8 SRC_X:
flags: range
values: 0 4294967295
value: 0
9 SRC_Y:
flags: range
values: 0 4294967295
value: 0
10 SRC_W:
flags: range
values: 0 4294967295
value: 0
11 SRC_H:
flags: range
values: 0 4294967295
value: 0
33 0 0 0,0 0,0 0 0x00000001
formats: NV12
props:
7 type:
flags: immutable enum
enums: Overlay=0 Primary=1 Cursor=2
value: 0
16 FB_ID:
flags: object
value: 0
17 IN_FENCE_FD:
flags: signed range
values: -1 2147483647
value: -1
19 CRTC_ID:
flags: object
value: 0
12 CRTC_X:
flags: signed range
values: -2147483648 2147483647
value: 0
13 CRTC_Y:
flags: signed range
values: -2147483648 2147483647
value: 0
14 CRTC_W:
flags: range
values: 0 2147483647
value: 0
15 CRTC_H:
flags: range
values: 0 2147483647
value: 0
8 SRC_X:
flags: range
values: 0 4294967295
value: 0
9 SRC_Y:
flags: range
values: 0 4294967295
value: 0
10 SRC_W:
flags: range
values: 0 4294967295
value: 0
11 SRC_H:
flags: range
values: 0 4294967295
value: 0
34 0 0 0,0 0,0 0 0x00000001
formats: NV12
props:
7 type:
flags: immutable enum
enums: Overlay=0 Primary=1 Cursor=2
value: 0
16 FB_ID:
flags: object
value: 0
17 IN_FENCE_FD:
flags: signed range
values: -1 2147483647
value: -1
19 CRTC_ID:
flags: object
value: 0
12 CRTC_X:
flags: signed range
values: -2147483648 2147483647
value: 0
13 CRTC_Y:
flags: signed range
values: -2147483648 2147483647
value: 0
14 CRTC_W:
flags: range
values: 0 2147483647
value: 0
15 CRTC_H:
flags: range
values: 0 2147483647
value: 0
8 SRC_X:
flags: range
values: 0 4294967295
value: 0
9 SRC_Y:
flags: range
values: 0 4294967295
value: 0
10 SRC_W:
flags: range
values: 0 4294967295
value: 0
11 SRC_H:
flags: range
values: 0 4294967295
value: 0
35 0 0 0,0 0,0 0 0x00000001
formats: NV12
props:
7 type:
flags: immutable enum
enums: Overlay=0 Primary=1 Cursor=2
value: 0
16 FB_ID:
flags: object
value: 0
17 IN_FENCE_FD:
flags: signed range
values: -1 2147483647
value: -1
19 CRTC_ID:
flags: object
value: 0
12 CRTC_X:
flags: signed range
values: -2147483648 2147483647
value: 0
13 CRTC_Y:
flags: signed range
values: -2147483648 2147483647
value: 0
14 CRTC_W:
flags: range
values: 0 2147483647
value: 0
15 CRTC_H:
flags: range
values: 0 2147483647
value: 0
8 SRC_X:
flags: range
values: 0 4294967295
value: 0
9 SRC_Y:
flags: range
values: 0 4294967295
value: 0
10 SRC_W:
flags: range
values: 0 4294967295
value: 0
11 SRC_H:
flags: range
values: 0 4294967295
value: 0
36 0 0 0,0 0,0 0 0x00000001
formats: NV12
props:
7 type:
flags: immutable enum
enums: Overlay=0 Primary=1 Cursor=2
value: 0
16 FB_ID:
flags: object
value: 0
17 IN_FENCE_FD:
flags: signed range
values: -1 2147483647
value: -1
19 CRTC_ID:
flags: object
value: 0
12 CRTC_X:
flags: signed range
values: -2147483648 2147483647
value: 0
13 CRTC_Y:
flags: signed range
values: -2147483648 2147483647
value: 0
14 CRTC_W:
flags: range
values: 0 2147483647
value: 0
15 CRTC_H:
flags: range
values: 0 2147483647
value: 0
8 SRC_X:
flags: range
values: 0 4294967295
value: 0
9 SRC_Y:
flags: range
values: 0 4294967295
value: 0
10 SRC_W:
flags: range
values: 0 4294967295
value: 0
11 SRC_H:
flags: range
values: 0 4294967295
value: 0
37 0 0 0,0 0,0 0 0x00000001
formats: NV12
props:
7 type:
flags: immutable enum
enums: Overlay=0 Primary=1 Cursor=2
value: 0
16 FB_ID:
flags: object
value: 0
17 IN_FENCE_FD:
flags: signed range
values: -1 2147483647
value: -1
19 CRTC_ID:
flags: object
value: 0
12 CRTC_X:
flags: signed range
values: -2147483648 2147483647
value: 0
13 CRTC_Y:
flags: signed range
values: -2147483648 2147483647
value: 0
14 CRTC_W:
flags: range
values: 0 2147483647
value: 0
15 CRTC_H:
flags: range
values: 0 2147483647
value: 0
8 SRC_X:
flags: range
values: 0 4294967295
value: 0
9 SRC_Y:
flags: range
values: 0 4294967295
value: 0
10 SRC_W:
flags: range
values: 0 4294967295
value: 0
11 SRC_H:
flags: range
values: 0 4294967295
value: 0
38 39 73 0,0 0,0 0 0x00000001
formats: BG24
props:
7 type:
flags: immutable enum
enums: Overlay=0 Primary=1 Cursor=2
value: 1
16 FB_ID:
flags: object
value: 73
17 IN_FENCE_FD:
flags: signed range
values: -1 2147483647
value: -1
19 CRTC_ID:
flags: object
value: 39
12 CRTC_X:
flags: signed range
values: -2147483648 2147483647
value: 0
13 CRTC_Y:
flags: signed range
values: -2147483648 2147483647
value: 0
14 CRTC_W:
flags: range
values: 0 2147483647
value: 3840
15 CRTC_H:
flags: range
values: 0 2147483647
value: 2160
8 SRC_X:
flags: range
values: 0 4294967295
value: 0
9 SRC_Y:
flags: range
values: 0 4294967295
value: 0
10 SRC_W:
flags: range
values: 0 4294967295
value: 251658240
11 SRC_H:
flags: range
values: 0 4294967295
value: 141557760

Frame buffers:
id size pitch

root@zcu106_vcu_trd:~#


0 Kudos
Highlighted
Teacher
Teacher
961 Views
Registered: ‎06-16-2013

Hi @yizhijiang 

 

Sorry for my late reply.

 

> If I run gst-launch-1.0 -v videotestsrc ! kmssink bus-id="a0070000.v_mix", HDMI monitor shows gstreamer videotestsrc generated video.

It's using direct rendering methodology via v_mix by kmssink.

 

Here are how to debug to start X window for you.
Would you refer it ?

 

1. Make sure DRM setting.
  => Whether it's suitable setting or not on DRM graph.
  => Especially make sure parameter on mixer, scaler, (plane-)id, CRTC setting.
2. Make sure EDID value.
  => Use modetest command. It's easy to make sure EDID value.
3. Make sure condition of source device. ex. HDMI Tx or DP Tx
  => Make sure pll setting, output resolution and video timing with some log files.
4. Make sure setting and parameter on each section in Xorg.conf
  => Refer Xorg.log file to understand what is fine and what is wrong.
  => It might be helpful for you to describe video timing and resolution setting in Xorg.conf.
5. Make sure rendering methodology.
  => Sorry. I don't have enough knowlegment about wayland which is new thecnology to render video data for X window now.

 

I guess you make sure DRM setting, especially correct id number, before starting X Window.
Would you try it ?

 

Best regards,

Highlighted
Observer
Observer
934 Views
Registered: ‎08-31-2019
Hi Watari,

I solved this issue by adding a BGRA8 layer in video mixer. It's probably because Xorg needs a AR24 plane to work.

View solution in original post

Highlighted
Moderator
Moderator
898 Views
Registered: ‎11-21-2018

Hi @yizhijiang 

 

Thank you for updating the post with your solution. 

Please kindly mark the response which helped as a solution (click on "Accept as solution" button below the reply).

 

Regards, 

Aoife
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Highlighted
Visitor
Visitor
284 Views
Registered: ‎12-24-2019

你好,能指点一下怎么解决的这个问题吗?

0 Kudos