The DeepStream image nvcr.io/nvidia/deepstream-l4t:5.1-21.02-samples pulled from NGC to my NVIDIA NX failed to start any application

Hardware Platform (Jetson / GPU)
Jetson NX

• DeepStream Version
5.1

• JetPack Version (valid for Jetson only)
4.5-b129

• TensorRT Version
7.1.3

• Issue Type( questions, new requirements, bugs)
After

apt update
apt upgrade
apt install libssl1.0.0 \
    libgstreamer1.0-0 \
    gstreamer1.0-tools \
    gstreamer1.0-plugins-good \
    gstreamer1.0-plugins-bad \
    gstreamer1.0-plugins-ugly \
    gstreamer1.0-libav \
    gstreamer1.0-alsa \
    libgstrtspserver-1.0-0 \
    libjansson4
  1. ./install.sh
    shows following messages
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvidia-eglcore.so.32.5.0 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvidia-glcore.so.32.5.0 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvidia-tls.so.32.5.0 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvidia-glsi.so.32.5.0 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/tegra/libnvidia-rmapi-tegra.so.32.5.0 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/tegra/libnvidia-eglcore.so.32.5.0 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/tegra/libnvidia-glvkspirv.so.32.5.0 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/tegra/libnvidia-glcore.so.32.5.0 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/tegra/libnvidia-tls.so.32.5.0 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/tegra/libnvidia-glsi.so.32.5.0 is empty, not checked.

How to solve this?

  1. try to run example sample:
    deepstream-app -c samples/configs/deepstream-app/source1_usb_dec_infer_resnet_int8.txt
    Always get following error messages
No protocol specified
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No protocol specified
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No protocol specified
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No protocol specified
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No protocol specified
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No protocol specified
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No protocol specified
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No protocol specified
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No protocol specified
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No protocol specified
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
** ERROR: <create_multi_source_bin:1320>: Failed to create element 'src_bin_muxer'
** ERROR: <create_multi_source_bin:1411>: create_multi_source_bin failed
** ERROR: <create_pipeline:1294>: create_pipeline failed
** ERROR: <main:636>: Failed to create pipeline

I have already tried some solutions from other posts, like:

export GST_PLUGIN_PATH=/usr/lib/aarch64-linux-gnu/gstreamer1.0/gstreamer-1.0/
export LD_LIBRARY_PATH=/usr/local/cuda-10.2/targets/aarch64-linux/lib

Still not working… Please share some solutions with me. If possible, please use an real example. Like showing a real PATH example for the setting of the PATH, I am worried about that still cannot figure out the PATH.

Also, I have aleady read this post(Failed to create element 'src_bin_muxer'), still not works. Not sure whether I make some wrong modifications.

  1. I also got following error message while trying to set the image running in a k3s pod
deepstream-app: error while loading shared libraries: /usr/lib/aarch64-linux-gnu/libnvinfer.so.7: file too short

How to solve this? Tried lots of solutions from other posts, no one is working…

During my experiences, I think that using an image is not that difficult, due to the already setting and environment. Not sure why DeepStream need lot of efforts to setting and modifying numbers of things to make it running an example?

Thanks.

Did you do this before run sample?
export DISPLAY=:0 or 1
xrandr //to check if export success
if you did not get the display exported, it will report this issue.

No protocol specified
No EGL Display
nvbufsurftransform: Could not get EGL display connection

Hi @amycao,

Thanks for the support on the 2nd question.
Yes, There is no EGL.

For my post, I have 3 questions, how about other questions?

And for the 2nd question still have

** ERROR: <create_multi_source_bin:1320>: Failed to create element 'src_bin_muxer'
** ERROR: <create_multi_source_bin:1411>: create_multi_source_bin failed
** ERROR: <create_pipeline:1294>: create_pipeline failed
** ERROR: <main:636>: Failed to create pipeline

these issues, please share some advice with me.

Try
$ rm -rf ~/.cache/gstreamer-1.0

and run again

Hi @mchi,

No protocol specified
No EGL Display 
nvbufsurftransform: Could not get EGL display connection

again, and

** ERROR: <create_multi_source_bin:1320>: Failed to create element 'src_bin_muxer'
** ERROR: <create_multi_source_bin:1411>: create_multi_source_bin failed
** ERROR: <create_pipeline:1294>: create_pipeline failed
** ERROR: <main:636>: Failed to create pipeline

still there.

1 Like

Hi @mchi ,

Actually already tried this before this post, I do did some survey in advance.

Hi @amycao @mchi @kayccc ,

I was also confused about the ./install.sh (my first question),
After

apt update
apt upgrade
apt install libssl1.0.0 \
    libgstreamer1.0-0 \
    gstreamer1.0-tools \
    gstreamer1.0-plugins-good \
    gstreamer1.0-plugins-bad \
    gstreamer1.0-plugins-ugly \
    gstreamer1.0-libav \
    gstreamer1.0-alsa \
    libgstrtspserver-1.0-0 \
    libjansson4

follow the instructions of README.
Why there is still some error message while

./install.sh

Please share some advice on this, I’ve already stuck on this very beginning issue for couples of days…Please give me some support!!!

same problem here.

couod you share the output of

$ cat /etc/nv_tegra_release

Is it Jetapcl4.5 or Jetpack4.5.1 ?

And, please check if you run the exactly same instructions as below

$  sudo tar -xvf deepstream_sdk_v5.1.0_jetson.tbz2 -C /
$ cd /opt/nvidia/deepstream/deepstream-5.1
$ sudo ./install.sh
$ sudo ldconfig

Hi @mchi ,

Here is the output
$ cat /etc/nv_tegra_release
R32 (release), REVISION: 5.1, GCID: 26202423, BOARD: t186ref, EABI: aarch64, DATE: Fri Feb 19 16:50:29 UTC 2021

Hi @mchi ,

Please check the topic that I mentioned. As my topic mentioned, I am using the image pulling from NGC, do I need to download the deepstream_sdk_v5.1.0_jetson.tbz2 into deepstream-l4T image? But how to? Or is that file in the image originally?

Calm down, buddy!

DS5.1, including nvcr.io/nvidia/deepstream-l4t:5.1-21.02-samples docker, must work on Jetpack4.5.1 as mentioned in below link and we have tested it, but from your description, we didn’t find obviouse mistake, so we tried to ask some questions to figure out the possible reason.

Hi @mchi ,

Thanks for your reply.
Due to spending more than 3 days on this very beginning issue, and the pressure on the projects with the NX… and waiting for the response… and from the response, it seems that… didn’t read carefully about the description of this topic…

Please share the results after you figure out the reason. there are also some others encountered the same issues. Appreciated in advance.

could you run this command successfully in the docker?

# gst-launch-1.0 -e filesrc location=/opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264 ! h264parse ! nvv4l2decoder ! m.sink_0 nvstreammux name=m batch-size=1 width=1024 height=768 ! nvvideoconvert ! fakesink

I saw this topic was crteated May 26, and today is May 27, I don’t see 3 days…

Hi @mchi ,

What I mean is the pre-survey on this issue before having a post here.
So I prefer that can get some useful solution here, so suggest to carefully read the topic before replying. Many thanks.

What you mean ‘useful’, we are trying to help you according to the limited info provided.
If you mean “useful” is a one-shot solution, sorry…I’m afraid we can’t do that.

Hi @mchi ,

After

gst-launch-1.0 -e filesrc location=/opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264 ! h264parse ! nvv4l2decoder ! m.sink_0 nvstreammux name=m batch-size=1 width=1024 height=768 ! nvvideoconvert ! fakesink

get the following

nvbufsurftransform: Could not get EGL display connection
No protocol specified
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No protocol specified
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No protocol specified
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No protocol specified
No EGL Display 
nvbufsurftransform: Could not get EGL display connection
No protocol specified
nvbuf_utils: Could not get EGL display connection
WARNING: erroneous pipeline: no element "nvstreammux"

already export DISPLAY=:0 and also export DISPLAY=:1
also rm -rf ~/.cache/gstreamer-1.0

All got the same error message.

what’s the command you used to launch the docker?