No such element factory "nvyolo"

Hello. I’m trying to run the deepstream-yolo-app for Tesla devices on my P4 as shown here:
https://github.com/vat-nvidia/deepstream-plugins/blob/master/README.md

Everytime I try to run the app using

deepstream-yolo-app sample_720p.h264 config/yolov2.txt

I get the following error :

One element could not be created. Exiting.

Running

GST_DEBUG=3

shows the following:

0:00:00.034290254    82 0x558af9076000 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:456:gst_element_factory_make: no such element factory "nvyolo"!
One element could not be created. Exiting.

Any help/advice would be appreciated.

Hi,

It looks like there is no NvYolo component on your environment.
Could you check if you have successfully built the NvYolo plugin?
https://github.com/vat-nvidia/deepstream-plugins#building-nvyolo-plugin

Thanks.

Here’s my output for

make && sudo make install

at sources/plugins/gst-yoloplugin-tesla :

g++ -c -o gstyoloplugin.o -I "/usr/src/tensorrt/include" -I "/usr/local/cuda-10.0/include" -I "/usr/local/include/opencv2/include" -I "/home/vadmin/WorkFiles/monotosh_temp/DeepStream_Release/sources/includes" -I "../../lib/" -O2 -fPIC -std=c++11 -lstdc++fs -Wall -Wunused-function -Wunused-variable -Wfatal-errors -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include gstyoloplugin.cpp
Building lib
make -C ../../lib
make[1]: Entering directory '/home/vadmin/WorkFiles/monotosh_temp/deepstream-plugins/sources/lib'
if [ ! -d "build" ]; then mkdir -p build; fi
if [ ! -d "../../../data/yolo/detections" ]; then mkdir -p ./../../data/yolo/detections; fi
g++ -I"/usr/src/tensorrt/include" -I"/usr/local/cuda-10.0/include" -I "/usr/local/include/opencv2/include" -c -o build/yolo_config_parser.o -O2 -std=c++11 -g -lstdc++fs -ldl -fPIC -Wall -Wunused-function -Wunused-variable -Wfatal-errors -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include yolo_config_parser.cpp
yolo_config_parser.cpp: In function ‘InferParams getYoloInferParams()’:
yolo_config_parser.cpp:129:59: warning: narrowing conversion of ‘fLD::FLAGS_prob_thresh’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
                        FLAGS_prob_thresh, FLAGS_nms_thresh};
                                                           ^
yolo_config_parser.cpp:129:59: warning: narrowing conversion of ‘fLD::FLAGS_nms_thresh’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
g++ -I"/usr/src/tensorrt/include" -I"/usr/local/cuda-10.0/include" -I "/usr/local/include/opencv2/include" -c -o build/calibrator.o -O2 -std=c++11 -g -lstdc++fs -ldl -fPIC -Wall -Wunused-function -Wunused-variable -Wfatal-errors -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include calibrator.cpp
g++ -I"/usr/src/tensorrt/include" -I"/usr/local/cuda-10.0/include" -I "/usr/local/include/opencv2/include" -c -o build/yolov2.o -O2 -std=c++11 -g -lstdc++fs -ldl -fPIC -Wall -Wunused-function -Wunused-variable -Wfatal-errors -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include yolov2.cpp
g++ -I"/usr/src/tensorrt/include" -I"/usr/local/cuda-10.0/include" -I "/usr/local/include/opencv2/include" -c -o build/yoloplugin_lib.o -O2 -std=c++11 -g -lstdc++fs -ldl -fPIC -Wall -Wunused-function -Wunused-variable -Wfatal-errors -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include yoloplugin_lib.cpp
g++ -I"/usr/src/tensorrt/include" -I"/usr/local/cuda-10.0/include" -I "/usr/local/include/opencv2/include" -c -o build/trt_utils.o -O2 -std=c++11 -g -lstdc++fs -ldl -fPIC -Wall -Wunused-function -Wunused-variable -Wfatal-errors -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include trt_utils.cpp
g++ -I"/usr/src/tensorrt/include" -I"/usr/local/cuda-10.0/include" -I "/usr/local/include/opencv2/include" -c -o build/yolov3.o -O2 -std=c++11 -g -lstdc++fs -ldl -fPIC -Wall -Wunused-function -Wunused-variable -Wfatal-errors -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include yolov3.cpp
g++ -I"/usr/src/tensorrt/include" -I"/usr/local/cuda-10.0/include" -I "/usr/local/include/opencv2/include" -c -o build/plugin_factory.o -O2 -std=c++11 -g -lstdc++fs -ldl -fPIC -Wall -Wunused-function -Wunused-variable -Wfatal-errors -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include plugin_factory.cpp
g++ -I"/usr/src/tensorrt/include" -I"/usr/local/cuda-10.0/include" -I "/usr/local/include/opencv2/include" -c -o build/yolo.o -O2 -std=c++11 -g -lstdc++fs -ldl -fPIC -Wall -Wunused-function -Wunused-variable -Wfatal-errors -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include yolo.cpp
In file included from /usr/include/c++/7/cassert:44:0,
                 from plugin_factory.h:29,
                 from trt_utils.h:42,
                 from ds_image.h:28,
                 from calibrator.h:29,
                 from yolo.h:29,
                 from yolo.cpp:26:
yolo.cpp: In constructor ‘Yolo::Yolo(uint, const NetworkInfo&, const InferParams&)’:
yolo.cpp:64:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         assert(npos != std::string::npos
                ~~~~~^~~~
yolo.cpp:74:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         assert(npos != std::string::npos
                ~~~~~^~~~
yolo.cpp: In member function ‘void Yolo::createYOLOEngine(nvinfer1::DataType, Int8EntropyCalibrator*)’:
yolo.cpp:408:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (weights.size() != weightPtr)
         ~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/include/c++/7/cassert:44:0,
                 from plugin_factory.h:29,
                 from trt_utils.h:42,
                 from ds_image.h:28,
                 from calibrator.h:29,
                 from yolo.h:29,
                 from yolo.cpp:26:
yolo.cpp: In member function ‘bool Yolo::verifyYoloEngine()’:
yolo.cpp:644:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     assert((m_Engine->getNbBindings() == (1 + m_OutputTensors.size())
             ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -I"/usr/src/tensorrt/include" -I"/usr/local/cuda-10.0/include" -I "/usr/local/include/opencv2/include" -c -o build/ds_image.o -O2 -std=c++11 -g -lstdc++fs -ldl -fPIC -Wall -Wunused-function -Wunused-variable -Wfatal-errors -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include ds_image.cpp
/usr/local/cuda-10.0/bin/nvcc -c -o build/kernels.o -arch=compute_50 --shared -Xcompiler -fPIC  kernels.cu
ar rcs libyoloplugin.a  ./build/yolo_config_parser.o  ./build/calibrator.o  ./build/yolov2.o  ./build/yoloplugin_lib.o  ./build/trt_utils.o  ./build/yolov3.o  ./build/plugin_factory.o  ./build/yolo.o  ./build/ds_image.o  ./build/kernels.o  
make[1]: Leaving directory '/home/vadmin/WorkFiles/monotosh_temp/deepstream-plugins/sources/lib'
Building libgstnvyolo.so
g++ -o libgstnvyolo.so gstyoloplugin.o ../../lib/libyoloplugin.a -shared -Wl,-no-undefined -L ../../lib -lyoloplugin -L/usr/local/include/opencv2/lib -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_dnn -lopencv_imgcodecs -Wl,-rpath="/usr/local/include/opencv2/lib" -L/usr/local/cuda-10.0/lib64/ -lcudart -lnppc -lnppig -lnpps -Wl,-rpath="/usr/local/cuda-10.0/lib64" -L/usr/local/deepstream/ -lnvdsgst_helper -lnvdsgst_meta -Wl,-rpath,/usr/local/deepstream/ -L /usr/src/tensorrt/lib -lnvinfer -lnvinfer_plugin -Wl,-rpath="/usr/src/tensorrt/lib" -L "/usr/lib/x86_64-linux-gnu" -lgflags -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -O2 -fPIC -std=c++11 -lstdc++fs -Wall -Wunused-function -Wunused-variable -Wfatal-errors -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
[sudo] password for vadmin: 
Installing libgstnvyolo.so
cp -rv libgstnvyolo.so /usr/lib/x86_64-linux-gnu/gstreamer-1.0/
'libgstnvyolo.so' -> '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvyolo.so'

Please use the same approach described here to debug this issue.

https://devtalk.nvidia.com/default/topic/1046944/deepstream-for-tesla/gst-dsexample-failed-to-create-pipeline/post/5313183/#5313183

Do you have NvYolo for DeepStream 4.0 github?

Thanks.

yolo inference is now a part of nvinfer plugin. Please have a look at the sample under “/soures/objectDetector_Yolo/” in the sdk.

$ cd /opt/nvidia/deepstream/deepstream-4.0/sources/objectDetector_Yolo/nvdsinfer_custom_impl_Yolo
$ make 
g++ -o libnvdsinfer_custom_impl_Yolo.so  nvdsinfer_yolo_engine.o nvdsparsebbox_Yolo.o yoloPlugins.o trt_utils.o yolo.o kernels.o -shared -Wl,--start-group -lnvinfer_plugin -lnvinfer -lnvparsers -L/usr/local/cuda-10.0/lib64 -lcudart -lcublas -lstdc++fs -Wl,--end-group

rm {HOME}/.cache/gstreamer-1.0/registry.x86_64.bin

$ deepstream-app -c deepstream_app_config_yoloV3_tiny.txt ../../../deepstream-4.0/samples/streams/sample_1080p_h264.mp4 
/opt/nvidia/deepstream/deepstream-4.0/sources/objectDetector_Yolo$ deepstream-app -c deepstream_app_config_yoloV3_tiny.txt ../../../deepstream-4.0/samples/streams/sample_1080p_h264.mp4 
0:00:00.041242406  7009 0x5617a070b210 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x120000: 'AVR (Audio Visual Research)' is not mapped
0:00:00.041259916  7009 0x5617a070b210 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x180000: 'CAF (Apple Core Audio File)' is not mapped
0:00:00.041264278  7009 0x5617a070b210 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x100000: 'HTK (HMM Tool Kit)' is not mapped
0:00:00.041268606  7009 0x5617a070b210 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.041272233  7009 0x5617a070b210 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.041275498  7009 0x5617a070b210 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x210000: 'MPC (Akai MPC 2k)' is not mapped
0:00:00.041279703  7009 0x5617a070b210 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0xe0000: 'PVF (Portable Voice Format)' is not mapped
0:00:00.041283613  7009 0x5617a070b210 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x160000: 'SD2 (Sound Designer II)' is not mapped
0:00:00.041290661  7009 0x5617a070b210 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x190000: 'WVE (Psion Series 3)' is not mapped
0:00:00.111197979  7009 0x5617a070b210 WARN                  ladspa gstladspa.c:507:plugin_init:<plugin156> no LADSPA plugins found, check LADSPA_PATH
0:00:00.126602234  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.265: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.126858751  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.265: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dewarper.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.127062635  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.265: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.127658002  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.266: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.128487900  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.266: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dsexample.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.128763516  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.267: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideo4linux2.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.128974078  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.267: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_tracker.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.129172016  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.267: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_segvisual.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.129489402  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.267: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_jpegdec.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.129699766  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.268: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistreamtiler.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.129894006  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.268: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideoconvert.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.130078121  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.268: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_ofvisual.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.130269479  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.268: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_eglglessink.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.130451666  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.268: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_of.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.177319940  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.315: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.177584473  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.316: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dewarper.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.177802389  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.316: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.178467318  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.316: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.179254135  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.317: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dsexample.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.179555242  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.318: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideo4linux2.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.179776366  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.318: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_tracker.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.179989779  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.318: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_segvisual.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.180266459  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.318: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_jpegdec.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.180481376  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.318: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistreamtiler.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.180700880  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.319: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideoconvert.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.180910570  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.319: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_ofvisual.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.181132004  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.319: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_eglglessink.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.181346673  7009 0x5617a070b210 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7009): GStreamer-WARNING **: 02:32:03.319: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_of.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.252498113  7008 0x56374b5c5c70 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:456:gst_element_factory_make: no such element factory "nvstreammux"!
** ERROR: <create_multi_source_bin:653>: Failed to create element 'src_bin_muxer'
** ERROR: <create_multi_source_bin:715>: create_multi_source_bin failed
** ERROR: <create_pipeline:967>: create_pipeline failed
** ERROR: <main:632>: Failed to create pipeline
Quitting
App run failed

Second attempt:

./deepstream-test1-app ../../../../samples/streams/sample_1080p_h264.mp4 
0:00:00.044183247  8307 0x5632c6881e10 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x120000: 'AVR (Audio Visual Research)' is not mapped
0:00:00.044202406  8307 0x5632c6881e10 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x180000: 'CAF (Apple Core Audio File)' is not mapped
0:00:00.044210655  8307 0x5632c6881e10 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x100000: 'HTK (HMM Tool Kit)' is not mapped
0:00:00.044217792  8307 0x5632c6881e10 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.044223357  8307 0x5632c6881e10 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.044228942  8307 0x5632c6881e10 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x210000: 'MPC (Akai MPC 2k)' is not mapped
0:00:00.044235477  8307 0x5632c6881e10 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0xe0000: 'PVF (Portable Voice Format)' is not mapped
0:00:00.044241651  8307 0x5632c6881e10 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x160000: 'SD2 (Sound Designer II)' is not mapped
0:00:00.044248636  8307 0x5632c6881e10 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x190000: 'WVE (Psion Series 3)' is not mapped
0:00:00.114877190  8307 0x5632c6881e10 WARN                  ladspa gstladspa.c:507:plugin_init:<plugin156> no LADSPA plugins found, check LADSPA_PATH
0:00:00.130227450  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.790: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.130478161  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.791: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dewarper.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.130675843  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.791: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.131277380  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.791: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.132108362  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.792: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dsexample.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.132380352  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.793: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideo4linux2.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.132581616  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.793: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_tracker.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.132775827  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.793: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_segvisual.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.133024558  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.793: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_jpegdec.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.133217762  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.793: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistreamtiler.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.133416565  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.794: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideoconvert.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.133606998  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.794: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_ofvisual.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.133807584  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.794: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_eglglessink.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.133999081  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.794: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_of.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.182096533  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.842: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.182376173  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.843: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dewarper.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.182599435  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.843: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.183269262  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.843: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.184047869  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.844: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dsexample.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.184350757  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.844: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideo4linux2.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.184575034  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.845: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_tracker.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.184793482  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.845: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_segvisual.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.185073664  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.845: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_jpegdec.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.185322522  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.845: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistreamtiler.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.185590134  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.846: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideoconvert.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.185855353  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.846: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_ofvisual.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.186170966  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.846: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_eglglessink.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.186399467  8307 0x5632c6881e10 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libcudart.so.10.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:8307): GStreamer-WARNING **: 02:51:59.847: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_of.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
0:00:00.249034183  8306 0x56174febd090 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:456:gst_element_factory_make: no such element factory "nvv4l2decoder"!
0:00:00.249054342  8306 0x56174febd090 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:456:gst_element_factory_make: no such element factory "nvstreammux"!

How to solve this problem?
I am trying to run deepstream 4.0 on my ubuntu 18.04 (x86_64).

Thanks.

Please create a new thread with your setup information/logs/questions.