Hi,
I am running Jetpack6.1 on Jetson Orin NX.
I have IMX219 camera connected and I am using the default tegra234-p3767-camera-p3768-imx219-C.dtbo
as an overlay.
When capturing the video using nvgstcapture
everything works fine.
But when I am using v4l2-ctl with the following command:
v4l2-ctl --set-fmt-video=width=1280,height=720,pixelformat=RG10 --stream-mmap --set-ctrl=sensor_mode=4 --stream-count=100 -d /dev/video0
The program freezes and when i kill it with Ctrl+C there are some kernel crash dumps in the system log, but the system remains stable.
The the dump logs:
Nov 27 11:22:10 ubuntu kernel: [ 277.048512] CPU: 2 PID: 4007 Comm: v4l2-ctl Tainted: G W OE 5.15.148-tegra #1
Nov 27 11:22:10 ubuntu kernel: [ 277.048518] Hardware name: NVIDIA NVIDIA Jetson Orin NX Engineering Reference Developer Kit/Jetson, BIOS 36.4.0-gcid-37537400 09/13/2024
Nov 27 11:22:10 ubuntu kernel: [ 277.048521] pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=–)
Nov 27 11:22:10 ubuntu kernel: [ 277.048527] pc : __vb2_queue_cancel+0x1c0/0x230 [videobuf2_common]
Nov 27 11:22:10 ubuntu kernel: [ 277.048540] lr : __vb2_queue_cancel+0x44/0x230 [videobuf2_common]
Nov 27 11:22:10 ubuntu kernel: [ 277.048551] sp : ffff80001a3dba90
Nov 27 11:22:10 ubuntu kernel: [ 277.048552] x29: ffff80001a3dba90 x28: ffff0000bcf9cd80 x27: 0000000000000009
Nov 27 11:22:10 ubuntu kernel: [ 277.048559] x26: fffffffffffffe00 x25: ffffd9da02feb000 x24: ffff0000bcf9d380
Nov 27 11:22:10 ubuntu kernel: [ 277.048564] x23: ffff0000833ad1f8 x22: ffff0000833ad080 x21: ffff0000833ad680
Nov 27 11:22:10 ubuntu kernel: [ 277.048569] x20: ffff0000833ad728 x19: ffff0000833ad680 x18: 0000000000000000
Nov 27 11:22:10 ubuntu kernel: [ 277.048574] x17: 0000000000000304 x16: ffffd9da019f3450 x15: 0000000000000001
Nov 27 11:22:10 ubuntu kernel: [ 277.048580] x14: 0000000000000000 x13: 0000000000000010 x12: 0101010101010101
Nov 27 11:22:10 ubuntu kernel: [ ^C 277.048585] x11: 7f7f7f7f7f7f7f7f x10: a4bcecf0451b106c x9 : d1763abcef5a38bf
Nov 27 11:22:10 ubuntu kernel: [ 277.048590] x8 : ffff0000bcf9dcd8 x7 : 0000000000000002 x6 : 0000000025ffdc02
-bash: [3308: 1 (255)] tcsetattr: Interrupted system call
Nov 27 11:22:10 ubuntu kernel: [ 277.048596] x5 : 00000000410fd420 x4 : 0000000000c0000e x3 : 0000000000000001
Nov 27 11:22:10 ubuntu kernel: [ 277.048601] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000004
Nov 27 11:22:10 ubuntu kernel: [ 277.048606] Call trace:
Nov 27 11:22:10 ubuntu kernel: [ 277.048608] __vb2_queue_cancel+0x1c0/0x230 [videobuf2_common]
Nov 27 11:22:10 ubuntu kernel: [ 277.048619] vb2_core_queue_release+0x34/0x60 [videobuf2_common]
Nov 27 11:22:10 ubuntu kernel: [ 277.048631] _vb2_fop_release+0x90/0xb0 [videobuf2_v4l2]
Nov 27 11:22:10 ubuntu kernel: [ 277.048643] tegra_channel_close+0x6c/0x170 [tegra_camera]
nv@ubuntu:~$ Nov 27 11:22:10 ubuntu kernel: [ 277.048685] v4l2_release+0xc8/0x100 [videodev]
Nov 27 11:22:10 ubuntu kernel: [ 277.048719] __fput+0x7c/0x270
Nov 27 11:22:10 ubuntu kernel: [ 277.048731] ____fput+0x28/0x40
Nov 27 11:22:10 ubuntu kernel: [ 277.048736] task_work_run+0x90/0xf0
Nov 27 11:22:10 ubuntu kernel: [ 277.048746] do_exit+0x32c/0xa30
Nov 27 11:22:10 ubuntu kernel: [ 277.048754] do_group_exit+0x44/0xb0
Nov 27 11:22:10 ubuntu kernel: [ 277.048760] get_signal+0x180/0x950
Nov 27 11:22:10 ubuntu kernel: [ 277.048769] do_notify_resume+0x178/0x9a0
Nov 27 11:22:10 ubuntu kernel: [ 277.048779] el0_svc+0x6c/0x80
Nov 27 11:22:10 ubuntu kernel: [ 277.048787] el0t_64_sync_handler+0xa4/0x130
Nov 27 11:22:10 ubuntu kernel: [ 277.048793] el0t_64_sync+0x1a4/0x1a8
Nov 27 11:22:10 ubuntu kernel: [ 277.048797] —[ end trace a42365d08971d1db ]—
Nov 27 11:22:10 ubuntu kernel: [ 278.054090] videobuf2_common: driver bug: stop_streaming operation is leaving buf 00000000cf3d096b in active state
Nov 27 11:22:10 ubuntu kernel: [ 278.054101] videobuf2_common: driver bug: stop_streaming operation is leaving buf 000000006b39fc2b in active state
Nov 27 11:22:10 ubuntu kernel: [ 278.054105] videobuf2_common: driver bug: stop_streaming operation is leaving buf 00000000b6d7d32b in active state
Nov 27 11:22:10 ubuntu kernel: [ 278.054110] videobuf2_common: driver bug: stop_streaming operation is leaving buf 00000000be191221 in active state
Is v4l2 still supported?
Thanks,
Ben