DP port on Orin can't work

Several days ago, I call for RMA of my old Orin, because of a defective USB port(10).

Today, I received the new Orin from RMA with joy. However, the DP port did not work when I used DP-to-HDMI cable to connect Orin to Display. I have checked that the DP-to-HDMI cable and the Display were ok by connect my computer’s DP(out) to Display’s HDMI(in) with the DP-to-HDMI cable.

So, I have no choice but use headless mode to initiate Ubuntu on the Orin, then ssh login the Orin.

I used “sudo dmesg” and got the following output which showed “no port node found”.

Then I used “gdm”.

Then I got “Xorg.0.log”.

leon@orin:~$ cat /var/log/Xorg.0.log
[    23.420] (--) Log file renamed from "/var/log/Xorg.pid-1380.log" to "/var/log/Xorg.0.log"
[    23.421]
X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
[    23.421] Build Operating System: linux Ubuntu
[    23.421] Current Operating System: Linux orin 5.10.65-tegra #1 SMP PREEMPT Tue Mar 15 00:53:43 PDT 2022 aarch64
[    23.421] Kernel command line: root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 console=tty0 firmware_class.path=/etc/firmware fbcon=map:0 net.ifnames=0
[    23.421] Build Date: 14 December 2021  02:14:13PM
[    23.421] xorg-server 2:1.20.13-1ubuntu1~20.04.2 (For technical support please see http://www.ubuntu.com/support)
[    23.421] Current version of pixman: 0.38.4
[    23.421] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    23.421] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    23.421] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 20 21:35:07 2023
[    23.425] (==) Using config file: "/etc/X11/xorg.conf"
[    23.425] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    23.425] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    23.428] (==) No Layout section.  Using the first Screen section.
[    23.428] (==) No screen section available. Using defaults.
[    23.428] (**) |-->Screen "Default Screen Section" (0)
[    23.428] (**) |   |-->Monitor "<default monitor>"
[    23.428] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    23.428] (**) |   |-->Device "Tegra0"
[    23.428] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    23.428] (==) Automatically adding devices
[    23.428] (==) Automatically enabling devices
[    23.428] (==) Automatically adding GPU devices
[    23.428] (==) Automatically binding GPU devices
[    23.428] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    23.432] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    23.433] 	Entry deleted from font path.
[    23.433] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    23.433] 	Entry deleted from font path.
[    23.433] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    23.433] 	Entry deleted from font path.
[    23.433] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    23.433] 	Entry deleted from font path.
[    23.433] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    23.433] 	Entry deleted from font path.
[    23.433] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[    23.433] (==) ModulePath set to "/usr/lib/xorg/modules"
[    23.433] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    23.433] (II) Loader magic: 0xaaaacf18c010
[    23.433] (II) Module ABI versions:
[    23.433] 	X.Org ANSI C Emulation: 0.4
[    23.433] 	X.Org Video Driver: 24.1
[    23.433] 	X.Org XInput driver : 24.1
[    23.433] 	X.Org Server Extension : 10.0
[    23.433] (++) using VT number 1

