I follow the steps in this link to execute the drm sample “/usr/src/jetson_multimedia_api/samples/08_video_dec_drm”
Jetson Linux API Reference: 08_video_dec_drm (Direct Rendering Manager) | NVIDIA Docs
And Get errors:
I also reflash the device still the same error.
My team member use the same method to flash the board, he can successfully run the drm sample.
cuser1@ubuntu:/usr/src/jetson_multimedia_api/samples/08_video_dec_drm$ sudo ./video_dec_drm …/…/data/Video/sample_outdoor_car_1080p_10fps.h264 H264 --disable-ui
MoTTY X11 proxy: No authorisation provided
MoTTY X11 proxy: No authorisation provided
MoTTY X11 proxy: No authorisation provided
MoTTY X11 proxy: No authorisation provided
nvbufsurftransform: Could not get EGL display connection
Set governor to performance before enabling profiler
Using VT number 2
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NvMMLiteBlockCreate : Block : BlockType = 261
Starting decoder capture loop thread
Video Resolution: 1920x1080
APP_INFO : mastering display data not found
Input file read complete
Colorspace ITU-R BT.601 with standard range luma (16-235)
Colorspace ITU-R BT.601 with standard range luma (16-235)
Query and set capture successful
[ERROR] (NvDrmRenderer.cpp:865) FAILED TO SET PLANE
[ERROR] (NvDrmRenderer.cpp:950) Error in rendering frame
jetpack developer kit version:
cuser1@ubuntu:/usr/src/jetson_multimedia_api/samples/08_video_dec_drm$ apt-cache show nvidia-jetpack
Package: nvidia-jetpack
Version: 6.0-b52
Architecture: arm64
Maintainer: NVIDIA Corporation
Installed-Size: 194
Depends: nvidia-jetpack-runtime (= 6.0-b52), nvidia-jetpack-dev (= 6.0-b52)
Homepage: Jetson - Embedded AI Computing Platform | NVIDIA Developer
Priority: standard
Section: metapackages
Filename: pool/main/n/nvidia-jetpack/nvidia-jetpack_6.0-b52_arm64.deb
Size: 29294
SHA256: 01f3cfaed6f45ebabacbe5f2d4c3b74a296200ae928d68b97956470d54c4be98
SHA1: 950626b2b51381650e8ecb7e3b21f5e2e89cddb6
MD5sum: 1e58b6faa4b7a9695a1f5b0cb6035d85
Description: NVIDIA Jetpack Meta Package
Description-md5: ad1462289bdbc54909ae109d1d32c0a8
Also paste part of the dmesg:
[ 14.242199] zram11: detected capacity change from 0 to 5362472
[ 14.248384] Adding 2681232k swap on /dev/zram11. Priority:5 extents:1 across:2681232k SS
[ 15.597187] Bridge firewalling registered
[ 16.196848] nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for aarch64 540.2.0 Release Build (buildbrain@mobile-u64-6517-d7000) Thu Nov 30 10:54:34 PST 2023
[ 16.430293] checking generic (1039e00000 21c0000) vs hw (1039e00000 21c0000)
[ 16.430303] fb0: switching to nv_platform from simple
[ 16.431279] Console: switching to colour dummy device 80x25
[ 16.815643] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 16.815661] CPU: 5 PID: 126 Comm: kworker/u24:2 Tainted: G OE 5.15.122-tegra #1
[ 16.815669] Hardware name: Unknown NVIDIA Jetson AGX Orin Developer Kit/NVIDIA Jetson AGX Orin Developer Kit, BIOS 36.2.0-gcid-34956989 11/30/2023
[ 16.815672] Workqueue: dce-async-ipc-wq tegra_dce_client_ipc_send_recv [tegra_dce]
[ 16.815697] Call trace:
[ 16.815699] dump_backtrace+0x0/0x1d0
[ 16.815714] show_stack+0x34/0x50
[ 16.815722] dump_stack_lvl+0x68/0x8c
[ 16.815734] dump_stack+0x18/0x3c
[ 16.815739] os_dump_stack+0x1c/0x28 [nvidia]
[ 16.815923] tlsEntryGet+0x110/0x120 [nvidia]
[ 16.816098] kdispArbAndAllocDisplayBandwidth_v04_02+0x274/0x290 [nvidia]
[ 16.816273] kdispInvokeDisplayModesetCallback_KERNEL+0xa8/0xf0 [nvidia]
[ 16.816446] hypervisorIsVgxHyper_IMPL+0x144/0x260 [nvidia]
[ 16.816619] tegra_dce_client_ipc_send_recv+0x100/0x200 [tegra_dce]
[ 16.816630] process_one_work+0x208/0x500
[ 16.816641] worker_thread+0x144/0x4a0
[ 16.816646] kthread+0x184/0x1a0
[ 16.816653] ret_from_fork+0x10/0x20
[ 17.884240] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[ 19.166824] rfkill: input handler disabled
[ 19.867443] nvethernet 6810000.ethernet: [xpcs_lane_bring_up][477][type:0x4][loga-0x0] PCS block lock SUCCESS
[ 19.867508] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 19.868663] nvethernet 6810000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 22.216070] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[ 29.232490] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[ 29.910828] rfkill: input handler enabled
[ 30.230069] NVRM nvAssertFailedNoLog: Assertion failed: minRequiredIsoBandwidthKBPS <= clientBwValues[DISPLAY_ICC_BW_CLIENT_EXT].minRequiredIsoBandwidthKBPS @ kern_disp_0402.c:111
[ 32.712338] rfkill: input handler disabled
[ 34.355387] loop1: detected capacity change from 0 to 8
[ 39.232638] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[ 53.231308] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[ 71.671324] loop1: detected capacity change from 0 to 8
[ 73.232294] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[ 97.840330] rfkill: input handler enabled
[ 102.240237] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[ 110.749769] [drm] [nvidia-drm] [GPU ID 0x00020000] Loading driver
[ 111.128620] [drm] Initialized nvidia-drm 0.0.0 20160202 for 13800000.display on minor 1
[ 145.231951] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[ 209.231955] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[ 304.231662] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)