Dma_buf and fd error on xavier nx for using imx477camera

hi everybody im trying to use imx477 camera on jetson xavier nx with third-party carrier board
at the beginning, jetson dosent know the camera as a device in first place but after some modification in device tree jetson finally detect the camera and i can see the camera in /dev/ directory ( /dev/video0 )
but when i want to run standard command to preview camera feed with gstreamer pipeline from terminal ,it will fail and gave me some error from nvbuf_utils :
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD… Exiting…
i tried to installing nvidia-jetpack or jetson-utils from GitHub - dusty-nv/jetson-utils: C++/CUDA/Python multimedia utilities for NVIDIA Jetson
but neither of them was not useful for me .
i tried to run a command from v4l2-ctl and that dosent give me any output
the command was :
sudo v4l2-ctl --set-fmt-video=width=1936,height=1096 -c bypass_mode=0 --stream-mmap -d /dev/video0
can anybody help me to solve this issue
thanks
l4t version is 32.7.1

hello rabanimisagh,

such error logs… nvbuf_utils: dmabuf_fd -1 mapped entry NOT found, it means buffer allocation has failed.
this usually due to Argus unable to fetch the camera stream correctly.
since you’ve also tested with v4l2 standard IOCTL, it’s the issue with camera basic functionality.

FYI, we’ve verify Raspberry Pi High Quality Camera, IMX477 on Xavier NX developer kits.
as you’re working with third-party carrier board, please review your board configuration for image flashing, (maybe to check board schematic)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.