[    23.435] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[    23.436] (II) no primary bus or device found
[    23.436] (WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
[    23.436] (II) "glx" will be loaded by default.
[    23.436] (II) LoadModule: "extmod"
[    23.436] (II) Module "extmod" already built-in
[    23.436] (II) LoadModule: "glx"
[    23.437] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    23.446] (II) Module glx: vendor="X.Org Foundation"
[    23.446] 	compiled for 1.20.13, module version = 1.0.0
[    23.446] 	ABI class: X.Org Server Extension, version 10.0
[    23.446] (II) LoadModule: "nvidia"
[    23.447] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    23.468] (II) Module nvidia: vendor="NVIDIA Corporation"
[    23.468] 	compiled for 1.6.99.901, module version = 1.0.0
[    23.468] 	Module class: X.Org Video Driver
[    23.469] (II) NVIDIA dlloader X Driver  34.0.1  Release Build  (bugfix_main)  (buildbrain@mobile-u64-5266-d7000)  Tue Mar 15 01:01:13 PDT 2022
[    23.469] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    23.469] (WW) Falling back to old probe method for NVIDIA
[    23.469] (II) Loading sub module "fb"
[    23.469] (II) LoadModule: "fb"
[    23.469] (II) Loading /usr/lib/xorg/modules/libfb.so
[    23.470] (II) Module fb: vendor="X.Org Foundation"
[    23.470] 	compiled for 1.20.13, module version = 1.0.0
[    23.470] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    23.470] (II) Loading sub module "wfb"
[    23.471] (II) LoadModule: "wfb"
[    23.471] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    23.472] (II) Module wfb: vendor="X.Org Foundation"
[    23.472] 	compiled for 1.20.13, module version = 1.0.0
[    23.472] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    23.472] (II) Loading sub module "ramdac"
[    23.472] (II) LoadModule: "ramdac"
[    23.472] (II) Module "ramdac" already built-in
[    23.479] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    23.479] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    23.479] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    23.479] (==) NVIDIA(0): RGB weight 888
[    23.479] (==) NVIDIA(0): Default visual is TrueColor
[    23.479] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    23.479] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[    23.479] (**) NVIDIA(0): Option "ModeDebug"
[    23.479] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration" "true"
[    23.479] (**) NVIDIA(0): Enabling 2D acceleration
[    23.479] (II) Loading sub module "glxserver_nvidia"
[    23.479] (II) LoadModule: "glxserver_nvidia"
[    23.479] (II) Loading /usr/lib/xorg/modules/extensions/libglxserver_nvidia.so
[    23.620] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[    23.620] 	compiled for 1.6.99.901, module version = 1.0.0
[    23.621] 	Module class: X.Org Server Extension
[    23.621] (II) NVIDIA GLX Module  34.0.1  Release Build  (bugfix_main)  (buildbrain@mobile-u64-5266-d7000)  Tue Mar 15 00:58:36 PDT 2022
[    23.621] (II) NVIDIA: The X server supports PRIME Render Offload.
[    24.010] (--) NVIDIA(0): Valid display device(s) on GPU-0 at SoC
[    24.011] (--) NVIDIA(0):     DFP-0
[    24.011] (WW) NVIDIA: No DRM device: No direct render devices found.
[    24.011] (II) NVIDIA(0): NVIDIA GPU Orin (nvgpu) (GA10B) at SoC (GPU-0)
[    24.011] (--) NVIDIA(0): Memory: 31390212 kBytes
[    24.011] (--) NVIDIA(0): VideoBIOS:
[    24.011] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    24.011] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[    24.011] (--) NVIDIA(GPU-0): DFP-0 Name Aliases:
[    24.011] (--) NVIDIA(GPU-0):   DFP
[    24.011] (--) NVIDIA(GPU-0):   DFP-0
[    24.011] (--) NVIDIA(GPU-0):   DPY-0
[    24.011] (--) NVIDIA(GPU-0):   DP-0
[    24.011] (--) NVIDIA(GPU-0):   DP-0
[    24.011] (--) NVIDIA(GPU-0):   Connector-0
[    24.011] (--) NVIDIA(GPU-0): DFP-0: 2380.0 MHz maximum pixel clock
[    24.011] (--) NVIDIA(GPU-0):
[    24.011] (==) NVIDIA(0):
[    24.011] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[    24.011] (==) NVIDIA(0):     will be used as the requested mode.
[    24.011] (==) NVIDIA(0):
[    24.011] (--) NVIDIA(0): No enabled display devices found; starting anyway because
[    24.011] (--) NVIDIA(0):     AllowEmptyInitialConfiguration is enabled
[    24.013] (II) NVIDIA(0): Validated MetaModes:
[    24.013] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[    24.014] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[    24.014] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[    24.014] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[    24.014] (II) NVIDIA:     access.
[    24.014] (WW) NVIDIA(GPU-0): Failed to enter interactive mode.
[    24.024] (EE) NVIDIA(0): Failed to allocate NVIDIA Error Handler
[    24.024] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    24.024] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    24.025] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    24.025] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    24.025] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    24.025] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    24.025] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    24.025] (II) NVIDIA(0):     Config Options in the README.
[    24.047] (II) NVIDIA(0): Setting mode "NULL"
[    24.061] (==) NVIDIA(0): Disabling shared memory pixmaps
[    24.061] (==) NVIDIA(0): Backing store enabled
[    24.061] (==) NVIDIA(0): Silken mouse enabled
[    24.061] (==) NVIDIA(0): DPMS enabled
[    24.061] (II) Loading sub module "dri2"
[    24.061] (II) LoadModule: "dri2"
[    24.061] (II) Module "dri2" already built-in
[    24.061] (II) NVIDIA(0): [DRI2] Setup complete
[    24.061] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    24.061] (II) Initializing extension Generic Event Extension
[    24.062] (II) Initializing extension SHAPE
[    24.062] (II) Initializing extension MIT-SHM
[    24.062] (II) Initializing extension XInputExtension
[    24.062] (II) Initializing extension XTEST
[    24.062] (II) Initializing extension BIG-REQUESTS
[    24.062] (II) Initializing extension SYNC
[    24.062] (II) Initializing extension XKEYBOARD
[    24.063] (II) Initializing extension XC-MISC
[    24.063] (II) Initializing extension SECURITY
[    24.063] (II) Initializing extension XFIXES
[    24.063] (II) Initializing extension RENDER
[    24.063] (II) Initializing extension RANDR
[    24.063] (II) Initializing extension COMPOSITE
[    24.063] (II) Initializing extension DAMAGE
[    24.063] (II) Initializing extension MIT-SCREEN-SAVER
[    24.063] (II) Initializing extension DOUBLE-BUFFER
[    24.064] (II) Initializing extension RECORD
[    24.064] (II) Initializing extension DPMS
[    24.064] (II) Initializing extension Present
[    24.064] (II) Initializing extension DRI3
[    24.064] (II) Initializing extension X-Resource
[    24.064] (II) Initializing extension XVideo
[    24.064] (II) Initializing extension XVideo-MotionCompensation
[    24.064] (II) Initializing extension SELinux
[    24.064] (II) SELinux: Disabled on system
[    24.064] (II) Initializing extension GLX
[    24.064] (II) Initializing extension GLX
[    24.064] (II) Indirect GLX disabled.
[    24.065] (II) GLX: Another vendor is already registered for screen 0
[    24.065] (II) Initializing extension XFree86-VidModeExtension
[    24.065] (II) Initializing extension XFree86-DGA
[    24.065] (II) Initializing extension XFree86-DRI
[    24.065] (II) Initializing extension DRI2
[    24.065] (II) Initializing extension NV-GLX
[    24.065] (II) Initializing extension NV-CONTROL
[    24.219] (II) config/udev: Adding input device NVIDIA Jetson AGX Orin HDA HDMI/DP,pcm=3 (/dev/input/event1)
[    24.219] (II) No input driver specified, ignoring this device.
[    24.219] (II) This device may have been added with another device file.
[    24.220] (II) config/udev: Adding input device NVIDIA Jetson AGX Orin HDA HDMI/DP,pcm=7 (/dev/input/event2)
[    24.220] (II) No input driver specified, ignoring this device.
[    24.220] (II) This device may have been added with another device file.
[    24.220] (II) config/udev: Adding input device NVIDIA Jetson AGX Orin HDA HDMI/DP,pcm=8 (/dev/input/event3)
[    24.220] (II) No input driver specified, ignoring this device.
[    24.220] (II) This device may have been added with another device file.
[    24.220] (II) config/udev: Adding input device NVIDIA Jetson AGX Orin HDA HDMI/DP,pcm=9 (/dev/input/event4)
[    24.220] (II) No input driver specified, ignoring this device.
[    24.220] (II) This device may have been added with another device file.
[    24.221] (II) config/udev: Adding input device gpio-keys (/dev/input/event0)
[    24.221] (**) gpio-keys: Applying InputClass "libinput keyboard catchall"
[    24.221] (II) LoadModule: "libinput"
[    24.221] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    24.269] (II) Module libinput: vendor="X.Org Foundation"
[    24.269] 	compiled for 1.20.4, module version = 0.29.0
[    24.269] 	Module class: X.Org XInput Driver
[    24.269] 	ABI class: X.Org XInput driver, version 24.1
[    24.269] (II) Using input driver 'libinput' for 'gpio-keys'
[    24.271] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 31 paused 0
[    24.272] (**) gpio-keys: always reports core events
[    24.272] (**) Option "Device" "/dev/input/event0"
[    24.272] (**) Option "_source" "server/udev"
[    24.326] (II) event0  - gpio-keys: is tagged by udev as: Keyboard
[    24.326] (II) event0  - gpio-keys: device is a keyboard
[    24.326] (II) event0  - gpio-keys: device removed
[    24.327] (**) Option "config_info" "udev:/sys/devices/platform/gpio-keys/input/input0/event0"
[    24.327] (II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD, id 6)
[    24.327] (**) Option "xkb_model" "pc105"
[    24.327] (**) Option "xkb_layout" "us"
[    24.328] (II) event0  - gpio-keys: is tagged by udev as: Keyboard
[    24.328] (II) event0  - gpio-keys: device is a keyboard
[    24.874] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    24.874] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[    24.874] (--) NVIDIA(GPU-0): DFP-0 Name Aliases:
[    24.874] (--) NVIDIA(GPU-0):   DFP
[    24.874] (--) NVIDIA(GPU-0):   DFP-0
[    24.874] (--) NVIDIA(GPU-0):   DPY-0
[    24.874] (--) NVIDIA(GPU-0):   DP-0
[    24.874] (--) NVIDIA(GPU-0):   DP-0
[    24.874] (--) NVIDIA(GPU-0):   Connector-0
[    24.874] (--) NVIDIA(GPU-0): DFP-0: 2380.0 MHz maximum pixel clock
[    24.874] (--) NVIDIA(GPU-0):
leon@orin:~$

please reflash your board with sdkmanger +jetpack5.1 first.

Also, that no port log is for usb, not related to display port. Do not take it wrong.