Jetson Orin Nano HDMI display intermittently works with MAX96751+MAX96752

Hi Nvidia team,

We design a custom product based on Jetson Orin Nano module with the following video pipeline:
Jetson Orin Nano HDMI output → serializer (MAX96751) → deserializer (MAX96752) → LVDS screen.

Linux BSP is based on OE4T Yocto project with meta-tegra

  • Branch: scarthgap
  • Commit ID: 6c0da38f39e81468c8eb70e95ec8135c3d70dddf

We are facing an issue: on a warm boot or cold boot, LVDS screen sometimes doesn’t show up Weston UI. On a test with 50 cold boots, we had 30 PASS cases where Weston UI shows up on the screen, and 20 FAIL cases where Weston UI doesn’t show up on the screen. You can see details in the 50-loop cold boot test at here.

In FAIL cases, we analyzed the internal registers of the serializer and deserialzier and measured the signals on the input of LVDS screen and got the following information, when LVDS screen didn’t show Weston UI:
(1) If we invert all the RED and BLUE bits on the input side of the deserializer’s crossbar (set 1 to bit 6 of registers from 0x1b0 to 0x1b7, and 0x1c0 to 0x1c7), the LVDS screen shows a Magenta (RGB=0xFF00FF) color. This suggests that the LVDS screen is working normally, and it receives video timings correctly, but somehow all the video data were suppressed to black (RGB=0x000000) before the video data come to the input side of deserializer’s crossbar.
(2) In a FAIL case, we measured the LVDS data and clock pins and found that:

  • LVDS CLOCK input pins have a clock of 51.2MHz as expected by HDMI input source (our HDMI input source configured on Jetson is resolution 1024x600, pixel clock 51.2MHz) as below picture

  • LVDS TX0, TX1, TX3 input pins don’t have signal bouncing (nearly zero volt)

  • LVDS TX2 input pins have signal bouncing as below picture

  • The serializer and deserializer registers show

    • GMSL link is locked (CTRL3-0x13 regsiter = 0xda)
    • HDMI pixel clock input is detected (Bit 7 = 1 in VIDEO_TX2 register (0x102))
    • There is no error detected

We contacted Analog Devices for support, they said they found nothing wrong with serializer and deserializer register settings or PCB design.

We’d like to hear from you on the issue and appreciate your supports. It seems like on a FAIL case, the video pipeline from HDMI input to LVDS screen is working normally without any error indicators, except for the fact that the video outputted to LVDS screen is in black color, instead of the content of HDMI data input source.

Thanks,
Nari

Could you share us the flashvars of your Yocto build first?

Hi WayneWWW, here is our flashvars:

