HDMI not working

Hi,
We designed own carrier board but hdmi not working. We use only HDMI_DP2 ports. 5V required HDMI is given directly.

We checked EDID data. Here is EDID data:
sudo cat /sys/kernel/debug/tegradc.0/edid
00 ff ff ff ff ff ff 00 04 72 80 05 fd 0e 00 14
28 1f 01 03 80 3c 22 78 ee 53 a5 a7 56 52 9c 26
11 50 54 b3 0c 00 71 4f 81 80 81 c0 81 00 95 00
b3 00 d1 c0 01 01 2a 44 80 a0 70 38 27 40 30 20
35 00 56 50 21 00 00 1a 02 3a 80 18 71 38 2d 40
58 2c 45 00 56 50 21 00 00 1e 00 00 00 fd 00 30
4c 1f 54 12 00 0a 20 20 20 20 20 20 00 00 00 fc
00 53 41 32 37 30 0a 20 20 20 20 20 20 20 01 0b
02 03 1f b1 4b 90 01 02 03 04 05 11 12 13 14 1f
65 03 0c 00 10 00 68 1a 00 00 01 01 30 4b e6 02
3a 80 18 71 38 2d 40 58 2c 45 00 56 50 21 00 00
1e 01 1d 00 72 51 d0 1e 20 6e 28 55 00 56 50 21
00 00 1e 8c 0a d0 8a 20 e0 2d 10 10 3e 96 00 56
50 21 00 00 18 2a 44 80 a0 70 38 27 40 30 20 35
00 56 50 21 00 00 1a 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 25

We unplugged and plugged the HDMI cable , here is log :
Logs.txt (77.6 KB)

We changed something in the tegra194-p2888-0008-p2822-0000.dtb file.
tegra194-p2888-0008-p2822-0000.txt (482.5 KB)
tegra19x-jetson_agx_industrial_pinmux.txt (54.4 KB)

Any suggestions to what would be the problem ?

There is no error from dmesg. Your hardware design is probably wrong.

We used the xrandr command, prints as follows:

$ xrandr
Can’t open display

$ export DISPLAY=:0
$ xrandr
No protocol specified
Can’t open display :0

What is the result of cat /var/log/Xorg.0.log?

Here is result:
$ cat /var/log/Xorg.0.log
[ 20.811] (–) Log file renamed from “/var/log/Xorg.pid-1316.log” to “/var/log/Xorg.0.log”
[ 20.815]
X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
[ 20.815] Build Operating System: linux Ubuntu
[ 20.815] Current Operating System: Linux tegra-ubuntu 5.10.120-tegra #1 SMP PREEMPT Tue Aug 1 12:32:50 PDT 2023 aarch64
[ 20.815] Kernel command line: root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 rootfstype=ext4 video=efifb:off nospectre_bhb
[ 20.816] Build Date: 11 October 2024 02:23:55PM
[ 20.816] xorg-server 2:1.20.13-1ubuntu1~20.04.18 (For technical support please see Enterprise open source support | Ubuntu)
[ 20.816] Current version of pixman: 0.38.4
[ 20.816] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 20.816] Markers: (–) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 20.817] (==) Log file: “/var/log/Xorg.0.log”, Time: Mon Dec 16 15:39:03 2024
[ 20.820] (==) Using config file: “/etc/X11/xorg.conf”
[ 20.820] (==) Using config directory: “/etc/X11/xorg.conf.d”
[ 20.820] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[ 20.824] (==) No Layout section. Using the first Screen section.
[ 20.825] (==) No screen section available. Using defaults.
[ 20.825] (
) |–>Screen “Default Screen Section” (0)
[ 20.825] () | |–>Monitor “”
[ 20.826] (==) No device specified for screen “Default Screen Section”.
Using the first device section listed.
[ 20.826] (
) | |–>Device “Tegra0”
[ 20.827] (==) No monitor specified for screen “Default Screen Section”.
Using a default monitor configuration.
[ 20.827] () Option “AutoAddGPU” “false”
[ 20.827] (==) Automatically adding devices
[ 20.827] (==) Automatically enabling devices
[ 20.827] (
) Not automatically adding GPU devices
[ 20.827] (==) Automatically binding GPU devices
[ 20.827] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 20.835] (WW) The directory “/usr/share/fonts/X11/cyrillic” does not exist.
[ 20.835] Entry deleted from font path.
[ 20.835] (WW) The directory “/usr/share/fonts/X11/100dpi/” does not exist.
[ 20.835] Entry deleted from font path.
[ 20.835] (WW) The directory “/usr/share/fonts/X11/75dpi/” does not exist.
[ 20.835] Entry deleted from font path.
[ 20.836] (WW) The directory “/usr/share/fonts/X11/100dpi” does not exist.
[ 20.836] Entry deleted from font path.
[ 20.836] (WW) The directory “/usr/share/fonts/X11/75dpi” does not exist.
[ 20.837] Entry deleted from font path.
[ 20.837] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 20.837] (==) ModulePath set to “/usr/lib/xorg/modules”
[ 20.837] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 20.837] (II) Loader magic: 0xaaaac539b010
[ 20.837] (II) Module ABI versions:
[ 20.837] X.Org ANSI C Emulation: 0.4
[ 20.837] X.Org Video Driver: 24.1
[ 20.837] X.Org XInput driver : 24.1
[ 20.838] X.Org Server Extension : 10.0
[ 20.843] (++) using VT number 1

