Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so':

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Ubuntu18.04 GTX 1660
• DeepStream Version 5.0.0
• JetPack Version (valid for Jetson only)
• TensorRT Version 7.2.1.6
• NVIDIA GPU Driver Version (valid for GPU only) 455.45.01
• 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)
I am following the deepstream_pose_estimation get started steps, i encountered an error:

(base) weidawang@weidawang-TUF-Gaming-FX506LU-FX506LU:/opt/nvidia/deepstream/deepstream-5.0/sources/apps/sample_apps/deepstream_pose_estimation$ sudo ./deepstream-pose-estimation-app /media/weidawang/DATA/dataset/video_10451110.mp4 output-results
(deepstream-pose-estimation-app:19688): GStreamer-WARNING **: 10:41:29.902: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so': libcudart.so.11.0: cannot open shared object file: No such file or directory
One element could not be created. Exiting.

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

I found i have two gstreamer folder :
image


Should i delete the first folder ?

The first folder is common gstreamer, the second is deepstream(Nvidia) folder, so it is OK.

Can you run the following commands to check your enviroment?
rm -rf ~/.cache/gstreamer-1.0/
gst-inspect-1.0

Hi, this is the outpiut :
(base) weidawang@weidawang-TUF-Gaming-FX506LU-FX506LU:~$ rm -rf ~/.cache/gstreamer-1.0/
(base) weidawang@weidawang-TUF-Gaming-FX506LU-FX506LU:~$ gst-inspect-1.0
adder: adder: Adder
typefindfunctions: audio/audible: aa, aax
typefindfunctions: audio/x-xi: xi
typefindfunctions: video/x-pva: pva
typefindfunctions: application/x-ssa: ssa, ass
typefindfunctions: application/octet-stream: no extensions
typefindfunctions: image/x-degas: no extensions
typefindfunctions: image/x-icon: no extensions
typefindfunctions: application/x-yuv4mpeg: no extensions
typefindfunctions: image/vnd.wap.wbmp: no extensions
typefindfunctions: image/vnd.adobe.photoshop: psd
typefindfunctions: application/msword: doc
typefindfunctions: application/pdf: pdf
typefindfunctions: audio/x-kss: kss
typefindfunctions: video/x-ivf: ivf
typefindfunctions: audio/x-sap: sap
typefindfunctions: audio/x-vgm: vgm
typefindfunctions: audio/x-gbs: gbs
typefindfunctions: audio/x-ay: ay
typefindfunctions: audio/x-gym: gym
typefindfunctions: audio/x-nsf: nsf
typefindfunctions: video/vivo: viv
typefindfunctions: application/x-mmsh: no extensions
typefindfunctions: multipart/x-mixed-replace: no extensions
typefindfunctions: video/x-dirac: no extensions
typefindfunctions: application/x-ms-dos-executable: dll, exe, ocx, sys, scr, msstyles, cpl
typefindfunctions: application/x-ar: a
typefindfunctions: application/x-tar: tar
typefindfunctions: application/x-rar: rar
typefindfunctions: image/svg+xml: svg
typefindfunctions: application/postscript: ps
typefindfunctions: audio/x-caf: caf
typefindfunctions: audio/x-wavpack-correction: wvc
typefindfunctions: audio/x-wavpack: wv, wvp
typefindfunctions: audio/x-spc: spc
typefindfunctions: audio/aac: aac, adts, adif, loas
typefindfunctions: application/x-executable: no extensions
typefindfunctions: text/x-cmml: no extensions
typefindfunctions: application/x-ogg-skeleton: no extensions
typefindfunctions: audio/x-celt: no extensions
typefindfunctions: audio/x-speex: no extensions
typefindfunctions: application/x-ogm-text: no extensions
typefindfunctions: application/x-ogm-audio: no extensions
typefindfunctions: application/x-ogm-video: no extensions
typefindfunctions: video/x-theora: no extensions
typefindfunctions: audio/x-vorbis: no extensions
typefindfunctions: audio/x-flac: flac
typefindfunctions: application/x-subtitle-vtt: vtt
typefindfunctions: subtitle/x-kate: no extensions
typefindfunctions: application/x-compress: Z
typefindfunctions: application/zip: zip
typefindfunctions: application/x-gzip: gz
typefindfunctions: application/x-bzip: bz2
typefindfunctions: image/x-sun-raster: ras
typefindfunctions: image/x-xpixmap: xpm
typefindfunctions: image/x-jng: jng
typefindfunctions: video/x-mng: mng
typefindfunctions: image/x-xcf: xcf
typefindfunctions: audio/x-sid: sid
typefindfunctions: audio/x-sbc: sbc
typefindfunctions: audio/iLBC-sh: ilbc
typefindfunctions: audio/x-amr-wb-sh: amr
typefindfunctions: audio/x-amr-nb-sh: amr
typefindfunctions: video/x-dv: dv, dif
typefindfunctions: video/x-mve: mve
typefindfunctions: application/mxf: mxf
typefindfunctions: video/x-matroska: mkv, mka, mk3d, webm
typefindfunctions: image/x-portable-pixmap: pnm, ppm, pgm, pbm
typefindfunctions: image/x-exr: exr
typefindfunctions: image/webp: webp
typefindfunctions: image/tiff: tif, tiff
typefindfunctions: image/bmp: bmp
typefindfunctions: image/png: png
typefindfunctions: image/gif: gif
typefindfunctions: image/jpeg: jpg, jpe, jpeg
typefindfunctions: application/x-ape: ape
typefindfunctions: audio/x-shorten: shn
typefindfunctions: audio/x-rf64: rf64
typefindfunctions: audio/x-w64: w64
typefindfunctions: audio/x-ircam: sf
typefindfunctions: audio/x-sds: sds
typefindfunctions: audio/x-voc: voc
typefindfunctions: audio/x-nist: nist
typefindfunctions: audio/x-paris: paf
typefindfunctions: audio/x-svx: iff, svx
typefindfunctions: audio/x-aiff: aiff, aif, aifc
typefindfunctions: audio/x-wav: wav
typefindfunctions: application/xml: xml
typefindfunctions: application/ttml+xml: ttml+xml
typefindfunctions: application/smil: smil
typefindfunctions: application/sdp: sdp
typefindfunctions: application/x-hls: m3u8
typefindfunctions: application/itc: itc
typefindfunctions: text/uri-list: ram
typefindfunctions: text/utf-32: txt
typefindfunctions: text/utf-16: txt
typefindfunctions: text/plain: txt
typefindfunctions: video/x-flv: flv
typefindfunctions: application/vnd.ms-sstr+xml: no extensions
typefindfunctions: application/dash+xml: mpd, MPD
typefindfunctions: application/x-shockwave-flash: swf, swfl
typefindfunctions: application/x-pn-realaudio: ra, ram, rm, rmvb
typefindfunctions: application/vnd.rn-realmedia: ra, ram, rm, rmvb
typefindfunctions: text/html: htm, html
typefindfunctions: video/mj2: mj2
typefindfunctions: image/x-jpc: jpc, j2k
typefindfunctions: image/jp2: jp2
typefindfunctions: image/x-quicktime: qif, qtif, qti
typefindfunctions: video/quicktime: mov, mp4
typefindfunctions: application/x-3gp: 3gp
typefindfunctions: audio/x-m4a: m4a
typefindfunctions: video/x-nuv: nuv
typefindfunctions: video/x-h265: h265, x265, 265
typefindfunctions: video/x-h264: h264, x264, 264
typefindfunctions: video/x-h263: h263, 263
typefindfunctions: video/mpeg4: m4v
typefindfunctions: video/mpeg-elementary: mpv, mpeg, mpg
typefindfunctions: application/ogg: ogg, oga, ogv, ogm, ogx, spx, anx, axa, axv
typefindfunctions: video/mpegts: ts, mts
typefindfunctions: video/mpeg-sys: mpe, mpeg, mpg
typefindfunctions: audio/x-gsm: gsm
typefindfunctions: audio/x-dts: dts
typefindfunctions: audio/x-ac3: ac3, eac3
typefindfunctions: audio/mpeg: mp3, mp2, mp1, mpga
typefindfunctions: audio/x-mod: 669, amf, ams, dbm, digi, dmf, dsm, gdm, far, imf, it, j2b, mdl, med, mod, mt2, mtm, okt, psm, ptm, sam, s3m, stm, stx, ult, umx, xm
typefindfunctions: audio/x-ttafile: tta
typefindfunctions: application/x-apetag: mp3, ape, mpc, wv
typefindfunctions: application/x-id3v1: mp3, mp2, mp1, mpga, ogg, flac, tta
typefindfunctions: application/x-id3v2: mp3, mp2, mp1, mpga, ogg, flac, tta
typefindfunctions: video/x-fli: flc, fli
typefindfunctions: audio/mobile-xmf: mxmf
typefindfunctions: audio/riff-midi: mid, midi
typefindfunctions: audio/midi: mid, midi
typefindfunctions: audio/x-imelody: imy, ime, imelody
typefindfunctions: video/x-vcd: dat
typefindfunctions: video/x-cdxa: dat
typefindfunctions: audio/qcelp: qcp
typefindfunctions: video/x-msvideo: avi
typefindfunctions: audio/x-au: au, snd
typefindfunctions: audio/x-musepack: mpc, mpp, mp+
typefindfunctions: video/x-ms-asf: asf, wm, wma, wmv
app: appsink: AppSink
app: appsrc: AppSrc
pbtypes: GstVideoMultiviewFlagsSet (GstDynamicTypeFactory)
playback: parsebin: Parse Bin
playback: urisourcebin: URI reader
playback: uridecodebin3: URI Decoder
playback: uridecodebin: URI Decoder
playback: decodebin3: Decoder Bin 3
playback: decodebin: Decoder Bin
playback: streamsynchronizer: Stream Synchronizer
playback: subtitleoverlay: Subtitle Overlay
playback: playsink: Player Sink
playback: playbin3: Player Bin 3
playback: playbin: Player Bin 2
coreelements: streamiddemux: Streamid Demux
coreelements: valve: Valve element
coreelements: multiqueue: MultiQueue
coreelements: typefind: TypeFind
coreelements: tee: Tee pipe fitting
coreelements: filesink: File Sink
coreelements: queue2: Queue 2
coreelements: queue: Queue
coreelements: output-selector: Output selector
coreelements: input-selector: Input selector
coreelements: identity: Identity
coreelements: funnel: Funnel pipe fitting
coreelements: filesrc: File Source
coreelements: fdsink: Filedescriptor Sink
coreelements: fdsrc: Filedescriptor Source
coreelements: fakesink: Fake Sink
coreelements: fakesrc: Fake Source
coreelements: downloadbuffer: DownloadBuffer
coreelements: dataurisrc: data: URI source element
coreelements: concat: Concat
coreelements: capsfilter: CapsFilter
videotestsrc: videotestsrc: Video test source
gio: giostreamsrc: GIO stream source
gio: giostreamsink: GIO stream sink
gio: giosrc: GIO source
gio: giosink: GIO sink
audioconvert: audioconvert: Audio converter
ximagesink: ximagesink: Video sink
audiotestsrc: audiotestsrc: Audio test source
audiorate: audiorate: Audio rate adjuster
audioresample: audioresample: Audio resampler
videorate: videorate: Video rate adjuster
audiomixer: audiointerleave: AudioInterleave
audiomixer: liveadder: AudioMixer
audiomixer: audiomixer: AudioMixer
volume: volume: Volume
subparse: ssaparse: SSA Subtitle Parser
subparse: subparse: Subtitle parser
subparse: subparse_typefind: srt, sub, mpsub, mdvd, smi, txt, dks, vtt
rawparse: rawvideoparse: rawvideoparse
rawparse: rawaudioparse: rawaudioparse
rawparse: unalignedvideoparse: unalignedvideoparse
rawparse: unalignedaudioparse: unalignedaudioparse
videoscale: videoscale: Video scaler
tcp: multisocketsink: Multi socket sink
tcp: multifdsink: Multi filedescriptor sink
tcp: tcpserversrc: TCP server source
tcp: tcpserversink: TCP server sink
tcp: tcpclientsrc: TCP client source
tcp: tcpclientsink: TCP client sink
tcp: socketsrc: socket source
opengl: glfilterglass: OpenGL glass filter
opengl: gldeinterlace: OpenGL deinterlacing filter
opengl: gltestsrc: Video test source
opengl: glstereosplit: GLStereoSplit
opengl: glviewconvert: OpenGL Multiview/3D conversion filter
opengl: glfilterapp: OpenGL application filter
opengl: glshader: OpenGL fragment shader filter
opengl: glcolorscale: OpenGL color scale
opengl: gleffects_laplacian: Laplacian Convolution Demo Effect
opengl: gleffects_blur: Blur with 9x9 separable convolution Effect
opengl: gleffects_sobel: Sobel edge detection Effect
opengl: gleffects_glow: Glow Lighting Effect
opengl: gleffects_sin: All Grey but Red Effect
opengl: gleffects_xray: Glowing negative effect
opengl: gleffects_lumaxpro: Luma Cross Processing Effect
opengl: gleffects_xpro: Cross Processing Effect
opengl: gleffects_sepia: Sepia Toning Effect
opengl: gleffects_heat: Heat Signature Effect
opengl: gleffects_square: Square Effect
opengl: gleffects_bulge: Bulge Effect
opengl: gleffects_twirl: Twirl Effect
opengl: gleffects_fisheye: FishEye Effect
opengl: gleffects_tunnel: Light Tunnel Effect
opengl: gleffects_stretch: Stretch Effect
opengl: gleffects_squeeze: Squeeze Effect
opengl: gleffects_mirror: Mirror Effect
opengl: gleffects_identity: Do nothing Effect
opengl: gleffects: Gstreamer OpenGL Effects
opengl: glfiltercube: OpenGL cube filter
opengl: glsrcbin: GL Src Bin
opengl: glsinkbin: GL Sink Bin
opengl: glfilterbin: GL Filter Bin
opengl: glcolorbalance: Video balance
opengl: glcolorconvert: OpenGL color converter
opengl: gldownload: OpenGL downloader
opengl: glupload: OpenGL uploader
opengl: glimagesinkelement: OpenGL video sink
opengl: glimagesink: GL Sink Bin
encoding: encodebin: Encoder Bin
videoconvert: videoconvert: Colorspace converter
coretracers: leaks (GstTracerFactory)
coretracers: stats (GstTracerFactory)
coretracers: rusage (GstTracerFactory)
coretracers: log (GstTracerFactory)
coretracers: latency (GstTracerFactory)
staticelements: bin: Generic bin
staticelements: pipeline: Pipeline object

