Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for nvidia container toolkit #84

Open
wants to merge 4 commits into
base: stable
Choose a base branch
from
Open

Conversation

ABeltramo
Copy link
Member

@ABeltramo ABeltramo commented Jul 2, 2024

Finally fixes #52

To test it out:

docker run \
    --name wolf \
    --network=host \
    -e XDG_RUNTIME_DIR=/tmp/sockets \
    -v /tmp/sockets:/tmp/sockets:rw \
    -e HOST_APPS_STATE_FOLDER=/etc/wolf \
    -v /etc/wolf:/etc/wolf:rw \
    -v /var/run/docker.sock:/var/run/docker.sock:rw \
    --gpus=all \
    --device /dev/dri \
    --device /dev/uinput \
    --device /dev/uhid \
    -v /dev/:/dev/:rw \
    -v /run/udev:/run/udev:rw \
    --device-cgroup-rule "c 13:* rmw" \
    ghcr.io/games-on-whales/wolf:dev-nvidia-ct

And make sure to pull the latest GOW images:

docker pull ghcr.io/games-on-whales/firefox:edge
# steam, lutris, ...

@ABeltramo
Copy link
Member Author

With this PR Wolf is able to automatically run the container toolkit with the right flags when the drivers are missing , unfortunately for this to work properly we are still missing libnvidia-vulkan-producer.so which will be provided once NVIDIA/nvidia-container-toolkit#548 will get merged.

Wolf + Sway seems to already successfully run, it's just Gamescope that doesn't work since it requires Vulkan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate the NVIDIA container toolkit
1 participant