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
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.02 and this dockerfile:
FROM ghcr.io/games-on-whales/wolf:stable
RUN cp /usr/local/nvidia/lib/libnvrtc* /usr/lib/
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.
The text was updated successfully, but these errors were encountered:
Apparently, virtualisation.docker.enableNvidia is deprecated, they say to use hardware.nvidia-container-toolkit.enable = true; instead, which is broken. Neither of them install libnvidia-container, which contains nvidia-container-cli.
After further debugging it seems that NixOS bundles a very old Nvidia container toolkit version
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.
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.02
and 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.
The text was updated successfully, but these errors were encountered: