Max-same-source-frames >= 4 causes deadlock?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)


Setting max-same-source-frames >= 4 on the new streammux causes the mux to deadlock when batching 4 or more frames from the same source. Could this be due to the internal bufferpool size of 4?


Did you run your own code or our demo code? Which demo did you run?

@yuweiw This will happen on any pipeline - you can try a simple videotestsrc ! nvvideoconvert ! capsfilter ! fakesink and setting the mux config to adaptive-batching=0 and max-same-source-frames=4

The issue is resolved by setting the nvvideoconvert output-buffers > max-same-source-frames and so the issue is related to the buffer pool.

You should consider adding this information to the documentation.


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