Skip to content

没有显示屏,使用vnc/ssh连接时,No EGL Display 的情况下是否有办法运行,不使用图形输出? #16

@KrOik

Description

@KrOik

启动命令:sudo docker run -it --rm --net=host --device=/dev/video0 --device=/dev/nvhost-ctrl --device=/dev/nvhost-ctrl-gpu --device=/dev/nvhost-prof-gpu --device=/dev/nvmap --device=/dev/nvhost-gpu --device=/dev/nvhost-vic -e QT_X11_NO_MITSHM=1 -e DISPLAY=$DISPLAY -e XAUTHORITY=/tmp/.Xauthority -e NVIDIA_VISIBLE_DEVICES=all -e NVIDIA_DRIVER_CAPABILITIES=compute,utility,video,graphics --gpus "device=0" --name="guo19" -v /tmp/.X11-unix:/tmp/.X11-unix:ro -v $HOME/.Xauthority:/tmp/.Xauthority:ro -v /run/argus:/run/argus:ro -v /usr/local/cuda:/usr/local/cuda:ro -v /usr/local/lib/python3.6/dist-packages/onnx_graphsurgeon:/usr/lib/python3.6/dist-packages/onnx_graphsurgeon:ro -w /opt/nvidia/deepstream/deepstream-6.0 docker.mirrors.qunertech.com/gjy123456/cv-detect-robot:CDR-jetson-v4.18 /bin/bash

运行设备:jetson nano-Ubuntu18.04,连接软件mobaxterm,已开启x11转发并对所有用户开放,已指定echo $DISPLAY
export DISPLAY=:0

root@host:/opt/nvidia/deepstream/deepstream-6.0/sources/deepstream_python_apps/apps/deepstream-yolov5# python3 deepstream_yolov5_cam.py /dev/video0
Creating Pipeline

Creating Source

Creating Video Converter

No protocol specified
No EGL Display
nvbufsurftransform: Could not get EGL display connection
已经尝试使用vnc viewer和xpra进行连接,但都以同样结果告终。运行deepstream_yolov5_rtsp.py`也是一样的输出

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions