No Display while running github.com/NVIDIA-AI-IOT/deepstream_python_apps/tree/master/apps/deepstream-test1/deepstream_test_1.py

I have installed all the requirements for running deepstream pipeline inside a docker container on my NVIDIA GeForce RTX 3090 with

-Driver Version: 560.35.03
-CUDA Version: 12.6

• Hardware Platform (Jetson / GPU) NVIDIA Geforce rtx 3090
• DeepStream Version 7.1

I have installed all the prerequisites for deepstream sdk 7.1 to run in docker and using nvcr.io/nvidia/deepstream:7.1-triton-multiarch as my base image.
when i am running deepstream_python_apps/apps/deepstream-test1/deepstream_test_1.py at master · NVIDIA-AI-IOT/deepstream_python_apps · GitHub in the custom container i am not getting display nor error nor the code is exiting but the code is executing all the print statements. kindly help me to figure out what is going wrong.

You may refer to the command in page DeepStream | NVIDIA NGC.

1 Like
  1. Uset this command line to start docker
xhost +

docker run --gpus all -it --rm --network=host --privileged -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-7.1 nvcr.io/nvidia/deepstream:7.1-triton-multiarch

2.Install pyds by the following command line.

/opt/nvidia/deepstream/deepstream/user_deepstream_python_apps_install.sh -b -r v1.2.0

3.If you run the docker over ssh, please check the $DISPLAY environment variables.

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