cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer
Observer
623 Views
Registered: ‎11-13-2017

MPSoC -- DisplayPort does not work at high resolution

Hi,

We are developing a MPSoC board using XCZU19EG. It is mostly working. But the PS DisplayPort output is stuck at high resolution (e.g 1920x1080 ). The circuit is based on the ZCU104 board (two lanes output from PS-GTR). For the testing, we are using PetaLinux X-server and matchbox. And using xrandr command to change the screen resolution.

Here are some photos.

screen.png

Any ideas for troubleshooting this?

Thank you,
--fuji

0 Kudos
16 Replies
Highlighted
Xilinx Employee
Xilinx Employee
541 Views
Registered: ‎03-07-2018

Re: MPSoC -- DisplayPort does not work at high resolution

Hello @yfuji38 

Did you try it on another display monitor? Does it shows similar results?

Please test Xilinx DPDMA example design with your setup.

Follow following procedure :

1. Create project for ZCU104 board in Vivado 2019.1

2. Create block design and In block design add Zynq US+ MPSOC PS IP.

3. Run Block automation

     Click on Run AutomationClick on Run AutomationClick on Run Automation

    Select apply board preset option and click OKSelect apply board preset option and click OKSelect apply board preset option and click OK

4. Connect pl_clk to maxihpm0_fpd_aclk and maxihpm1_fpd_aclk as follows:

  Clock connectionsClock connectionsClock connections

5. Run Synthesis. After synthesis completion export hardware ( File > Export > Export Hardware) without selecting bitstream option and Click OK.

  DPDMA S3.jpg

6. Launch SDK from Vivado  (File > Launch SDK) and Click Ok with default options

   DPDMA S4.jpg

7. In SDK, create New Board Support Package (File > New > Board Support Package). Select options as follows and Click Finish:

   DPDMA S5.jpg

It will bring up Board Support Package (BSP) Setting (or you right click on BSP select Board support package setting to get this window shown below) change psu_dp driver to dppsu from avbuf and click Ok. It will automatically build BSP.

 psu_dp driver for PS DPpsu_dp driver for PS DPpsu_dp driver for PS DP

7. Double click on system.mss and click on Import DPDMA example 

DPDMA exampleDPDMA exampleDPDMA example

Tick option below and Click Ok.

DPDMA S8.jpg

8. Connect DisplayPort Monitor to ZCU104 and test example design. It should show half green display on your monitor and UART should show following log:

 

DPDMA Generic Video Example Test
Generating Overlay.....
HPD event .......... ! Connected.
Lane count =    2
Link rate =     20

Starting Training...
        ! Training succeeded.
DONE!
.......... HPD event
Successfully ran DPDMA Video Example Test

 

Please note maximum supported resolution for PS DisplayPort controller is 4k30. Please check https://www.xilinx.com/support/documentation/user_guides/ug1085-zynq-ultrascale-trm.pdf (Chapter 33) for more details.

Regards,
Regards,
Bhushan

-------------------------------------------------------------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
-------------------------------------------------------------------------------------------------------------------------------------------------
Highlighted
Mentor
Mentor
501 Views
Registered: ‎06-16-2013

Re: MPSoC -- DisplayPort does not work at high resolution

Hi @yfuji38 

 

It's hard to investigate the route cause without movie file...

Would you post movie file instead of your pictures ?

 

Best regards,

0 Kudos
Highlighted
Observer
Observer
473 Views
Registered: ‎11-13-2017

Re: MPSoC -- DisplayPort does not work at high resolution

Hi @bpatil,

Thanks for your suggestion.

First, I tried out it with a couple of monitors and a DisplayPort-HDMI converter. Please find attached table. Curious to say, one monitor works fine at 1920x1080 along with DisplayPort-HDMI converter.

About the DPDMA example, the Vivado/SDK project needs some modifications to fit our XCZU19EG board. I will let you know the result.

table.png

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
466 Views
Registered: ‎03-07-2018

Re: MPSoC -- DisplayPort does not work at high resolution

Hello @yfuji38 

Please check https://www.xilinx.com/support/answers/71773.html and make sure you are not using Passive Adaptors.

It will be much better; if you can perform test your monitor with Xilinx Board with DPDMA example.

Regards,
Bhushan

-------------------------------------------------------------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
-------------------------------------------------------------------------------------------------------------------------------------------------
Highlighted
Observer
Observer
448 Views
Registered: ‎11-13-2017

Re: MPSoC -- DisplayPort does not work at high resolution

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

Re: MPSoC -- DisplayPort does not work at high resolution

Hi @yfuji38 

 

Did you make sure EDID on each monitor ?

Also, did you make sure power line on your designed PCB ?

At least, you are facing resolution limitation issue. No body succeed it over resolution limitation.

But you are facing some problem, too...

 

Would you reply my question ?

 

Best regards,

