Comments (8)
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.
from docker-nvidia-egl-desktop.
@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 way. Not advised to change.
from docker-nvidia-egl-desktop.
I'll update to vgl 3.0.2 when the official release is out. Closing after an option to set this variable is implemented.
from docker-nvidia-egl-desktop.
Specifying VGL_DISPLAY
via environment variables is now possible. Closing when 3.0.2 is added.
from docker-nvidia-egl-desktop.
@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
to default is recommended in this case.
from docker-nvidia-egl-desktop.
Background: Our compute clusters, all managed via Slurm, the /dev/dri/card[n] devices are either not all present or have restrictive permissions .
We can only use Singularity instead of docker. We'll find out the similar method as docker --device=/dev/dri
.
Thank you very much!
from docker-nvidia-egl-desktop.
--device=/dev/dri
and vglrun -d /dev/dri/card[n]
works for the docker.
In Singularity, just --nv
is OK, if have permissions.
With restrictive permissions, we install virtualgl=3.0.2 from virtualgl PreReleases. Then we use vglrun -d egl[n]
, it works.
VirtualGL/virtualgl#207
Thank you very much for helping.
from docker-nvidia-egl-desktop.
Version 3.0.2 is here.
from docker-nvidia-egl-desktop.
Related Issues (20)
- how to modify the entrypoint.sh in container HOT 7
- Video stream issue HOT 1
- How to have GPU-based rendering in docker console? HOT 5
- Question regarding building a pod based on this image HOT 2
- ASK: how to start single window application HOT 6
- Google Chrome with GPU HOT 6
- Instruction to test HOT 13
- Test issue. HOT 2
- Enhancement request - AArch64 support HOT 13
- Will this work without i386 ? HOT 1
- SIGKILL/SIGSTOP can not be trapped HOT 2
- Missing gstreamer plugins nice, webrtc, dtls, ... HOT 11
- NVIDIA headless drivers do not support the container HOT 19
- The screen locker is broken and unlocking is not possible anymore HOT 11
- Unity 3d-Rendering app does not recognize the display/desktop in Docker env HOT 7
- selkies will not connect to the TURN forwarding port even if a coturn ip is set in the environment HOT 13
- replace noVNC to KasmVNC HOT 6
- selkies-gstream hit 100% CPU HOT 17
- NVIDIA Drivers required with nvidia-headless HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-nvidia-egl-desktop.