总数: 25 个插件, 253 个特性

After running these two comand, i run the deepstream-pose-estimation-app aging, this is the output :

 (base) weidawang@weidawang-TUF-Gaming-FX506LU-FX506LU:/opt/nvidia/deepstream/deepstream-5.0/sources/apps/sample_apps/deepstream_pose_estimation$ rm -rf ~/.cache/gstreamer-1.0/
(base) weidawang@weidawang-TUF-Gaming-FX506LU-FX506LU:/opt/nvidia/deepstream/deepstream-5.0/sources/apps/sample_apps/deepstream_pose_estimation$ sudo ./deepstream-pose-estimation-app /media/weidawang/DATA/dataset/video_10451110.mp4 output-results

(gst-plugin-scanner:7699): GStreamer-WARNING **: 11:57:29.252: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so': libcudart.so.11.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7699): GStreamer-WARNING **: 11:57:29.264: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libtrtserver.so: cannot open shared object file: No such file or directory
One element could not be created. Exiting.
(base) weidawang@weidawang-TUF-Gaming-FX506LU-FX506LU:/opt/nvidia/deepstream/deepstream-5.0/sources/apps/sample_apps/deepstream_pose_estimation$ sudo ./deepstream-pose-estimation-app /media/weidawang/DATA/dataset/video_10451110.mp4 output-results
One element could not be created. Exiting.

I didn’t try deleting that common folder, because i don’t know how to avoid deleting these two folders together…

DeepStreamSDK is not installed correctly. Please follow the instruction to install the SDK.Quickstart Guide — DeepStream 6.1.1 Release documentation

I think i have installed DeepStream SDK correctly, i just follow that official instructions to install, and no error happening in the process, now i execute two command below, there is also no error, is my reason correct ?

(base) weidawang@weidawang-TUF-Gaming-FX506LU-FX506LU:/opt/nvidia/deepstream/deepstream-5.0$ sudo ./install.sh
(base) weidawang@weidawang-TUF-Gaming-FX506LU-FX506LU:/opt/nvidia/deepstream/deepstream-5.0$ sudo ldconfig
(base) weidawang@weidawang-TUF-Gaming-FX506LU-FX506LU:/opt/nvidia/deepstream/deepstream-5.0$

No, no deepstream plugin is found by “gst-inspect-1.0”. The sdk is not installed successfully.

I am reinstalling deepstream, i got following log, how to fix it ? thanks !

(base) weidawang@weidawang-TUF-Gaming-FX506LU-FX506LU:/opt/nvidia/deepstream/deepstream-5.0$ sudo ./install.sh
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/lib/gst-plugins 来在自动模式中提供 /usr/lib/x86_64-linux-gnu//gstreamer-1.0/deepstream (deepstream-plugins)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/lib/libv4l/plugins/libcuvidv4l2_plugin.so 来在自动模式中提供 /usr/lib/x86_64-linux-gnu//libv4l/plugins/libcuvidv4l2_plugin.so (deepstream-v4l2plugin)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/lib/libnvv4l2.so 来在自动模式中提供 /usr/lib/x86_64-linux-gnu//libv4l2.so.0.0.99999 (deepstream-v4l2library)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/lib/libnvv4lconvert.so 来在自动模式中提供 /usr/lib/x86_64-linux-gnu//libv4lconvert.so.0.0.99999 (deepstream-v4lconvert)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-app 来在自动模式中提供 /usr/bin/deepstream-app (deepstream-app)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-test1-app 来在自动模式中提供 /usr/bin/deepstream-test1-app (deepstream-test1-app)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-test2-app 来在自动模式中提供 /usr/bin/deepstream-test2-app (deepstream-test2-app)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-test3-app 来在自动模式中提供 /usr/bin/deepstream-test3-app (deepstream-test3-app)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-test4-app 来在自动模式中提供 /usr/bin/deepstream-test4-app (deepstream-test4-app)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-test5-app 来在自动模式中提供 /usr/bin/deepstream-test5-app (deepstream-test5-app)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-transfer-learning-app 来在自动模式中提供 /usr/bin/deepstream-transfer-learning-app (deepstream-transfer-learning-app)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-mrcnn-app 来在自动模式中提供 /usr/bin/deepstream-mrcnn-app (deepstream-mrcnn-app)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-user-metadata-app 来在自动模式中提供 /usr/bin/deepstream-user-metadata-app (deepstream-user-metadata-app)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-dewarper-app 来在自动模式中提供 /usr/bin/deepstream-dewarper-app (deepstream-dewarper-app)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-nvof-app 来在自动模式中提供 /usr/bin/deepstream-nvof-app (deepstream-nvof-app)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-image-decode-app 来在自动模式中提供 /usr/bin/deepstream-image-decode-app (deepstream-image-decode-app)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-gst-metadata-app 来在自动模式中提供 /usr/bin/deepstream-gst-metadata-app (deepstream-gst-metadata-app)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-opencv-test 来在自动模式中提供 /usr/bin/deepstream-opencv-test (deepstream-opencv-test)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-perf-demo 来在自动模式中提供 /usr/bin/deepstream-perf-demo (deepstream-perf-demo)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-segmentation-app 来在自动模式中提供 /usr/bin/deepstream-segmentation-app (deepstream-segmentation-app)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-image-meta-test 来在自动模式中提供 /usr/bin/deepstream-image-meta-test (deepstream-image-meta-test)
update-alternatives: 使用 /opt/nvidia/deepstream/deepstream-5.0/bin/deepstream-infer-tensor-meta-app 来在自动模式中提供 /usr/bin/deepstream-infer-tensor-meta-app (deepstream-infer-tensor-meta-app)

To install the sdk, please install the package(Debian package or tar package) or using the apt-server. Quickstart Guide — DeepStream 6.1.1 Release documentation

I chose the method 2, and as you can see i actually have run

$ sudo tar -xvf deepstream_sdk_v5.0.1_x86_64.tbz2 -C /
$ cd /opt/nvidia/deepstream/deepstream-5.0/

and i try again gst-inspect-1.0, the output are still the same.
I also try mothod 1 and 3, they all have other errors.

I finaly tried docker image installation method, the output of gst-inspect-1.0 is normal this time, but i still got the same error:

root@48af5047816f:/opt/nvidia/deepstream/deepstream-5.0/sources/apps/sample_apps/deepstream_pose_estimation# make
g++ -c -o deepstream_pose_estimation_app.o -I../../apps-common/includes -I../../../includes -I../deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include deepstream_pose_estimation_app.cpp
deepstream_pose_estimation_app.cpp: In function 'GstPadProbeReturn osd_sink_pad_buffer_probe(GstPad*, GstPadProbeInfo*, gpointer)':
deepstream_pose_estimation_app.cpp:231:77: warning: zero-length gnu_printf format string [-Wformat-zero-length]
     offset = snprintf(txt_params->display_text + offset, MAX_DISPLAY_LEN, "");
                                                                             ^
deepstream_pose_estimation_app.cpp:236:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     txt_params->font_params.font_name = "Mono";
                                         ^~~~~~
g++ -o deepstream-pose-estimation-app deepstream_pose_estimation_app.o -L/opt/nvidia/deepstream/deepstream-5.0/lib/ -lnvdsgst_meta -lnvds_meta -lnvds_utils -lm -lpthread -ldl -Wl,-rpath,/opt/nvidia/deepstream/deepstream-5.0/lib/ -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lX11 -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
root@48af5047816f:/opt/nvidia/deepstream/deepstream-5.0/sources/apps/sample_apps/deepstream_pose_estimation# ./deepstream-pose-estimation-app /home/weidawang/volume/video_10451110.mp4 /home/weidawang/volume/output-results

(gst-plugin-scanner:31): GStreamer-WARNING **: 10:04:43.177: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so': libcudart.so.11.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:31): GStreamer-WARNING **: 10:04:43.207: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libtrtserver.so: cannot open shared object file: No such file or directory
One element could not be created. Exiting.
root@48af5047816f:/opt/nvidia/deepstream/deepstream-5.0/sources/apps/sample_apps/deepstream_pose_estimation# gst-inspect-1.0
nvdsgst_msgbroker:  nvmsgbroker: Message Broker
nvdsgst_msgconv:  nvmsgconv: Message Converter
nvvideo4linux2:  nvv4l2decoder: NVIDIA v4l2 video decoder
nvvideo4linux2:  nvv4l2h264enc: V4L2 H.264 Encoder
nvvideo4linux2:  nvv4l2h265enc: V4L2 H.265 Encoder
nvdsgst_tracker:  nvtracker: NvTracker plugin
nvdsgst_of:  nvof: nvof
nvdsgst_ofvisual:  nvofvisual: nvofvisual
nvvideoconvert:  nvvideoconvert: NvVidConv Plugin
nvdsgst_dewarper:  nvdewarper: nvdewarper
nvdsgst_eglglessink:  nveglglessink: EGL/GLES vout Sink
nvdsgst_multistreamtiler:  nvmultistreamtiler: Stream Tiler DS 4.0
nvdsgst_segvisual:  nvsegvisual: nvsegvisual
nvdsgst_multistream:  nvstreammux: Stream multiplexer
nvdsgst_multistream:  nvstreamdemux: Stream demultiplexer
nvdsgst_dsexample:  dsexample: DsExample plugin
nvdsgst_dsanalytics:  nvdsanalytics: DsAnalytics plugin
nvdsgst_jpegdec:  nvjpegdec: JPEG image decoder
nvdsgst_infer:  nvinfer: NvInfer plugin

