cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
197 Views
Registered: ‎03-21-2019

No video output from HDMI Tx, and Modetest failed to set mode: Function not implemented

(Posted this on the video board, didn't get any help. Reposting here since this may have more to do with Petalinux than the hardware.)

I am trying to get HDMI up and running on a custom board. For testing purposes, I am using an FPGA design that only includes an HDMI Tx node, and no Rx nodes.

On boot, no video shows up (I am expecting a black screen with a timing, but I don't even get that.)

To try to set the HDMI to output a timing, I am using modetest commands.

Here's the output of modetest -M xlnx:

Spoiler

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

Connectors:
id encoder status name size (mm) modes encoders
31 0 connected HDMI-A-1 530x300 35 30
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 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
1600x1200 60 1600 1664 1856 2160 1200 1201 1204 1250 162000 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 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 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 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
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
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 27000 flags: nhsync, nvsync, interlace, dblclk; type: driver
720x480i 60 720 739 801 858 240 488 494 525 27028 flags: nhsync, nvsync, interlace, dblclk; type: driver
720x480i 60 720 739 801 858 240 488 494 525 27000 flags: nhsync, nvsync, interlace, dblclk; type: driver
props:
1 EDID:
flags: immutable blob
blobs:

value:
00ffffffffffff0010acb2a04c344434
2519010380351e78ee7e75a755529c27
0f5054a54b00714f8180a9c0a940d1c0
010101010101023a801871382d40582c
45000f282100001e000000ff00523946
31503539393444344c0a000000fc0044
454c4c205532343134480a20000000fd
00384c1e5311000a2020202020200174
02031ff14c9005040302071601141f12
132309070765030c0020008301000002
3a801871382d40582c45000f28210000
1e011d8018711c1620582c25000f2821
00009e011d007251d01e206e2855000f
282100001e8c0ad08a20e02d10103e96
000f2821000018000000000000000000
00000000000000000000000000000027
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: 0

CRTCs:
id fb pos size
29 0 (0,0) (0x0)
0 0 0 0 0 0 0 0 0 0 flags: ; type:
props:
20 ACTIVE:
flags: range
values: 0 1
value: 0
21 MODE_ID:
flags: blob
blobs:

value:
18 OUT_FENCE_PTR:
flags: range
values: 0 18446744073709551615
value: 0

Planes:
id crtc fb CRTC x,y x,y gamma size possible crtcs
28 0 0 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: 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

Frame buffers:
id size pitch

And here's my attempt to change the timing to 1080p:

Spoiler
modetest -M xlnx -s 31@29:1920x1080@YUYV &
[1] 2303
setting mode 1920x1080-60Hz@YUYV on connectors 31, crtc 29
failed to set mode: Function not implemented

The hardware has been proven to work on this custom board using baremetal testing. The board was based on the ZCU106 design.

Project built with Petalinux 2019.1.

0 Kudos
0 Replies