Can't run deepstream example Azure VM with Tesla V100, deepstream 6.0

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU): GPU Tesla V100
• DeepStream Version 6.0.0
• JetPack Version (valid for Jetson only)
• TensorRT Version: 8.0.3-1+cuda11.3
• NVIDIA GPU Driver Version (valid for GPU only): 470.182.03
• Issue Type( questions, new requirements, bugs): bug
• 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)
GST_DEBUG=3 deepstream-app -c source30_1080p_dec_preprocess_infer-resnet_tiled_display_int8.txt

I installed deepstream on a Azure virtual machine running Ubuntu 20.04 following the instruction found in NVIDIA DeepStream development with Microsoft Azure - Training | Microsoft Learn. I have to make some changes to match the Ubuntu distribution like changing some repositories.
The configuration I’m using is:
Ubuntu 20.04
Deepstream: 6.0.0
Nvidia driver: 470.182.03
Cuda:11.4
TensorRT: 8.0.3-1+cuda11.3
gstreamer: 1.0.0
ibssl1.1 (had o change from 1.0.0 because that version isn’t available for Ubuntu 20.04)

Before running deepstream I run:
rm -rf ~/.cache/gstreamer-1.0/

I tried to run the sample configuration file source30_1080p_dec_preprocess_infer-resnet_tiled_display_int8.txt with sink type 2 getting this error:

GST_DEBUG=3 deepstream-app -c source30_1080p_dec_preprocess_infer-resnet_tiled_display_int8.txt
0:00:00.011157008 2488780 0x563fa2a59ca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x120000: 'AVR (Audio Visual Research)' is not ma>
0:00:00.011188408 2488780 0x563fa2a59ca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x180000: 'CAF (Apple Core Audio File)' is not ma>
0:00:00.011197008 2488780 0x563fa2a59ca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x100000: 'HTK (HMM Tool Kit)' is not mapped
0:00:00.011204808 2488780 0x563fa2a59ca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xc0000: 'MAT4 (GNU Octave 2.0 / Matlab 4.2)' is >
0:00:00.011212307 2488780 0x563fa2a59ca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xd0000: 'MAT5 (GNU Octave 2.1 / Matlab 5.0)' is >
0:00:00.011219407 2488780 0x563fa2a59ca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x210000: 'MPC (Akai MPC 2k)' is not mapped
0:00:00.011224807 2488780 0x563fa2a59ca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xe0000: 'PVF (Portable Voice Format)' is not map>
0:00:00.011232307 2488780 0x563fa2a59ca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x160000: 'SD2 (Sound Designer II)' is not mapped
0:00:00.011241507 2488780 0x563fa2a59ca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x190000: 'WVE (Psion Series 3)' is not mapped
0:00:00.048033776 2488780 0x563fa2a59ca0 WARN                  ladspa gstladspa.c:507:plugin_init:<plugin41> no LADSPA plugins found, check LADSPA_PATH
0:00:00.422090061 2488780 0x563fa2a59ca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: librivermax.so.0: cannot >

(gst-plugin-scanner:2488780): GStreamer-WARNING **: 11:29:49.593: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.>
0:00:00.427128675 2488780 0x563fa2a59ca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libtritonserver.so: canno>

(gst-plugin-scanner:2488780): GStreamer-WARNING **: 11:29:49.598: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libt>
0:00:00.427550868 2488780 0x563fa2a59ca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libgstbadvideo-1.0.so.0: >

(gst-plugin-scanner:2488780): GStreamer-WARNING **: 11:29:49.599: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_nvblender.so': libgst>
0:00:00.677493681 2488780 0x563fa2a59ca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: librivermax.so.0: cannot >

(gst-plugin-scanner:2488780): GStreamer-WARNING **: 11:29:49.849: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.>
0:00:00.678762460 2488780 0x563fa2a59ca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libtritonserver.so: canno>

(gst-plugin-scanner:2488780): GStreamer-WARNING **: 11:29:49.850: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libt>
0:00:00.679324850 2488780 0x563fa2a59ca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libgstbadvideo-1.0.so.0: >

(gst-plugin-scanner:2488780): GStreamer-WARNING **: 11:29:49.851: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_nvblender.so': libgst>
0:00:00.693621405 2488780 0x563fa2a59ca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: librivermax.so.0: cannot >

(gst-plugin-scanner:2488780): GStreamer-WARNING **: 11:29:49.865: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.>
0:00:00.694855584 2488780 0x563fa2a59ca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libtritonserver.so: canno>

(gst-plugin-scanner:2488780): GStreamer-WARNING **: 11:29:49.866: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libt>
0:00:00.695418674 2488780 0x563fa2a59ca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libgstbadvideo-1.0.so.0: >

(gst-plugin-scanner:2488780): GStreamer-WARNING **: 11:29:49.867: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_nvblender.so': libgst>
ERROR: ../nvdsinfer/nvdsinfer_model_builder.cpp:1484 Deserialize engine failed because file path: /home/adminvdi/deepstream/samples-6.0/configs/deepstream-app/../../models/>
0:00:01.752556924 2488779 0x55e77fd75900 WARN                 nvinfer gstnvinfer.cpp:635:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Warning from NvDsInferCon>
0:00:01.752620823 2488779 0x55e77fd75900 WARN                 nvinfer gstnvinfer.cpp:635:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Warning from NvDsInferCon>
0:00:01.752635523 2488779 0x55e77fd75900 INFO                 nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContex>
ERROR: [TRT]: 1: [executionResources.cpp::setTacticSources::146] Error Code 1: Cudnn (Could not initialize cudnn, please check cudnn installation.)
ERROR: ../nvdsinfer/nvdsinfer_model_builder.cpp:1119 Build engine failed from config file
ERROR: ../nvdsinfer/nvdsinfer_model_builder.cpp:811 failed to build trt engine.
0:00:02.259799804 2488779 0x55e77fd75900 ERROR                nvinfer gstnvinfer.cpp:632:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Error in NvDsInferContext>
0:00:02.260084199 2488779 0x55e77fd75900 ERROR                nvinfer gstnvinfer.cpp:632:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Error in NvDsInferContext>
0:00:02.260105599 2488779 0x55e77fd75900 ERROR                nvinfer gstnvinfer.cpp:632:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Error in NvDsInferContext>
0:00:02.260149298 2488779 0x55e77fd75900 WARN                 nvinfer gstnvinfer.cpp:841:gst_nvinfer_start:<primary_gie> error: Failed to create NvDsInferContext instance
0:00:02.260158998 2488779 0x55e77fd75900 WARN                 nvinfer gstnvinfer.cpp:841:gst_nvinfer_start:<primary_gie> error: Config file path: /home/adminvdi/deepstream/>
0:00:02.260217597 2488779 0x55e77fd75900 WARN                GST_PADS gstpad.c:1142:gst_pad_set_active:<primary_gie:sink> Failed to activate pad
** ERROR: <main:658>: Failed to set pipeline to PAUSED
Quitting
ERROR from primary_gie: Failed to create NvDsInferContext instance
Debug info: gstnvinfer.cpp(841): gst_nvinfer_start (): /GstPipeline:pipeline/GstBin:primary_gie_bin/GstNvInfer:primary_gie:
Config file path: /home/adminvdi/deepstream/samples-6.0/configs/deepstream-app/config_infer_primary.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED
App run failed

And if I change sink type to 3:

GST_DEBUG=3 deepstream-app -c source30_1080p_dec_preprocess_infer-resnet_tiled_display_int8.txt
0:00:00.009836993 2491846 0x5648c90acca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x120000: 'AVR (Audio Visual Research)' is not ma>
0:00:00.009870493 2491846 0x5648c90acca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x180000: 'CAF (Apple Core Audio File)' is not ma>
0:00:00.009881792 2491846 0x5648c90acca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x100000: 'HTK (HMM Tool Kit)' is not mapped
0:00:00.009890392 2491846 0x5648c90acca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xc0000: 'MAT4 (GNU Octave 2.0 / Matlab 4.2)' is >
0:00:00.009897992 2491846 0x5648c90acca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xd0000: 'MAT5 (GNU Octave 2.1 / Matlab 5.0)' is >
0:00:00.009905092 2491846 0x5648c90acca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x210000: 'MPC (Akai MPC 2k)' is not mapped
0:00:00.009914892 2491846 0x5648c90acca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xe0000: 'PVF (Portable Voice Format)' is not map>
0:00:00.009922692 2491846 0x5648c90acca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x160000: 'SD2 (Sound Designer II)' is not mapped
0:00:00.009931591 2491846 0x5648c90acca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x190000: 'WVE (Psion Series 3)' is not mapped
0:00:00.043037595 2491846 0x5648c90acca0 WARN                  ladspa gstladspa.c:507:plugin_init:<plugin41> no LADSPA plugins found, check LADSPA_PATH
0:00:00.239633357 2491846 0x5648c90acca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: librivermax.so.0: cannot >

(gst-plugin-scanner:2491846): GStreamer-WARNING **: 11:33:12.571: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.>
0:00:00.244773049 2491846 0x5648c90acca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libtritonserver.so: canno>

(gst-plugin-scanner:2491846): GStreamer-WARNING **: 11:33:12.576: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libt>
0:00:00.245193740 2491846 0x5648c90acca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libgstbadvideo-1.0.so.0: >

(gst-plugin-scanner:2491846): GStreamer-WARNING **: 11:33:12.577: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_nvblender.so': libgst>
0:00:00.507464220 2491846 0x5648c90acca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: librivermax.so.0: cannot >

(gst-plugin-scanner:2491846): GStreamer-WARNING **: 11:33:12.839: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.>
0:00:00.508749993 2491846 0x5648c90acca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libtritonserver.so: canno>

(gst-plugin-scanner:2491846): GStreamer-WARNING **: 11:33:12.840: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libt>
0:00:00.509315081 2491846 0x5648c90acca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libgstbadvideo-1.0.so.0: >

(gst-plugin-scanner:2491846): GStreamer-WARNING **: 11:33:12.841: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_nvblender.so': libgst>
0:00:00.525211846 2491846 0x5648c90acca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: librivermax.so.0: cannot >

(gst-plugin-scanner:2491846): GStreamer-WARNING **: 11:33:12.857: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.>
0:00:00.527190505 2491846 0x5648c90acca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libtritonserver.so: canno>

(gst-plugin-scanner:2491846): GStreamer-WARNING **: 11:33:12.859: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libt>
0:00:00.528163684 2491846 0x5648c90acca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libgstbadvideo-1.0.so.0: >

(gst-plugin-scanner:2491846): GStreamer-WARNING **: 11:33:12.860: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_nvblender.so': libgst>
** ERROR: <create_encode_file_bin:467>: create_encode_file_bin failed
** ERROR: <create_sink_bin:781>: create_sink_bin failed
** ERROR: <create_processing_instance:815>: create_processing_instance failed
** ERROR: <create_pipeline:1323>: create_pipeline failed
** ERROR: <main:639>: Failed to create pipeline
Quitting
App run failed

Any idea how I can solve this?

Many lines in your log have been truncated. Just from that attached, there may be some issues with your environment.

ERROR: [TRT]: 1: [executionResources.cpp::setTacticSources::146] Error Code 1: Cudnn (Could not initialize cudnn, please check cudnn installation.)
ERROR: ../nvdsinfer/nvdsinfer_model_builder.cpp:1119 Build engine failed from config file
ERROR: ../nvdsinfer/nvdsinfer_model_builder.cpp:811 failed to build trt engine.

You can refer to the link below to set up your enviroment.
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Quickstart.html#id6

Sorry I didn’t realized that it was truncated I copied it from nano editor and I thought it was complete. Here is the complete logs:
Synk type 2:

GST_DEBUG=3 deepstream-app -c source30_1080p_dec_preprocess_infer-resnet_tiled_display_int8.txt
0:00:00.011157008 2488780 0x563fa2a59ca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x120000: 'AVR (Audio Visual Research)' is not mapped
0:00:00.011188408 2488780 0x563fa2a59ca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x180000: 'CAF (Apple Core Audio File)' is not mapped
0:00:00.011197008 2488780 0x563fa2a59ca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x100000: 'HTK (HMM Tool Kit)' is not mapped
0:00:00.011204808 2488780 0x563fa2a59ca0 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.011212307 2488780 0x563fa2a59ca0 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.011219407 2488780 0x563fa2a59ca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x210000: 'MPC (Akai MPC 2k)' is not mapped
0:00:00.011224807 2488780 0x563fa2a59ca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xe0000: 'PVF (Portable Voice Format)' is not mapped
0:00:00.011232307 2488780 0x563fa2a59ca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x160000: 'SD2 (Sound Designer II)' is not mapped
0:00:00.011241507 2488780 0x563fa2a59ca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x190000: 'WVE (Psion Series 3)' is not mapped
0:00:00.048033776 2488780 0x563fa2a59ca0 WARN                  ladspa gstladspa.c:507:plugin_init:<plugin41> no LADSPA plugins found, check LADSPA_PATH
0:00:00.422090061 2488780 0x563fa2a59ca0 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:2488780): GStreamer-WARNING **: 11:29:49.593: 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
0:00:00.427128675 2488780 0x563fa2a59ca0 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:2488780): GStreamer-WARNING **: 11:29:49.598: 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:00.427550868 2488780 0x563fa2a59ca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libgstbadvideo-1.0.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2488780): GStreamer-WARNING **: 11:29:49.599: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_nvblender.so': libgstbadvideo-1.0.so.0: cannot open shared object file: No such file or directory
0:00:00.677493681 2488780 0x563fa2a59ca0 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:2488780): GStreamer-WARNING **: 11:29:49.849: 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
0:00:00.678762460 2488780 0x563fa2a59ca0 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:2488780): GStreamer-WARNING **: 11:29:49.850: 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:00.679324850 2488780 0x563fa2a59ca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libgstbadvideo-1.0.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2488780): GStreamer-WARNING **: 11:29:49.851: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_nvblender.so': libgstbadvideo-1.0.so.0: cannot open shared object file: No such file or directory
0:00:00.693621405 2488780 0x563fa2a59ca0 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:2488780): GStreamer-WARNING **: 11:29:49.865: 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
0:00:00.694855584 2488780 0x563fa2a59ca0 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:2488780): GStreamer-WARNING **: 11:29:49.866: 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:00.695418674 2488780 0x563fa2a59ca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libgstbadvideo-1.0.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2488780): GStreamer-WARNING **: 11:29:49.867: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_nvblender.so': libgstbadvideo-1.0.so.0: cannot open shared object file: No such file or directory
ERROR: ../nvdsinfer/nvdsinfer_model_builder.cpp:1484 Deserialize engine failed because file path: /home/adminvdi/deepstream/samples-6.0/configs/deepstream-app/../../models/Primary_Detector/resnet10.caffemodel_b60_gpu0_int8.engine open error
0:00:01.752556924 2488779 0x55e77fd75900 WARN                 nvinfer gstnvinfer.cpp:635:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1889> [UID = 1]: deserialize engine from file :/home/adminvdi/deepstream/samples-6.0/configs/deepstream-app/../../models/Primary_Detector/resnet10.caffemodel_b60_gpu0_int8.engine failed
0:00:01.752620823 2488779 0x55e77fd75900 WARN                 nvinfer gstnvinfer.cpp:635:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1996> [UID = 1]: deserialize backend context from engine from file :/home/adminvdi/deepstream/samples-6.0/configs/deepstream-app/../../models/Primary_Detector/resnet10.caffemodel_b60_gpu0_int8.engine failed, try rebuild
0:00:01.752635523 2488779 0x55e77fd75900 INFO                 nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1914> [UID = 1]: Trying to create engine from model files
ERROR: [TRT]: 1: [executionResources.cpp::setTacticSources::146] Error Code 1: Cudnn (Could not initialize cudnn, please check cudnn installation.)
ERROR: ../nvdsinfer/nvdsinfer_model_builder.cpp:1119 Build engine failed from config file
ERROR: ../nvdsinfer/nvdsinfer_model_builder.cpp:811 failed to build trt engine.
0:00:02.259799804 2488779 0x55e77fd75900 ERROR                nvinfer gstnvinfer.cpp:632:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1934> [UID = 1]: build engine file failed
0:00:02.260084199 2488779 0x55e77fd75900 ERROR                nvinfer gstnvinfer.cpp:632:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2020> [UID = 1]: build backend context failed
0:00:02.260105599 2488779 0x55e77fd75900 ERROR                nvinfer gstnvinfer.cpp:632:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::initialize() <nvdsinfer_context_impl.cpp:1257> [UID = 1]: generate backend failed, check config file settings
0:00:02.260149298 2488779 0x55e77fd75900 WARN                 nvinfer gstnvinfer.cpp:841:gst_nvinfer_start:<primary_gie> error: Failed to create NvDsInferContext instance
0:00:02.260158998 2488779 0x55e77fd75900 WARN                 nvinfer gstnvinfer.cpp:841:gst_nvinfer_start:<primary_gie> error: Config file path: /home/adminvdi/deepstream/samples-6.0/configs/deepstream-app/config_infer_primary.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED
0:00:02.260217597 2488779 0x55e77fd75900 WARN                GST_PADS gstpad.c:1142:gst_pad_set_active:<primary_gie:sink> Failed to activate pad
** ERROR: <main:658>: Failed to set pipeline to PAUSED
Quitting
ERROR from primary_gie: Failed to create NvDsInferContext instance
Debug info: gstnvinfer.cpp(841): gst_nvinfer_start (): /GstPipeline:pipeline/GstBin:primary_gie_bin/GstNvInfer:primary_gie:
Config file path: /home/adminvdi/deepstream/samples-6.0/configs/deepstream-app/config_infer_primary.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED
App run failed

Synk type 3:

sink type 3

GST_DEBUG=3 deepstream-app -c source30_1080p_dec_preprocess_infer-resnet_tiled_display_int8.txt
0:00:00.009836993 2491846 0x5648c90acca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x120000: 'AVR (Audio Visual Research)' is not mapped
0:00:00.009870493 2491846 0x5648c90acca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x180000: 'CAF (Apple Core Audio File)' is not mapped
0:00:00.009881792 2491846 0x5648c90acca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x100000: 'HTK (HMM Tool Kit)' is not mapped
0:00:00.009890392 2491846 0x5648c90acca0 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.009897992 2491846 0x5648c90acca0 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.009905092 2491846 0x5648c90acca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x210000: 'MPC (Akai MPC 2k)' is not mapped
0:00:00.009914892 2491846 0x5648c90acca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xe0000: 'PVF (Portable Voice Format)' is not mapped
0:00:00.009922692 2491846 0x5648c90acca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x160000: 'SD2 (Sound Designer II)' is not mapped
0:00:00.009931591 2491846 0x5648c90acca0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x190000: 'WVE (Psion Series 3)' is not mapped
0:00:00.043037595 2491846 0x5648c90acca0 WARN                  ladspa gstladspa.c:507:plugin_init:<plugin41> no LADSPA plugins found, check LADSPA_PATH
0:00:00.239633357 2491846 0x5648c90acca0 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:2491846): GStreamer-WARNING **: 11:33:12.571: 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
0:00:00.244773049 2491846 0x5648c90acca0 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:2491846): GStreamer-WARNING **: 11:33:12.576: 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:00.245193740 2491846 0x5648c90acca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libgstbadvideo-1.0.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2491846): GStreamer-WARNING **: 11:33:12.577: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_nvblender.so': libgstbadvideo-1.0.so.0: cannot open shared object file: No such file or directory
0:00:00.507464220 2491846 0x5648c90acca0 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:2491846): GStreamer-WARNING **: 11:33:12.839: 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
0:00:00.508749993 2491846 0x5648c90acca0 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:2491846): GStreamer-WARNING **: 11:33:12.840: 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:00.509315081 2491846 0x5648c90acca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libgstbadvideo-1.0.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2491846): GStreamer-WARNING **: 11:33:12.841: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_nvblender.so': libgstbadvideo-1.0.so.0: cannot open shared object file: No such file or directory
0:00:00.525211846 2491846 0x5648c90acca0 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:2491846): GStreamer-WARNING **: 11:33:12.857: 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
0:00:00.527190505 2491846 0x5648c90acca0 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:2491846): GStreamer-WARNING **: 11:33:12.859: 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:00.528163684 2491846 0x5648c90acca0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libgstbadvideo-1.0.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2491846): GStreamer-WARNING **: 11:33:12.860: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_nvblender.so': libgstbadvideo-1.0.so.0: cannot open shared object file: No such file or directory
** ERROR: <create_encode_file_bin:467>: create_encode_file_bin failed
** ERROR: <create_sink_bin:781>: create_sink_bin failed
** ERROR: <create_processing_instance:815>: create_processing_instance failed
** ERROR: <create_pipeline:1323>: create_pipeline failed
** ERROR: <main:639>: Failed to create pipeline
Quitting
App run failed