[ 20.850] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[ 20.864] (II) no primary bus or device found
[ 20.864] (WW) “dri” will not be loaded unless you’ve specified it to be loaded elsewhere.
[ 20.864] (II) “glx” will be loaded by default.
[ 20.864] (II) LoadModule: “extmod”
[ 20.865] (II) Module “extmod” already built-in
[ 20.865] (II) LoadModule: “glx”
[ 20.875] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 20.882] (II) Module glx: vendor=“X.Org Foundation”
[ 20.882] compiled for 1.20.13, module version = 1.0.0
[ 20.883] ABI class: X.Org Server Extension, version 10.0
[ 20.883] (II) LoadModule: “nvidia”
[ 20.884] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 20.917] (II) Module nvidia: vendor=“NVIDIA Corporation”
[ 20.917] compiled for 1.6.99.901, module version = 1.0.0
[ 20.918] Module class: X.Org Video Driver
[ 20.918] (II) NVIDIA dlloader X Driver 35.4.1 Release Build (bugfix_main) (buildbrain@mobile-u64-6422-d7000) Tue Aug 1 12:40:10 PDT 2023
[ 20.918] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 20.919] (WW) Falling back to old probe method for NVIDIA
[ 20.919] (II) Loading sub module “fb”
[ 20.919] (II) LoadModule: “fb”
[ 20.921] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 20.930] (II) Module fb: vendor=“X.Org Foundation”
[ 20.930] compiled for 1.20.13, module version = 1.0.0
[ 20.930] ABI class: X.Org ANSI C Emulation, version 0.4
[ 20.930] (II) Loading sub module “wfb”
[ 20.930] (II) LoadModule: “wfb”
[ 20.931] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 20.934] (II) Module wfb: vendor=“X.Org Foundation”
[ 20.934] compiled for 1.20.13, module version = 1.0.0
[ 20.934] ABI class: X.Org ANSI C Emulation, version 0.4
[ 20.934] (II) Loading sub module “ramdac”
[ 20.934] (II) LoadModule: “ramdac”
[ 20.934] (II) Module “ramdac” already built-in
[ 20.958] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 20.959] (II) NVIDIA(0): Creating default Display subsection in Screen section
“Default Screen Section” for depth/fbbpp 24/32
[ 20.959] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 20.959] (==) NVIDIA(0): RGB weight 888
[ 20.959] (==) NVIDIA(0): Default visual is TrueColor
[ 20.959] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 20.959] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[ 20.959] () NVIDIA(0): Option “AllowEmptyInitialConfiguration” “true”
[ 20.960] (
) NVIDIA(0): Enabling 2D acceleration
[ 20.960] (II) Loading sub module “glxserver_nvidia”
[ 20.960] (II) LoadModule: “glxserver_nvidia”
[ 20.961] (II) Loading /usr/lib/xorg/modules/extensions/libglxserver_nvidia.so
[ 21.094] (II) Module glxserver_nvidia: vendor=“NVIDIA Corporation”
[ 21.094] compiled for 1.6.99.901, module version = 1.0.0
[ 21.094] Module class: X.Org Server Extension
[ 21.094] (II) NVIDIA GLX Module 35.4.1 Release Build (bugfix_main) (buildbrain@mobile-u64-6422-d7000) Tue Aug 1 12:38:45 PDT 2023
[ 21.095] (II) NVIDIA: The X server supports PRIME Render Offload.
[ 21.099] (–) NVIDIA(0): Valid display device(s) on GPU-0 at SoC
[ 21.099] (–) NVIDIA(0): DFP-0
[ 21.099] (WW) NVIDIA: No DRM device: No direct render devices found.
[ 21.102] (II) NVIDIA(0): NVIDIA GPU Xavier (nvgpu) (GV11B) at SoC (GPU-0)
[ 21.102] (–) NVIDIA(0): Memory: 27626632 kBytes
[ 21.102] (–) NVIDIA(0): VideoBIOS:
[ 21.102] (==) NVIDIA(0):
[ 21.102] (==) NVIDIA(0): No modes were requested; the default mode “nvidia-auto-select”
[ 21.102] (==) NVIDIA(0): will be used as the requested mode.
[ 21.102] (==) NVIDIA(0):
[ 21.103] (–) NVIDIA(0): No enabled display devices found; starting anyway because
[ 21.103] (–) NVIDIA(0): AllowEmptyInitialConfiguration is enabled
[ 21.103] (II) NVIDIA(0): Validated MetaModes:
[ 21.103] (II) NVIDIA(0): “NULL”
[ 21.103] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 21.103] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 21.104] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 21.105] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[ 21.105] (II) NVIDIA: access.
[ 21.105] (WW) NVIDIA(GPU-0): Failed to enter interactive mode.
[ 21.121] (EE) NVIDIA(0): Failed to allocate NVIDIA Error Handler
[ 21.121] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 21.121] (II) NVIDIA(0): may not be running or the “AcpidSocketPath” X
[ 21.122] (II) NVIDIA(0): configuration option may not be set correctly. When the
[ 21.122] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
[ 21.122] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
[ 21.122] (II) NVIDIA(0): details, please see the “ConnectToAcpid” and
[ 21.122] (II) NVIDIA(0): “AcpidSocketPath” X configuration options in Appendix B: X
[ 21.122] (II) NVIDIA(0): Config Options in the README.
[ 21.211] (II) NVIDIA(0): Setting mode “NULL”
[ 21.228] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 21.228] (==) NVIDIA(0): Backing store enabled
[ 21.228] (==) NVIDIA(0): Silken mouse enabled
[ 21.229] (==) NVIDIA(0): DPMS enabled
[ 21.230] (II) Loading sub module “dri2”
[ 21.230] (II) LoadModule: “dri2”
[ 21.230] (II) Module “dri2” already built-in
[ 21.231] (II) NVIDIA(0): [DRI2] Setup complete
[ 21.231] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 21.231] (II) Initializing extension Generic Event Extension
[ 21.232] (II) Initializing extension SHAPE
[ 21.233] (II) Initializing extension MIT-SHM
[ 21.234] (II) Initializing extension XInputExtension
[ 21.235] (II) Initializing extension XTEST
[ 21.236] (II) Initializing extension BIG-REQUESTS
[ 21.237] (II) Initializing extension SYNC
[ 21.238] (II) Initializing extension XKEYBOARD
[ 21.239] (II) Initializing extension XC-MISC
[ 21.239] (II) Initializing extension SECURITY
[ 21.240] (II) Initializing extension XFIXES
[ 21.241] (II) Initializing extension RENDER
[ 21.241] (II) Initializing extension RANDR
[ 21.242] (II) Initializing extension COMPOSITE
[ 21.243] (II) Initializing extension DAMAGE
[ 21.244] (II) Initializing extension MIT-SCREEN-SAVER
[ 21.244] (II) Initializing extension DOUBLE-BUFFER
[ 21.245] (II) Initializing extension RECORD
[ 21.246] (II) Initializing extension DPMS
[ 21.246] (II) Initializing extension Present
[ 21.247] (II) Initializing extension DRI3
[ 21.247] (II) Initializing extension X-Resource
[ 21.248] (II) Initializing extension XVideo
[ 21.249] (II) Initializing extension XVideo-MotionCompensation
[ 21.249] (II) Initializing extension SELinux
[ 21.249] (II) SELinux: Disabled on system
[ 21.249] (II) Initializing extension GLX
[ 21.250] (II) Initializing extension GLX
[ 21.250] (II) Indirect GLX disabled.
[ 21.250] (II) GLX: Another vendor is already registered for screen 0
[ 21.250] (II) Initializing extension XFree86-VidModeExtension
[ 21.251] (II) Initializing extension XFree86-DGA
[ 21.251] (II) Initializing extension XFree86-DRI
[ 21.251] (II) Initializing extension DRI2
[ 21.252] (II) Initializing extension NV-GLX
[ 21.253] (II) Initializing extension NV-CONTROL
[ 21.658] (II) config/udev: Adding input device NVIDIA Jetson AGX Xavier HDA HDMI/DP,pcm=3 (/dev/input/event1)
[ 21.658] (II) No input driver specified, ignoring this device.
[ 21.659] (II) This device may have been added with another device file.
[ 21.662] (II) config/udev: Adding input device NVIDIA Jetson AGX Xavier HDA HDMI/DP,pcm=7 (/dev/input/event2)
[ 21.662] (II) No input driver specified, ignoring this device.
[ 21.662] (II) This device may have been added with another device file.
[ 21.665] (II) config/udev: Adding input device NVIDIA Jetson AGX Xavier HDA HDMI/DP,pcm=8 (/dev/input/event3)
[ 21.665] (II) No input driver specified, ignoring this device.
[ 21.665] (II) This device may have been added with another device file.
[ 21.668] (II) config/udev: Adding input device NVIDIA Jetson AGX Xavier HDA HDMI/DP,pcm=9 (/dev/input/event4)
[ 21.669] (II) No input driver specified, ignoring this device.
[ 21.669] (II) This device may have been added with another device file.
[ 21.673] (II) config/udev: Adding input device gpio-keys (/dev/input/event0)
[ 21.673] () gpio-keys: Applying InputClass “libinput keyboard catchall”
[ 21.673] (II) LoadModule: “libinput”
[ 21.674] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 21.690] (II) Module libinput: vendor=“X.Org Foundation”
[ 21.690] compiled for 1.20.4, module version = 0.29.0
[ 21.690] Module class: X.Org XInput Driver
[ 21.690] ABI class: X.Org XInput driver, version 24.1
[ 21.691] (II) Using input driver ‘libinput’ for ‘gpio-keys’
[ 21.695] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 34 paused 0
[ 21.695] (
) gpio-keys: always reports core events
[ 21.696] () Option “Device” “/dev/input/event0”
[ 21.696] (
) Option “_source” “server/udev”
[ 21.728] (II) event0 - gpio-keys: is tagged by udev as: Keyboard
[ 21.728] (II) event0 - gpio-keys: device is a keyboard
[ 21.729] (II) event0 - gpio-keys: device removed
[ 21.729] () Option “config_info” “udev:/sys/devices/platform/gpio-keys/input/input0/event0”
[ 21.729] (II) XINPUT: Adding extended input device “gpio-keys” (type: KEYBOARD, id 6)
[ 21.729] (
) Option “xkb_model” “pc105”
[ 21.730] (**) Option “xkb_layout” “us”
[ 21.736] (II) event0 - gpio-keys: is tagged by udev as: Keyboard
[ 21.737] (II) event0 - gpio-keys: device is a keyboard
[ 21.824] (–) NVIDIA(GPU-0): Acer SA270 (DFP-0): connected
[ 21.824] (–) NVIDIA(GPU-0): Acer SA270 (DFP-0): External TMDS
[ 21.825] (II) NVIDIA(0): Setting mode “NULL”
[ 21.968] (II) NVIDIA(0): Setting mode “NULL”

