Run multiple threads on a single pipeline

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)

deepstream 6.4
Driver 545.29.06

Hi I have 2 GPU’s, I am trying to create 2 pipeline threads to run on each GPU.
so thread_1 will run on GPU0, and thread_2 will run on GPU1.
The problem I am facing is two threads are being created, but only thread_1 is being executed, the thread_2 does not execute…
I think the problem is with the
loop = GObject.MainLoop()
except Exception as e:

I think the in thread_1 is blocking the thread_2.

Could you attach your source code? If you want to run two pipelines separately, why not just run two programs?

will share it personally to you.

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

Could you just run your demo twice like below?

Teminal 1:
CUDA_VISIBLE_DEVICES=0 demo(1st camera source) 

Teminal 2:
CUDA_VISIBLE_DEVICES=1 demo(2nd camera source)

You can’t run two Mainloop in one program.

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