Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) : NVIDIA GeForce RTX 3090 • DeepStream Version : 6.4 • JetPack Version (valid for Jetson only) • TensorRT Version : 12.2 • NVIDIA GPU Driver Version (valid for GPU only) : 535.104.05 • 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)
I am trying to build pipeline branching like in below image
after run this pipeline line with two branches , I putted probe function on branch1 but I am still see results from branch2
if I commented out branch2 , I can not find any detections
I tried to put nvstreamdemux and nvstreammux after tee plugin on branch1 and branch2 still commented , pipeline is not working/
so I see abnormal behavior and I don’t know where is the problem , so can you tell me how to run this pipeline with branches as in image successfully ?
the purpose of branch1 and branch2 to parallelize inference and minimize time since sgie2 depends only on pgie so this will minimize total inference time
To make the explanation simple,
“clone” means the “buffer” is the same “buffer”, tee subprojects/gstreamer/plugins/elements/gsttee.c · main · GStreamer / gstreamer · GitLab just create new “pointer” to point to the same “buffer”. When you change the “buffer” content through one “pointer” in one branch, you can see the same change in the other branch through another “pointer”, since they pint to the same “buffer”.
“copy” will create a whole new “buffer”.
Is your purpose to minimize latency or to minimize processing time?
Yes I want to use multiple branches to make models work in parallel which which will reduce processing time and will affect also whole pipeline latency
For your PGIE + multiple SGIEs case, multiple branches are not necessary. The parallel pipeline may not be faster than the normal pipeline like /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test2
You can try this parallel pipeline under the /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test2 directory.
you mentioned that multiple branches are not necessary for my case, so can you explain why multiple branches didn’t reduce latency or processing time so performance become more worse
You can compare the pipeline in /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test2 and the so-called parallel pipeline I give to you. Extra conversion and processing are needed for separating the “buffers” for branches. It will not make the pipeline faster.
There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks