Error: unable to draw shapes onto video frame by GPU when asked to draw bbox on multi-sink

Hardware Platform (Jetson / GPU) : Nvidia AGX Orin
Deep stream Version: v7.0
Issue Type(questions, new requirements, bugs) : Bugs

I have an error when trying to draw a bbox on multi-sink:
** Unable to draw shapes onto video frame by GPU

I have 2 sinks: file sink + chunk sink.
Pipeline:

  • .... ! tee ! ghost pad ! queue ! nvvideoconvert ! nvosd ! nvvideoconvert ! .... (file sink)
               ! ghost pad ! queue ! nvvideoconvert ! nvosd ! nvvideoconvert ! ... (chunk sink)
    

How can I change the pipeline to draw a bbox for multi-sink?
Thank you so much!

what do you mean about “Unable to draw shapes onto video”? how did you do that? could you share a simplified and detailed Gsteamer cmd to reproduce this issue? what is chunk sink? Thanks!

Hi Fanzh, thank you for your response.
Basically, I have a C++ project using the DeepStream SDK, and I have 2 sinks—2 different queues from the tee—and can draw bounding boxes undependently.
When I just set bbox=true for only one sink, it can run great. But when I try with bbox=true for both, it crashes with the error GPU unable to draw shapes.

  1. could you share a simplified Gsteamer gst-launch command-line to reproduce this issue? Thanks!
  2. About “bbox=true”, do you mean set display-bbox to true for nvdsosd plugin?

please set disable-passthrough to true for nvvideoconvert before nvsdosd in two tee branches.

Hi Fanzh,
Thank you for your suggestion.
I have updated to set ‘disable-passthrough’=1 for nvvideoconvert and it’s working.

Thanks for the update, Is this still an DeepStream issue to support? Thanks!

Yes, thank you so much!

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