Is this monitor able to work fine on NV devkit?

[ 21.103] (–) NVIDIA(0): No enabled display devices found; starting anyway because
[ 21.103] (–) NVIDIA(0): AllowEmptyInitialConfiguration is enabled
[ 21.103] (II) NVIDIA(0): Validated MetaModes:
[ 21.103] (II) NVIDIA(0): “NULL”
[ 21.103] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 21.103] (WW) NVIDIA(0): Unable to get display device for DPI computation.

I saw the EDID is read but the xorg log said there is no mode read from this monitor.

We don’t have NV devkit But the monitor works with another Ubuntu PC.

We unplugged and plugged to different monitor then Xorg log and EDID data results :
EDID_LG.txt (831 Bytes)
Xorg_log_LG.txt (28.6 KB)

We checked the mode setting via following command and result:

$ sudo cat /sys/kernel/debug/tegradc.0/mode
pclk: 148500000
h_ref_to_sync: 0
v_ref_to_sync: 0
h_sync_width: 44
v_sync_width: 5
h_back_porch: 148
v_back_porch: 36
h_active: 1920
v_active: 1080
h_front_porch: 88
v_front_porch: 4
flags: 0x0
stereo_mode: 0
avi_m: 0x2
vmode: 0x10600000

Hi,

If you hotplug the monitor later after boot, then xorg behavior is expected. There is no software error.

