Tested on GPUs : Geforce 2070 and Qudro 6000
root@user:/opt/nvidia/deepstream/deepstream-5.1/sources/deepstream_python_apps/apps/deepstream-test3# python3 deepstream_test_3.py file:///opt/nvidia/deepstream/deepstream-5.1/samples/streams/sample_1080p_h264.mp4
Creating Pipeline
Creating streamux
Creating source_bin 0
Creating source bin
source-bin-00
Creating Pgie
Creating tiler
Creating nvvidconv
Creating nvosd
Creating EGLSink
Adding elements to Pipeline
Linking elements in the Pipeline
Now playing…
1 : file:///opt/nvidia/deepstream/deepstream-5.1/samples/streams/sample_1080p_h264.mp4
Starting pipeline
libEGL warning: MESA-LOADER: failed to retrieve device information
libEGL warning: DRI2: could not open /dev/dri/card0 (No such file or directory)
0:00:00.946746410 262 0x2588d60 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1702> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-5.1/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine
INFO: …/nvdsinfer/nvdsinfer_model_builder.cpp:685 [Implicit Engine Info]: layers num: 3
0 INPUT kFLOAT input_1 3x368x640
1 OUTPUT kFLOAT conv2d_bbox 16x23x40
2 OUTPUT kFLOAT conv2d_cov/Sigmoid 4x23x40
0:00:00.946794937 262 0x2588d60 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1806> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-5.1/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine
0:00:00.947422698 262 0x2588d60 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus: [UID 1]: Load new model:dstest3_pgie_config.txt sucessfully
Decodebin child added: source
Decodebin child added: decodebin0
Decodebin child added: qtdemux0
Decodebin child added: multiqueue0
Decodebin child added: h264parse0
Decodebin child added: capsfilter0
Decodebin child added: aacparse0
Decodebin child added: avdec_aac0
Decodebin child added: nvv4l2decoder0
In cb_newpad
gstname= video/x-raw
features= <Gst.CapsFeatures object at 0x7feac00321c8 (GstCapsFeatures at 0x7fe970028c40)>
In cb_newpad
gstname= audio/x-raw
Frame Number= 0 Number of Objects= 6 Vehicle_count= 4 Person_count= 2
Frame Number= 1 Number of Objects= 5 Vehicle_count= 3 Person_count= 2
Frame Number= 2 Number of Objects= 5 Vehicle_count= 3 Person_count= 2
Frame Number= 3 Number of Objects= 6 Vehicle_count= 4 Person_count= 2
cuGraphicsGLRegisterBuffer failed with error(219) gst_eglglessink_cuda_init texture = 1
Frame Number= 4 Number of Objects= 7 Vehicle_count= 4 Person_count= 3
Frame Number= 5 Number of Objects= 6 Vehicle_count= 4 Person_count= 2
Frame Number= 6 Number of Objects= 5 Vehicle_count= 3 Person_count= 2
0:00:01.150442965 262 0x240bf70 WARN nvinfer gstnvinfer.cpp:1984:gst_nvinfer_output_loop: error: Internal data stream error.
0:00:01.150452689 262 0x240bf70 WARN nvinfer gstnvinfer.cpp:1984:gst_nvinfer_output_loop: error: streaming stopped, reason not-negotiated (-4)
Error: gst-stream-error-quark: Internal data stream error. (1): gstnvinfer.cpp(1984): gst_nvinfer_output_loop (): /GstPipeline:pipeline0/GstNvInfer:primary-inference:
streaming stopped, reason not-negotiated (-4)
Exiting app
Frame Number= 7 Number of Objects= 4 Vehicle_count= 2 Person_count= 2
Frame Number= 8 Number of Objects= 5 Vehicle_count= 3 Person_count= 2
Frame Number= 9 Number of Objects= 6 Vehicle_count= 4 Person_count= 2
@bgiddwani here is output with export GST_DEBUG=3
Creating Pipeline
Creating streamux
Creating source_bin 0
Creating source bin
source-bin-00
Creating Pgie
Creating tiler
Creating nvvidconv
Creating nvosd
Creating EGLSink
Adding elements to Pipeline
Linking elements in the Pipeline
Now playing…
1 : file:///opt/nvidia/deepstream/deepstream-5.1/samples/streams/sample_1080p_h264.mp4
Starting pipeline
libEGL warning: MESA-LOADER: failed to retrieve device information
libEGL warning: DRI2: could not open /dev/dri/card0 (No such file or directory)
0:00:02.602156930 7739 0x20d24d0 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1702> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-5.1/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine
INFO: …/nvdsinfer/nvdsinfer_model_builder.cpp:685 [Implicit Engine Info]: layers num: 3
0 INPUT kFLOAT input_1 3x368x640
1 OUTPUT kFLOAT conv2d_bbox 16x23x40
2 OUTPUT kFLOAT conv2d_cov/Sigmoid 4x23x40
0:00:02.602247187 7739 0x20d24d0 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1806> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-5.1/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine
0:00:02.602921311 7739 0x20d24d0 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus: [UID 1]: Load new model:dstest3_pgie_config.txt sucessfully
0:00:02.603512668 7739 0x20d24d0 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet
Decodebin child added: source
Decodebin child added: decodebin0
0:00:02.604430468 7739 0x20d24d0 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet
Decodebin child added: qtdemux0
0:00:02.607493960 7739 0x7faf00072370 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:02.607573229 7739 0x7faf00072370 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex: failed to find fragment defaults for stream 2
Decodebin child added: multiqueue0
Decodebin child added: h264parse0
Decodebin child added: capsfilter0
Decodebin child added: aacparse0
Decodebin child added: avdec_aac0
Decodebin child added: nvv4l2decoder0
0:00:02.639031776 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:3038:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.639041258 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:2924:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat MJPG
0:00:02.639045124 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:3038:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.639048212 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:2930:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat MJPG
0:00:02.639057256 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:3038:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.639061712 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:2924:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat MPG4
0:00:02.639064418 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:3038:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.639067285 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:2930:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat MPG4
0:00:02.639073213 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:3038:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.639076988 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:2924:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat MPG2
0:00:02.639079528 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:3038:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.639084019 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:2930:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat MPG2
0:00:02.639090809 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:3038:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.639094391 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:2924:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat H265
0:00:02.639097065 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:3038:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.639099846 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:2930:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat H265
0:00:02.639105007 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:3038:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.639107697 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:2924:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat VP90
0:00:02.639110221 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:3038:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.639112945 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:2930:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat VP90
0:00:02.639118504 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:3038:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.639123063 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:2924:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat VP80
0:00:02.639127230 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:3038:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.639130071 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:2930:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat VP80
0:00:02.639136046 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:3038:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.639138913 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:2924:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat H264
0:00:02.639141502 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:3038:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.639149073 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:2930:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat H264
0:00:02.639485330 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:3038:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:src Unable to try format: Unknown error -1
0:00:02.639491802 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:2924:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:src Could not probe minimum capture size for pixelformat NM12
0:00:02.639495595 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:3038:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:src Unable to try format: Unknown error -1
0:00:02.639499373 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:2930:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:src Could not probe maximum capture size for pixelformat NM12
0:00:02.639504397 7739 0x7faf04014400 WARN v4l2 gstv4l2object.c:2375:gst_v4l2_object_add_interlace_mode:0x7faef8025390 Failed to determine interlace mode
0:00:02.743202273 7739 0x7faf04014400 ERROR v4l2 gstv4l2object.c:2077:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries
There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks