Skip to content

Docker EGL NO DISPLAY error #86

@yuhang-he

Description

@yuhang-he

Device: Femto Bolt
System: Nvidia Jetson AGX Orin
Docker Image: arm64v8/ros:noetic

We successfully built the ROS1 v2-main package and launch the femto_bolt.launch launch file. The system can detect and connect to the Femto Bolt camera. However, when we try to subscribe to any topics, we encountered the following error:

[INFO] [1755531116.234422539]: Image stream depth subscribed
[INFO] [1755531116.234568775]: ====Enable frame sync====
[INFO] [1755531116.234673156]: Enable depth stream
[INFO] [1755531116.234762338]: Stream depth width: 640 height: 576 fps: 30 format: Y16
[INFO] [1755531116.234905759]: Enable ir stream
[INFO] [1755531116.234994301]: Stream ir width: 640 height: 576 fps: 30 format: Y16
[INFO] [1755531116.235048347]: Enable color stream
[INFO] [1755531116.235104250]: Stream color width: 1920 height: 1080 fps: 30 format: MJPG
EGL NO DISPLAY
terminate called after throwing an instance of 'libobsensor::io_exception'
what(): Depth engine create and initialize failed,retCode204
Received signal: 6

Here is our docker-compose.yaml which should have the display settings properly configured.
dev:
build:
context: .
dockerfile: ./Dockerfile
image: istd/vr:cy25trial
container_name: vr_cone_loading
network_mode: "host" # access to host's network
stdin_open: true # docker run -i
tty: true # docker run -t
privileged: true
# devices:
# - "/dev/ttyACM0:/dev/ttyACM0"
runtime: nvidia
environment:
- DISPLAY=${DISPLAY} # Pass the display for GUI
- QT_X11_NO_MITSHM=1 # Needed by QT programs
- XAUTHORITY=/tmp/.docker.xauth
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=all
- TERM=xterm-256color
- RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:rw
- ${XAUTHORITY:-$HOME/.Xauthority}:/root/.Xauthority
- /tmp/.docker.xauth:/tmp/.docker.xauth:rw
- ./vr_ws/src:/home/ros/vr_ws/src
- /dev:/dev

Metadata

Metadata

Assignees

No one assigned

    Labels

    Femto BoltOrbbec camera modelquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions