Automatic unset DISPLAY

• Hardware Platform (Jetson / GPU) Jetson Xavier
• DeepStream Version DS 6.0
• JetPack Version (valid for Jetson only) 4.6 (L4T 32.6.1)
• TensorRT Version 8.0.1
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• 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)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I am running an inference pipeline with DS 6.0 and every time i start my container and run the pipeline or gst-inspect-1.0 separate elements like nvstreammux i get No EGL Display, the pipeline dies, and the element gets blacklisted.

As I do not wish to have a visual representation on the stream, just extract some metadata,unset DISPLAY solves the problem for me. Can it cause anything else except display?

My question is how can i automate the unset DISPLAY environment variable so every time i start the container i do not have to do it manually. I tried with a bash script and thought the docker file but without a result.

Is this the best way to get over the problem? Do you have any other suggestion?

Thank you!

You can try to build your own dockerfile and add the unset DISPLAY in your dockerfile. Like the Dockerfile, just add RUN unset display in it.

1 Like

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