Please provide complete information as applicable to your setup.
• Hardware Platform (RTX 2080 Ti)
• DeepStream Version 5.0
• TensorRT Version 7
**• Driver Version: 450.36.06 CUDA Version: 11.0 **
While running deepstream-app with:
- 4 RTSP Stream sources
- 4 RTSP Stream sinks (3 Hardware Encoded + 1 Software Encoded, with sink3 synch=1)
- YOLOV3 FP16 Mode (from objectDetector_Yolo sample)
- Batch Size of 4 for PGIE, Batch Size of 16 for Secondary PGIEs
- Secondary inference with Car Make, Car Type, Car Color and Face Detection provided in the sample
Application crashes with different sets of errors:
**PERF: 30.04 (30.02) 30.04 (30.02) 30.04 (30.02) 30.04 (30.02)
**PERF: 29.94 (30.02) 29.94 (30.02) 29.94 (30.02) 29.94 (30.02)
nvbufsurface: NvBufSurfaceSysToHWCopy: failed in mem copy
nvbufsurface: NvBufSurfaceCopy: failed to copy
ERROR: …/nvdsinfer/nvdsinfer_func_utils.cpp:31 [TRT]: …/rtSafe/cuda/cudaSoftMaxRunner.cpp (111) - Cudnn Error in execute: 8 (CUDNN_STATUS_EXECUTION_FAILED)
nvbufsurface: NvBufSurfaceSysToHWCopy: failed in mem copy
ERROR: nvdsinfer_context_impl.cpp:1420 postprocessing cuda waiting event failed , cuda err_no:719, err_str:cudaErrorLaunchFailure
nvbufsurface: NvBufSurfaceCopy: failed to copy
ERROR in BufSurfacecopy
Cuda failure: status=719 in CreateTextureObj at line 2513
nvbufsurftransform.cpp(2369) : getLastCudaError() CUDA error : Recevied NvBufSurfTransformError_Execution_Error : (719) unspecified launch failure.
1:16:21.839067449 17459 0x5651706964f0 WARN nvinfer gstnvinfer.cpp:1188:gst_nvinfer_input_queue_loop:<secondary_gie_2> error: Failed to queue input batch for inferencing
ERROR: …/nvdsinfer/nvdsinfer_func_utils.cpp:31 [TRT]: FAILED_EXECUTION: std::exception
ERROR: nvdsinfer_backend.cpp:290 Failed to enqueue inference batch
ERROR: nvdsinfer_context_impl.cpp:1408 Infer context enqueue buffer failed, nvinfer error:NVDSINFER_TENSORRT_ERROR
ERROR from sink_sub_bin_encoder3: Failed to process frame.
Debug info: gstv4l2videoenc.c(1220): gst_v4l2_video_enc_handle_frame (): /GstPipeline:pipeline/GstBin:processing_bin_2/GstBin:sink_bin/GstBin:sink_sub_bin3/nvv4l2h264enc:sink_sub_bin_encoder3:
Maybe be due to not enough memory or failing driver
1:16:21.839169040 17459 0x5651706965e0 WARN nvinfer gstnvinfer.cpp:1188:gst_nvinfer_input_queue_loop:<secondary_gie_1> error: Failed to queue input batch for inferencing
ERROR from secondary_gie_2: Failed to queue input batch for inferencing
Debug info: gstnvinfer.cpp(1188): gst_nvinfer_input_queue_loop (): /GstPipeline:pipeline/GstBin:secondary_gie_bin/GstNvInfer:secondary_gie_2
ERROR from secondary_gie_1: Failed to queue input batch for inferencing
Debug info: gstnvinfer.cpp(1188): gst_nvinfer_input_queue_loop (): /GstPipeline:pipeline/GstBin:secondary_gie_bin/GstNvInfer:secondary_gie_1
Quitting
GDestroying pipelineERROR from sink_sub_bin_queue3: Internal data stream error.
Debug info: gstqueue.c(988): gst_queue_handle_sink_event (): /GstPipeline:pipeline/GstBin:processing_bin_2/GstBin:sink_bin/GstBin:sink_sub_bin3/GstQueue:sink_sub_bin_queue3:
streaming stopped, reason error (-5)
Cuda failure: status=46 in CreateTextureObj at line 2513
nvbufsurftransform.cpp(2369) : getLastCudaError() CUDA error : Recevied NvBufSurfTransformError_Execution_Error : (46) all CUDA-capable devices are busy or unavailable.
Cuda failure: status=46 in CreateTextureObj at line 2496
nvbufsurftransform.cpp(2369) : getLastCudaError() CUDA error : Recevied NvBufSurfTransformError_Execution_Error : (46) all CUDA-capable devices are busy or unavailable.
Segmentation fault (core dumped)
Another instance:
**PERF: FPS 0 (Avg) FPS 1 (Avg) FPS 2 (Avg) FPS 3 (Avg)
**PERF: 30.04 (30.02) 30.04 (30.02) 30.04 (30.02) 30.04 (30.02)
**PERF: 29.72 (30.02) 29.72 (30.02) 29.72 (30.02) 29.72 (30.02)
**PERF: 30.09 (30.02) 30.09 (30.02) 30.09 (30.02) 30.09 (30.02)
nvbufsurface: NvBufSurfaceSysToHWCopy: failed in mem copy
nvbufsurface: NvBufSurfaceCopy: failed to copy
nvbufsurface: NvBufSurfaceSysToHWCopy: failed in mem copy
nvbufsurface: NvBufSurfaceCopy: failed to copy
ERROR in BufSurfacecopy
nvbufsurface: NvBufSurfaceSysToHWCopy: failed in mem copy
nvbufsurface: NvBufSurfaceCopy: failed to copy
ERROR in BufSurfacecopy
ERROR from sink_sub_bin_encoder2: Failed to process frame.
Debug info: gstv4l2videoenc.c(1220): gst_v4l2_video_enc_handle_frame (): /GstPipeline:pipeline/GstBin:processing_bin_1/GstBin:sink_bin/GstBin:sink_sub_bin2/nvv4l2h264enc:sink_sub_bin_encoder2:
Maybe be due to not enough memory or failing driver
ERROR from sink_sub_bin_encoder1: Failed to process frame.
Debug info: gstv4l2videoenc.c(1220): gst_v4l2_video_enc_handle_frame (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/nvv4l2h264enc:sink_sub_bin_encoder1:
Maybe be due to not enough memory or failing driver
Could not allocate cuda host bufferCould not allocate cuda host bufferSegmentation fault (core dumped)
Any idea what would be causing this?