Seungmin Kim
Seungmin Kim
Hi, this is because the default GPU for EGL is used in https://github.com/ehfd/docker-nvidia-egl-desktop/blob/main/entrypoint.sh#L33. I'll add an envvar for this for easy changes.
@sbx126 You can override using `export VGL_DISPLAY="/dev/dri/card0"` or use `vglrun -d /dev/dri/card0`. Note that the specific device must be provisioned using `docker --device=/dev/dri`. More complicated with Kubernetes and keeping `VGL_DISPLAY`...
@sbx126 Interesting, could you please try both https://github.com/ehfd/docker-nvidia-egl-desktop and https://github.com/ehfd/docker-nvidia-glx-desktop ? And also, `VGL_DISPLAY` is meant to be set as `egl` if in Singularity, as `--device=/dev/dri` is not required this...
I'll update to vgl 3.0.2 when the official release is out. Closing after an option to set this variable is implemented.
Specifying `VGL_DISPLAY` via environment variables is now possible. Closing when 3.0.2 is added.
Version 3.0.2 is here.
Reference: https://github.com/Xpra-org/xpra-html5/issues/75 Could be useful to refer to how Apache Guacamole and noVNC fixed that.
I also reproduce this issue.
Did not arrive yet. It will arrive in the next release.
Hi! First check the https://github.com/ehfd/docker-nvidia-glx-desktop#troubleshooting section. If that doesn't work for you, please post all three logs located in /tmp.