GithubHelp home page GithubHelp logo

Comments (5)

ehfd avatar ehfd commented on May 22, 2024

@LiangHuangBC I suspect the error is in privileged access so both containers can see each other. Could you post the contents of /etc/X11/Xorg.conf on both containers and also echo $NVIDIA_VISIBLE_DEVICES too? Else, you could test passing the devices HERE and disable privileged. Whether that works or not is big help to the repo because I have not tested in pure docker.

And btw, there is small issue in bootstrap.sh, when docker restart your container, bootstrap will stuck on re-install driver. We fixed it by commenting it out.

This container is only tested in Kubernetes, where when a pod restarts, the filesystem is reset. I can fix that when I have time.

Note this repo will be rebuilt when NVIDIA enables XWayland support in 470.xx drivers to use the Wayland workflow instead of Xorg.

from docker-nvidia-glx-desktop.

ehfd avatar ehfd commented on May 22, 2024

Fixed code to work in privileged mode. Please test and tell me. Not available without privileged.

bootstrap will stuck on re-install driver

Please feedback on the fix for this too.

However, ehfd/docker-nvidia-egl-desktop is guaranteed to work on multiple desktops over ehfd/docker-nvidia-glx-desktop (which uses quite hacky configurations to use Xorg inside containers) and is the recommended container to use. But ehfd/docker-nvidia-egl-desktop doesn't support Vulkan. If you need Vulkan use https://github.com/mviereck/x11docker, but you need to use docker on one single node with full root control and cannot be used on other container orchestration platforms. The ehfd/docker-nvidia-glx-desktop container is a limited functionality container designed for multi-node clusters with container orchestration or when root access is not available until Xwayland support for NVIDIA proprietary drivers are available.

from docker-nvidia-glx-desktop.

ehfd avatar ehfd commented on May 22, 2024

In progress of fixing this issue.

from docker-nvidia-glx-desktop.

ehfd avatar ehfd commented on May 22, 2024

Fixed in commit 1fbae34

Please consult the new instructions. Privileged mode is no longer supported in favor of unprivileged containers.

from docker-nvidia-glx-desktop.

ehfd avatar ehfd commented on May 22, 2024

Added in Documentation.

from docker-nvidia-glx-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.