No Display out with Session never registered, failing error

Please provide the following info (tick the boxes after creating this topic):
Software Version
[*] DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
[*] Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
[*] DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
[*] 1.9.1.10844
other

Host Machine Version
[*] native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

Hello

After flashing ORIN with SDKManager, I can’t see GUI on display(My device is p3710 )

I tried follow jobs

  1. Check display cable and monitor : my cables and monitor are working well on my PC.
  2. Re-flashing SDK with SDKManager : I tried re-flashing 3 times include remove my download SDK files.
  3. remove gdm and re-install gdm.

and “service gdm3 status” returned

nvidia@tegra-ubuntu:~$ sudo service gdm status
[sudo] password for nvidia: 
● gdm.service - GNOME Display Manager
     Loaded: loaded (/lib/systemd/system/gdm.service; static; vendor preset: enabled)
     Active: active (running) since Fri 2022-10-21 03:08:59 UTC; 2 months 29 days ago
   Main PID: 2110 (gdm3)
      Tasks: 3 (limit: 33726)
     Memory: 5.2M
     CGroup: /system.slice/gdm.service
             └─2110 /usr/sbin/gdm3

Oct 21 03:08:49 tegra-ubuntu systemd[1]: Starting GNOME Display Manager...
Oct 21 03:08:59 tegra-ubuntu systemd[1]: Started GNOME Display Manager.
Oct 21 03:08:59 tegra-ubuntu gdm-launch-environment][2114]: pam_unix(gdm-launch-environment:session): session opened for user gdm by (uid=0)
Oct 21 03:08:59 tegra-ubuntu gdm-launch-environment][2114]: pam_unix(gdm-launch-environment:session): session closed for user gdm
Oct 21 03:08:59 tegra-ubuntu gdm3[2110]: GdmDisplay: Session never registered, failing
Oct 21 03:08:59 tegra-ubuntu gdm-launch-environment][2220]: pam_unix(gdm-launch-environment:session): session opened for user gdm by (uid=0)

and the demsg printed out following Xorg error log

[ 22.135501] NVRM nvAssertFailedNoLog: Assertion failed: thisAddress < pMapping->gpuNvLength @ os.c:1612
[ 22.135512] CPU: 9 PID: 2227 Comm: Xorg Tainted: G O 5.10.120-rt70-tegra #1
[ 22.135516] Hardware name: p3710-0010 (DT)
[ 22.135518] Call trace:
[ 22.135519] dump_backtrace+0x0/0x1d0
[ 22.135531] show_stack+0x30/0x50
[ 22.135535] dump_stack+0xd8/0x140
[ 22.135542] os_dump_stack+0x18/0x20 [nvidia]
[ 22.135631] tlsEntryGet+0x130/0x138 [nvidia]
[ 22.135708] osDevReadReg032+0x4c/0x70 [nvidia]
[ 22.135786] ioaprtReadReg32_IMPL+0x140/0x1c8 [nvidia]
[ 22.135863] gpuFuseSupportsDisplay_T234D+0x28/0x38 [nvidia]
[ 22.135939] kdispStatePreInitLocked_IMPL+0x28/0xd8 [nvidia]
[ 22.136015] gpuStatePreInit_IMPL+0x1f8/0x680 [nvidia]
[ 22.136091] gpumgrStatePreInitGpu+0x74/0xa8 [nvidia]
[ 22.136167] RmInitAdapter+0x580/0xe28 [nvidia]
[ 22.136243] rm_init_adapter+0xa8/0xb8 [nvidia]
[ 22.136319] nvidia_isr_kthread_bh+0x51c/0xd48 [nvidia]
[ 22.136395] nvidia_dev_get+0x3c/0x88 [nvidia]
[ 22.136471] nvkms_open_gpu+0x64/0xa8 [nvidia_modeset]
[ 22.136530] nvRmAllocDeviceEvo+0x654/0x848 [nvidia_modeset]
[ 22.136579] nvkms_ioctl_common+0x180/0x1b0 [nvidia_modeset]
[ 22.136627] nvidia_frontend_unlocked_ioctl+0x5c/0x78 [nvidia]
[ 22.136703] __arm64_sys_ioctl+0xb4/0x110
[ 22.136707] el0_svc_common.constprop.0+0x80/0x1f0
[ 22.136710] do_el0_svc+0x38/0x90
[ 22.136713] el0_svc+0x1c/0x30
[ 22.136716] el0_sync_handler+0xb8/0xc0
[ 22.136717] el0_sync+0x16c/0x180

dmesg.txt (92.9 KB)

Thanks

Dear @SungJun,
Was it working with previous release(DRIVE OS 6.0.4)?

I flashed 6.0.4 Rev1 and same as 6.0.5

nvidia@tegra-ubuntu:~$ cat /etc/nvidia/version-ubuntu-rootfs.txt 
6.0.4.0-31006010
nvidia@tegra-ubuntu:~$ sudo dmesg
..
[   18.172154] NVRM nvAssertFailedNoLog: Assertion failed: thisAddress < pMapping->gpuNvLength @ os.c:1603
[   18.172164] CPU: 1 PID: 1374 Comm: Xorg Tainted: G           OE     5.10.104-rt63-tegra #1
[   18.172168] Hardware name: p3710-0010 (DT)
[   18.172170] Call trace:
[   18.172171]  dump_backtrace+0x0/0x1d0
[   18.172182]  show_stack+0x30/0x50
[   18.172186]  dump_stack+0xd8/0x140
[   18.172191]  os_dump_stack+0x18/0x20 [nvidia]
[   18.172277]  tlsEntryGet+0x130/0x138 [nvidia]
[   18.172352]  osDevReadReg032+0x4c/0x70 [nvidia]
[   18.172426]  gpuSanityCheckRegRead_IMPL+0x4d0/0x558 [nvidia]
[   18.172499]  gpuFuseSupportsDisplay_T234D+0x28/0x38 [nvidia]
[   18.172574]  kdispStatePreInitLocked_IMPL+0x28/0xd8 [nvidia]
[   18.172647]  gpuStatePreInit_IMPL+0x208/0x708 [nvidia]
[   18.172721]  gpumgrStatePreInitGpu+0x6c/0xa0 [nvidia]
[   18.172795]  RmInitAdapter+0x568/0xe68 [nvidia]
[   18.172869]  rm_init_adapter+0xa8/0xb8 [nvidia]
[   18.172942]  nvidia_isr_kthread_bh+0x44c/0xd28 [nvidia]
[   18.173015]  nvidia_dev_get+0x3c/0x88 [nvidia]
[   18.173089]  nvkms_open_gpu+0x64/0xa8 [nvidia_modeset]
[   18.173145]  nvRmAllocDeviceEvo+0x68c/0x880 [nvidia_modeset]
[   18.173192]  nvkms_ioctl_common+0x180/0x1b0 [nvidia_modeset]
[   18.173238]  nvidia_frontend_unlocked_ioctl+0x5c/0x78 [nvidia]
[   18.173312]  __arm64_sys_ioctl+0xb4/0x110
[   18.173316]  el0_svc_common.constprop.0+0x80/0x1f0
[   18.173321]  do_el0_svc+0x38/0x90
[   18.173324]  el0_svc+0x1c/0x30
[   18.173327]  el0_sync_handler+0xb8/0xc0
[   18.173329]  el0_sync+0x16c/0x180

nvidia@tegra-ubuntu:~$ sudo service gdm status
● gdm.service - GNOME Display Manager
     Loaded: loaded (/lib/systemd/system/gdm.service; static; vendor preset: enabled)
     Active: active (running) since Wed 2022-07-20 17:23:44 UTC; 5 months 30 days ago
    Process: 1213 ExecStartPre=/usr/share/gdm/generate-config (code=exited, status=0/SUCCESS)
    Process: 1217 ExecStartPre=/usr/lib/gdm3/gdm-wait-for-drm (code=exited, status=0/SUCCESS)
   Main PID: 1254 (gdm3)
      Tasks: 3 (limit: 33851)
     Memory: 5.0M
     CGroup: /system.slice/gdm.service
             └─1254 /usr/sbin/gdm3

