we are using this Jetson Nano Development Kit. Connected to this Kit is a Camera with an IMX485 Sensor via CSI.
We need the System to take pictures on demand. Therefore we use gst-launch with nvarguscamerasrc at the moment. The exact command is:
gst-launch-1.0 nvarguscamerasrc num-buffers=3 sensor-id=0 awblock=true aelock=true ! 'video/x-raw(memory:NVMM),width=3840,height=2180,framerate=25/1' ! nvvidconv flip-method=3 ! nvjpegenc ! multifilesink location=./camera.jpeg
During our testing, the system crashed every once in a while, and we figured, that it is caused by the command above. For testing purposes, we created a loop script that will run the command until the system crashes. The script is the follwing:
#!/bin/bash count=1 while true do gst-launch-1.0 nvarguscamerasrc num-buffers=3 sensor-id=0 awblock=true aelock=true ! 'video/x-raw(memory:NVMM),width=3840,height=2180,framerate=25/1' ! nvvidconv flip-method=3 ! nvjpegenc ! multifilesink location=./camera_$count.jpeg let count++ #sleep 2 echo ====================== echo Count = $count echo ====================== done
The Script will “reliably” crash the system at one point, usually after 70-120 iterations.
We already tried another Camera with an IMX485 sensor with another Driver and DTB, but we get the same result. We also tried to use “pngenc” instead of “nvjpegenc”, but it did not help either. Last but not least we tried this on Different Development Kits, just to make sure the first one isn’t broken.
NVIDIA Jetson Nano Development Kit B01
The OS is running on an SSD connected via USB3
The same error does not occur when using v4l2-ctl, so i guess it is not a driver issue.
I attached some logs of the loop-script.
Any help/hints would be greatly appreciated.
After a few more runs i get the following error that got cut off in the log files i think:
GST_ARGUS: Running with following settings: Camera index = 0 Camera mode = 0 Output Stream W = 3840 H = 2160 seconds to Run = 0 Frame Rate = 33,000000 GST_ARGUS: Setup Complete, Starting captures for 0 seconds GST_ARGUS: Starting repeat capture requests. CONSUMER: Producer has connected; continuing. nvbuf_utils: dmabuf_fd -1 mapped entry NOT found nvbuf_utils: Can not get HW buffer from FD... Exiting... CONSUMER: ERROR OCCURRED ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: CANCELLED Additional debug info: Argus Error Status Execution ended after 0:00:02.275211690 Setting pipeline to PAUSED ... Setting pipeline to READY ...