Failed to start X11 server in Jetson Orin Nano

I am trying to AUTOLOAD the “nvidia-drm” driver which is required to detect display is connected or not via /sys/class/drm.

So, If I load nvidia-drm during boot then I can see the X11 server failed to start.
Fatal server error:
[ 15.693] (EE) no screens found(EE)
Please check xorg log for reference

==> /var/log/Xorg.0.log

# cat /var/log/Xorg.0.log
[    15.652]
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[    15.652] Current Operating System: Linux bx35a 5.15.136-ind1-2+10 #1 SMP PREEMPT Thu, 01 Jan 1970 06:30:00 +0530 aarch64
[    15.652] Kernel command line: initrd=\initrd.img-5.15.136-ind1-2+10 LABEL=Boot root=PARTUUID=18d14041-b200-4743-9f84-319a6a8064bb  console=ttyTCU0,115200n8 console=ttyAMA0,115200n8 console=tty0 fbcon=map:0 rootwait rw firmware_class.path=/etc/firmware efi=runtime  security=selinux selinux=1 enforcing=0
[    15.652] xorg-server 2:21.1.7-3+deb12u8 (https://www.debian.org/support)
[    15.652] Current version of pixman: 0.42.2
[    15.652]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    15.652] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    15.652] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan 30 09:36:13 2025
[    15.652] (==) Using config file: "/etc/X11/xorg.conf"
[    15.652] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    15.652] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    15.652] (==) No Layout section.  Using the first Screen section.
[    15.653] (==) No screen section available. Using defaults.
[    15.653] (**) |-->Screen "Default Screen Section" (0)
[    15.653] (**) |   |-->Monitor "<default monitor>"
[    15.653] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[    15.653] (**) |   |-->Device "Tegra0"
[    15.653] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    15.653] (==) Automatically adding devices
[    15.653] (==) Automatically enabling devices
[    15.653] (==) Automatically adding GPU devices
[    15.653] (==) Automatically binding GPU devices
[    15.653] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    15.653] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    15.653]    Entry deleted from font path.
[    15.653] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        built-ins
[    15.653] (==) ModulePath set to "/usr/lib/xorg/modules"
[    15.653] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    15.653] (II) Loader magic: 0xaaaad82a0f00
[    15.653] (II) Module ABI versions:
[    15.653]    X.Org ANSI C Emulation: 0.4
[    15.653]    X.Org Video Driver: 25.2
[    15.653]    X.Org XInput driver : 24.4
[    15.653]    X.Org Server Extension : 10.0
[    15.654] (++) using VT number 7

[    15.654] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    15.656] (II) xfree86: Adding drm device (/dev/dri/card1)
[    15.656] (II) Platform probe for /sys/devices/platform/13800000.display/drm/card1
[    15.656] (II) xfree86: Adding drm device (/dev/dri/card0)
[    15.656] (II) Platform probe for /sys/devices/platform/bus@0/13e00000.host1x/drm/drm/card0
[    15.659] (II) no primary bus or device found
[    15.659]    falling back to /sys/devices/platform/13800000.display/drm/card1
[    15.659] (WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
[    15.659] (II) "glx" will be loaded by default.
[    15.659] (II) LoadModule: "extmod"
[    15.659] (II) Module "extmod" already built-in
[    15.659] (II) LoadModule: "glx"
[    15.659] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    15.661] (II) Module glx: vendor="X.Org Foundation"
[    15.661]    compiled for 1.21.1.7, module version = 1.0.0
[    15.661]    ABI class: X.Org Server Extension, version 10.0
[    15.661] (II) LoadModule: "nvidia"
[    15.661] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    15.662] (II) Module nvidia: vendor="NVIDIA Corporation"
[    15.662]    compiled for 1.6.99.901, module version = 1.0.0
[    15.662]    Module class: X.Org Video Driver
[    15.662] (II) NVIDIA dlloader X Driver  540.3.0  Release Build  (bugfix_main)  (buildbrain@mobile-u64-6459-d8000)  Fri Jul 19 16:03:07 PDT 2024
[    15.662] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    15.663] (II) Loading sub module "fb"
[    15.663] (II) LoadModule: "fb"
[    15.663] (II) Module "fb" already built-in
[    15.663] (II) Loading sub module "wfb"
[    15.663] (II) LoadModule: "wfb"
[    15.663] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    15.663] (II) Module wfb: vendor="X.Org Foundation"
[    15.663]    compiled for 1.21.1.7, module version = 1.0.0
[    15.663]    ABI class: X.Org ANSI C Emulation, version 0.4
[    15.664] (II) NVIDIA(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    15.664] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    15.664] (==) NVIDIA(0): RGB weight 888
[    15.664] (==) NVIDIA(0): Default visual is TrueColor
[    15.664] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    15.664] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration" "true"
[    15.664] (**) NVIDIA(0): Enabling 2D acceleration
[    15.664] (II) Loading sub module "glxserver_nvidia"
[    15.664] (II) LoadModule: "glxserver_nvidia"
[    15.665] (II) Loading /usr/lib/xorg/modules/extensions/libglxserver_nvidia.so
[    15.670] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[    15.670]    compiled for 1.6.99.901, module version = 1.0.0
[    15.670]    Module class: X.Org Server Extension
[    15.670] (II) NVIDIA GLX Module  540.3.0  Release Build  (bugfix_main)  (buildbrain@mobile-u64-6459-d8000)  Fri Jul 19 16:01:36 PDT 2024
[    15.670] (II) NVIDIA: The X server supports PRIME Render Offload.
[    15.673] (--) NVIDIA(0): Valid display device(s) on GPU-0 at SoC
[    15.673] (--) NVIDIA(0):     DFP-0
[    15.673] (--) NVIDIA(0):     DFP-1
[    15.677] (II) NVIDIA(0): NVIDIA GPU Orin (nvgpu) (GA10B) at SoC (GPU-0)
[    15.677] (--) NVIDIA(0): Memory: 16031468 kBytes
[    15.677] (--) NVIDIA(0): VideoBIOS:
[    15.677] (EE) NVIDIA(GPU-0): Failed to acquire modesetting permission.
[    15.677] (EE) NVIDIA(0): Failing initialization of X screen
[    15.692] (II) UnloadModule: "nvidia"
[    15.692] (II) UnloadSubModule: "glxserver_nvidia"
[    15.692] (II) Unloading glxserver_nvidia
[    15.692] (II) UnloadSubModule: "wfb"
[    15.692] (==) NVIDIA(G0): Depth 24, (==) framebuffer bpp 32
[    15.692] (==) NVIDIA(G0): RGB weight 888
[    15.692] (==) NVIDIA(G0): Default visual is TrueColor
[    15.692] (==) NVIDIA(G0): Using gamma correction (1.0, 1.0, 1.0)
[    15.692] (**) NVIDIA(G0): Enabling 2D acceleration
[    15.692] (II) NVIDIA: The X server supports PRIME Render Offload.
[    15.692] (EE) NVIDIA(GPU-1): Failed to initialize the NVIDIA graphics device!
[    15.692] (EE) NVIDIA(G0): Failing initialization of X screen
[    15.692] (II) UnloadModule: "nvidia"
[    15.692] (II) UnloadSubModule: "wfb"
[    15.692] (EE) Screen(s) found, but none have a usable configuration.
[    15.692] (EE)
Fatal server error:
[    15.693] (EE) no screens found(EE)
[    15.693] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[    15.693] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    15.693] (EE)
[    15.697] (EE) Server terminated with error (1). Closing log file.

