Deepstream5.1 issue with RedHat8

Please provide complete information as applicable to your setup.

• Hardware Platform Nvidia Tesla T4
• DeepStream Version 5.1

• TensorRT Version 7.2.2.3
• NVIDIA GPU Driver Version (valid for GPU only) 460.32…03
• Issue Type( questions, new requirements, bugs) question
• 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)

Deepstream setup on Redhat 8 and try to run any sample app

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Hi,
I installed Deepstream5.1 on Redhat8. I followed this link also for troubleshooting-

my gstreamer1.0, is installed in /usr/lib64 so i did-
export GST_PLUGIN_PATH=/usr/lib/gstreamer1.0/

my LD_LIBRARY_PATH=:/usr/local/lib:/opt/TensorRT-7.2.2.3/lib:/usr/local/lib:/opt/TensorRT-7.2.2.3/lib:/var/lib/snapd/snap/rtsp-test-server/102/usr/lib/x86_64-linux-gnu/:/usr/local/lib:/opt/TensorRT-7.2.2.3/lib:/var/lib/snapd/snap/rtsp-test-server/102/usr/lib/x86_64-linux-gnu/:/usr/lib64/:/usr/local/lib:/var/lib/snapd/snap/rtsp-test-server/102/usr/lib/x86_64-linux-gnu:/usr/lib64:/var/lib/snapd/snap/rtsp-test-server/102/lib/x86_64-linux-gnu:/usr/lib64/gstreamer-1.0/:/opt/nvidia/deepstream/deepstream-5.1/lib/gst-plugins/:/opt/nvidia/deepstream/deepstream-5.1/lib

issue-

when i run deepstream-app -c source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt

error-

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.801: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.801: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstdeinterlace.so’: /usr/lib64/gstreamer-1.0/libgstdeinterlace.so: undefined symbol: gst_video_caption_meta_api_get_type

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.802: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstcoreelements.so’: /usr/lib64/gstreamer-1.0/libgstcoreelements.so: undefined symbol: gst_type_find_helper_for_data_with_extension

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.803: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstmatroska.so’: /usr/lib64/gstreamer-1.0/libgstmatroska.so: undefined symbol: gst_query_set_bitrate

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.804: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstaudioconvert.so’: /usr/lib64/gstreamer-1.0/libgstaudioconvert.so: undefined symbol: gst_audio_converter_is_passthrough

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.805: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstmultifile.so’: /usr/lib64/gstreamer-1.0/libgstmultifile.so: undefined symbol: gst_queue_array_clear

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.805: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstaudiorate.so’: /usr/lib64/gstreamer-1.0/libgstaudiorate.so: undefined symbol: gst_buffer_add_audio_meta

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.805: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstaudioresample.so’: /usr/lib64/gstreamer-1.0/libgstaudioresample.so: undefined symbol: gst_buffer_add_audio_meta

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.806: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstaudiotestsrc.so’: /usr/lib64/gstreamer-1.0/libgstaudiotestsrc.so: undefined symbol: gst_buffer_add_audio_meta

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.806: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstcompositor.so’: /usr/lib64/gstreamer-1.0/libgstcompositor.so: undefined symbol: gst_video_aggregator_get_type

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.813: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstpulseaudio.so’: /usr/lib64/gstreamer-1.0/libgstpulseaudio.so: undefined symbol: gst_device_provider_device_changed

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.816: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstopengl.so’: /usr/lib64/gstreamer-1.0/libgstopengl.so: undefined symbol: gst_video_aggregator_get_type

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.816: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstflv.so’: /usr/lib64/gstreamer-1.0/libgstflv.so: undefined symbol: gst_aggregator_simple_get_next_time

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.817: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstoverlaycomposition.so’: /usr/lib64/gstreamer-1.0/libgstoverlaycomposition.so: undefined symbol: gst_sample_set_segment

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.837: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstisomp4.so’: /usr/lib64/gstreamer-1.0/libgstisomp4.so: undefined symbol: gst_query_set_bitrate

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.839: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstaudiobuffersplit.so’: /usr/lib64/gstreamer-1.0/libgstaudiobuffersplit.so: undefined symbol: gst_audio_buffer_truncate

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.841: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstclosedcaption.so’: /usr/lib64/gstreamer-1.0/libgstclosedcaption.so: undefined symbol: gst_aggregator_simple_get_next_time

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.847: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstmpegtsdemux.so’: /usr/lib64/gstreamer-1.0/libgstmpegtsdemux.so: undefined symbol: gst_query_set_bitrate

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.852: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgsttimecode.so’: /usr/lib64/gstreamer-1.0/libgsttimecode.so: undefined symbol: gst_video_time_code_new_from_date_time_full

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.854: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstvideoparsersbad.so’: /usr/lib64/gstreamer-1.0/libgstvideoparsersbad.so: undefined symbol: gst_buffer_add_video_caption_meta

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.857: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstwebrtcdsp.so’: /usr/lib64/libgstbadaudio-1.0.so.0: undefined symbol: gst_buffer_add_audio_meta

(deepstream-app:811488): GStreamer-WARNING **: 11:40:44.858: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so’: libtritonserver.so: cannot open shared object file: No such file or directory
** ERROR: <create_uridecode_src_bin:1128>: Could not create element ‘src_elem’
** ERROR: <create_uridecode_src_bin:1233>: create_uridecode_src_bin failed
** ERROR: <create_pipeline:1294>: create_pipeline failed
** ERROR: main:636: Failed to create pipeline
Quitting

Please suggest what should i do. Thanks

Hi
update with GST_DEBUG=3


(deepstream-app:936502): GStreamer-WARNING **: 13:43:17.581: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstvideoparsersbad.so’: /usr/lib64/gstreamer-1.0/libgstvideoparsersbad.so: undefined symbol: gst_buffer_add_video_caption_meta
0:00:00.063590968 936502 0x563a63fbe980 WARN GST_PLUGIN_LOADING gstplugin.c:486:gst_plugin_register_func: plugin “/usr/lib64/gstreamer-1.0/libgstvideosignal.so” has incompatible version (plugin: 1.16, gst: 1,14), not loading
0:00:00.063744163 936502 0x563a63fbe980 WARN GST_PLUGIN_LOADING gstplugin.c:486:gst_plugin_register_func: plugin “/usr/lib64/gstreamer-1.0/libgstvmnc.so” has incompatible version (plugin: 1.16, gst: 1,14), not loading
0:00:00.064340002 936502 0x563a63fbe980 WARN GST_PLUGIN_LOADING gstplugin.c:486:gst_plugin_register_func: plugin “/usr/lib64/gstreamer-1.0/libgstwaylandsink.so” has incompatible version (plugin: 1.16, gst: 1,14), not loading
0:00:00.064692605 936502 0x563a63fbe980 WARN GST_PLUGIN_LOADING gstplugin.c:486:gst_plugin_register_func: plugin “/usr/lib64/gstreamer-1.0/libgstwebp.so” has incompatible version (plugin: 1.16, gst: 1,14), not loading
0:00:00.066957633 936502 0x563a63fbe980 WARN GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: /usr/lib64/libgstbadaudio-1.0.so.0: undefined symbol: gst_buffer_add_audio_meta

(deepstream-app:936502): GStreamer-WARNING **: 13:43:17.584: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstwebrtcdsp.so’: /usr/lib64/libgstbadaudio-1.0.so.0: undefined symbol: gst_buffer_add_audio_meta
0:00:00.067223309 936502 0x563a63fbe980 WARN GST_PLUGIN_LOADING gstplugin.c:486:gst_plugin_register_func: plugin “/usr/lib64/gstreamer-1.0/libgsty4mdec.so” has incompatible version (plugin: 1.16, gst: 1,14), not loading
0:00:00.067371112 936502 0x563a63fbe980 WARN GST_PLUGIN_LOADING gstplugin.c:486:gst_plugin_register_func: plugin “/usr/lib64/gstreamer-1.0/libgstyadif.so” has incompatible version (plugin: 1.16, gst: 1,14), not loading
0:00:00.067892129 936502 0x563a63fbe980 WARN GST_PLUGIN_LOADING gstplugin.c:486:gst_plugin_register_func: plugin “/usr/lib64/gstreamer-1.0/libgstsvtav1enc.so” has incompatible version (plugin: 1.16, gst: 1,14), not loading
0:00:00.068493404 936502 0x563a63fbe980 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

