UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Reply

MPSoC DisplayPort: no picture on ZCU102 ?

Accepted Solution Solved
Scholar
Posts: 1,174
Registered: ‎11-09-2013
Accepted Solution

MPSoC DisplayPort: no picture on ZCU102 ?

[ Edited ]

I got as far that I see:

 

/sys/devices/platform/amba/amba:xilinx_drm/graphics/fb0# cat modes
U:1920x1200p-0

 

When monitor cable is plugged in, and error message with no cable, but monitor remains black :(

 

It is very hard to figure out what is the correct way of getting DisplayPort running ZCU102 TRD is very clear, there is also no note that DisplayPort would not work, but then in Xilinx Release notes it says:

 

DisplayPort no picture on display - FIX expected in Vivado 2016.3

 

It seems that video mode is not set?

 

 fbset

mode "1920x1200-0"
        # D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
        geometry 1920 1200 1920 1200 32
        timings 0 0 0 0 0 0 0
        accel true
        rgba 8/16,8/8,8/0,8/24
endmode

 

is that correct? how to enable display? I am not using the QT things from TRD, I just want something to be displayed

 

 

 

 

So what is the deal. does DP work on MPSoC/ZCU102 or do we have to wait til 2016.3 ?

 

 

 


Accepted Solutions
Scholar
Posts: 1,174
Registered: ‎11-09-2013

Re: MPSoC DisplayPort: no picture on ZCU102 ?

[ Edited ]

I got the NEW monitor, the log was from the connection to monitor from the ZCU102 supported monitor list. DisplayPort must work with this monitor based on Xilinx supported monitor list.

 

I did think that I got the right monitor, I  did give U2414H to the purchasing department, but what I got is P2414Hb !

 

P2414H is very very similar to U241H but well it is not the same as the on Xilinx list. But I do not think buying one more monitor would make a difference. P2414H has 1920 x 1080 x 60 as native resolution so I assume it should work.

View solution in original post


All Replies
Voyager
Posts: 306
Registered: ‎06-16-2013

Re: MPSoC DisplayPort: no picture on ZCU102 ?

Hi trenz-al

 

I don't have any suggestion to resolve your problem.

But I can explain assumed route causes to you.

 

I think that the assumed route causes are as below.

 

1) Link training error on DisplayPort between FPGA and Monitor

2) Fail to recognize video timing via EDID

3) Mismatch between embedded clock on Display Port IP  and generated clock on Monitor

4) Known/Unknown issue of Monitor

5) Known/Unknown issue of Display Port IP

 

If you can measure some signals by high end oscilloscope, you can check 1) and 3).

=> Signal Integrity or Clock frequency error or Clock jitter error (But you can not measure it)

 

If you can confirm recognized EDID value on Linux, you can check 2).

=> Software issue

 

If you can change monitor, you can check 4).

=> Compatibility issue (Xilinx needs to do plug-test to resolve this issue)

 

 

I hope this would be some of help.

 

Thank you.

Best regards,

Scholar
Posts: 1,174
Registered: ‎11-09-2013

Re: MPSoC DisplayPort: no picture on ZCU102 ?

[ Edited ]

There is no IP Core, I am using the DisplayPort block in Zynq MPSoC, we are using ES1 samples, but there is no errata that DisplayPort does not work.

 

Some weird things, with petalinux 2016.1 - initially I did see the hotplug events, but then after updating the xilinx linux kernel to support DP phy drivers, I no longer see hotplug events.

 

But there is some monitor detection working, but only once at power up.

 

Clocking, this is very weird - all the Clock to the DP (Execpt serdes PLL clock) are generated by the PS DP Block, but the DP devicetree requires some user clock, there is fix in Xilinx for QEMU to use "fake clock" I used fake si570 clock, this clock is connected to NOTHING output goes void devnul, but without this clock the system will not load drivers.

 

        xilinx_drm: xilinx_drm {
            compatible = "xlnx,drm";
            status = "disabled";
            xlnx,encoder-slave = <&xlnx_dp>;
            xlnx,connector-type = "DisplayPort";
            xlnx,dp-sub = <&xlnx_dp_sub>;
            planes {
                xlnx,pixel-format = "rgb565";
                plane0 {
                    dmas = <&xlnx_dpdma 3>;
                    dma-names = "dma0";
                };
                plane1 {
                    dmas = <&xlnx_dpdma 0>;
                    dma-names = "dma0";
                };
            };
        };

 

documentation says that dma names should be with number appended, in TRD they are without, if I use

 

                    dma-names = "dma";

 

I get kernel crash

 

                    dma-names = "dma0";

 

does not crash, but no picture either

 

https://github.com/Xilinx/device-tree-xlnx/blob/master/device_tree/data/kernel_dtsi/2016.2/zynqmp/zynqmp.dtsi

 

with this dtsi, it is 100% crash!

 

 

 

 

 

 

I think there is some driver devicetree issue, but I can not figure out what it is, no info what I can gather from the ZCU 102 TRD helps, everythign seems to be same as the TRD says (Execpt I want DP only withot the HDMI input FMC)

 

Voyager
Posts: 306
Registered: ‎06-16-2013

Re: MPSoC DisplayPort: no picture on ZCU102 ?

[ Edited ]

Hi trenz-al

 

I have a question about the content of dts.

Why do you set pixel-format as "rbg565" at dts file ?

 

It's a little weird to connect external monitor.

 

Could you change pixel-format as "rgb888" and update related parameters (*1), too ?

 

*1)

clock frequency, bus width on axi4-stream and so on.

 

[note]

1)

DisplayPort function is consist of DisplayPort PHY (like PCI Express PHY), recovery clock/embedded clock logic and some F/W.

Also DisplayPort function (IP, Fabric, LCD monitor with DisplayPort) must be passed compliance test. 

 

2)

LCD monitor supports 8bit/10bit RGB color depth on Display Port. 

 

 

 

Thank you.

Best regards,

Scholar
Posts: 1,174
Registered: ‎11-09-2013

Re: MPSoC DisplayPort: no picture on ZCU102 ?

 

I did include snippet from dtsi file, the pixel-format is set

 

&xilinx_drm {
    status = "okay";
    clocks = <&si570_2>;
    planes {
        xlnx,pixel-format = "abgr8888";
    };
};

 

there you also see the "fake" si570 as clock source, if I remove it, then drm drivers will not load..

 

all the phy init and stuff should be taken care by the drivers. There is no  IP (except the hard block in MPSOC), FPGA fabric is not used at all.

 

I think that Xilix drivers are BLEEDING, at this time, if you take xilinx dtsi and xilinx last github drivers, then it is kernel crash, so at least dtsi has to be changed (dma to dma0 to allow driver to see it)

 

I think some of the "plane" or dma stuff is not correct, but there is no known working example. ZCU102 TRD can not work as much as I can see, not with the info currently available.

 

Scholar
Posts: 1,174
Registered: ‎11-09-2013

Re: MPSoC DisplayPort: no picture on ZCU102 ?

[ Edited ]

getting slowly...

 

[    4.414440] xilinx-psgtr fd400000.zynqmp_phy: Lane:3 type:8 protocol:4 pll_locked:yes
[    4.422393] xilinx-drm-dp fd4a0000.dp: device found, version 4.010
[    4.428496] xilinx-drm-dp fd4a0000.dp: Display Port, version 1.0200 (tx)
[    4.472469] [drm:xilinx_drm_crtc_mode_set] *ERROR* failed to set a pixel clock

 

this comes when I remove the "fake" si570 clock from the drm node, with the si70 fake clock, there comes no error, but display remains black...

Voyager
Posts: 306
Registered: ‎06-16-2013

Re: MPSoC DisplayPort: no picture on ZCU102 ?

Hi trenz-al

 

Could you tell me "si570" and "si70" ?

 

[    4.472469] [drm:xilinx_drm_crtc_mode_set] *ERROR* failed to set a pixel clock

 

BTW, do you set a pixel clock as 148.5MHz ?

The clock frequency of FHD@60Hz (1920x1080@60Hz) is 148.5[MHz].

 

I'd like to confirm it.

 

Thank you.

Best regards,

 

Scholar
Posts: 1,174
Registered: ‎11-09-2013

Re: MPSoC DisplayPort: no picture on ZCU102 ?

 

            si570_2: clock-generator3@5d { /* USER MGT SI570 - u56 */
                #clock-cells = <0>;
                compatible = "silabs,si570";
                reg = <0x5d>;
                temperature-stability = <50>; /* copy from zc702 */
                factory-fout = <156250000>;
                clock-frequency = <148500000>;

 

this is from ZCU102 devicetree, but this clock is not used... the output is not connected..

Voyager
Posts: 306
Registered: ‎06-16-2013

Re: MPSoC DisplayPort: no picture on ZCU102 ?

Hi trenz-al

 

Could you tell me what LCD monitor do you use ?

I'd like to confirm it.

 

Thank you.

Best regards,

 

Scholar
Posts: 1,174
Registered: ‎11-09-2013

Re: MPSoC DisplayPort: no picture on ZCU102 ?

[ Edited ]

DELL U2142M

 

https://www.amazon.de/Dell-LED-Monitor-Reaktionszeit-h%C3%B6henverstellbar-schwarz/dp/B005JN9310

 

we got this error:

 

[    4.137760] [drm] No driver support for vblank timestamp query.
[    4.205191] xilinx-dpdma fd4c0000.dma: error intr: isr = 0x00200000, eisr = 0x00000000
[    4.221696] Console: switching to colour frame buffer device 240x75

 

seems some kind of DESC error whatever it means bit 21