stereolabs / zed-docker

Docker images for the ZED SDK

Home Page:https://hub.docker.com/r/stereolabs/zed/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Segmentation fault on Jetson Nano when running ZED_Explorer

NicolajFoerderer opened this issue · comments

Hi,
I am running a container on a NVIDIA Jetson Nano with display support:

xhost +si:localuser:root
sudo docker run -it --gpus all --privileged -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix stereolabs/zed:3.2-tools-devel-jetson-jp4.3

When I run tools/ZED_Diagnostic all tests pass, but when I run tools/ZED_Explorer the GUI pops up and then crashes with the following error message:

nvbuf_utils: Could not get EGL display connection
Segmentation fault (core dumped)

Same issue, with other versions of ZED SDK or JetPack. If I install the ZED SDK on the Jetson Nano directly, everything works fine.

Somewhat related, does using --net=host as described in https://stackoverflow.com/questions/58851228/gstreamer-camera-usage-within-docker-containers solve your issue?
For me it solves the error nvbuf_utils: Could not get EGL display connection in a very different setup.
I'm still looking for a way to avoid it though...

That's it! Thank you dear stranger.