Here is my core board version:
Software part of jetson-stats 4.2.12 - (c) 2024, Raffaello Bonghi
Model: NVIDIA Orin Nano Developer Kit - Jetpack 5.1.3 [L4T 35.5.0]
NV Power Mode[0]: 10W
Serial Number: [XXX Show with: jetson_release -s XXX]
Hardware:
- P-Number: p3767-0004
- Module: NVIDIA Jetson Orin Nano (4GB ram)
I modified the reuse of PCIe and found that assertion errors occur every time after startup.
[ 17.214214] nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for aarch64 35.5.0 Release Build (buildbrain@mobile-u64-6519-d7000) Mon Feb 19 20:34:14 PST 2024
[ 17.513139] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x731341 result 0xffff:
[ 17.898054] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 17.898069] CPU: 1 PID: 1596 Comm: kworker/u12:3 Tainted: G OE 5.10.192-tegra #1
[ 17.898071] Hardware name: NVIDIA Orin Nano Developer Kit (DT)
[ 17.898089] Workqueue: dce-async-ipc-wq dce_client_async_event_work
[ 17.898094] Call trace:
[ 17.898106] dump_backtrace+0x0/0x1e0
[ 17.898110] show_stack+0x30/0x40
[ 17.898116] dump_stack+0xf0/0x130
[ 17.898180] os_dump_stack+0x18/0x20 [nvidia]
[ 17.898233] tlsEntryGet+0x130/0x138 [nvidia]
[ 17.898283] kdispArbAndAllocDisplayBandwidth_v04_02+0x274/0x288 [nvidia]
[ 17.898332] kdispInvokeDisplayModesetCallback_KERNEL+0xa8/0xf0 [nvidia]
[ 17.898382] dceclientHandleAsyncRpcCallback+0x17c/0x2f0 [nvidia]
[ 17.898431] initVGXSpecificRegistry+0x1dc/0x300 [nvidia]
[ 17.898434] dce_client_async_event_work+0x8c/0x190
[ 17.898441] process_one_work+0x1c4/0x4c0
[ 17.898444] worker_thread+0x54/0x450
[ 17.898447] kthread+0x148/0x170
[ 17.898450] ret_from_fork+0x10/0x18
[ 18.574896] r8168: eth1: link up
[ 18.575002] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 19.283485] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 27.129130] usb 1-2.3: input irq status -75 received
[ 34.247222] pwm-tegra-tachometer 39c0000.tachometer: Tachometer Overflow is detected
[ 41.533124] usb 1-2.3: input irq status -75 received
[ 93.503508] usb 1-2.3: USB disconnect, device number 5
[ 94.016164] usb 1-2.3: new full-speed USB device number 6 using tegra-xusb
[ 94.128160] usb 1-2.3: New USB device found, idVendor=1ea7, idProduct=0066, bcdDevice= 2.00
[ 94.128169] usb 1-2.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 94.128173] usb 1-2.3: Product: 2.4G Mouse
[ 94.134943] input: 2.4G Mouse as /devices/platform/3610000.xhci/usb1/1-2/1-2.3/1-2.3:1.0/0003:1EA7:0066.0006/input/input14
[ 94.192579] hid-generic 0003:1EA7:0066.0006: input,hidraw3: USB HID v1.10 Keyboard [2.4G Mouse] on usb-3610000.xhci-2.3/input0
[ 94.198629] input: 2.4G Mouse as /devices/platform/3610000.xhci/usb1/1-2/1-2.3/1-2.3:1.1/0003:1EA7:0066.0007/input/input15
[ 94.198813] input: 2.4G Mouse as /devices/platform/3610000.xhci/usb1/1-2/1-2.3/1-2.3:1.1/0003:1EA7:0066.0007/input/input16
[ 94.199043] input: 2.4G Mouse Consumer Control as /devices/platform/3610000.xhci/usb1/1-2/1-2.3/1-2.3:1.1/0003:1EA7:0066.0007/input/input17
[ 94.256688] input: 2.4G Mouse System Control as /devices/platform/3610000.xhci/usb1/1-2/1-2.3/1-2.3:1.1/0003:1EA7:0066.0007/input/input18
[ 94.256935] hid-generic 0003:1EA7:0066.0007: input,hiddev97,hidraw4: USB HID v1.10 Mouse [2.4G Mouse] on usb-3610000.xhci-2.3/input1
[ 331.615722] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 577.979159] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 622.967018] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 1148.737888] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 1165.976623] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 1217.978908] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 1562.967787] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 1607.980571] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 1659.983253] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 1711.971441] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 2056.979546] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 2101.971983] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 2153.975754] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 2205.971744] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
Does this error affect device usage? What should I do if I want to fix this exception?
root@nvidia-desktop:~# lspci
0001:00:00.0 PCI bridge: NVIDIA Corporation Device 229e (rev a1)
0001:01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
0004:00:00.0 PCI bridge: NVIDIA Corporation Device 229c (rev a1)
0004:01:00.0 Non-Volatile memory controller: Phison Electronics Corporation Device 5013 (rev 01)
0008:00:00.0 PCI bridge: NVIDIA Corporation Device 229c (rev a1)
0008:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
0009:00:00.0 PCI bridge: NVIDIA Corporation Device 229c (rev a1)
0009:01:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
dmesg log:
orin_nano.log (71.0 KB)
I am debugging with hardware designed by ourselves, not nvidia develop Kit.
This log is from display driver. What display are you using? or you are not using?
Hi, WayneWWW:
I need display, our develop board was using mirco HDMI.
Have you configured the DCB to enable HDMI?
Hi,WayneWWW:
I have not configured HDMI. Can I use the command on the device to check this configuration?
Now the display is normal.
請問你xrandr command給出來的內容是?
Hi, WayneWWW:
执行xrandr命令:
root@nvidia-desktop:~# xrandr
Can't open display
root@nvidia-desktop
显示接口默认的是DP吗?我确实没配置hdmi,不过连接hdmi,目前可以正常显示,只是每次启动后有assert异常crash。
Hi, WayneWWW:
我看了您发出来的nvidia技术文档,并去论坛中查找了将DP修改为HDMI的方式,看到您在其他帖子下回复修改的快速方法是使用 p3509+ p3767配置,这样不需要修改pinmux复用,我随后做了如下改动:
1.将jetson-orin-nano-devkit-nvme.conf文件中的
source "${LDK_DIR}/p3768-0000+p3767-0000.conf";
修改为:
source "${LDK_DIR}/p3509-a02+p3767-0000.conf";
2.修改后重新编译kernel:
./nvbuild.sh -o $PWD/kernel_out
3.烧录:
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit internal
4.启动后配置设备,发现还是有assert报错:
[ 17.190127] nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for aarch64 35.5.0 Release Build (buildbrain@mobile-u64-6519-d7000) Mon Feb 19 20:34:14 PST 2024
[ 17.487610] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x731341 result 0xffff:
[ 17.872929] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 17.872944] CPU: 0 PID: 154 Comm: kworker/u12:3 Tainted: G O 5.10.192-tegra #1
[ 17.872946] Hardware name: NVIDIA Orin Nano Developer Kit (DT)
[ 17.872960] Workqueue: dce-async-ipc-wq dce_client_async_event_work
[ 17.872964] Call trace:
[ 17.872972] dump_backtrace+0x0/0x1e0
[ 17.872975] show_stack+0x30/0x40
[ 17.872980] dump_stack+0xf0/0x130
[ 17.873043] os_dump_stack+0x18/0x20 [nvidia]
[ 17.873096] tlsEntryGet+0x130/0x138 [nvidia]
[ 17.873147] kdispArbAndAllocDisplayBandwidth_v04_02+0x274/0x288 [nvidia]
[ 17.873197] kdispInvokeDisplayModesetCallback_KERNEL+0xa8/0xf0 [nvidia]
[ 17.873246] dceclientHandleAsyncRpcCallback+0x17c/0x2f0 [nvidia]
[ 17.873296] initVGXSpecificRegistry+0x1dc/0x300 [nvidia]
[ 17.873300] dce_client_async_event_work+0x8c/0x190
[ 17.873305] process_one_work+0x1c4/0x4c0
[ 17.873307] worker_thread+0x54/0x450
[ 17.873309] kthread+0x148/0x170
[ 17.873312] ret_from_fork+0x10/0x18
[ 19.758737] r8168: eth1: link up
[ 19.758851] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 330.507345] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 389.180044] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
20250108.log (70.5 KB)
这种方式还需要修改其他什么文件吗?
查看其他帖子中您发出来的文档,有个patch不清楚35.5.0版本是否需要合入:
Hi, WayneWWW:
我注意到确实修改的配置文件不对,现在我修改了jetson-orin-nano-devkit.conf文件,
将
source "${LDK_DIR}/p3767.conf.common";
修改为:
source "${LDK_DIR}/p3509-a02+p3767-0000.conf";
重新编译烧写后,还是有和上面一样的报错,是否有方式确认我修改hdmi成功了?我不确认这个报错和dp/hdmi的配置是否有联系。
Hi,WayneWWW:
从查询log上看没有修改成功:
nvidia@nvidia-desktop:~$ export DISPLAY=:0
nvidia@nvidia-desktop:~$ xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
1920x1080 60.00*+ 59.94 50.00
1600x900 60.00
1280x1024 75.02 60.02
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
720x576 50.00
720x480 59.94
640x480 75.00 59.94 59.93
修改jetson-orin-nano-devkit.conf之外,是否还需要修改pinmux复用?
Hi,
修改为:
source “${LDK_DIR}/p3509-a02+p3767-0000.conf”;
你改的這部份完全沒有任何幫助. 因為jetson-orin-nano-devkit.conf後面又把pinmux還有DTB_FILE改了…
麻煩你直接讀p3509-a02-3767-0000.conf裡面的內容. 基本上就是這三個檔案裡面有HDMI設定.
dtb 主要的設定就是我說的DCB image的更動.
PINMUX_CONFIG=“tegra234-mb1-bct-pinmux-p3767-hdmi-a03.dtsi”;
PMC_CONFIG=“tegra234-mb1-bct-padvoltage-p3767-hdmi-a03.dtsi”;
DTB_FILE=“tegra234-p3767-0000-p3509-a02.dtb”;
Hi, WayneWWW:
我按照你的建议,修改了烧录命令:
./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" --showlogs --network usb0 p3509-a02+p3767-0000 internal
我直接将烧录命令中的jetson-orin-nano-devkit替换为 p3509-a02+p3767-0000,烧录后起来发现有更多assert报错:
[ 15.359516] nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for aarch64 35.5.0 Release Build (buildbrain@mobile-u64-6519-d7000) Mon Feb 19 20:34:14 PST 2024
[ 16.133771] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 16.133788] CPU: 2 PID: 152 Comm: kworker/u12:2 Tainted: G O 5.10.192-tegra #1
[ 16.133792] Hardware name: NVIDIA Orin Nano Developer Kit (DT)
[ 16.133812] Workqueue: dce-async-ipc-wq dce_client_async_event_work
[ 16.133818] Call trace:
[ 16.133832] dump_backtrace+0x0/0x1e0
[ 16.133837] show_stack+0x30/0x40
[ 16.133845] dump_stack+0xf0/0x130
[ 16.133938] os_dump_stack+0x18/0x20 [nvidia]
[ 16.134021] tlsEntryGet+0x130/0x138 [nvidia]
[ 16.134100] kdispArbAndAllocDisplayBandwidth_v04_02+0x274/0x288 [nvidia]
[ 16.134179] kdispInvokeDisplayModesetCallback_KERNEL+0xa8/0xf0 [nvidia]
[ 16.134257] dceclientHandleAsyncRpcCallback+0x17c/0x2f0 [nvidia]
[ 16.134335] initVGXSpecificRegistry+0x1dc/0x300 [nvidia]
[ 16.134339] dce_client_async_event_work+0x8c/0x190
[ 16.134348] process_one_work+0x1c4/0x4c0
[ 16.134351] worker_thread+0x54/0x450
[ 16.134355] kthread+0x148/0x170
[ 16.134360] ret_from_fork+0x10/0x18
[ 16.167753] r8168: eth0: link up
[ 16.167867] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 18.321792] Please complete system configuration setup on desktop to proceed...
[ 18.690270] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 18.850885] NVRM gpumgrGetSomeGpu: Failed to retrieve pGpu - Too early call!.
[ 18.850891] NVRM nvAssertFailedNoLog: Assertion failed: NV_FALSE @ gpu_mgr.c:296
[ 18.850901] CPU: 2 PID: 1203 Comm: Xorg Tainted: G O 5.10.192-tegra #1
[ 18.850903] Hardware name: NVIDIA Orin Nano Developer Kit (DT)
[ 18.850905] Call trace:
[ 18.850918] dump_backtrace+0x0/0x1e0
[ 18.850921] show_stack+0x30/0x40
[ 18.850929] dump_stack+0xf0/0x130
[ 18.850994] os_dump_stack+0x18/0x20 [nvidia]
[ 18.851048] tlsEntryGet+0x130/0x138 [nvidia]
[ 18.851099] gpumgrGetSomeGpu+0x7c/0x90 [nvidia]
[ 18.851149] threadPriorityStateFree+0x234/0x2a0 [nvidia]
[ 18.851199] RmShutdownAdapter+0x168/0x268 [nvidia]
[ 18.851249] rm_shutdown_adapter+0x50/0x70 [nvidia]
[ 18.851299] nv_shutdown_adapter+0xb4/0x4c8 [nvidia]
[ 18.851349] nv_shutdown_adapter+0x2ec/0x4c8 [nvidia]
[ 18.851399] nvidia_dev_put+0x38/0xc88 [nvidia]
[ 18.851446] nvkms_close_gpu+0x60/0x98 [nvidia_modeset]
[ 18.851482] nvRmFreeDeviceEvo+0x8c/0x130 [nvidia_modeset]
[ 18.851515] nvkms_ioctl_common+0x180/0x1b0 [nvidia_modeset]
[ 18.851565] nvidia_frontend_unlocked_ioctl+0x5c/0x78 [nvidia]
[ 18.851571] __arm64_sys_ioctl+0xac/0xf0
[ 18.851575] el0_svc_common.constprop.0+0x80/0x1d0
[ 18.851578] do_el0_svc+0x38/0xc0
[ 18.851581] el0_svc+0x1c/0x30
[ 18.851583] el0_sync_handler+0xa8/0xb0
[ 18.851585] el0_sync+0x16c/0x180
[ 21.641426] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 23.709156] fuse: init (API version 7.32)
[ 83.170682] EXT4-fs (nvme0n1p1): resizing filesystem from 14417920 to 30923264 blocks
[ 83.286565] EXT4-fs (nvme0n1p1): resized filesystem to 30923264
[ 122.005662] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
执行xrandr:
nvidia@nvidia-desktop:~$ export DISPLAY=:0
nvidia@nvidia-desktop:~$ xrandr
Invalid MIT-MAGIC-COOKIE-1 keyCan't open display :0
附件是完整dmesg log:
orin_nano.20250108.log (67.7 KB)
Hi,WayneWWW:
1.power mode:
root@nvidia-desktop:~# nvpmodel -q
NV Power Mode: 10W
0
2.xorg log:
xorg.log (26.5 KB)
) NVIDIA(GPU-0): DELL SE2422H (DFP-0): Internal TMDS
[ 17.109] (–) NVIDIA(GPU-0): DELL SE2422H (DFP-0): 600.0 MHz maximum pixel clock
[ 17.109] (–) NVIDIA(GPU-0):
[ 17.140] (==) NVIDIA(0):
[ 17.140] (==) NVIDIA(0): No modes were requested; the default mode “nvidia-auto-select”
[ 17.140] (==) NVIDIA(0): will be used as the requested mode.
[ 17.140] (==) NVIDIA(0):
[ 17.144] (II) NVIDIA(0): Validated MetaModes:
[ 17.144] (II) NVIDIA(0): “DFP-0:nvidia-auto-select”
[ 17.144] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[ 17.261] (–) NVIDIA(0): DPI set to (92, 91); computed from “UseEdidDpi” X config
我看到你的xorg 現在顯示的是TMDS, 所以應該是有切成HDMI. 請問螢幕有亮嗎?
Hi,WayneWWW:
显示一直是正常的,我一直都是进入到ubuntu系统中打开terminal操作的。
請你拿4k螢幕測試. 不要拿1080p. Orin Nano HDMI能支援到4k@30. 但不能4k@60.