(deepstream-app:936502): GStreamer-WARNING **: 13:43:17.586: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so’: libtritonserver.so: cannot open shared object file: No such file or directory
0:00:00.115485963 936502 0x563a63fbe980 WARN GST_ELEMENT_FACTORY gstelementfactory.c:456:gst_element_factory_make: no such element factory “uridecodebin”!
** ERROR: <create_uridecode_src_bin:1128>: Could not create element ‘src_elem’
** ERROR: <create_uridecode_src_bin:1233>: create_uridecode_src_bin failed
** ERROR: <create_pipeline:1294>: create_pipeline failed
** ERROR: main:636: Failed to create pipeline
Quitting
App run failed

Gstreamer is not installed.
Please follow Quickstart Guide — DeepStream 5.1 Release documentation to install deepstream in a clean machine.

ok, but i have installed -
yum install
gstreamer1
gstreamer1-plugins-base
gstreamer1-plugins-good
gstreamer1-plugins-bad-free
gstreamer1-plugins-ugly-free
gstreamer1-rtsp-server
gstreamer1-svt-av1
gstreamer1-plugins-base-devel

and also able to run gst-launch-1.0

I can see for gst-rtsp-server :

gst-rtsp-server-devel package is not available for RHEL which is required to compile deepstream-app.

Download sources from https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.14.5.tar.xz:

./configure make
$ make install

When i do sudo make install, there is error like -

/bin/mkdir -p ‘/usr/local/include/gstreamer-1.0/gst/rtsp-server’
/bin/install -c -m 644 rtsp-auth.h rtsp-address-pool.h rtsp-context.h rtsp-params.h rtsp-sdp.h rtsp-thread-pool.h rtsp-media.h rtsp-media-factory.h rtsp-media-factory-uri.h rtsp-mount-points.h rtsp-permissions.h rtsp-stream.h rtsp-stream-transport.h rtsp-session.h rtsp-session-media.h rtsp-session-pool.h rtsp-token.h rtsp-client.h rtsp-server.h rtsp-server-object.h rtsp-server-prelude.h rtsp-onvif-server.h rtsp-onvif-client.h rtsp-onvif-media-factory.h rtsp-onvif-media.h ‘/usr/local/include/gstreamer-1.0/gst/rtsp-se rver’
make[3]: Leaving directory ‘/home/srv-fdrsrvacct/Downloads/gst-rtsp-server-1.14.5/gst/rtsp-server’
make[2]: Leaving directory ‘/home/srv-fdrsrvacct/Downloads/gst-rtsp-server-1.14.5/gst/rtsp-server’
Making install in rtsp-sink
make[2]: Entering directory ‘/home/srv-fdrsrvacct/Downloads/gst-rtsp-server-1.14.5/gst/rtsp-sink’
make[3]: Entering directory ‘/home/srv-fdrsrvacct/Downloads/gst-rtsp-server-1.14.5/gst/rtsp-sink’
make[3]: Nothing to be done for ‘install-exec-am’.
/bin/mkdir -p ‘/usr/local/lib/gstreamer-1.0’
/bin/sh …/…/libtool --mode=install /bin/install -c libgstrtspclientsink.la ‘/usr/local/lib/gstreamer-1.0’
libtool: warning: relinking ‘libgstrtspclientsink.la’
libtool: install: (cd /uhome1/srv-fdrsrvacct/Downloads/gst-rtsp-server-1.14.5/gst/rtsp-sink; /bin/sh “/uhome1/srv-fdrsrvacct/Downloads/gst-rtsp-server-1.14.5/libtool” --sile nt --tag CC --mode=relink gcc -I…/… -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/ glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -fno-strict-aliasing -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wr edundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multi char -Wnested-externs -g -fvisibility=hidden -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -DGETTEXT_PACKAGE=gst-rtsp-server-1.0 -g -O2 -module -avoid-versio n -no-undefined -Wl,-Bsymbolic-functions -o libgstrtspclientsink.la -rpath /usr/local/lib/gstreamer-1.0 libgstrtspclientsink_la-gstrtspclientsink.lo libgstrtspclientsink_la-p lugin.lo …/…/gst/rtsp-server/libgstrtspserver-1.0.la -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstrtp-1.0 -lgstrtsp- 1.0 -lgstsdp-1.0 -lgstnet-1.0 -lgstreamer-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 )
mv: cannot move ‘libgstrtspclientsink.so’ to ‘libgstrtspclientsink.soU’: Permission denied
libtool: error: error: relink ‘libgstrtspclientsink.la’ with the above command before installing it
make[3]: *** [Makefile:529: install-pluginLTLIBRARIES] Error 1
make[3]: Leaving directory ‘/home/srv-fdrsrvacct/Downloads/gst-rtsp-server-1.14.5/gst/rtsp-sink’
make[2]: *** [Makefile:722: install-am] Error 2
make[2]: Leaving directory ‘/home/srv-fdrsrvacct/Downloads/gst-rtsp-server-1.14.5/gst/rtsp-sink’
make[1]: *** [Makefile:491: install-recursive] Error 1
make[1]: Leaving directory ‘/home/srv-fdrsrvacct/Downloads/gst-rtsp-server-1.14.5/gst’
make: *** [Makefile:612: install-recursive] Error 1

