Cannot make deepstream-app work in Jetson Nano with Docker and Deepstream SDK

  1. via remote SSH in the Jetson nano I run:
xhost +
ds=/ds
mkdir -p /tmp/data/{models,out}
docker run -it --rm -v /tmp/.X11-unix:/tmp/.X11-unix \
       --name ds \
       -v $(pwd)/ds:${ds} \
       -v /tmp/data:/data \
       -e DISPLAY=${DISPLAY:?} \
       -e ds=${ds:?} \
       -p 8554:8554 \
       -p 5400:5400/udp \
       --shm-size=1g \
       --ulimit memlock=-1 \
       --ulimit stack=67108864 \
       -w $ds \
       -h ds nvcr.io/nvidia/deepstream-l4t:5.0-dp-20.04-samples
  1. inside the container then:
access control disabled, clients can connect from any host
xhost:  must be on local machine to enable or disable access control.

root@ds:/ds# export GST_PLUGIN_PATH=/usr/lib/aarch64-linux-gnu/gstreamer-1.0
root@ds:/ds# export CUDA_HOME=/usr/local/cuda
root@ds:/ds# export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/nvidia/deepstream/deepstream/lib"
root@ds:/ds# export GST_DEBUG=4
root@ds:/ds# cd /opt/nvidia/deepstream/deepstream/samples/configs/tlt_pretrained_models/
  1. Then when the sample app is executed:
root@ds:/opt/nvidia/deepstream/deepstream/samples/configs/tlt_pretrained_models# rm ${HOME}/.cache/gstreamer-1.0/registry.aarch64.bin ; deepstream-app -c deepstream_app_source1_peoplenet.txt 2>&1 | grep ERROR 

I get this output:

0:00:01.086762450   204     0x2bd1a800 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so failed to load. Blacklisting
0:00:01.282806897   204     0x2bd1a800 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so failed to load. Blacklisting
0:00:01.456059481   204     0x2bd1a800 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistreamtiler.so failed to load. Blacklisting
0:00:01.624129165   204     0x2bd1a800 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dsexample.so failed to load. Blacklisting
0:00:03.325587828   204     0x2bd1a800 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so failed to load. Blacklisting
0:00:03.529381290   204     0x2bd1a800 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_tracker.so failed to load. Blacklisting
0:00:03.844039668   204     0x2bd1a800 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so failed to load. Blacklisting
0:00:04.021118035   204     0x2bd1a800 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideoconvert.so failed to load. Blacklisting
0:00:05.163563576   204     0x2bd1a800 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so failed to load. Blacklisting
0:00:05.379325227   204     0x2bd1a800 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so failed to load. Blacklisting
0:00:05.581461928   204     0x2bd1a800 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistreamtiler.so failed to load. Blacklisting
0:00:05.745427600   204     0x2bd1a800 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dsexample.so failed to load. Blacklisting
0:00:07.445637211   204     0x2bd1a800 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so failed to load. Blacklisting
0:00:07.645553751   204     0x2bd1a800 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_tracker.so failed to load. Blacklisting
0:00:07.938407122   204     0x2bd1a800 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so failed to load. Blacklisting
0:00:08.109747266   204     0x2bd1a800 ERROR     GST_PLUGIN_LOADING gstpluginloader.c:277:plugin_loader_replay_pending: Plugin file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideoconvert.so failed to load. Blacklisting
** ERROR: <create_multi_source_bin:1029>: Failed to create element 'src_bin_muxer'
** ERROR: <create_multi_source_bin:1104>: create_multi_source_bin failed
** ERROR: <create_pipeline:1263>: create_pipeline failed
** ERROR: <main:632>: Failed to create pipeline

Any clue on how to solve this?

I have search through the forums, but no solution seems to work for me at all!

Hi,

It looks like you are trying to remove the files from the mounted folder, which cannot be done due to authority.

Please noticed that some of our l4t docker image mounts library from the host to save space.
As a result, these folders are read-only.

In general, you don’t need to remove the cache before launching deepstream-app.
If this is required, please do it on the host (outside of docker) directly.

Thanks.
.

Hi, did you solve the problem yet?