Jul 20 17:23:34 tegra-ubuntu systemd[1]: Starting GNOME Display Manager...
Jul 20 17:23:44 tegra-ubuntu systemd[1]: Started GNOME Display Manager.
Jul 20 17:23:44 tegra-ubuntu gdm-launch-environment][1258]: pam_unix(gdm-launch-environment:session): session opened for user gdm by (uid=0)
Jul 20 17:23:44 tegra-ubuntu gdm-launch-environment][1258]: pam_unix(gdm-launch-environment:session): session closed for user gdm
Jul 20 17:23:44 tegra-ubuntu gdm3[1254]: GdmDisplay: Session never registered, failing
Jul 20 17:23:44 tegra-ubuntu gdm-launch-environment][1364]: pam_unix(gdm-launch-environment:session): session opened for user gdm by (uid=0)

..


Dear @SungJun,
Check if X server is running and change monitor if it helps?

@SivaRamaKrishnaNV

I Checked my environment, now I found the working set…

My environments are

  1. Display out Soruce device(DP out)
    1.1 ORIN 6.0.5
    1.2 Desktop PC with RTX Graphic Card(not sure the model…)
  2. Monitors
    2.1 Samsung S34J550W - HDMI input
    2.2 LG 32UN550 - HDMI input - HDMI input
    2.3 TFX173T Portable monitor - HDMI input
    2.4 ON-LAP 1101 Portable monitor - mini HDMI input
  3. Cables
    3.1 DP out - HDMI in Cable
    3.2 DP out - mini HDMI in Cable

as a result with 1.1 ORIN case, ONLY 2.4-3.2 combination is WORKING.
And with 1.2 Desktop PC case, whole combinations are WORKING WELL.
It means other monitors and cables have no problem.

But in 1.1 + 2.4 + 3.2 case, Xorg fail problem is also happend but display is working.
Also service gdm status command show some problem, but anyway it works…

nvidia@tegra-ubuntu:~$ sudo service gdm status
[sudo] password for nvidia: 
● gdm.service - GNOME Display Manager
     Loaded: loaded (/lib/systemd/system/gdm.service; static; vendor preset: enabled)
     Active: active (running) since Fri 2023-01-27 04:25:31 UTC; 15min ago
    Process: 1583 ExecStartPre=/usr/share/gdm/generate-config (code=exited, status=0/SUCCESS)
    Process: 1589 ExecStartPre=/usr/lib/gdm3/gdm-wait-for-drm (code=exited, status=0/SUCCESS)
   Main PID: 1645 (gdm3)
      Tasks: 3 (limit: 33726)
     Memory: 5.7M
     CGroup: /system.slice/gdm.service
             └─1645 /usr/sbin/gdm3

Jan 27 04:25:20 tegra-ubuntu systemd[1]: Starting GNOME Display Manager...
Jan 27 04:25:31 tegra-ubuntu systemd[1]: Started GNOME Display Manager.
Jan 27 04:25:31 tegra-ubuntu gdm-autologin][1649]: PAM unable to dlopen(pam_gnome_keyring.so): /lib/security/pam_gnome_keyring.so: cannot open shared object file: No such file or directory
Jan 27 04:25:31 tegra-ubuntu gdm-autologin][1649]: PAM adding faulty module: pam_gnome_keyring.so
Jan 27 04:25:31 tegra-ubuntu gdm-autologin][1649]: pam_unix(gdm-autologin:session): session opened for user nvidia by (uid=0)

Are there any specifications for nvidia display accessories?

+Additional problem

Also I have a problem about VNC remote access.
I did linked step(Host/Target Setup and Configuration | NVIDIA Docs) But XopenDisplay fail

sudo x11vnc -display :0 -noxrecord -noxfixes -noxdamage -forever -loop –
nopw

30/01/2023 11:03:41 x11vnc version: 0.9.16 lastmod: 2019-01-05  pid: 2891
No protocol specified
30/01/2023 11:03:41 XOpenDisplay(":0") failed.
30/01/2023 11:03:41 Trying again with XAUTHLOCALHOSTNAME=localhost ...
No protocol specified

I just conntected to ORIN via SSH, there is no other user

nvidia@tegra-ubuntu:~$ w
 11:08:06 up 10 min,  1 user,  load average: 0.58, 0.67, 0.41
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
nvidia   ttyS2    -                10:58    0.00s  0.12s  0.01s w

Is this a same problem or different thing?