FLASHVARS="PMIC_CONFIG TBCDTB_FILE"
OVERLAY_DTB_FILE="tegra234-dcb-p3767-0000-hdmi.dtbo"
CHIPID=0x23
PLUGIN_MANAGER_OVERLAYS="tegra234-carveouts.dtbo,tegra-optee.dtbo,tegra234-p3768-0000+p3767-0000-dynamic.dtbo"
BPFDTB_FILE="tegra234-bpmp-3767-0003-3768-super.dtb"
BPF_FILE="bpmp_t234-TE950M-A1_prod.bin"
BR_CMD_CONFIG="tegra234-mb1-bct-reset-p3767-0000.dts"
CHIP_SKU="00:00:00:D5"
DCE_OVERLAY="tegra234-dcb-p3767-0000-hdmi.dtbo"
DEVICEPROD_CONFIG="tegra234-mb1-bct-cprod-p3767-0000.dts"
DEVICE_CONFIG="tegra234-mb1-bct-device-p3767-0000.dts"
DEV_PARAMS="tegra234-br-bct-p3767-0000-l4t.dts"
DEV_PARAMS_B="tegra234-br-bct_b-p3767-0000-l4t.dts"
EMC_FUSE_DEV_PARAMS="tegra234-br-bct-diag-boot.dts"
GPIOINT_CONFIG="tegra234-mb1-bct-gpioint-p3767-0000.dts"
MB2BCT_CFG="tegra234-mb2-bct-misc-p3767-0000.dts"
MINRATCHET_CONFIG="--minratchet_config tegra234-mb1-bct-ratchet-p3767-0000.dts"
MISC_CONFIG="tegra234-mb1-bct-misc-p3767-0000.dts"
PINMUX_CONFIG="tegra234-aibp0049paba-pinmux.dtsi"
PMC_CONFIG="tegra234-aibp0049paba-padvoltage.dtsi"
PMIC_CONFIG="tegra234-mb1-bct-pmic-p3767-0000-@PMICREV@.dts"
PROD_CONFIG="tegra234-mb1-bct-prod-p3767-0000.dts"
SCR_CONFIG="tegra234-mb2-bct-scr-p3767-0000.dts"
RCM_UEFI_IMAGE="uefi_t23x_rcmboot"
TBCDTB_FILE="@DTBFILE@"
UEFI_IMAGE="uefi_t23x_general"
UPHY_CONFIG="--uphy tegra234-mb1-bct-uphylane-si.dtsi"
WB0SDRAM_BCT="tegra234-p3767-0001-wb0sdram-l4t.dts"
DCE_OVERLAY="tegra234-dcb-p3767-0000-hdmi.dtbo"
CHECK_BOARDID="3767"
CHECK_BOARDSKU="0003"
BOOTCONTROL_OVERLAYS=“L4TConfiguration.dtbo”

Have you tried to disable Weston and use some other method to render and see if the stable?

For example, running simple DRM usecase.

Hi Wayne,
If booting with weston service disabled by systemctl disable weston, kernel log is outputted to LVDS screen with a cursor prompt in pass case, and a black screen is seen in fail case.

Running modetest with weston disabled gives below result:

  • In pass case, modetest gives result
    ./modetest -M nvidia-drm -s 66@46:1024x600@XR24
    setting mode 1024x600-59.99Hz on connectors 66, crtc 46
    • There are color bars on LVDS screen as attached picture

    • Log when running ./modetest -M nvidia-drm is as attached file modetest_in_PASS_case.txt

  • In fail case, modetest gives result
    ./modetest -M nvidia-drm -s 66@46:1024x600@XR24
    setting mode 1024x600-59.99Hz on connectors 66, crtc 46
    • LVDS screen has black color.
    • Log when running ./modetest -M nvidia-drm is as attached file modetest_in_FAIL_case.txt

Thanks!

modetest_in_PASS_case.txt (56.1 KB)

modetest_in_FAIL_case.txt (56.1 KB)

Hi,

Is it possible to compare the input signal of MAX96751 in working and NG case?

Do you have HDMI analyzer to test? We need to clarify if Orin side really gives you the correct data first.

Hi Wayne, sorry for late reply, but we are buying a logic analyzer and prepare hardware setup to do the measurement as you suggested. We’ll keep you posted.

Is this still an issue to support? Any result can be shared?

Hi Kay, Wayne,

I’m sorry I couldn’t have any measurement yet. I’m a software guy with only remote access to the hardware. The hardware guy who can do the measurement is working on another project.

This issue is now less urgent to us as we figured out a workaround that can make the display pipeline work 100% every boot. I haven’t known the root cause yet, though, and really want to do the measurement as your suggestion to find the root cause.

The workaround is implemented in the software. We checked on the deserialize chip whether or not it receives a video watermark, which is embedded to the HDMI input stream by the serializer. If the deserializer cannot detect the video watermark, we re-initialize the video pipeline (including serializer + serializer, and Jetson is also related as the serializer controls the HPD pin and outputs clock/data). If the deserializer can detect the video watermark, then we are good to have a working video pipeline and no need for re-initialization.

Anyway, this issue is kind of mysterious to us. We did have a test to swap Jetson modules between a good hardware setup (A) and a not-good hardware setup (B), then it turns out that after swapping the boot failure rates happens on setup (A) and (B) are swapped. One more is the boot failure rate also changes when the temperature changes.