==> xorg.conf

# cat /etc/X11/xorg.conf
# Copyright (c) 2011-2013 NVIDIA CORPORATION.  All Rights Reserved.

#
# This is the minimal configuration necessary to use the Tegra driver.
# Please refer to the xorg.conf man page for more configuration
# options provided by the X server, including display-related options
# provided by RandR 1.2 and higher.

# Disable extensions not useful on Tegra.
Section "Module"
    Disable     "dri"
    SubSection  "extmod"
        Option  "omit xfree86-dga"
    EndSubSection
EndSection

Section "Device"
    Identifier  "Tegra0"
    Driver      "nvidia"
# Allow X server to be started even if no display devices are connected.
    Option      "AllowEmptyInitialConfiguration" "true"
EndSection
# lsmod | grep drm
nvidia_drm             90112  0
nvidia_modeset       1294336  1 nvidia_drm
tegra_drm             376832  0
cec                    57344  1 tegra_drm
drm_kms_helper        299008  2 tegra_drm,nvidia_drm
drm                   614400  5 drm_kms_helper,nvidia,tegra_drm,nvidia_drm
nvhwpm                143360  4 mc_hwpm,tegra_drm,nvhost_nvdla,nvhost_pva
host1x                200704  8 host1x_nvhost,host1x_fence,nvgpu,tegra_drm,nvhost_nvdla,nvidia_drm,nvhost_pva,nvidia_modeset

Please let me know how i can fix this.

Hi,
If you don’t need Ubuntu desktop, would suggest develop your use-case based on this rootfs:

Root File System — NVIDIA Jetson Linux Developer Guide 1 documentation

It is the rootfs without Ubuntu GUI.

Hi @DaneLLL ,
Thanks for the response, but I just want to know when the nvidia_drm driver is not loaded. Then I have not seen any issue loading the X11 server, but when I load the nvidia_drm driver, it fails to start the X11 server. What is wrong here, and what is missing? I was not able to figure out the root cause for this. Please help me to point out if you feel something is missing in my stuff or let me know if more input is required.

I will also check the Rootfs Docs, but I don’t think that will help me.

Thanks,
Ritesh

Hi,
X11 and nvidia-drm cannot be run simultaneously. Please run either X11 or nvidia-drm, as suggested in

Accelerated GStreamer — NVIDIA Jetson Linux Developer Guide 1 documentation

Hi @DaneLLL ,
Thanks for the help. I think i got your point. but in my setup I need find out HDMI display is connected or not before any X11 server launches also without nvidia-drm driver.
So, can you suggest a way to do so in Jetson Orin nano platform. If I am able to know display is connected or not without any X server related tools then I think my problem will solve.

Thanks,
Ritesh

udevadm monitor --env

udev shall be able to notice display hotplug when DRM is enabled.

Hi @WayneWWW ,
Thanks for the suggestion but this didn’t work for me.

udevadm monitor --env

monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

I can’t see more info then this, can you suggest any other like sysfs entry ?

Thanks
Ritesh

Hi,
Please hotplug the HDMI out. You shall see the messages like:

UDEV  [171.821483] change   /devices/platform/external-connection/external-connection:disp-state/extcon/extcon0 (extcon)
ACTION=change
DEVPATH=/devices/platform/external-connection/external-connection:disp-state/extcon/extcon0
SUBSYSTEM=extcon
NAME=external-connection:disp-state
STATE=HDMI=0
DP=0
AUDIO_AUX0=0
AUDIO_AUX1=0
AUDIO_AUX2=1
AUDIO_AUX3=0
DSIHPD=0
HDMI2=0
HDMI3=0
HDMI4=1
DEVTYPE=extcon0
SEQNUM=4800
USEC_INITIALIZED=171821201

Hi @DaneLLL,
I found this statement little confusing for me. As now i have install the latest Jetpack and able to see nvidia-drm driver properly loaded and X11 server also working well.

In L4t_release version:

ubuntu@ubuntu:~$ lsmod | grep drm
nvidia_drm            94208  1
nvidia_modeset       1261568  5 nvidia_drm
tegra_drm             344064  10
nvhwpm                106496  2 mc_hwpm,tegra_drm
cec                    53248  1 tegra_drm
drm_kms_helper        278528  4 tegra_drm,nvidia_drm
host1x                180224  6 host1x_nvhost,host1x_fence,nvgpu,tegra_drm,nvidia_drm,nvidia_modeset
drm                   602112  16 drm_kms_helper,nvidia,tegra_drm,nvidia_drm

Able to see the DISPLAY connection details

ubuntu@ubuntu:~$ ls /sys/class/drm/
card0  card1  card1-DP-1  renderD128  renderD129  version
ubuntu@ubuntu:~$ cat /sys/class/drm/card1-DP-1/status
connected

Here is the Xorg success log

ubuntu@ubuntu:~$ cat /var/log/Xorg.0.log
[    18.518] (--) Log file renamed from "/var/log/Xorg.pid-1361.log" to "/var/log/Xorg.0.log"
[    18.520]
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[    18.520] Current Operating System: Linux ubuntu 5.15.148-tegra #1 SMP PREEMPT Tue Jan 7 17:14:38 PST 2025 aarch64
[    18.520] Kernel command line: root=PARTUUID=66ae92ef-2365-489b-aa3e-d39d3ebed09c rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 firmware_class.path=/etc/firmware fbcon=map:0 nospectre_bhb video=efifb:off console=tty0 nv-auto-config bl_prof_dataptr=2031616@0x271E10000 bl_prof_ro_ptr=65536@0x271E00000
[    18.521] xorg-server 2:21.1.4-2ubuntu1.7~22.04.12 (For technical support please see http://www.ubuntu.com/support)
[    18.521] Current version of pixman: 0.40.0
[    18.521]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    18.521] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    18.521] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb  6 15:54:40 2025
[    18.529] (==) Using config file: "/etc/X11/xorg.conf"
[    18.529] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    18.529] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    18.536] (==) No Layout section.  Using the first Screen section.
[    18.536] (==) No screen section available. Using defaults.
[    18.536] (**) |-->Screen "Default Screen Section" (0)
[    18.537] (**) |   |-->Monitor "<default monitor>"
[    18.537] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[    18.537] (**) |   |-->Device "Tegra0"
[    18.537] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    18.537] (==) Automatically adding devices
[    18.537] (==) Automatically enabling devices
[    18.537] (==) Automatically adding GPU devices
[    18.537] (==) Automatically binding GPU devices
[    18.537] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    18.551] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    18.551]    Entry deleted from font path.
[    18.551] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    18.551]    Entry deleted from font path.
[    18.551] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    18.551]    Entry deleted from font path.
[    18.552] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    18.552]    Entry deleted from font path.
[    18.552] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    18.552]    Entry deleted from font path.
[    18.552] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/Type1,
        built-ins
[    18.552] (==) ModulePath set to "/usr/lib/xorg/modules"
[    18.552] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    18.552] (II) Loader magic: 0xaaaabdd52010
[    18.552] (II) Module ABI versions:
[    18.552]    X.Org ANSI C Emulation: 0.4
[    18.552]    X.Org Video Driver: 25.2
[    18.552]    X.Org XInput driver : 24.4
[    18.552]    X.Org Server Extension : 10.0
[    18.553] (++) using VT number 1

[    18.558] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[    18.560] (II) xfree86: Adding drm device (/dev/dri/card0)
[    18.560] (II) Platform probe for /sys/devices/platform/bus@0/13e00000.host1x/drm/drm/card0
[    18.562] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 12 paused 0
[    18.566] (II) no primary bus or device found
[    18.566]    falling back to /sys/devices/platform/bus@0/13e00000.host1x/drm/drm/card0
[    18.566] (WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
[    18.566] (II) "glx" will be loaded by default.
[    18.566] (II) LoadModule: "extmod"
[    18.566] (II) Module "extmod" already built-in
[    18.566] (II) LoadModule: "glx"
[    18.570] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    18.597] (II) Module glx: vendor="X.Org Foundation"
[    18.597]    compiled for 1.21.1.4, module version = 1.0.0
[    18.597]    ABI class: X.Org Server Extension, version 10.0
[    18.597] (II) LoadModule: "nvidia"
[    18.597] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    18.666] (II) Module nvidia: vendor="NVIDIA Corporation"
[    18.666]    compiled for 1.6.99.901, module version = 1.0.0
[    18.666]    Module class: X.Org Video Driver
[    18.666] (II) NVIDIA dlloader X Driver  540.4.0  Release Build  (bugfix_main)  (buildbrain@mobile-u64-6336-d8000)  Tue Jan  7 17:24:02 PST 2025
[    18.666] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    18.667] (II) systemd-logind: releasing fd for 226:0
[    18.669] (II) Loading sub module "fb"
[    18.669] (II) LoadModule: "fb"
[    18.669] (II) Module "fb" already built-in
[    18.669] (II) Loading sub module "wfb"
[    18.669] (II) LoadModule: "wfb"
[    18.669] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    18.673] (II) Module wfb: vendor="X.Org Foundation"
[    18.673]    compiled for 1.21.1.4, module version = 1.0.0
[    18.673]    ABI class: X.Org ANSI C Emulation, version 0.4
[    18.675] (II) NVIDIA(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    18.675] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    18.675] (==) NVIDIA(0): RGB weight 888
[    18.675] (==) NVIDIA(0): Default visual is TrueColor
[    18.675] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    18.675] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration" "true"
[    18.675] (**) NVIDIA(0): Enabling 2D acceleration
[    18.675] (II) Loading sub module "glxserver_nvidia"
[    18.675] (II) LoadModule: "glxserver_nvidia"
[    18.676] (II) Loading /usr/lib/xorg/modules/extensions/libglxserver_nvidia.so
[    19.075] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[    19.075]    compiled for 1.6.99.901, module version = 1.0.0
[    19.075]    Module class: X.Org Server Extension
[    19.075] (II) NVIDIA GLX Module  540.4.0  Release Build  (bugfix_main)  (buildbrain@mobile-u64-6336-d8000)  Tue Jan  7 17:23:04 PST 2025
[    19.075] (II) NVIDIA: The X server supports PRIME Render Offload.
[    19.737] (--) NVIDIA(0): Valid display device(s) on GPU-0 at SoC
[    19.737] (--) NVIDIA(0):     DFP-0
[    19.737] (--) NVIDIA(0):     DFP-1
[    19.981] (II) NVIDIA(0): NVIDIA GPU Orin (nvgpu) (GA10B) at SoC (GPU-0)
[    19.982] (--) NVIDIA(0): Memory: 7802400 kBytes
[    19.982] (--) NVIDIA(0): VideoBIOS:
[    20.066] (--) NVIDIA(GPU-0): DELL U2417H (DFP-0): connected
[    20.066] (--) NVIDIA(GPU-0): DELL U2417H (DFP-0): Internal DisplayPort
[    20.066] (--) NVIDIA(GPU-0): DELL U2417H (DFP-0): 2380.0 MHz maximum pixel clock
[    20.067] (--) NVIDIA(GPU-0):
[    20.071] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    20.071] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    20.071] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    20.071] (--) NVIDIA(GPU-0):
[    20.120] (==) NVIDIA(0):
[    20.120] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[    20.120] (==) NVIDIA(0):     will be used as the requested mode.
[    20.120] (==) NVIDIA(0):
[    20.131] (II) NVIDIA(0): Validated MetaModes:
[    20.131] (II) NVIDIA(0):     "DFP-0:nvidia-auto-select"
[    20.131] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[    20.290] (--) NVIDIA(0): DPI set to (92, 91); computed from "UseEdidDpi" X config
[    20.290] (--) NVIDIA(0):     option
[    20.291] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[    20.291] (II) NVIDIA:     access.
[    20.291] (WW) NVIDIA(GPU-0): Failed to enter interactive mode.
[    20.296] (EE) NVIDIA(0): Failed to allocate NVIDIA Error Handler
[    20.296] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    20.296] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    20.296] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    20.297] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    20.297] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    20.297] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    20.297] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    20.297] (II) NVIDIA(0):     Config Options in the README.
[    20.360] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
[    20.595] (==) NVIDIA(0): Disabling shared memory pixmaps
[    20.595] (==) NVIDIA(0): Backing store enabled
[    20.595] (==) NVIDIA(0): Silken mouse enabled
[    20.596] (==) NVIDIA(0): DPMS enabled
[    20.596] (II) Loading sub module "dri2"
[    20.596] (II) LoadModule: "dri2"
[    20.596] (II) Module "dri2" already built-in
[    20.596] (II) NVIDIA(0): [DRI2] Setup complete
[    20.596] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    20.597] (II) Initializing extension Generic Event Extension
[    20.597] (II) Initializing extension SHAPE
[    20.598] (II) Initializing extension MIT-SHM
[    20.598] (II) Initializing extension XInputExtension
[    20.598] (II) Initializing extension XTEST
[    20.599] (II) Initializing extension BIG-REQUESTS
[    20.599] (II) Initializing extension SYNC
[    20.599] (II) Initializing extension XKEYBOARD
[    20.600] (II) Initializing extension XC-MISC
[    20.600] (II) Initializing extension SECURITY
[    20.600] (II) Initializing extension XFIXES
[    20.601] (II) Initializing extension RENDER
[    20.601] (II) Initializing extension RANDR
[    20.601] (II) Initializing extension COMPOSITE
[    20.602] (II) Initializing extension DAMAGE
[    20.602] (II) Initializing extension MIT-SCREEN-SAVER
[    20.602] (II) Initializing extension DOUBLE-BUFFER
[    20.603] (II) Initializing extension RECORD
[    20.603] (II) Initializing extension DPMS
[    20.603] (II) Initializing extension Present
[    20.604] (II) Initializing extension DRI3
[    20.604] (II) Initializing extension X-Resource
[    20.604] (II) Initializing extension XVideo
[    20.605] (II) Initializing extension XVideo-MotionCompensation
[    20.605] (II) Initializing extension SELinux
[    20.605] (II) SELinux: Disabled on system
[    20.605] (II) Initializing extension GLX
[    20.605] (II) Initializing extension GLX
[    20.605] (II) Indirect GLX disabled.
[    20.605] (II) GLX: Another vendor is already registered for screen 0
[    20.606] (II) Initializing extension XFree86-VidModeExtension
[    20.606] (II) Initializing extension XFree86-DGA
[    20.606] (II) Initializing extension XFree86-DRI
[    20.606] (II) Initializing extension DRI2
[    20.607] (II) Initializing extension NV-GLX
[    20.607] (II) Initializing extension NV-CONTROL
[    20.607] (II) Initializing extension XINERAMA
[    20.750] (II) config/udev: Adding drm device (/dev/dri/card1)
[    20.750] (II) xfree86: Adding drm device (/dev/dri/card1)
[    20.751] (II) Platform probe for /sys/devices/platform/13800000.display/drm/card1
[    20.752] (EE) systemd-logind: failed to take device /dev/dri/card1: Device or resource busy
[    20.753] (II) LoadModule: "modesetting"
[    20.753] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    20.756] (II) Module modesetting: vendor="X.Org Foundation"
[    20.756]    compiled for 1.21.1.4, module version = 1.21.1
[    20.756]    Module class: X.Org Video Driver
[    20.756]    ABI class: X.Org Video Driver, version 25.2
[    20.756] (II) modeset(G0): using drv /dev/dri/card1
[    20.759] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[    20.759] (==) modeset(G0): RGB weight 888
[    20.759] (==) modeset(G0): Default visual is TrueColor
[    20.759] (II) Loading sub module "glamoregl"
[    20.759] (II) LoadModule: "glamoregl"
[    20.759] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    20.798] (II) Module glamoregl: vendor="X.Org Foundation"
[    20.799]    compiled for 1.21.1.4, module version = 1.0.1
[    20.799]    ABI class: X.Org ANSI C Emulation, version 0.4
[    21.166] (II) modeset(G0): glamor X acceleration enabled on NVIDIA Tegra Orin (nvgpu)/integrated
[    21.166] (II) modeset(G0): glamor initialized
[    21.166] (II) modeset(G0): Output DP-1-1 has no monitor section
[    21.167] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[    21.167] (==) modeset(G0): DPI set to (96, 96)
[    21.167] (II) Loading sub module "fb"
[    21.167] (II) LoadModule: "fb"
[    21.167] (II) Module "fb" already built-in
[    21.167] (EE) modeset(G0): drmSetMaster failed: Device or resource busy
[    21.169] (II) UnloadModule: "modesetting"
[    21.169] (II) UnloadSubModule: "glamoregl"
[    21.169] (II) Unloading glamoregl
[    21.169] xf86: found device 1
[    21.172] (II) config/udev: Adding input device NVIDIA Jetson Orin Nano HDA HDMI/DP,pcm=3 (/dev/input/event5)
[    21.172] (II) No input driver specified, ignoring this device.
[    21.172] (II) This device may have been added with another device file.
[    21.173] (II) config/udev: Adding input device NVIDIA Jetson Orin Nano HDA HDMI/DP,pcm=7 (/dev/input/event6)
[    21.173] (II) No input driver specified, ignoring this device.
[    21.173] (II) This device may have been added with another device file.
[    21.174] (II) config/udev: Adding input device NVIDIA Jetson Orin Nano HDA HDMI/DP,pcm=8 (/dev/input/event7)
[    21.174] (II) No input driver specified, ignoring this device.
[    21.174] (II) This device may have been added with another device file.
[    21.175] (II) config/udev: Adding input device NVIDIA Jetson Orin Nano HDA HDMI/DP,pcm=9 (/dev/input/event8)
[    21.176] (II) No input driver specified, ignoring this device.
[    21.176] (II) This device may have been added with another device file.
[    21.178] (II) config/udev: Adding input device Dell KB216 Wired Keyboard (/dev/input/event1)
[    21.178] (**) Dell KB216 Wired Keyboard: Applying InputClass "libinput keyboard catchall"
[    21.178] (II) LoadModule: "libinput"
[    21.178] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    21.193] (II) Module libinput: vendor="X.Org Foundation"
[    21.193]    compiled for 1.20.14, module version = 1.2.1
[    21.193]    Module class: X.Org XInput Driver
[    21.193]    ABI class: X.Org XInput driver, version 24.1
[    21.193] (II) Using input driver 'libinput' for 'Dell KB216 Wired Keyboard'
[    21.194] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 46 paused 0
[    21.195] (**) Dell KB216 Wired Keyboard: always reports core events
[    21.195] (**) Option "Device" "/dev/input/event1"
[    21.216] (II) event1  - Dell KB216 Wired Keyboard: is tagged by udev as: Keyboard
[    21.217] (II) event1  - Dell KB216 Wired Keyboard: device is a keyboard
[    21.217] (II) event1  - Dell KB216 Wired Keyboard: device removed
[    21.217] (**) Option "config_info" "udev:/sys/devices/platform/bus@0/3610000.usb/usb1/1-2/1-2.1/1-2.1:1.0/0003:413C:2113.0001/input/input1/event1"
[    21.217] (II) XINPUT: Adding extended input device "Dell KB216 Wired Keyboard" (type: KEYBOARD, id 6)
[    21.217] (**) Option "xkb_model" "pc105"
[    21.217] (**) Option "xkb_layout" "us"
[    21.219] (II) event1  - Dell KB216 Wired Keyboard: is tagged by udev as: Keyboard
[    21.219] (II) event1  - Dell KB216 Wired Keyboard: device is a keyboard
[    21.221] (II) config/udev: Adding input device Dell KB216 Wired Keyboard Consumer Control (/dev/input/event2)
[    21.221] (**) Dell KB216 Wired Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
[    21.221] (II) Using input driver 'libinput' for 'Dell KB216 Wired Keyboard Consumer Control'
[    21.224] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 50 paused 0
[    21.224] (**) Dell KB216 Wired Keyboard Consumer Control: always reports core events
[    21.224] (**) Option "Device" "/dev/input/event2"
[    21.226] (II) event2  - Dell KB216 Wired Keyboard Consumer Control: is tagged by udev as: Keyboard
[    21.226] (II) event2  - Dell KB216 Wired Keyboard Consumer Control: device is a keyboard
[    21.227] (II) event2  - Dell KB216 Wired Keyboard Consumer Control: device removed
[    21.227] (II) libinput: Dell KB216 Wired Keyboard Consumer Control: needs a virtual subdevice
[    21.227] (**) Option "config_info" "udev:/sys/devices/platform/bus@0/3610000.usb/usb1/1-2/1-2.1/1-2.1:1.1/0003:413C:2113.0002/input/input2/event2"
[    21.227] (II) XINPUT: Adding extended input device "Dell KB216 Wired Keyboard Consumer Control" (type: MOUSE, id 7)
[    21.227] (**) Option "AccelerationScheme" "none"
[    21.227] (**) Dell KB216 Wired Keyboard Consumer Control: (accel) selected scheme none/0
[    21.227] (**) Dell KB216 Wired Keyboard Consumer Control: (accel) acceleration factor: 2.000
[    21.227] (**) Dell KB216 Wired Keyboard Consumer Control: (accel) acceleration threshold: 4
[    21.229] (II) event2  - Dell KB216 Wired Keyboard Consumer Control: is tagged by udev as: Keyboard
[    21.229] (II) event2  - Dell KB216 Wired Keyboard Consumer Control: device is a keyboard
[    21.231] (II) config/udev: Adding input device Dell KB216 Wired Keyboard System Control (/dev/input/event3)
[    21.231] (**) Dell KB216 Wired Keyboard System Control: Applying InputClass "libinput keyboard catchall"
[    21.231] (II) Using input driver 'libinput' for 'Dell KB216 Wired Keyboard System Control'
[    21.232] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 51 paused 0
[    21.232] (**) Dell KB216 Wired Keyboard System Control: always reports core events
[    21.232] (**) Option "Device" "/dev/input/event3"
[    21.236] (II) event3  - Dell KB216 Wired Keyboard System Control: is tagged by udev as: Keyboard
[    21.236] (II) event3  - Dell KB216 Wired Keyboard System Control: device is a keyboard
[    21.237] (II) event3  - Dell KB216 Wired Keyboard System Control: device removed
[    21.237] (**) Option "config_info" "udev:/sys/devices/platform/bus@0/3610000.usb/usb1/1-2/1-2.1/1-2.1:1.1/0003:413C:2113.0002/input/input3/event3"
[    21.237] (II) XINPUT: Adding extended input device "Dell KB216 Wired Keyboard System Control" (type: KEYBOARD, id 8)
[    21.237] (**) Option "xkb_model" "pc105"
[    21.237] (**) Option "xkb_layout" "us"
[    21.241] (II) event3  - Dell KB216 Wired Keyboard System Control: is tagged by udev as: Keyboard
[    21.241] (II) event3  - Dell KB216 Wired Keyboard System Control: device is a keyboard
[    21.244] (II) config/udev: Adding input device PixArt Dell MS116 USB Optical Mouse (/dev/input/event4)
[    21.244] (**) PixArt Dell MS116 USB Optical Mouse: Applying InputClass "libinput pointer catchall"
[    21.244] (II) Using input driver 'libinput' for 'PixArt Dell MS116 USB Optical Mouse'
[    21.245] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 52 paused 0
[    21.245] (**) PixArt Dell MS116 USB Optical Mouse: always reports core events
[    21.245] (**) Option "Device" "/dev/input/event4"
[    21.248] (II) event4  - PixArt Dell MS116 USB Optical Mouse: is tagged by udev as: Mouse
[    21.249] (II) event4  - PixArt Dell MS116 USB Optical Mouse: device set to 1000 DPI
[    21.249] (II) event4  - PixArt Dell MS116 USB Optical Mouse: device is a pointer
[    21.249] (II) event4  - PixArt Dell MS116 USB Optical Mouse: device removed
[    21.250] (**) Option "config_info" "udev:/sys/devices/platform/bus@0/3610000.usb/usb1/1-2/1-2.3/1-2.3:1.0/0003:413C:301A.0003/input/input4/event4"
[    21.250] (II) XINPUT: Adding extended input device "PixArt Dell MS116 USB Optical Mouse" (type: MOUSE, id 9)
[    21.250] (**) Option "AccelerationScheme" "none"
[    21.250] (**) PixArt Dell MS116 USB Optical Mouse: (accel) selected scheme none/0
[    21.250] (**) PixArt Dell MS116 USB Optical Mouse: (accel) acceleration factor: 2.000
[    21.250] (**) PixArt Dell MS116 USB Optical Mouse: (accel) acceleration threshold: 4
[    21.253] (II) event4  - PixArt Dell MS116 USB Optical Mouse: is tagged by udev as: Mouse
[    21.253] (II) event4  - PixArt Dell MS116 USB Optical Mouse: device set to 1000 DPI
[    21.253] (II) event4  - PixArt Dell MS116 USB Optical Mouse: device is a pointer
[    21.255] (II) config/udev: Adding input device gpio-keys (/dev/input/event0)
[    21.255] (**) gpio-keys: Applying InputClass "libinput keyboard catchall"
[    21.255] (II) Using input driver 'libinput' for 'gpio-keys'
[    21.256] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 53 paused 0
[    21.256] (**) gpio-keys: always reports core events
[    21.256] (**) Option "Device" "/dev/input/event0"
[    21.258] (II) event0  - gpio-keys: is tagged by udev as: Keyboard
[    21.258] (II) event0  - gpio-keys: device is a keyboard
[    21.259] (II) event0  - gpio-keys: device removed
[    21.259] (**) Option "config_info" "udev:/sys/devices/platform/gpio-keys/input/input0/event0"
[    21.259] (II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD, id 10)
[    21.259] (**) Option "xkb_model" "pc105"
[    21.259] (**) Option "xkb_layout" "us"
[    21.261] (II) event0  - gpio-keys: is tagged by udev as: Keyboard
[    21.261] (II) event0  - gpio-keys: device is a keyboard
[    21.275] (**) Dell KB216 Wired Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
[    21.276] (II) Using input driver 'libinput' for 'Dell KB216 Wired Keyboard Consumer Control'
[    21.276] (II) systemd-logind: returning pre-existing fd for /dev/input/event2 13:66
[    21.276] (**) Dell KB216 Wired Keyboard Consumer Control: always reports core events
[    21.276] (**) Option "Device" "/dev/input/event2"
[    21.276] (II) libinput: Dell KB216 Wired Keyboard Consumer Control: is a virtual subdevice
[    21.276] (**) Option "config_info" "udev:/sys/devices/platform/bus@0/3610000.usb/usb1/1-2/1-2.1/1-2.1:1.1/0003:413C:2113.0002/input/input2/event2"
[    21.276] (II) XINPUT: Adding extended input device "Dell KB216 Wired Keyboard Consumer Control" (type: KEYBOARD, id 11)
[    21.276] (**) Option "xkb_model" "pc105"
[    21.276] (**) Option "xkb_layout" "us"
[    21.276] (II) config/udev: removing GPU device /sys/devices/platform/13800000.display/drm/card1 /dev/dri/card1
[    21.276] (II) config/udev: Adding drm device (/dev/dri/card1)
[    21.277] (II) xfree86: Adding drm device (/dev/dri/card1)
[    21.277] (II) Platform probe for /sys/devices/platform/13800000.display/drm/card1
[    21.278] (EE) systemd-logind: failed to take device /dev/dri/card1: Device or resource busy
[    21.278] (II) LoadModule: "modesetting"
[    21.278] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    21.278] (II) Module modesetting: vendor="X.Org Foundation"
[    21.278]    compiled for 1.21.1.4, module version = 1.21.1
[    21.278]    Module class: X.Org Video Driver
[    21.278]    ABI class: X.Org Video Driver, version 25.2
[    21.278] (II) UnloadModule: "modesetting"
[    21.278] (II) Unloading modesetting
[    21.278] (II) Failed to load module "modesetting" (already loaded, 0)
[    21.278] (II) modeset(G0): using drv /dev/dri/card1
[    21.280] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[    21.280] (==) modeset(G0): RGB weight 888
[    21.280] (==) modeset(G0): Default visual is TrueColor
[    21.280] (II) Loading sub module "glamoregl"
[    21.280] (II) LoadModule: "glamoregl"
[    21.280] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    21.290] (II) Module glamoregl: vendor="X.Org Foundation"
[    21.290]    compiled for 1.21.1.4, module version = 1.0.1
[    21.290]    ABI class: X.Org ANSI C Emulation, version 0.4
[    21.292] (II) modeset(G0): glamor X acceleration enabled on NVIDIA Tegra Orin (nvgpu)/integrated
[    21.292] (II) modeset(G0): glamor initialized
[    21.292] (II) modeset(G0): Output DP-1-1 has no monitor section
[    21.293] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[    21.293] (==) modeset(G0): DPI set to (96, 96)
[    21.293] (II) Loading sub module "fb"
[    21.293] (II) LoadModule: "fb"
[    21.293] (II) Module "fb" already built-in
[    21.293] (EE) modeset(G0): drmSetMaster failed: Device or resource busy
[    21.294] (II) UnloadModule: "modesetting"
[    21.294] (II) UnloadSubModule: "glamoregl"
[    21.294] (II) Unloading glamoregl
[    21.295] xf86: found device 1
[    22.876] (--) NVIDIA(GPU-0): DELL U2417H (DFP-0): connected
[    22.876] (--) NVIDIA(GPU-0): DELL U2417H (DFP-0): Internal DisplayPort
[    22.876] (--) NVIDIA(GPU-0): DELL U2417H (DFP-0): 2380.0 MHz maximum pixel clock
[    22.876] (--) NVIDIA(GPU-0):
[    22.880] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    22.880] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    22.880] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    22.880] (--) NVIDIA(GPU-0):
[    23.026] (II) NVIDIA(0): Setting mode "DP-0: 1920x1080_60_0 @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"
[    24.907] (--) NVIDIA(GPU-0): DELL U2417H (DFP-0): connected
[    24.907] (--) NVIDIA(GPU-0): DELL U2417H (DFP-0): Internal DisplayPort
[    24.907] (--) NVIDIA(GPU-0): DELL U2417H (DFP-0): 2380.0 MHz maximum pixel clock
[    24.907] (--) NVIDIA(GPU-0):
[    24.911] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    24.911] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    24.911] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    24.911] (--) NVIDIA(GPU-0):
[    25.537] (--) NVIDIA(GPU-0): DELL U2417H (DFP-0): connected
[    25.537] (--) NVIDIA(GPU-0): DELL U2417H (DFP-0): Internal DisplayPort
[    25.537] (--) NVIDIA(GPU-0): DELL U2417H (DFP-0): 2380.0 MHz maximum pixel clock
[    25.537] (--) NVIDIA(GPU-0):
[    25.541] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    25.541] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    25.541] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    25.541] (--) NVIDIA(GPU-0):
[   754.587] (EE) event4  - PixArt Dell MS116 USB Optical Mouse: client bug: event processing lagging behind by 348ms, your system is too slow