Highlighted
Observer
Observer
378 Views
Registered: ‎11-13-2017

Re: MPSoC -- DisplayPort does not work at high resolution

Hi @watari,

Yes. EDID was checked by using xrandr command.
For example,
screen-1.png

I monitored VCC voltages using JTAG-sysmon. No issues found.

sysmon.png

0 Kudos
Highlighted
Observer
Observer
369 Views
Registered: ‎11-13-2017

Re: MPSoC -- DisplayPort does not work at high resolution

Hi @bpatil,

About DP to HDMI converter, I am using an active adapter.


I got back to original monitor (X2283HS, DP input) and tried out the DPDMA example. It shows "Training succeeded". The monitor detected 1920x1080 60Hz video signal. However, the screen is blank.

screen-21.png

photo-2.png

 

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
346 Views
Registered: ‎03-07-2018

Re: MPSoC -- DisplayPort does not work at high resolution

Hello @yfuji38 

Monitor should show half green display. I hve tested this on ZCU104 board it works well.

Did you tried other monitor as well?

Which version of Vivado you are using?

There was old issue in which unplugging and plugging DP cable causes issue of blank display on monitor. But still you should get half green display at least for the first time.

Please check https://forums.xilinx.com/t5/Video/Displayport-standalone-on-ZCU104/m-p/975025#M25330 

Regards,
Bhushan

-------------------------------------------------------------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
-------------------------------------------------------------------------------------------------------------------------------------------------
Highlighted
Observer
Observer
331 Views
Registered: ‎11-13-2017

Re: MPSoC -- DisplayPort does not work at high resolution

Hi @bpatil,

I am using Vivado/SDK 2019.1.
Now I found that it depends on the monitor. A half green screen was displayed on the ON-LAP monitor. Looking at UART output, in case of blank screen, re-training happened once. Probably something wrong happens to the DisplayPort after a re-training.


Good case (ON-LAP 1503 HDMI input + DP-HDMI adapter):

DPDMA Generic Video Example Test 
Generating Overlay.....
HPD event .......... ! Connected.
Lane count =	2
Link rate =	20

Starting Training...
	! Training succeeded.
DONE!
.......... HPD event
Successfully ran DPDMA Video Example Test

Bad case (X2283HS DP input):

DPDMA Generic Video Example Test 
Generating Overlay.....
HPD event .......... ! Connected.
Lane count =	2
Link rate =	10

Starting Training...
	! Training succeeded.
DONE!
.......... HPD event
Successfully ran DPDMA Video Example Test
HPD pulse ..........
	! Re-training required.
Lane count =	2
Link rate =	10

Starting Training...
	! Training succeeded.
DONE!
.......... HPD pulse
0 Kudos
Highlighted
Mentor
Mentor
316 Views
Registered: ‎06-16-2013

Re: MPSoC -- DisplayPort does not work at high resolution

Hi @yfuji38 

 

Can you measure HPD pulse width when you are facing this issue on X2383HS ?

Also, would you share the whole log by xrandr --verbose and xorg.0.log file ?

 

It seems EDID issue or X-Window issue...

 

Best regards,

Highlighted
Observer
Observer
280 Views
Registered: ‎11-13-2017

Re: MPSoC -- DisplayPort does not work at high resolution

Hi @watari,

In case of X2383HS monitor, HP_DET pulse was generated once when xdpdma_video_example was executed. Please see below oscilloscope screenshot. As the pulse width is 572 us, it should be an IRQ event. On the one hand, no pulse appeared in case of ON-LAP monitor (shows half green).

scope.png


About Linux log, please find attached files.

Thank you,

Highlighted
Mentor
Mentor
265 Views
Registered: ‎06-16-2013

Re: MPSoC -- DisplayPort does not work at high resolution

Hi @yfuji38 

 

I'm probably sure that the route cause is EDID or X-Window.

I suggest you to make sure DPCD value, if you want to find a workround.

 

Would you try it ?

 

Best regards,

Highlighted
Observer
Observer
250 Views
Registered: ‎11-13-2017

Re: MPSoC -- DisplayPort does not work at high resolution

Hi @watari,

Thank you, but I have no idea how to access DPCD. Do you know any software/tool for that?

 

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

Re: MPSoC -- DisplayPort does not work at high resolution

Hi @yfuji38 

 

The easy way is to refer and modify Xilinx DPDMA example.

Would you try it ?

 

Best regards,

0 Kudos
Highlighted
Moderator
Moderator
148 Views
Registered: ‎11-09-2015

Re: MPSoC -- DisplayPort does not work at high resolution

Hi @yfuji38

As per the AR mentioned earlier, Display port to HDMI adapters are not supported by Xilinx. 

Passive adaptors will not work for sure. Active adaptors might work but it is up to the customer to do its own characterization to make sure it will work. 

I would start by testing with a Displayport monitor


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos