Deepstream-app crash with nvbufsurface: NvBufSurfaceSysToHWCopy error

Hi

  1. RTX 2080 Ti supports only 3 concurrent encoding sessions. If we enable the 4th sink to use the HW Encoder, then the application throws an error in this regard. So, other sinks (sink3-sink7) use SW Encoder type
  2. The application doesn’t crash if only HW encoding is used (for sink0-sink2). However, all other sinks are disabled in this case (due to above reason)
  3. We are using multiple parallel RTSP output streams (instead of single tiled output)

The detailed configuration and related issue of the RTSP output stream performance is being discussed here:
https://forums.developer.nvidia.com/t/deepstream-app-buffer-caching-observed-when-using-yolov3-with-multiple-rtsp-output-streams/140298/9

However, these two are likely to be independent and hence this issue is being explored separately.

Looking forward to inputs on this.
Thanks.