In Siemens Custom software on top of L4T

root@bx35a:~# lsmod | grep drm
nvidia_drm             90112  0
nvidia_modeset       1294336  1 nvidia_drm
tegra_drm             376832  0
cec                    57344  1 tegra_drm
drm_kms_helper        299008  2 tegra_drm,nvidia_drm
drm                   614400  5 drm_kms_helper,nvidia,tegra_drm,nvidia_drm
nvhwpm                143360  4 mc_hwpm,tegra_drm,nvhost_nvdla,nvhost_pva
host1x                200704  8 host1x_nvhost,host1x_fence,nvgpu,tegra_drm,nvhost_nvdla,nvidia_drm,nvhost_pva,nvidia_modeset
root@bx35a:~# ls /sys/class/drm/
card0  card1  card1-DP-1  renderD128  renderD129  version
root@bx35a:~# cat /sys/class/drm/card1-DP-1/status
connected

Check the Xorg failure log

# cat /var/log/Xorg.0.log
[    15.652]
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[    15.652] Current Operating System: Linux bx35a 5.15.136-ind1-2+10 #1 SMP PREEMPT Thu, 01 Jan 1970 06:30:00 +0530 aarch64
[    15.652] Kernel command line: initrd=\initrd.img-5.15.136-ind1-2+10 LABEL=Boot root=PARTUUID=18d14041-b200-4743-9f84-319a6a8064bb  console=ttyTCU0,115200n8 console=ttyAMA0,115200n8 console=tty0 fbcon=map:0 rootwait rw firmware_class.path=/etc/firmware efi=runtime  security=selinux selinux=1 enforcing=0
[    15.652] xorg-server 2:21.1.7-3+deb12u8 (https://www.debian.org/support)
[    15.652] Current version of pixman: 0.42.2
[    15.652]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    15.652] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    15.652] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan 30 09:36:13 2025
[    15.652] (==) Using config file: "/etc/X11/xorg.conf"
[    15.652] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    15.652] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    15.652] (==) No Layout section.  Using the first Screen section.
[    15.653] (==) No screen section available. Using defaults.
[    15.653] (**) |-->Screen "Default Screen Section" (0)
[    15.653] (**) |   |-->Monitor "<default monitor>"
[    15.653] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[    15.653] (**) |   |-->Device "Tegra0"
[    15.653] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    15.653] (==) Automatically adding devices
[    15.653] (==) Automatically enabling devices
[    15.653] (==) Automatically adding GPU devices
[    15.653] (==) Automatically binding GPU devices
[    15.653] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    15.653] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    15.653]    Entry deleted from font path.
[    15.653] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        built-ins
[    15.653] (==) ModulePath set to "/usr/lib/xorg/modules"
[    15.653] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    15.653] (II) Loader magic: 0xaaaad82a0f00
[    15.653] (II) Module ABI versions:
[    15.653]    X.Org ANSI C Emulation: 0.4
[    15.653]    X.Org Video Driver: 25.2
[    15.653]    X.Org XInput driver : 24.4
[    15.653]    X.Org Server Extension : 10.0
[    15.654] (++) using VT number 7

