mirror of
https://github.com/games-on-whales/wolf.git
synced 2026-10-15 13:02:03 +00:00
[GH-ISSUE #118] Nvidia ctk using CDI #76
Labels
No labels
🧠 1 - 🤖 999
AMD
bug
bug
cannot reproduce
documentation
duplicate
easy
enhancement
enhancement
enhancement
fixed?
fixed?
good first issue
hard
help wanted
Intel
invalid
LXC
medium
moonlight-protocol
Multi GPU
nixos
not a bug
nvidia
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolf#76
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @leiserfg on GitHub (Sep 9, 2024).
Original GitHub issue: https://github.com/games-on-whales/wolf/issues/118
I'm on nixos and given that there the method currently documented for nvidia in the guide does not work. The cause is that nixos moved from using nvidia-wrapper to using CDI which is the new and advice way of mixing nvidia and docker.
I'm using
Driver Version: 555.58.02and this dockerfile:together with this Dockerfile:
To workaround the fact that CDI will override the
/usr/local/nvidia/lib/folder. Without it wolf can't find libnvrtc, therefore it fails finding nvidia encoders.but I get this error while I try to start any App:
I'm currently using the second way of running wolf documented in the guide (the volume with all the nvidia files) and that works fine, but it will probably drive me crazy the next time there is a nvidia update.
@ABeltramo commented on GitHub (Sep 9, 2024):
There's just been a report on Discord for NixOS:
After further debugging it seems that NixOS bundles a very old Nvidia container toolkit version
1.9.0 has been released in Mar 2022 not even close to
1.16.0which contains the fixes required to run Wolf.I'm glad that works, it seems that this should be reported upstream to NixOS!
@Azelphur commented on GitHub (Sep 10, 2024):
Just to provide some useful information, it seems that Wolf requires nvidia container toolkit >= 1.16, however, NixOS provides 1.15.0-rc3 - this package needs some work too, as it retrieves the nvidia-container-toolkit from gitlab, but nvidia have migrated to github and the 1.16 release is not available on gitlab.
Edit: There's an update request waiting to be filled here https://github.com/NixOS/nixpkgs/issues/341911
@clsty commented on GitHub (Apr 28, 2026):
I'm facing the similar problem on NixOS.
And the docker compose file:
Update: Still no luck in
docker-compose.yml, but I've tried https://github.com/games-on-whales/wolf/issues/371#issue-4091319464 with success.