"valve drop=true" freeze deepstream pipeline (nvstreammux/nvinfer)

• Hardware Platform (Jetson / GPU) : x86 + geforce gtx
• DeepStream Version : docker based on nvcr.io/nvidia/deepstream:6.0-devel
• NVIDIA GPU Driver Version (valid for GPU only) : NVIDIA-SMI 510.47.03 Driver Version: 510.47.03 CUDA Version: 11.6

I’m developping a plugin processing some buffers from nvinfer.
I’m facing freezes in some cases. My plugin is similar to “valve”. So I managed to use it for testing purposes.

I found out this pipeline always freeze:

gst-launch-1.0 -v -m -t filesrc num-buffers=50 location= /opt/nvidia/deepstream/deepstream-6.0/samples/streams/sample_720p.mp4 ! qtdemux ! h264parse ! nvv4l2decoder ! m.sink_0 nvstreammux name=m batch-size=1 width=1280 height=720 ! nvinfer config-file-path= /opt/nvidia/deepstream/deepstream-6.0/samples/configs/deepstream-app/config_infer_primary.txt ! valve drop=TRUE ! fakesink sync=FALSE -e

If drop=FALSE, the pipeline never freezes.

Could you confirm this behavior?
What happens? Are there any workaround?

Thank you for your help.
Best regards.

Your enviroment is wrong. DeepStream 6.0 only support cuda 11.4 Quickstart Guide — DeepStream 6.0 Release documentation

I’ve tested your pipeline with correct DS 6.1. The pipeline stopped because the “eos” event is dropped by valve plugin while the bus needs the “eos” to end the pipeline.

So it is correct.

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