On jetson nano, deepstream-test1 fails to run

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
jetson nano
• DeepStream Version

• JetPack Version (valid for Jetson only)

• Issue Type( questions, new requirements, bugs)

An error occurs when running deepstream-test1.

After I replaced nveglglessink with fakesink, the log is as follows:


Looking forward to your reply, thank you!

Is this jetson nano plugged into a monitor?

Or are you running the program via ssh? If you run the program via ssh, set the DISPLAY variable

cat /proc/*/environ 2>/dev/null | tr '\0' '\n' | grep '^DISPLAY=:' | uniq

If you are using fakesink you can remove the nvegltransform element

Thank you very much for solving my problem. I have another question. When I connect to jetson nano through ssh, enter xhost + on jetson, and then enter xeyes, my local windows system can display the screen, but I then enter the shell command on jetson to create a container,
docker run -it --rm --runtime=nvidia --network=host -e NVIDIA_DRIVER_CAPABILITIES=compute,utility,video,graphics --gpus all --privileged -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v /etc/X11:/etc/X11 nvcr.io/nvidia/deepstream-l4t:6.0.1-samples
The video in the container cannot be displayed on the local Windows system. Do I need to install other libraries in the container or how to set it up? Looking forward to your reply, thank you!

For Jetson, Please use the following command line to start a container.

docker run -it --rm --network=host --runtime nvidia  -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-xx -v /tmp/.X11-unix/:/tmp/.X11-unix nvcr.io/nvidia/deepstream:xxxxxx

Sorry, I used the following command provided by NGC Container, but it doesn’t seem to work.

docker run -it --rm --network=host --runtime nvidia  -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-7.1 -v /tmp/.X11-unix/:/tmp/.X11-unix nvcr.io/nvidia/deepstream-l4t:6.0.1-samples

What I want to ask is the content of the above post.Looking forward to your reply, thank you!

The topic above is because you used the wrong command line. The link I gave to NGC is the correct example on Jetson.

docker run -it --rm --network=host --runtime nvidia  -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-6.0  -v /tmp/.X11-unix/:/tmp/.X11-unix nvcr.io/nvidia/deepstream-l4t:6.0.1-samples

That command line is not for Jetson, it is only for arm64 server, they are not the same

I may not have expressed myself clearly, but thank you for your patient answer. Have a nice day!