I am working with Nvidia Deepstream in docker and I have a problem with visualizing output.
Problem similar to: [BUG] Deepstream-6.2 deepstream_test_3.py does not work on some GPUs with visualization (Internal data stream error)
• Hardware Platform (Jetson / GPU)
• Reproduction
Run deepstream container (and let it opening windows)
xhost +local:
docker container run --rm --net host --runtime=nvidia --gpus=1 -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -it nvcr.io/nvidia/deepstream:6.2-devel bash
Copy deepstream examples and compile deps
apt update
apt install -y apt-transport-https ca-certificates \
python3-gi python3-dev python3-gst-1.0 python-gi-dev git python-dev \
python3 python3-pip python3.8-dev cmake g++ build-essential libglib2.0-dev \
libglib2.0-dev-bin libgstreamer1.0-dev libtool m4 autoconf automake libgirepository1.0-dev libcairo2-dev
update-ca-certificates
cd /opt/nvidia/deepstream/deepstream/sources && \
git clone https://github.com/NVIDIA-AI-IOT/deepstream_python_apps --branch v1.1.6 --depth 1 && \
cd deepstream_python_apps && \
git submodule update --init && \
cd 3rdparty/gst-python/ && \
./autogen.sh && \
make -j$(nproc) && \
make install && \
cd /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings && \
mkdir build && \
cd build && \
cmake .. && \
make -j$(nproc) && \
pip3 install ./pyds-*.whl
Run example app
cd /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/apps/deepstream-test3
GST_DEBUG=3 ./deepstream_test_3.py -i file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4
Results
pipeline breaks (window quickly appears and disappears) :
{'input': ['file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4'], 'configfile': None, 'pgie': None, 'no_display': False, 'file_loop': False, 'disable_probe': False, 'silent': False}
0:00:00.028639786 9553 0x562344424ca0 WARN default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x120000: 'AVR (Audio Visual Research)' is not mapped
0:00:00.028659127 9553 0x562344424ca0 WARN default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x180000: 'CAF (Apple Core Audio File)' is not mapped
0:00:00.028664057 9553 0x562344424ca0 WARN default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x100000: 'HTK (HMM Tool Kit)' is not mapped
0:00:00.028669075 9553 0x562344424ca0 WARN default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xc0000: 'MAT4 (GNU Octave 2.0 / Matlab 4.2)' is not mapped
0:00:00.028673283 9553 0x562344424ca0 WARN default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xd0000: 'MAT5 (GNU Octave 2.1 / Matlab 5.0)' is not mapped
0:00:00.028677136 9553 0x562344424ca0 WARN default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x210000: 'MPC (Akai MPC 2k)' is not mapped
0:00:00.028681635 9553 0x562344424ca0 WARN default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xe0000: 'PVF (Portable Voice Format)' is not mapped
0:00:00.028685798 9553 0x562344424ca0 WARN default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x160000: 'SD2 (Sound Designer II)' is not mapped
0:00:00.028690781 9553 0x562344424ca0 WARN default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x190000: 'WVE (Psion Series 3)' is not mapped
0:00:00.030594032 9553 0x562344424ca0 WARN GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libmpg123.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:9553): GStreamer-WARNING **: 17:29:20.379: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstopenmpt.so': libmpg123.so.0: cannot open shared object file: No such file or directory
0:00:00.049270153 9553 0x562344424ca0 WARN GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libmpeg2encpp-2.1.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:9553): GStreamer-WARNING **: 17:29:20.398: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpeg2enc.so': libmpeg2encpp-2.1.so.0: cannot open shared object file: No such file or directory
0:00:00.074010168 9553 0x562344424ca0 WARN GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libmpg123.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:9553): GStreamer-WARNING **: 17:29:20.423: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpg123.so': libmpg123.so.0: cannot open shared object file: No such file or directory
0:00:00.112613250 9553 0x562344424ca0 WARN GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libmpeg2.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:9553): GStreamer-WARNING **: 17:29:20.461: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpeg2dec.so': libmpeg2.so.0: cannot open shared object file: No such file or directory
0:00:00.118316343 9553 0x562344424ca0 WARN ladspa gstladspa.c:507:plugin_init:<plugin162> no LADSPA plugins found, check LADSPA_PATH
0:00:00.149955900 9553 0x562344424ca0 WARN GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libavcodec.so.58: cannot open shared object file: No such file or directory
(gst-plugin-scanner:9553): GStreamer-WARNING **: 17:29:20.499: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstchromaprint.so': libavcodec.so.58: cannot open shared object file: No such file or directory
0:00:02.767329684 9553 0x562344424ca0 WARN GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libtritonserver.so: cannot open shared object file: No such file or directory
(gst-plugin-scanner:9553): GStreamer-WARNING **: 17:29:23.116: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libtritonserver.so: cannot open shared object file: No such file or directory
0:00:02.817694843 9553 0x562344424ca0 WARN GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: librivermax.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:9553): GStreamer-WARNING **: 17:29:23.166: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory
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...
0 : file:///opt/nvidia/deepstream/deepstream/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)
WARNING: ../nvdsinfer/nvdsinfer_model_builder.cpp:1487 Deserialize engine failed because file path: /opt/nvidia/deepstream/deepstream-6.2/sources/deepstream_python_apps/apps/deepstream-test3/../../../../samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine open error
0:00:05.412718635 9552 0x3cfdb60 WARN nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1897> [UID = 1]: deserialize engine from file :/opt/nvidia/deepstream/deepstream-6.2/sources/deepstream_python_apps/apps/deepstream-test3/../../../../samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine failed
0:00:05.441539388 9552 0x3cfdb60 WARN nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2002> [UID = 1]: deserialize backend context from engine from file :/opt/nvidia/deepstream/deepstream-6.2/sources/deepstream_python_apps/apps/deepstream-test3/../../../../samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine failed, try rebuild
0:00:05.442075528 9552 0x3cfdb60 INFO nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1923> [UID = 1]: Trying to create engine from model files
WARNING: [TRT]: The implicit batch dimension mode has been deprecated. Please create the network with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag whenever possible.
0:00:29.685935474 9552 0x3cfdb60 INFO nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1955> [UID = 1]: serialize cuda engine to file: /opt/nvidia/deepstream/deepstream-6.2/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine successfully
INFO: ../nvdsinfer/nvdsinfer_model_builder.cpp:610 [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:29.717956609 9552 0x3cfdb60 INFO nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<primary-inference> [UID 1]: Load new model:dstest3_pgie_config.txt sucessfully
0:00:29.718543894 9552 0x3cfdb60 WARN basesrc gstbasesrc.c:3600:gst_base_src_start_complete:<source> pad not activated yet
Decodebin child added: source
Decodebin child added: decodebin0
0:00:29.719255743 9552 0x3cfdb60 WARN basesrc gstbasesrc.c:3600:gst_base_src_start_complete:<source> pad not activated yet
**PERF: {'stream0': 0.0}
Decodebin child added: qtdemux0
0:00:29.723337711 9552 0x7ff1f00420c0 WARN qtdemux qtdemux.c:3250:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults for stream 1
0:00:29.723390541 9552 0x7ff1f00420c0 WARN qtdemux qtdemux.c:3250:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults for stream 2
Decodebin child added: multiqueue0
Decodebin child added: h264parse0
Decodebin child added: capsfilter0
0:00:29.724944548 9552 0x7ff1f00420c0 WARN uridecodebin gsturidecodebin.c:920:unknown_type_cb:<uri-decode-bin> warning: No decoder available for type 'audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)119056e500, rate=(int)48000, channels=(int)2'.
Warning: gst-stream-error-quark: No decoder available for type 'audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)119056e500, rate=(int)48000, channels=(int)2'. (6): gsturidecodebin.c(920): unknown_type_cb (): /GstPipeline:pipeline0/GstBin:source-bin-00/GstURIDecodeBin:uri-decode-bin
Decodebin child added: nvv4l2decoder0
0:00:29.729133141 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729141100 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe minimum capture size for pixelformat MJPG
0:00:29.729145052 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729149576 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe maximum capture size for pixelformat MJPG
0:00:29.729158251 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729163960 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe minimum capture size for pixelformat AV10
0:00:29.729168298 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729171527 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe maximum capture size for pixelformat AV10
0:00:29.729210216 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729216209 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe minimum capture size for pixelformat DVX5
0:00:29.729223234 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729226699 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe maximum capture size for pixelformat DVX5
0:00:29.729234098 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729239921 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe minimum capture size for pixelformat DVX4
0:00:29.729244162 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729247558 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe maximum capture size for pixelformat DVX4
0:00:29.729270324 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729273870 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe minimum capture size for pixelformat MPG4
0:00:29.729298040 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729301383 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe maximum capture size for pixelformat MPG4
0:00:29.729311105 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729315263 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe minimum capture size for pixelformat MPG2
0:00:29.729318629 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729321863 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe maximum capture size for pixelformat MPG2
0:00:29.729328752 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729332523 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe minimum capture size for pixelformat H265
0:00:29.729335636 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729339055 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe maximum capture size for pixelformat H265
0:00:29.729344877 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729364058 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe minimum capture size for pixelformat VP90
0:00:29.729366979 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729370380 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe maximum capture size for pixelformat VP90
0:00:29.729398294 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729403444 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe minimum capture size for pixelformat VP80
0:00:29.729409502 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729414808 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe maximum capture size for pixelformat VP80
0:00:29.729426242 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729431935 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe minimum capture size for pixelformat H264
0:00:29.729436836 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:sink> Unable to try format: Unknown error -1
0:00:29.729443330 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:sink> Could not probe maximum capture size for pixelformat H264
0:00:29.729696323 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:src> Unable to try format: Unknown error -1
0:00:29.729703002 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:src> Could not probe minimum capture size for pixelformat NM12
0:00:29.729706582 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2decoder0:src> Unable to try format: Unknown error -1
0:00:29.729710207 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2decoder0:src> Could not probe maximum capture size for pixelformat NM12
0:00:29.729715165 9552 0x7ff1f00429e0 WARN v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0x7ff1e8024450 Failed to determine interlace mode
In cb_newpad
gstname= video/x-raw
features= <Gst.CapsFeatures object at 0x7ff2f26324c0 (GstCapsFeatures at 0x2e36020)>
0:00:29.834787471 9552 0x7ff1f00429e0 WARN v4l2videodec gstv4l2videodec.c:1836:gst_v4l2_video_dec_decide_allocation:<nvv4l2decoder0> Duration invalid, not setting latency
0:00:29.834816682 9552 0x7ff1f00429e0 WARN v4l2bufferpool gstv4l2bufferpool.c:1082:gst_v4l2_buffer_pool_start:<nvv4l2decoder0:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:29.875821830 9552 0x7ff1e8032060 WARN v4l2bufferpool gstv4l2bufferpool.c:1533:gst_v4l2_buffer_pool_dqbuf:<nvv4l2decoder0:pool:src> Driver should never set v4l2_buffer.field to ANY
Frame Number= 0 Number of Objects= 14 Vehicle_count= 8 Person_count= 6
Frame Number= 1 Number of Objects= 12 Vehicle_count= 7 Person_count= 5
Frame Number= 2 Number of Objects= 13 Vehicle_count= 7 Person_count= 6
Frame Number= 3 Number of Objects= 11 Vehicle_count= 6 Person_count= 5
cuGraphicsGLRegisterBuffer failed with error(219) gst_eglglessink_cuda_init texture = 1
0:00:29.948920478 9552 0x30061e0 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2922:gst_eglglessink_configure_caps:<nvvideo-renderer> Cuda Init failed
0:00:29.948929488 9552 0x30061e0 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2933:gst_eglglessink_configure_caps:<nvvideo-renderer> Configuring caps failed
0:00:29.948955823 9552 0x3006240 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2978:gst_eglglessink_setcaps:<nvvideo-renderer> Failed to configure caps
0:00:29.948996473 9552 0x3006240 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2978:gst_eglglessink_setcaps:<nvvideo-renderer> Failed to configure caps
0:00:29.949003194 9552 0x3006240 WARN GST_PADS gstpad.c:4231:gst_pad_peer_query:<queue5:src> could not send sticky events
0:00:29.949854493 9552 0x3006240 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2978:gst_eglglessink_setcaps:<nvvideo-renderer> Failed to configure caps
0:00:29.949867368 9552 0x3006240 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2978:gst_eglglessink_setcaps:<nvvideo-renderer> Failed to configure caps
0:00:29.949876567 9552 0x3006240 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2978:gst_eglglessink_setcaps:<nvvideo-renderer> Failed to configure caps
0:00:29.949886781 9552 0x3006240 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2978:gst_eglglessink_setcaps:<nvvideo-renderer> Failed to configure caps
0:00:29.949895380 9552 0x3006240 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2978:gst_eglglessink_setcaps:<nvvideo-renderer> Failed to configure caps
0:00:29.949903870 9552 0x3006240 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2978:gst_eglglessink_setcaps:<nvvideo-renderer> Failed to configure caps
0:00:29.949912231 9552 0x3006240 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2978:gst_eglglessink_setcaps:<nvvideo-renderer> Failed to configure caps
0:00:29.949921394 9552 0x3006240 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2978:gst_eglglessink_setcaps:<nvvideo-renderer> Failed to configure caps
0:00:29.949929684 9552 0x3006240 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2978:gst_eglglessink_setcaps:<nvvideo-renderer> Failed to configure caps
0:00:29.949949857 9552 0x3006240 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2978:gst_eglglessink_setcaps:<nvvideo-renderer> Failed to configure caps
Frame Number= 4 Number of Objects= 14 Vehicle_count= 7 Person_count= 7
Frame Number= 5 Number of Objects= 14 Vehicle_count= 8 Person_count= 6
Frame Number= 6 Number of Objects= 10 Vehicle_count= 6 Person_count= 4
Frame Number= 7 Number of Objects= 11 Vehicle_count= 7 Person_count= 4
Frame Number= 8 Number of Objects= 11 Vehicle_count= 6 Person_count= 5
Frame Number= 9 Number of Objects= 10 Vehicle_count= 6 Person_count= 4
Frame Number= 10 Number of Objects= 11 Vehicle_count= 6 Person_count= 5
Frame Number= 11 Number of Objects= 14 Vehicle_count= 8 Person_count= 6
0:00:29.969375231 9552 0x3006240 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2978:gst_eglglessink_setcaps:<nvvideo-renderer> Failed to configure caps
Frame Number= 12 Number of Objects= 9 Vehicle_count= 6 Person_count= 3
0:00:29.972666871 9552 0x3c88000 WARN nvinfer gstnvinfer.cpp:2369:gst_nvinfer_output_loop:<primary-inference> error: Internal data stream error.
0:00:29.972673611 9552 0x3c88000 WARN nvinfer gstnvinfer.cpp:2369:gst_nvinfer_output_loop:<primary-inference> error: streaming stopped, reason not-negotiated (-4)
Error: gst-stream-error-quark: Internal data stream error. (1): gstnvinfer.cpp(2369): gst_nvinfer_output_loop (): /GstPipeline:pipeline0/GstNvInfer:primary-inference:
streaming stopped, reason not-negotiated (-4)
Exiting app
Frame Number= 13 Number of Objects= 10 Vehicle_count= 7 Person_count= 3
0:00:29.974053579 9552 0x7ff1f00420c0 WARN qtdemux qtdemux.c:6619:gst_qtdemux_loop:<qtdemux0> error: Internal data stream error.
0:00:29.974065028 9552 0x7ff1f00420c0 WARN qtdemux qtdemux.c:6619:gst_qtdemux_loop:<qtdemux0> error: streaming stopped, reason not-negotiated (-4)
Frame Number= 14 Number of Objects= 12 Vehicle_count= 8 Person_count= 4
But when I launch this example with flag --no-display
everything works.
I tried to switch modes in nvidia seetings:
but its not helping
how can I make it work with displaying vizualizations?