Hdmi doesn’t work for some monitors ,Discovering Again

U2417,也是有些问题的,
如下图,图像的位置不对,


而且使用的分辨率是20961076 ???,最大却是19201080 奇怪。

而这些问题,在U2414上却没有。

Hi,@WayneWWW @linuxdev
我感觉是我们的线序,跟参考设计的线序,不一致导致的。能否通过设备树调整线序呢?

我们的硬件正在确认是否线序跟参考设计不一致。

Hi,

Orin device tree能做的設定幾乎是沒有. 所以務必確認硬體設計有沒有正確.

像是這個 2096x1076的問題感覺像是edid讀出來有問題.

xorg log應該會記錄你目前讀進來的edid. 你可以跟其他平台, 比方說xavier NX上面讀到的Edid做比較. 我想應該會不一致.

Something I will suggest for debugging in failure cases. If you run the command (via serial console or ssh) “ls -ltr /var/log/Xorg.*.log | tail -n 1”, then you’ll see the “*” is the number used when exporting the “DISPLAY” environment variable (useful for talking to the X server environment from command line). For example, if your user name is “ubuntu”, and you see “Xorg.0.log”, then you could ssh (or use serial console) to log in, and run this to find information while running as user “ubuntu”:

export DISPLAY=:0
xrandr

(or to log, “xrandr | tee log.txt”)

If the log were “Xorg.1.log”, then you’d instead “export DISPLAY=:1”. Getting a copy of the xrandr output, and probably the matching Xorg.*.log file, would help.

Note that when EDID is used to select modes in a monitor, that the monitor itself is claiming those modes work on that monitor. To see a display that the monitor is being driven beyond its specifications is unusual. Assuming the mode was picked by EDID, then this means either the EDID was wrong, or else the monitor lied, or that a mode not from EDID was used (which would be a bug). You need to determine what the EDID is saying, and what mode was attempted…and then compare to see if there is a mismatch (which is unexpected).

Please refer to below table for lines mapping. Also you can check the HPD action during test.

1 Like

Thanks for your help, @WayneWWW @linuxdev @Trumany :
The problem is confirmed, it is a line sequence problem,
our design:
lane 0 <----> lane0
lane 1 <----> lane1
lane 2 <----> lane2
reference design:
lane 0 <----> lane2
lane 1 <----> lane1
lane 2 <----> lane0
After the flying line, all the strange problems are gone, even if it is not changed to HDMI mode, it can be displayed normally when using DP mode. Of course, it should be changed to HDMI mode.

这里边存在俩个问题,
1.是没有正确的进入HDMI模式,没有使能热拔插管脚,这个问题的解决方法参考Hdmi doesn’t work for some monitors ,Discovering Again - #18 by WayneWWW
2.是我们的线序的问题,该问题导致了很多奇怪的问题:一些屏幕无法显示,一些屏幕显示的分辨率不正确,热拔插会一直打印,等等。正确按照参考设计飞线之后,就解决了。

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.