[    15.654] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    15.656] (II) xfree86: Adding drm device (/dev/dri/card1)
[    15.656] (II) Platform probe for /sys/devices/platform/13800000.display/drm/card1
[    15.656] (II) xfree86: Adding drm device (/dev/dri/card0)
[    15.656] (II) Platform probe for /sys/devices/platform/bus@0/13e00000.host1x/drm/drm/card0
[    15.659] (II) no primary bus or device found
[    15.659]    falling back to /sys/devices/platform/13800000.display/drm/card1
[    15.659] (WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
[    15.659] (II) "glx" will be loaded by default.
[    15.659] (II) LoadModule: "extmod"
[    15.659] (II) Module "extmod" already built-in
[    15.659] (II) LoadModule: "glx"
[    15.659] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    15.661] (II) Module glx: vendor="X.Org Foundation"
[    15.661]    compiled for 1.21.1.7, module version = 1.0.0
[    15.661]    ABI class: X.Org Server Extension, version 10.0
[    15.661] (II) LoadModule: "nvidia"
[    15.661] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    15.662] (II) Module nvidia: vendor="NVIDIA Corporation"
[    15.662]    compiled for 1.6.99.901, module version = 1.0.0
[    15.662]    Module class: X.Org Video Driver
[    15.662] (II) NVIDIA dlloader X Driver  540.3.0  Release Build  (bugfix_main)  (buildbrain@mobile-u64-6459-d8000)  Fri Jul 19 16:03:07 PDT 2024
[    15.662] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    15.663] (II) Loading sub module "fb"
[    15.663] (II) LoadModule: "fb"
[    15.663] (II) Module "fb" already built-in
[    15.663] (II) Loading sub module "wfb"
[    15.663] (II) LoadModule: "wfb"
[    15.663] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    15.663] (II) Module wfb: vendor="X.Org Foundation"
[    15.663]    compiled for 1.21.1.7, module version = 1.0.0
[    15.663]    ABI class: X.Org ANSI C Emulation, version 0.4
[    15.664] (II) NVIDIA(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    15.664] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    15.664] (==) NVIDIA(0): RGB weight 888
[    15.664] (==) NVIDIA(0): Default visual is TrueColor
[    15.664] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    15.664] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration" "true"
[    15.664] (**) NVIDIA(0): Enabling 2D acceleration
[    15.664] (II) Loading sub module "glxserver_nvidia"
[    15.664] (II) LoadModule: "glxserver_nvidia"
[    15.665] (II) Loading /usr/lib/xorg/modules/extensions/libglxserver_nvidia.so
[    15.670] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[    15.670]    compiled for 1.6.99.901, module version = 1.0.0
[    15.670]    Module class: X.Org Server Extension
[    15.670] (II) NVIDIA GLX Module  540.3.0  Release Build  (bugfix_main)  (buildbrain@mobile-u64-6459-d8000)  Fri Jul 19 16:01:36 PDT 2024
[    15.670] (II) NVIDIA: The X server supports PRIME Render Offload.
[    15.673] (--) NVIDIA(0): Valid display device(s) on GPU-0 at SoC
[    15.673] (--) NVIDIA(0):     DFP-0
[    15.673] (--) NVIDIA(0):     DFP-1
[    15.677] (II) NVIDIA(0): NVIDIA GPU Orin (nvgpu) (GA10B) at SoC (GPU-0)
[    15.677] (--) NVIDIA(0): Memory: 16031468 kBytes
[    15.677] (--) NVIDIA(0): VideoBIOS:
[    15.677] (EE) NVIDIA(GPU-0): Failed to acquire modesetting permission.
[    15.677] (EE) NVIDIA(0): Failing initialization of X screen
[    15.692] (II) UnloadModule: "nvidia"
[    15.692] (II) UnloadSubModule: "glxserver_nvidia"
[    15.692] (II) Unloading glxserver_nvidia
[    15.692] (II) UnloadSubModule: "wfb"
[    15.692] (==) NVIDIA(G0): Depth 24, (==) framebuffer bpp 32
[    15.692] (==) NVIDIA(G0): RGB weight 888
[    15.692] (==) NVIDIA(G0): Default visual is TrueColor
[    15.692] (==) NVIDIA(G0): Using gamma correction (1.0, 1.0, 1.0)
[    15.692] (**) NVIDIA(G0): Enabling 2D acceleration
[    15.692] (II) NVIDIA: The X server supports PRIME Render Offload.
[    15.692] (EE) NVIDIA(GPU-1): Failed to initialize the NVIDIA graphics device!
[    15.692] (EE) NVIDIA(G0): Failing initialization of X screen
[    15.692] (II) UnloadModule: "nvidia"
[    15.692] (II) UnloadSubModule: "wfb"
[    15.692] (EE) Screen(s) found, but none have a usable configuration.
[    15.692] (EE)
Fatal server error:
[    15.693] (EE) no screens found(EE)
[    15.693] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[    15.693] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    15.693] (EE)
[    15.697] (EE) Server terminated with error (1). Closing log file.

