I have written a C++ program on NVIDIA Orin NX 8 GB to interface with an IMX327 camera.
After running the program for a while, the camera fails to capture images, and restart the program, it still cannot capture images.
Upon investigation, I found that restarting the nvargus-daemon.service by executing the command
sudo systemctl restart nvargus-daemon.service
restores the ability to capture images.
I would like to understand why this issue occurs and how to resolve it.
But confirm camera streaming by running using v4l2-ctl commands.
Install v4l2-ctl command by running below command.(Ignore this step if this command is already installed)
$$ sudo apt-get update
$$ sudo apt-get install v4l-utils
Run below command to see camera streaming.
$$ v4l2-ctl -d /dev/video0 --stream-mmap
This command will represent output stream using arrow “>>” symbol along with FPS.
Hi,
This is the output of the v4l2 command when the program suddenly fails to capture images. And when the program is running normally, it will also display “BUSY.”
Thank you for your help, I also think so. Because I wrote the driver for the IMX327 after researching it myself, and these past two days, I have been using the system-supported IMX219 camera without encountering such issues.
Suppose it could be the sensor driver or HW signal problem cause capture failed.
I would suggest modify the control function in the sensor driver as dummy function to avoid driver special the xxx_set_exposure function set invalidate data cause the capture failed.