Unable to Run Deepstream 6.1 via Docker on Ubuntu 20.04 w/ Latest NVIDIA Driver

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
dGPU running on Ubuntu 20.04.4
• DeepStream Version
6.1.1 (latest)
• JetPack Version (valid for Jetson only)
• TensorRT Version
8.4.1.5 (packaged in the Docker container)
• NVIDIA GPU Driver Version (valid for GPU only)
515.86.01
• Issue Type( questions, new requirements, bugs)
Question
• 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)

  1. Run: sudo docker run --gpus all -it --net=host --privileged -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-6.1 nvcr.io/nvidia/deepstream:6.1.1-devel

(I’ve confirmed that DISPLAY comes through properly.)

  1. From the prompt in the container (and after running user_additional_install.sh), run: GST_DEBUG=3 deepstream-app -c samples/configs/deepstream-app/source30_1080p_dec_infer-resnet_tiled_display_int8.txt -t

Note the following output:

(gst-plugin-scanner:12): GStreamer-WARNING **: 18:11:13.012: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstchromaprint.so': libavcodec.so.58: cannot open shared object file: No such file or directory

(gst-plugin-scanner:12): GStreamer-WARNING **: 18:11:13.132: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:12): GStreamer-WARNING **: 18:11:13.138: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libtritonserver.so: cannot open shared object file: No such file or directory
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
** ERROR: <main:716>: Failed to set pipeline to PAUSED
Quitting
App run failed

I noted the same issue when trying with DS 6.0.1.

Docker version is 20.10.21.

Thanks in advance for any help.

Seems you didn’t set “xhost +” which causes docker cannot access X server on you PC, please refer the command here DeepStream | NVIDIA NGC

You’re probably right and I feel silly for having forgotten that. I swear I had entered that command but now that I think about it, there was a power outage in my building and the machine was forced to restart and I likely forgot to re-enter the command. I’ll verify in the morning but you’re almost certainly correct.

Sorry about that.

Actually, while this works with straight Docker, are there similar instructions (or documentation) for running this as part of a Kubernetes deployment? I’ve noticed that even after running xhost + and running a K8s deployment that includes the Deepstream demo image that while I don’t get the “Authorization required…” error, I get the “EGL call returned error 3000” and “Couldn’t setup window/surface from handle” errors. This is with an EGL sink (with a fake sink, I get no errors, of course).

Thanks in advance!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.