No GUI | Xavier AGX when HDMI is plugged in

Hi,
I flashed Jetson Xavier AGX with JetPack 5.1 (rev.1) using sdkmanager (1.9.2.10888) using a Ubuntu2004 host.

Strangely, when the Xavier boots up with HDMI cable plugged in, I see the Nvidia logo flash on the screen with a few scrolling lines of boot up but the display screen then goes blank. I am able to ssh into the machine but not able to VNC into it.

However if I power-up the xavier without the HDMI, allow it to boot-up fully and then plug in the HDMI cable, I see ubuntu2004 home screen on display and able to log in. VNC still doesn’t work.

I am using this link to setup VNC: [Setting Up VNC | NVIDIA Developer]

My objective is to be able to use the xavier both directly with HDMI plugged in and also remotely with VNC.

The Xavier was purchased from Seedstudio: https://www.seeedstudio.com/Jetson-Xavier-AGX-H01-Kit-p-5283.html

Please share dmesg. Also, a custom board may not work fine with sdkmanager. Sdkmanager by default only supports NV devkit.

You have to check with the board vendor if their board really can work with sdkm first.

dmesg.txt (71.5 KB)

Pls find the dmesg attached.
Timestamps:

  1. From boot-up to [ 39.906079] , no HDMI attached, xavier boots up
  2. HDMI inserted at [ 826.870212]

Output of tegrastats after HDMI is plugged in.

tegrastats
04-14-2023 09:36:44 RAM 1815/31011MB (lfb 7009x4MB) SWAP 0/15506MB (cached 0MB) CPU [11%@1958,13%@1958,2%@1958,9%@1958,off,off,off,off] EMC_FREQ 0% GR3D_FREQ 0% AUX@35.5C CPU@37C thermal@36.15C Tboard@36C AO@35C GPU@35.5C iwlwifi@36C Tdiode@38.5C PMIC@50C
04-14-2023 09:36:45 RAM 1815/31011MB (lfb 7009x4MB) SWAP 0/15506MB (cached 0MB) CPU [10%@2188,9%@2188,8%@2188,5%@2188,off,off,off,off] EMC_FREQ 0% GR3D_FREQ 0% AUX@36C CPU@37C thermal@36.15C Tboard@36C AO@35.5C GPU@35.5C iwlwifi@36C Tdiode@38.5C PMIC@50C
04-14-2023 09:36:46 RAM 1815/31011MB (lfb 7009x4MB) SWAP 0/15506MB (cached 0MB) CPU [11%@1190,10%@1190,8%@1190,5%@1190,off,off,off,off] EMC_FREQ 0% GR3D_FREQ 0% AUX@36C CPU@37C thermal@36.15C Tboard@36C AO@35.5C GPU@35.5C iwlwifi@36C Tdiode@38.75C PMIC@50C
04-14-2023 09:36:47 RAM 1814/31011MB (lfb 7009x4MB) SWAP 0/15506MB (cached 0MB) CPU [12%@2188,11%@2188,3%@2188,9%@2188,off,off,off,off] EMC_FREQ 0% GR3D_FREQ 0% AUX@36C CPU@37C thermal@36.15C Tboard@36C AO@35.5C GPU@35.5C iwlwifi@36C Tdiode@38.75C PMIC@50C

please share the xrandr result and /var/log/Xorg.0.log too.

/var/log/Xorg.0.log → Attached.
Xorg.0.log (22.3 KB)

xrandr output:

 xrandr
Screen 0: minimum 0 x 0, current 1280 x 720, maximum 32768 x 32768
default connected primary 1280x720+0+0 338mm x 190mm
   1280x720       0.00*

Don’t you feel the result is weird?

Yes, the dmesg says no NVIDIA GPU and later tegrastats lists the GPU. I am not clear if something went wrong between flashing and installing via sdkmanager.

No, my point here is your xrandr shows a monitor which is not from HDMI.

Are you sure you didn’t configure something to the xorg.conf before?

What is the timing you dumped this xrandr result? Is the monitor really connected?

I didn’t configure but the xavier was used by another teammate.

My bad: here is the xrandr output when the HDMI is connected:

Screen 0: minimum 8 x 8, current 1600 x 900, maximum 32767 x 32767
HDMI-0 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 440mm x 250mm
   1600x900      60.00*+
   1920x1080     60.00    59.95  
   1440x900      74.99    59.89  
   1280x800      59.81  
   1280x720      60.00    59.94  
   1152x864      75.00  
   1024x768      75.03    70.07    60.01  
   832x624       75.05  
   800x600       75.00    72.19    60.32    56.25  
   720x480       59.94  
   720x400       70.04  
   640x480       75.00    72.81    67.06    59.94  
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)```
  1. Didn’t you say it was just flashed with sdkamanger by you? Why does other teammate’s work matter?

  2. Could you use some xrandr command like below and check if GUI can show up or not?

xrandr --output HDMI --mode 1920x1080

Also, could you ask your teammate was this board ever showing any GUI on his side in the past? If it was, which jetpack was flashed on it at that time?
As I said in the first post, we don’t guarantee any behavior of custom board with default jetpack.

Yes, I flashed it and the teammate has left the company so I can’t check.

Please clarify the steps:

  1. xrandr --output HDMI --mode 1920x1080
  2. Connect HDMI and restart to see if UI comes up?

No, the step is not correct.

You need to run the xrandr command when the HDMI is already connected. Also, no need to restart.

My observation has 2 scenarios:
Scenario1:
Strangely, when the Xavier boots up with HDMI cable plugged in, I see the Nvidia logo flash on the screen with a few scrolling lines of boot up but the display screen then goes blank. I am able to ssh into the machine but not able to VNC into it.

Scenario2:
However if I power-up the xavier without the HDMI, allow it to boot-up fully and then plug in the HDMI cable, I see ubuntu2004 home screen on display and able to log in. VNC still doesn’t work.

My objective is to be able to use the xavier both directly with HDMI plugged in and also remotely with VNC.

Kindly suggest the steps as per the scenario

We can check that one by one. Please dump me hte dmesg of your first scenario

And is the situation on scenario 2 stable? I mean every time you hotplug the HDMI cable, you can see the desktop GUI?

dmesg_scenario1.txt (74.3 KB)
Attached is the dmesg for scenario1.

And is the situation on scenario 2 stable? I mean every time you hotplug the HDMI cable, you can see the desktop GUI?>>

→ Yes, it is stable and reproducible.

Scenario 1 seems to be a known issue on jetpack5.

should work if applying this patch.

Thanks for this suggestion, will apply this and let you know in a day or two!

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