Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) Jetson tx2-4G
• DeepStream Versionv5.0
**• JetPack Version (valid for Jetson only)**4.4
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• 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)
we are trying to display two nvoverlaysink on dual monitors, each displaying a Picture-In-Picture window. There is only one video source, we Tee it into four pads connecting to two nvstreamtile, then to the nvoverlaysinks.
It turns out that nvstreamTile has a thread-safety bug in supporting this. In short, the 4 inputs of the 2 nvstreamtiles are working on the same frame memory. When the 2 nvstreamtiles are on two gstreamer queues, the display became scambled due to multi-thread access. So we decided to develop a plugin to deep-copy the video frame. However, we cannot find an API to deep-copy the data in nvsurface, in the header file.
could you help me to solve this? or is there any existing plugin that we can use to deep-copy the data?