Error when running deepstream-app

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU) **
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I am working on Jetson Nano with folllowing versions:

I am following the this tutorials https://github.com/marcoslucianops/DeepStream-Yolo to deploy yolov5 object detection model using Deepstream SDK with version DeepStream 6.0.1 / 6.0, getting many errors and warnings.

after running

rm ${HOME}/.cache/gstreamer-1.0/registry.aarch64.bin
export GST_DEBUG=3

this is the out put log when doing


grt@grt:~/DeepStream-Yolo$ deepstream-app -c /home/grt/DeepStream-Yolo/deepstream_app_config.txt
0:00:00.052447163 10190     0x408df8c0 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:456:gst_element_factory_make: no such element factory "nvstreammux"!
** ERROR: <create_multi_source_bin:1423>: Failed to create element 'src_bin_muxer'
** ERROR: <create_multi_source_bin:1516>: create_multi_source_bin failed
** ERROR: <create_pipeline:1323>: create_pipeline failed
** ERROR: <main:639>: Failed to create pipeline
Quitting
App run failed
grt@grt:~/DeepStream-Yolo$ rm ${HOME}/.cache/gstreamer-1.0/registry.aarch64.bin
grt@grt:~/DeepStream-Yolo$ deepstream-app -c /home/grt/DeepStream-Yolo/deepstream_app_config.txt
0:00:00.045462152 10205   0x559719d600 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x120000: 'AVR (Audio Visual Research)' is not mapped
0:00:00.045527773 10205   0x559719d600 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x180000: 'CAF (Apple Core Audio File)' is not mapped
0:00:00.045547095 10205   0x559719d600 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x100000: 'HTK (HMM Tool Kit)' is not mapped
0:00:00.045573916 10205   0x559719d600 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0xc0000: 'MAT4 (GNU Octave 2.0 / Matlab 4.2)' is not mapped
0:00:00.045607508 10205   0x559719d600 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0xd0000: 'MAT5 (GNU Octave 2.1 / Matlab 5.0)' is not mapped
0:00:00.045629903 10205   0x559719d600 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x210000: 'MPC (Akai MPC 2k)' is not mapped
0:00:00.045650995 10205   0x559719d600 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0xe0000: 'PVF (Portable Voice Format)' is not mapped
0:00:00.045675525 10205   0x559719d600 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x160000: 'SD2 (Sound Designer II)' is not mapped
0:00:00.045705055 10205   0x559719d600 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x190000: 'WVE (Psion Series 3)' is not mapped
nvbuf_utils: Could not get EGL display connection
0:00:00.097981402 10205   0x559719d600 WARN                     omx gstomx.c:2826:plugin_init: Failed to load configuration file: Valid key file could not be found in search dirs (searched in: /home/grt/.config:/etc/xdg as per GST_OMX_CONFIG_DIR environment variable, the xdg user config directory (or XDG_CONFIG_HOME) and the system config directory (or XDG_CONFIG_DIRS)
0:00:00.377994214 10205   0x559719d600 WARN                  ladspa gstladspa.c:507:plugin_init:<plugin95> no LADSPA plugins found, check LADSPA_PATH
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
0:00:01.090285113 10204     0x3c45a630 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_preprocess.so failed to load. Blacklisting
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
0:00:01.188304942 10204     0x3c45a630 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideoconvert.so failed to load. Blacklisting
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
0:00:01.284160102 10204     0x3c45a630 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_tracker.so failed to load. Blacklisting
0:00:00.014023679 10214   0x558ae64f60 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:10214): GStreamer-WARNING **: 10:19:17.390: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
0:00:01.379814388 10204     0x3c45a630 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dsexample.so failed to load. Blacklisting
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
0:00:01.476970828 10204     0x3c45a630 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dewarper.so failed to load. Blacklisting
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
0:00:01.746798674 10204     0x3c45a630 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so failed to load. Blacklisting
0:00:00.003913943 10220   0x55881a9290 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:10220): GStreamer-WARNING **: 10:19:17.842: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libtritonserver.so: cannot open shared object file: No such file or directory
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
0:00:03.435452211 10204     0x3c45a630 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so failed to load. Blacklisting
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
0:00:03.526283995 10204     0x3c45a630 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistreamtiler.so failed to load. Blacklisting
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
0:00:03.605981728 10204     0x3c45a630 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libcustom2d_preprocess.so failed to load. Blacklisting
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
0:00:03.705157098 10204     0x3c45a630 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so failed to load. Blacklisting
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
0:00:04.048709727 10204     0x3c45a630 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_deepstream_bins.so failed to load. Blacklisting
nvbuf_utils: Could not get EGL display connection
0:00:05.297854285 10204     0x3c45a630 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:456:gst_element_factory_make: no such element factory "nvstreammux"!
** ERROR: <create_multi_source_bin:1423>: Failed to create element 'src_bin_muxer'
** ERROR: <create_multi_source_bin:1516>: create_multi_source_bin failed
** ERROR: <create_pipeline:1323>: create_pipeline failed
** ERROR: <main:639>: Failed to create pipeline
Quitting
App run failed
grt@grt:~/DeepStream-Yolo$

please help me to figure out this, stuck with this

Do you have a monitor connected?
If you choose sink type =2 (EGL) you will need connect a monitor on the Nano to get EGL initialized.

jetson nano device is not connected to monitor, I am viewing desktop through RDP on my windows laptop

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

1.Your env have some problems cause no such element factory "nvstreammux"!.
2.If you don’t have display env, you can set the sink type to fakesink.
We suggest you refer to the link below to install component step by step.
https://docs.nvidia.com/metropolis/deepstream/6.0.1/dev-guide/text/DS_Quickstart.html#install-jetson-sdk-components

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.