The configuration I’m using is correct or should I change to this:

DS release DS 6.1
GPU platforms T4, V100, A2, A10, A30, A100, RTX Ampere (Ax000/RTX30x0)
OS Ubuntu 20.04
GCC GCC 9.4.0
CUDA release CUDA 11.6.1
cuDNN release cuDNN 8.4.0.27
TRT release TRT 8.2.5.1
Display Driver R510.47.03
VideoSDK release SDK 9.1
OFSDK release 2.0.23
GStreamer release GStreamer 1.16.2

Since I’m running Ubuntu 20.04. Thanks

Yes. We suggest that you use the matching version of the software, like TRT, cuDNN…
Just from the log attached, there maybe some problems in your config file.

0:00:02.260105599 2488779 0x55e77fd75900 ERROR                nvinfer gstnvinfer.cpp:632:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::initialize() <nvdsinfer_context_impl.cpp:1257> [UID = 1]: generate backend failed, check config file settings
0:00:02.260149298 2488779 0x55e77fd75900 WARN                 nvinfer gstnvinfer.cpp:841:gst_nvinfer_start:<primary_gie> error: Failed to create NvDsInferContext instance
0:00:02.260158998 2488779 0x55e77fd75900 WARN                 nvinfer gstnvinfer.cpp:841:gst_nvinfer_start:<primary_gie> error: Config file path: /home/adminvdi/deepstream/samples-6.0/configs/deepstream-app/config_infer_primary.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED

Hi, I verified that the file config_infer_primary.txt exists, but I don’t understand what this error message means:

0:00:02.260158998 2488779 0x55e77fd75900 WARN                 nvinfer gstnvinfer.cpp:841:gst_nvinfer_start:<primary_gie> error: Config file path: /home/adminvdi/deepstream/samples-6.0/configs/deepstream-app/config_infer_primary.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED

I have attached the file. Could you tell me what is wrong with it? Thanks
config_infer_primary.txt (4.0 KB)

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

The configuration file appears to have no issues. Please try to setup your environment as our guide on your host.
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Quickstart.html#id6

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