• Hardware Platform: Jetson Orin Nano
• DeepStream Version: 7.1
• JetPack Version: 6.2
• TensorRT Version: TensorRT v100300
• NVIDIA GPU Driver Version (valid for GPU only): 540.4.0
• Issue Type: ( questions, new requirements, bugs)
I added uridecodebin to the pipline to support the .mp4 input file in /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/apps/deepstream-test1-rtsp-out/deepstream_test1_rtsp_out.py and ran it and it worked, but after a while I get this error:
python custom_scripts/deepstram_rtsp.py -i test-vids/Full-second-half.mp4
...
Frame Number=4936 Number of Objects=3 Vehicle_count=1 Person_count=2
Frame Number=4937 Number of Objects=3 Vehicle_count=2 Person_count=1
Frame Number=4938 Number of Objects=2 Vehicle_count=1 Person_count=1
Frame Number=4939 Number of Objects=3 Vehicle_count=2 Person_count=1
Frame Number=4940 Number of Objects=3 Vehicle_count=1 Person_count=2
Frame Number=4941 Number of Objects=3 Vehicle_count=1 Person_count=2
Frame Number=4942 Number of Objects=3 Vehicle_count=1 Person_count=2
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform_copy.cpp:438: => Failed in mem copy
ERROR: Failed to synchronize on cuda copy-coplete-event, cuda err_no:700, err_str:cudaErrorIllegalAddress
0:02:50.000062138 1226777 0xaaaacf356b60 WARN nvinfer gstnvinfer.cpp:2461:gst_nvinfer_output_loop:<primary-inference> error: Failed to dequeue output from inferencing. NvDsInferContext error: NVDSINFER_CUDA_ERROR
Error: gst-stream-error-quark: Failed to dequeue output from inferencing. NvDsInferContext error: NVDSINFER_CUDA_ERROR (1): /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(2461): gst_nvinfer_output_loop (): /GstPipeline:pipeline0/GstNvInfer:primary-inference
0:02:50.002739577 1226777 0xaaaacf356b60 WARN nvinfer gstnvinfer.cpp:681:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::releaseBatchOutput() <nvdsinfer_context_impl.cpp:1990> [UID = 1]: Tried to release an outputBatchID which is already with the context
Frame Number=4943 Number of Objects=0 Vehicle_count=0 Person_count=0
libnvosd (1386):(ERROR) : cuGraphicsEGLRegisterImage failed : 700
0:02:50.004628411 1226777 0xaaaacf356b60 WARN nvinfer gstnvinfer.cpp:2423:gst_nvinfer_output_loop:<primary-inference> error: Internal data stream error.
0:02:50.004764672 1226777 0xaaaacf356b60 WARN nvinfer gstnvinfer.cpp:2423:gst_nvinfer_output_loop:<primary-inference> error: streaming stopped, reason error (-5)
ERROR: Failed to synchronize on cuda copy-coplete-event, cuda err_no:700, err_str:cudaErrorIllegalAddress
0:02:50.005021289 1226777 0xaaaacf356b60 WARN nvinfer gstnvinfer.cpp:2461:gst_nvinfer_output_loop:<primary-inference> error: Failed to dequeue output from inferencing. NvDsInferContext error: NVDSINFER_CUDA_ERROR
0:02:50.005158190 1226777 0xaaaacf356b60 WARN nvinfer gstnvinfer.cpp:681:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::releaseBatchOutput() <nvdsinfer_context_impl.cpp:1990> [UID = 1]: Tried to release an outputBatchID which is already with the context
Frame Number=4944 Number of Objects=0 Vehicle_count=0 Person_count=0
libnvosd (1386):(ERROR) : cuGraphicsEGLRegisterImage failed : 700
ERROR: Failed to synchronize on cuda copy-coplete-event, cuda err_no:700, err_str:cudaErrorIllegalAddress
0:02:50.006478140 1226777 0xaaaacf356b60 WARN nvinfer gstnvinfer.cpp:2461:gst_nvinfer_output_loop:<primary-inference> error: Failed to dequeue output from inferencing. NvDsInferContext error: NVDSINFER_CUDA_ERROR
0:02:50.006616225 1226777 0xaaaacf356b60 WARN nvinfer gstnvinfer.cpp:681:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::releaseBatchOutput() <nvdsinfer_context_impl.cpp:1990> [UID = 1]: Tried to release an outputBatchID which is already with the context
Frame Number=4945 Number of Objects=0 Vehicle_count=0 Person_count=0
libnvosd (1386):(ERROR) : cuGraphicsEGLRegisterImage failed : 700
ERROR: Failed to make stream wait on event, cuda err_no:700, err_str:cudaErrorIllegalAddress
ERROR: Preprocessor transform input data failed., nvinfer error:NVDSINFER_CUDA_ERROR
0:02:50.010553100 1226777 0xaaaacf3cc400 WARN nvinfer gstnvinfer.cpp:1420:gst_nvinfer_input_queue_loop:<primary-inference> error: Failed to queue input batch for inferencing
ERROR: Failed to make stream wait on event, cuda err_no:700, err_str:cudaErrorIllegalAddress
ERROR: Preprocessor transform input data failed., nvinfer error:NVDSINFER_CUDA_ERROR
0:02:50.010757715 1226777 0xaaaacf3cc400 WARN nvinfer gstnvinfer.cpp:1420:gst_nvinfer_input_queue_loop:<primary-inference> error: Failed to queue input batch for inferencing
Frame Number=4946 Number of Objects=0 Vehicle_count=0 Person_count=0
libnvosd (1386):(ERROR) : cuGraphicsEGLRegisterImage failed : 700
Frame Number=4947 Number of Objects=0 Vehicle_count=0 Person_count=0
libnvosd (1386):(ERROR) : cuGraphicsEGLRegisterImage failed : 700
ERROR: Failed to make stream wait on event, cuda err_no:700, err_str:cudaErrorIllegalAddress
ERROR: Preprocessor transform input data failed., nvinfer error:NVDSINFER_CUDA_ERROR
0:02:50.014653084 1226777 0xaaaacf3cc400 WARN nvinfer gstnvinfer.cpp:1420:gst_nvinfer_input_queue_loop:<primary-inference> error: Failed to queue input batch for inferencing
Frame Number=4948 Number of Objects=0 Vehicle_count=0 Person_count=0
libnvosd (1386):(ERROR) : cuGraphicsEGLRegisterImage failed : 700
CUDA Runtime error cudaFreeHost(host_) # an illegal memory access was encountered, code = cudaErrorIllegalAddress [ 700 ] in file /dvs/git/dirty/git-master_linux/deepstream/sdk/src/utils/nvll_osd/memory.hpp:78
CUDA Runtime error cudaFree(device_) # an illegal memory access was encountered, code = cudaErrorIllegalAddress [ 700 ] in file /dvs/git/dirty/git-master_linux/deepstream/sdk/src/utils/nvll_osd/memory.hpp:79
CUDA Runtime error cudaFreeHost(host_) # an illegal memory access was encountered, code = cudaErrorIllegalAddress [ 700 ] in file /dvs/git/dirty/git-master_linux/deepstream/sdk/src/utils/nvll_osd/memory.hpp:78
CUDA Runtime error cudaFree(device_) # an illegal memory access was encountered, code = cudaErrorIllegalAddress [ 700 ] in file /dvs/git/dirty/git-master_linux/deepstream/sdk/src/utils/nvll_osd/memory.hpp:79
CUDA Runtime error cudaFreeHost(host_) # an illegal memory access was encountered, code = cudaErrorIllegalAddress [ 700 ] in file /dvs/git/dirty/git-master_linux/deepstream/sdk/src/utils/nvll_osd/memory.hpp:78
CUDA Runtime error cudaFree(device_) # an illegal memory access was encountered, code = cudaErrorIllegalAddress [ 700 ] in file /dvs/git/dirty/git-master_linux/deepstream/sdk/src/utils/nvll_osd/memory.hpp:79
CUDA Runtime error cudaFreeHost(host_) # an illegal memory access was encountered, code = cudaErrorIllegalAddress [ 700 ] in file /dvs/git/dirty/git-master_linux/deepstream/sdk/src/utils/nvll_osd/memory.hpp:78
CUDA Runtime error cudaFree(device_) # an illegal memory access was encountered, code = cudaErrorIllegalAddress [ 700 ] in file /dvs/git/dirty/git-master_linux/deepstream/sdk/src/utils/nvll_osd/memory.hpp:79
CUDA Runtime error cudaFreeHost(host_) # an illegal memory access was encountered, code = cudaErrorIllegalAddress [ 700 ] in file /dvs/git/dirty/git-master_linux/deepstream/sdk/src/utils/nvll_osd/memory.hpp:78
CUDA Runtime error cudaFree(device_) # an illegal memory access was encountered, code = cudaErrorIllegalAddress [ 700 ] in file /dvs/git/dirty/git-master_linux/deepstream/sdk/src/utils/nvll_osd/memory.hpp:79
CUDA Runtime error cudaFreeHost(host_) # an illegal memory access was encountered, code = cudaErrorIllegalAddress [ 700 ] in file /dvs/git/dirty/git-master_linux/deepstream/sdk/src/utils/nvll_osd/memory.hpp:78
CUDA Runtime error cudaFree(device_) # an illegal memory access was encountered, code = cudaErrorIllegalAddress [ 700 ] in file /dvs/git/dirty/git-master_linux/deepstream/sdk/src/utils/nvll_osd/memory.hpp:79
This error mainly occurs in videos longer than 30-40 seconds.
how can i fix it