Please review your hardware design. Especially the lane 0 and lane 2 order.

Hi,

According to the Xavier OEM Product Guide, HDMI_DP2_TX0 is TXD2 and HDMI_DP2_TX2 is TXD0. We are using these pins as mentioned.

We will recheck the HDMI lines… As I remember, it is possible to change these 0-2 lanes in ORIN modules. Is it also possible for Xavier Industrial modules?

Best Regards,

No, you must use correct hardware design.

Even what you said on Orin is wrong. You cannot swap the pin. The result would be random one and no gurantee.

Hi,

I have checked devkit schematic and it seems that all lanes are crossed at HDMI connector side as below. This is also same in the product guide and our schematic connections are as given below too.

HDMI_DP2_TX0 → HDMI D2
HDMI_DP2_TX1 → HDMI D1
HDMI_DP2_TX2 → HDMI D0
HDMI_DP2_TX3 → HDMI C

For the ORIN, there is pin mode selection under Customer Usage column for HDMI lanes in pinmux file. Does not it functional?

For the Xavier module , lane 0 and lane 2 crossed in our hardware design. We are fixed and unconnected 5V HDMI power. Hdmi display problem solved but screen shows only serial console.

Best Regards

That does not matter. I mean you cannot swtich lane 0 and lane 2 on Orin design and think it would work.

For the Xavier module , lane 0 and lane 2 crossed in our hardware design. We are fixed and unconnected 5V HDMI power. Hdmi display problem solved but screen shows only serial console.

If the serial console showed up but not GUI, then it has nothing to do with device tree. Lower lever kernel issue has been resolved. Please check /var/log/Xorg.0.log and see what is going on.

Only having console means xorg does not launch successfully.

Hi,
We reflashed the module,solved. HDMI works.
Thank you.

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