So, It look like something is missing in my setup or need to figure out why this error in xorg and failed
[ 15.677] (EE) NVIDIA(GPU-0): Failed to acquire modesetting permission.
[ 15.677] (EE) NVIDIA(0): Failing initialization of X screen

apart from this I can see this difference in dmesg from l4t software. can you please point why and may this will create any issue related to this ?

dmesg from l4t release

ubuntu@ubuntu:~$ sudo dmesg | grep drm
[    9.290347] systemd[1]: Starting Load Kernel Module drm...
[   10.013033] drm drm: [drm] Cannot find any crtc or sizes
[   10.025868] [drm] Initialized tegra 1.0.99 20120330 for drm on minor 0
[   19.185853] [drm] [nvidia-drm] [GPU ID 0x00020000] Loading driver
[   19.631867] [drm] Initialized nvidia-drm 0.0.0 20160202 for 13800000.display on minor 1
[   19.632060] fb0: switching to nvidia-drm from simple
[   19.700091] nv_platform 13800000.display: [drm] fb0: nvidia-drmdrmfb frame buffer device

dmesg from custom software

root@bx35a:~# dmesg | grep drm
[    5.275183] drm drm: [drm] Cannot find any crtc or sizes
[    5.275574] [drm] Initialized tegra 1.0.99 20120330 for drm on minor 0
[    9.124685] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[    9.417463] [drm] [nvidia-drm] [GPU ID 0x00020000] Loading driver
[   10.037951] [drm] Initialized nvidia-drm 0.0.0 20160202 for 13800000.display on minor 

This last 2 line i am suspecting not happening in out setup may cause this.
[ 19.632060] fb0: switching to nvidia-drm from simple
[ 19.700091] nv_platform 13800000.display: [drm] fb0: nvidia-drmdrmfb frame buffer device

Please help me to check on priority and help me why x11 server failed with nvidia-drm. Please let me know what is missing in my setup software, also ask me if anything missed here to explain.

Thanks,
Ritesh

Hi,
It’s uncertain what the issue is. We don’t support X11 + DRM. If you use only DRM in your use-case, please use minimum rootfs and run the command after booting:

$ sudo modprobe nvidia-drm modeset=1

This is a clean only-DRM system.