I successed compile the demo code of 12_camera_v4l2_cuda , when I ran it , which occured error. My agx board is customized board.
root@nvidia-desktop:/usr/src/jetson_multimedia_api/samples/12_camera_v4l2_cuda# ./camera_v4l2_cuda userptr:0x7f8389a000, int :1027 WARN: request_camera_buff(): (line:376) Camera v4l2 buf length is not expected size :24883200 ERROR: request_camera_buff(): (line:384) Failed to enqueue buffers: Bad address (14) ERROR: prepare_buffers(): (line:507) Failed to set up camera buff ERROR: main(): (line:656) Failed to prepare v4l2 buffs nvbuf_utils: dmabuf_fd 0 mapped entry NOT found nvbuf_utils: Can not get HW buffer from FD... Exiting... App run failed
12_camera_v4l2_cuda file :
camera_v4l2_cuda.cpp (18.7 KB)
root@nvidia-desktop:/usr/src/jetson_multimedia_api/samples/12_camera_v4l2_cuda# cat /etc/nv_tegra_release # R32 (release), REVISION: 6.1, GCID: 27863751, BOARD: t186ref, EABI: aarch64, DATE: Mon Jul 26 19:36:31 UTC 2021
v4l2 driver upload the format is V4L2_PIX_FMT_RGB24. dmesg: [17142.426377] contiguous chunk is too small 393216/24883200 b [17697.390987] contiguous chunk is too small 65536/24883200 b
please give some advices.