You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(lib): enable graphical GPU access out of the box for gpu=all
Generated dev containers with gpu: "all" now set NVIDIA_DRIVER_CAPABILITIES=all
and NVIDIA_VISIBLE_DEVICES=all so the NVIDIA runtime injects the graphics/display
libraries (libGLX_nvidia, libEGL_nvidia) at container creation, and the image
registers the NVIDIA EGL vendor ICD at /usr/share/glvnd/egl_vendor.d/10_nvidia.json.
This removes the manual per-container env edit, recreate, and vendor-JSON copy
previously required for graphical GPU/EGL over SSH. Non-GPU projects are unaffected.
Edits both source-of-truth template copies (lib + vendored app) and adds tests
covering compose env wiring and the Dockerfile EGL ICD registration.
Refs #395
Make GPU access work out of the box for `gpu: "all"` projects. Generated dev containers now receive `NVIDIA_DRIVER_CAPABILITIES=all` and `NVIDIA_VISIBLE_DEVICES=all` (so the NVIDIA runtime injects the graphics/display libraries — `libGLX_nvidia`, `libEGL_nvidia` — not just compute), and the image registers the NVIDIA EGL vendor ICD at `/usr/share/glvnd/egl_vendor.d/10_nvidia.json`. This removes the manual per-container env edit, recreate, and vendor-JSON copy previously needed to get graphical GPU/EGL working over SSH. Non-GPU projects are unaffected.
0 commit comments