...

Total count: 256 plugins (2 blacklist entries not shown), 1361 features

@anujsaharan hi, could you please have a look that if i successfully installed deestream-pose-estimation ? thanks !

Can “gst-inspect-1.0 nveglglessink” run successfully?

Hi, this is the output of “gst-inspect-1.0 nveglglessink” :

root@48af5047816f:/opt/nvidia/deepstream/deepstream-5.0# gst-inspect-1.0 nveglglessink
Factory Details:
  Rank                     secondary (128)
  Long-name                EGL/GLES vout Sink
  Klass                    Sink/Video
  Description              An EGL/GLES Video Output Sink Implementing the VideoOverlay interface
  Author                   Reynaldo H. Verdejo Pinochet <reynaldo@collabora.com>, Sebastian Dröge <sebastian.droege@collabora.co.uk>

Plugin Details:
  Name                     nvdsgst_eglglessink
  Description              EGL/GLES sink
  Filename                 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_eglglessink.so
  Version                  5.0.1
  License                  LGPL
  Source module            gst-plugins-bad
  Source release date      2014-02-08
  Binary package           GStreamer Bad Plug-ins source release
  Origin URL               Unknown package origin

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstBaseSink
                         +----GstVideoSink
                               +----GstEglGlesSink

Implemented Interfaces:
  GstVideoOverlay

Pad Templates:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      video/x-raw(memory:EGLImage)
                 format: { (string)RGBA, (string)BGRA, (string)ARGB, (string)ABGR, (string)RGBx, (string)BGRx, (string)xRGB, (string)xBGR, (string)AYUV, (string)Y444, (string)I420, (string)YV12, (string)NV12, (string)NV21, (string)Y42B, (string)Y41B, (string)RGB, (string)BGR, (string)RGB16 }
                  width: [ 1, 2147483647 ]
                 height: [ 1, 2147483647 ]
              framerate: [ 0/1, 2147483647/1 ]
      video/x-raw(meta:GstVideoGLTextureUploadMeta)
                 format: { (string)RGBA, (string)BGRA, (string)ARGB, (string)ABGR, (string)RGBx, (string)BGRx, (string)xRGB, (string)xBGR, (string)AYUV, (string)Y444, (string)I420, (string)YV12, (string)NV12, (string)NV21, (string)Y42B, (string)Y41B, (string)RGB, (string)BGR, (string)RGB16 }
                  width: [ 1, 2147483647 ]
                 height: [ 1, 2147483647 ]
              framerate: [ 0/1, 2147483647/1 ]
      video/x-raw
                 format: { (string)RGBA, (string)BGRA, (string)ARGB, (string)ABGR, (string)RGBx, (string)BGRx, (string)xRGB, (string)xBGR, (string)AYUV, (string)Y444, (string)I420, (string)YV12, (string)NV12, (string)NV21, (string)Y42B, (string)Y41B, (string)RGB, (string)BGR, (string)RGB16 }
                  width: [ 1, 2147483647 ]
                 height: [ 1, 2147483647 ]
              framerate: [ 0/1, 2147483647/1 ]
      video/x-raw(memory:NVMM)
                 format: { (string)BGRx, (string)RGBA, (string)I420, (string)NV12, (string)BGR, (string)RGB }
                  width: [ 1, 2147483647 ]
                 height: [ 1, 2147483647 ]
              framerate: [ 0/1, 2147483647/1 ]

