• Hardware Platform: TX2
**• DeepStream 5 developer preview **
• JetPack Version 4.4
Since upgrading my system from Jetpack 4.3 DeepStream 4.0 to Jetpack 4.4 DeepStream 5.0 I am getting corrupt buffers. What I see is horizontal bands in many frames are replaced with sections of other frames. In other words, some number of rows of a buffer are overwritten by a few hundred rows of another buffer.
This only happens with deepstream elements in my pipeline, and only with Deepstream 5.0. It actually affects a tee that is BEFORE the deepstream elements. If I had to guess it seems that deepstream elements are overwriting data in gstreamer buffers allocated to adjacent addresses.
My pipeline is below. It works perfectly fine with DeepStream 4.0. If I remove the nvvideoconvert/nvinfer/etc elements there are no messed up buffers. With DeepStream 5.0 I get images with corrupted/partially ovewritten buffers in the first filesink tee’d before the deepstream elements, as well as the last filesink after.
The nvinfer element is using the Deepstream 5.0 YOLO implementation for YoloV3-Tiny. For Deepstream 4.0, I use the corresponding YOLO implementation from the DeepStream 4.0 source.
gst-launch-1.0 aravissrc ! bayer2rgb ! tee name=t ! \ queue leaky=downstream max-size-time=500000000 max-size-bytes=62914560 max-size-buffers=200 ! \ jpegenc ! multifilesink location="$IMAGE_DIR/%06d.jpg" t. ! videoflip method=rotate-180 ! \ nvvideoconvert ! "video/x-raw(memory:NVMM),width=(int)1296,height=(int)1024,format=NV12" ! \ m.sink_0 nvstreammux name=m batch-size=1 width=1296 height=1024 live-source=true ! \ nvinfer config-file-path=config_infer_primary_yolov3_tiny.txt batch-size=1 unique-id=1 ! \ nvvideoconvert ! nvdsosd ! nvvideoconvert ! \ videoconvert ! "video/x-raw, format=I420, width=1296, height=1024" ! videoscale ! \ "video/x-raw, width=648, height=512" ! queue leaky=downstream max-size-time=500000000 max-size-bytes=62914560 max-size-buffers=200 ! \ jpegenc quality=50 ! multifilesink location="/www/latest.jpg" max-files=1