Open leiserfg opened 2 weeks ago
There's just been a report on Discord for NixOS:
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
└> sudo nvidia-container-cli -V
cli-version: 1.9.0
lib-version: 1.9.0
build date: 1980-01-01T00:00+00:00
build revision: v1.9.0
build compiler: gcc 13.3.0
build platform: x86_64
build flags: -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DNDEBUG -DWITH_TIRPC -Wl,-zrelro -Wl,-znow -Wl,-zdefs -Wl,--gc-sections
1.9.0 has been released in Mar 2022 not even close to 1.16.0
which contains the fixes required to run Wolf.
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
I'm glad that works, it seems that this should be reported upstream to NixOS!
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
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.