This is the error.

ok thanks will look into.

One more thing you can see-
WARN GST_PLUGIN_LOADING gstplugin.c:486:gst_plugin_register_func: plugin “/usr/lib64/gstreamer-1.0/libgsty4mdec.so” has incompatible version (plugin: 1.16, gst: 1,14), not loading

Can this be version mismatch issue also?
i installed according to the yum commands as given in documents.

one more point-

while doing ./configure for “gst-rtsp-server”, i got these-
configure: Package ‘gstreamer-plugins-good-1.0’, required by ‘virtual:world’, not found
configure: no gstreamer-plugins-good-1.0 >= 1.14.5 (GStreamer Good Plugins) found
configure: Package ‘gstreamer-plugins-bad-1.0’, required by ‘virtual:world’, not found
configure: no gstreamer-plugins-bad-1.0 >= 1.14.5 (GStreamer Bad Plugins) found

While i have already installed both-
gstreamer1-plugins-good and gstreamer1-plugins-bad-free.

Any suggestions?

DS5.1 needs RHEL 8.x
GStreamer 1.14.1
NVIDIA driver 460.32 (NVIDIA DRIVERS Linux x64 (AMD64/EM64T) Display Driver)
CUDA 11.1
TensorRT 7.2.X

https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Quickstart.html#dgpu-setup-for-redhat-enterprise-linux-rhel

I didn’t understand this reply.
I have already mentioned your recommended requirements at the top.

I humbly ask, do you really wish to support me on my doubts?

You need to check all the versions listed in the document.

DS5.1 needs RHEL 8.x, GStreamer 1.14.1, NVIDIA driver 460.32,…

All versions are listed in the link I sent to you.

If the version is not correct, the build will fail.

As i mentioned all versions are correct.

i did “gst-inspect-1.0 --version”

i got -




(gst-inspect-1.0:2167982): GStreamer-WARNING **: 09:07:20.108: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstmpegtsdemux.so’: /usr/lib64/gstreamer-1.0/libgstmpegtsdemux.so: undefined symbol: gst_query_set_bitrate

(gst-inspect-1.0:2167982): GStreamer-WARNING **: 09:07:20.112: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgsttimecode.so’: /usr/lib64/gstreamer-1.0/libgsttimecode.so: undefined symbol: gst_video_time_code_new_from_date_time_full

(gst-inspect-1.0:2167982): GStreamer-WARNING **: 09:07:20.114: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstvideoparsersbad.so’: /usr/lib64/gstreamer-1.0/libgstvideoparsersbad.so: undefined symbol: gst_buffer_add_video_caption_meta

(gst-inspect-1.0:2167982): GStreamer-WARNING **: 09:07:20.116: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/libgstwebrtcdsp.so’: /usr/lib64/libgstbadaudio-1.0.so.0: undefined symbol: gst_buffer_add_audio_meta

(gst-inspect-1.0:2167982): GStreamer-WARNING **: 09:07:20.118: Failed to load plugin ‘/usr/lib64/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so’: libtritonserver.so: cannot open shared object file: No such file or directory
gst-inspect-1.0 version 1.16.1
GStreamer 1.14.5

As i followed the document to install dependencies like-
yum install
gstreamer1
gstreamer1-plugins-base
gstreamer1-plugins-good
gstreamer1-plugins-bad-free
gstreamer1-plugins-ugly-free

it always install “1.16.1” version.

What steps could you suggest specially in REHL to solve this.

Deepstream does not support gstreamer 1.16.x. Please uninstall gstreamer 1.16.x, then build and install gstreamer 1.14.5.

ok thanks.