Element has no clocking capabilities.
Element has no URI handling capabilities.

Pads:
  SINK: 'sink'
    Pad Template: 'sink'

Element Properties:
  name                : The name of the object
                        flags: readable, writable
                        String. Default: "eglglessink0"
  parent              : The parent of the object
                        flags: readable, writable
                        Object of type "GstObject"
  sync                : Sync on the clock
                        flags: readable, writable
                        Boolean. Default: true
  max-lateness        : Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited)
                        flags: readable, writable
                        Integer64. Range: -1 - 9223372036854775807 Default: 20000000 
  qos                 : Generate Quality-of-Service events upstream
                        flags: readable, writable
                        Boolean. Default: true
  async               : Go asynchronously to PAUSED
                        flags: readable, writable
                        Boolean. Default: true
  ts-offset           : Timestamp offset in nanoseconds
                        flags: readable, writable
                        Integer64. Range: -9223372036854775808 - 9223372036854775807 Default: 0 
  enable-last-sample  : Enable the last-sample property
                        flags: readable, writable
                        Boolean. Default: true
  last-sample         : The last sample received in the sink
                        flags: readable
                        Boxed pointer of type "GstSample"
  blocksize           : Size in bytes to pull per buffer (0 = default)
                        flags: readable, writable
                        Unsigned Integer. Range: 0 - 4294967295 Default: 4096 
  render-delay        : Additional render delay of the sink in nanoseconds
                        flags: readable, writable
                        Unsigned Integer64. Range: 0 - 18446744073709551615 Default: 0 
  throttle-time       : The time to keep between rendered buffers (0 = disabled)
                        flags: readable, writable
                        Unsigned Integer64. Range: 0 - 18446744073709551615 Default: 0 
  max-bitrate         : The maximum bits per second to render (0 = disabled)
                        flags: readable, writable
                        Unsigned Integer64. Range: 0 - 18446744073709551615 Default: 0 
  show-preroll-frame  : Whether to render video frames during preroll
                        flags: readable, writable
                        Boolean. Default: true
  create-window       : If set to true, the sink will attempt to create it's own window to render to if none is provided. This is currently only supported when the sink is used under X11
                        flags: readable, writable
                        Boolean. Default: true
  force-aspect-ratio  : If set to true, the sink will attempt to preserve the incoming frame's geometry while scaling, taking both the storage's and display's pixel aspect ratio into account
                        flags: readable, writable
                        Boolean. Default: true
  display             : If set, the sink will use the passed X Display for rendering
                        flags: readable, writable
                        Pointer.
  window-x            : X coordinate of window
                        flags: readable, writable
                        Unsigned Integer. Range: 0 - 2147483647 Default: 10 
  window-y            : Y coordinate of window
                        flags: readable, writable
                        Unsigned Integer. Range: 0 - 2147483647 Default: 10 
  window-width        : Width of window
                        flags: readable, writable
                        Unsigned Integer. Range: 0 - 2147483647 Default: 0 
  window-height       : Height of window
                        flags: readable, writable
                        Unsigned Integer. Range: 0 - 2147483647 Default: 0 
  rows                : Rows of Display
                        flags: readable, writable
                        Unsigned Integer. Range: 1 - 2147483647 Default: 1 
  columns             : Columns of display
                        flags: readable, writable
                        Unsigned Integer. Range: 1 - 2147483647 Default: 1 
  gpu-id              : Set GPU Device ID
                        flags: readable, writable, changeable only in NULL or READY state
                        Unsigned Integer. Range: 0 - 4294967295 Default: 0 
  profile             : gsteglglessink jitter information
                        flags: readable, writable
                        Unsigned Integer. Range: 0 - 4294967295 Default: 0

You may need to check which element can not be created in your app.

This issue is detailedly discussed and solved in this topic, the key comments are : 1, 2, 3 .