Hello,
I just flashed our Jetson Orin with JP 6.2.1 and installed ZED SDK v5.0.7 and the ZED GStreamer Plugin.
I have four ZED X / ZED X Mini cameras connected to the device and all of them seem to be running without issues when using ZED Explorer.
When running the example GStreamer Pipeline
gst-launch-1.0 zedsrc camera-sn=<sn-of-camera> camera-resolution=5 camera-fps=60 stream-type=2 ! autovideoconvert ! queue ! fpsdisplaysink
The pipeline starts and I can see the image stream but after some time I run into the following error. Apparently as soon as the exposure gain is changed.
Setting pipeline to PAUSED ...
Setting depth_mode to NONE
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
ERROR: from element /GstPipeline:pipeline0/GstZedSrc:zedsrc0: Grabbing failed with error: 'CORRUPTED FRAME' - The image may be corrupted or invalid
Additional debug info:
/home/nvidia/code/zed-gstreamer/gst-zed-src/gstzedsrc.cpp(2769): gst_zedsrc_fill (): /GstPipeline:pipeline0/GstZedSrc:zedsrc0
Execution ended after 0:00:05.876584117
ERROR: from element /GstPipeline:pipeline0/GstZedSrc:zedsrc0: Internal data stream error.
Setting pipeline to NULL ...
Additional debug info:
../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstZedSrc:zedsrc0:
streaming stopped, reason error (-5)
Freeing pipeline ...
Gain control error can be seen in dmesg
[ 1520.890650] sl_max9296 11-0048: fps_set_Dser: 105000000 is not a supported value. [30,60,120]*10^6 are supported.
[ 1520.896012] sl_max9296 11-0048: fps_set_Dser: 105000000 is not a supported value. [30,60,120]*10^6 are supported.
[ 1563.813055] sl_max9296 11-0048: fps_set_Dser: 105000000 is not a supported value. [30,60,120]*10^6 are supported.
[ 1563.825953] sl_max9296 11-0048: fps_set_Dser: 105000000 is not a supported value. [30,60,120]*10^6 are supported.
[ 1595.610742] zedx 11-0038: zedx_set_gain: GAIN control error
[ 1595.618921] zedx 11-0030: zedx_set_gain: GAIN control error
[ 1595.687365] zedx 11-0038: Error writing mode
[ 1595.734966] zedx 11-0030: Error writing mode
[ 1595.752718] zedx 11-0030: zedx_set_gain: GAIN control error
[ 1595.753147] zedx 11-0030: zedx_set_gain: GAIN control error
[ 1595.807444] zedx 11-0030: Error writing mode
[ 1595.808152] zedx 11-0030: zedx_set_gain: GAIN control error
[ 1595.855077] zedx 11-0030: Error writing mode
[ 1595.864472] zedx 11-0030: zedx_set_gain: GAIN control error
[ 1595.911141] zedx 11-0030: Error writing mode
[ 1595.959277] zedx 11-0030: Error writing mode
[ 1595.965621] zedx 11-0038: zedx_set_gain: GAIN control error
[ 1595.966405] zedx 11-0038: zedx_set_gain: GAIN control error
[ 1596.015310] zedx 11-0038: Error writing mode
[ 1596.015905] zedx 11-0038: zedx_set_gain: GAIN control error
[ 1596.063340] zedx 11-0038: Error writing mode
[ 1596.072644] zedx 11-0038: zedx_set_gain: GAIN control error
[ 1596.123286] zedx 11-0038: Error writing mode
[ 1596.171318] zedx 11-0038: Error writing mode
This occasionally also leads to having to restart the ZED X deamon service as the camera changes to NOT AVAILABLE. I also appended the whole dmesg log. Sometimes it’s also possible to restart the pipeline without having to restart the deamon service but the pipeline always stops as soon as i change the lighting conditions of the image.
This issue occures with any of the cameras. Sometimes the error also causes issues that cannot be solved by restarting the ZED deamon service.
Setting pipeline to PAUSED ...
Setting depth_mode to NONE
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
(Argus) Error Timeout: (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 137)
(Argus) Error Timeout: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 92)
I then get this error if I try to run the pipeline with any of the cameras. Trying to run the pipeline then sets the camera to NOT AVAILABLE.
We seem to have had this issue with ZED GStreamer also for JP 6.0 where it caused our system to run rather instable.
I would appreciate some support on this topic. Out application relies on stable RTSP streams and this currently does not seem to be achievable using our ZED cameras.
dmesg.txt (132.8 KB)
EDIT: it seems like when switching between cameras in ZED_Explorer I occasionally also run into “nvbuf_utils: dmabuf_fd -1 mapped entry NOT found” errors.