Nvidia display driver loading failed

Hello guys,

I’m using Jetpack-5.0-DP / L4T-R34.1.1 and I noticed that there is an issue when nvidia-display-driver is loaded.

Could you please help to fix the issue ?

Here is the logs:

[   26.146649] nvidia-modeset: Loading NVIDIA UNIX Kernel Mode Setting Driver for aarch64  34.1.1  Release Build  (buildbrain@mobile-u64-5414-d7000)  Mon May 16 21:12:27 PDT 2022
[   26.146703] NVRM gpumgrGetSomeGpu: Failed to retrieve pGpu - Too early call!.
[   26.146707] NVRM nvAssertFailedNoLog: Assertion failed: NV_FALSE @ gpu_mgr.c:295
[   26.146715] CPU: 2 PID: 1892 Comm: modprobe Tainted: G           O      5.10.65-tegra #1
[   26.146717] Hardware name:  /, BIOS r34.1-975eef6 05/16/2022
[   26.146719] Call trace:
[   26.146732]  dump_backtrace+0x0/0x1a0
[   26.146735]  show_stack+0x2c/0x40
[   26.146744]  dump_stack+0xd8/0x138
[   26.146779]  os_dump_stack+0x14/0x1c [nvidia]
[   26.146794]  tlsEntryUnreference+0x198/0x1a0 [nvidia]
[   26.146809]  gpumgrGetSomeGpu+0x80/0x98 [nvidia]
[   26.146823]  threadPriorityRestore+0xa8/0x2f0 [nvidia]
[   26.146838]  rmclientConstruct_IMPL+0x160/0x258 [nvidia]
[   26.146852]  __nvoc_ctor_RmClient+0x5c/0x88 [nvidia]
[   26.146867]  __nvoc_objCreate_RmClient+0x7c/0x118 [nvidia]
[   26.146881]  resservClientFactory+0x28/0x90 [nvidia]
[   26.146896]  serverAllocClient+0x19c/0x318 [nvidia]
[   26.146910]  serverAllocResource+0x140/0x2e8 [nvidia]
[   26.146925]  rmapiAllocWithSecInfo+0x17c/0x2e8 [nvidia]
[   26.146940]  rmapiAllocWithSecInfoTls+0x74/0xa8 [nvidia]
[   26.146954]  rmapiInitDeprecatedContext+0x520/0x598 [nvidia]
[   26.146993]  nvkms_call_rm+0x5c/0x90 [nvidia_modeset]
[   26.147022]  nvRmApiAlloc+0x30/0x40 [nvidia_modeset]
[   26.147025]  do_one_initcall+0x4c/0x2d0
[   26.147034]  do_init_module+0x5c/0x210
[   26.147035]  load_module+0x2068/0x2680
[   26.147037]  __do_sys_finit_module+0xb4/0xf0
[   26.147039]  __arm64_sys_finit_module+0x28/0x40
[   26.147046]  el0_svc_common.constprop.0+0x7c/0x1c0
[   26.147048]  do_el0_svc+0x34/0xa0
[   26.147054]  el0_svc+0x1c/0x30
[   26.147056]  el0_sync_handler+0xa8/0xb0
[   26.147058]  el0_sync+0x16c/0x180
[   26.147061] NVRM gpumgrGetSomeGpu: Failed to retrieve pGpu - Too early call!.
[   26.147063] NVRM nvAssertFailedNoLog: Assertion failed: NV_FALSE @ gpu_mgr.c:295
[   26.175219] fuse: init (API version 7.32)
[   26.898176] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0x56:
[   26.898776] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0x56:
[   26.899452] NVRM rmapiAllocWithSecInfo: allocation failed; status: Given class-id not valid [NV_ERR_INVALID_CLASS] (0x00000022)
[   26.899454] NVRM rmapiAllocWithSecInfo: client:0xc1d00001 parent:0xcaf00001 object:0x0 class:0x402c
[   26.901131] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0x56:
[   26.912660] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[   26.912668] CPU: 5 PID: 1882 Comm: Xorg Tainted: G           O      5.10.65-tegra #1
[   26.912669] Hardware name:  /, BIOS r34.1-975eef6 05/16/2022
[   26.912671] Call trace:
[   26.912681]  dump_backtrace+0x0/0x1a0
[   26.912684]  show_stack+0x2c/0x40
[   26.912691]  dump_stack+0xd8/0x138
[   26.912727]  os_dump_stack+0x14/0x1c [nvidia]
[   26.912745]  tlsEntryUnreference+0x198/0x1a0 [nvidia]
[   26.912760]  ctxdmaConstruct_IMPL+0x36c/0x3b8 [nvidia]
[   26.912775]  __nvoc_ctor_ContextDma+0x74/0xa8 [nvidia]
[   26.912790]  __nvoc_objCreate_ContextDma+0x78/0x118 [nvidia]
[   26.912804]  __nvoc_objCreateDynamic+0x54/0x60 [nvidia]
[   26.912819]  resservResourceFactory+0x74/0x100 [nvidia]
[   26.912833]  indexRemove+0x290/0x518 [nvidia]
[   26.912848]  serverAllocResourceUnderLock+0x214/0x5f0 [nvidia]
[   26.912862]  serverAllocResource+0x244/0x2e8 [nvidia]
[   26.912877]  rmapiAllocWithSecInfo+0x17c/0x2e8 [nvidia]
[   26.912891]  rmapiAllocWithSecInfoTls+0x74/0xa8 [nvidia]
[   26.912905]  rmapiInitDeprecatedContext+0x520/0x598 [nvidia]
[   26.912940]  nvkms_call_rm+0x5c/0x90 [nvidia_modeset]
[   26.912964]  nvRmApiAlloc+0x30/0x40 [nvidia_modeset]
[   26.912985]  nvkms_ioctl_common+0x174/0x1a0 [nvidia_modeset]
[   26.913001]  nvidia_frontend_unlocked_ioctl+0x58/0x78 [nvidia]
[   26.913005]  __arm64_sys_ioctl+0xa8/0xf0
[   26.913009]  el0_svc_common.constprop.0+0x7c/0x1c0
[   26.913011]  do_el0_svc+0x34/0xa0
[   26.913014]  el0_svc+0x1c/0x30
[   26.913016]  el0_sync_handler+0xa8/0xb0
[   26.913017]  el0_sync+0x16c/0x180
[   26.913080] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[   26.913130] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[   26.913187] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[   26.913236] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[   26.913287] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[   26.913339] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[   26.964037] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0xffff:
[   26.995607] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0x56:
[   26.996597] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[   27.163333] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1175
[   27.163845] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[   27.220323] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0xffff:
[   27.378789] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1175
[   30.521057] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1175
[   30.521981] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1175

Best regards,
Ilies

Is your monitor still working?

Sometimes, there would be such print but they are not fatal.

Hey @WayneWWW

Thanks for your feedback

Yes, I can confirm that but this impact the graphic SW stack.

Sometimes, my display freezes. Any idea ?

Regards,
Ilies

Can you try with other display? or change to another display cable?