- Based on NUR
- A template repo: https://github.com/nix-community/nur-packages-template
pkgs-instant-ngp-1.mp4
Transcript:
nix build github:SomeoneSerge/pkgs/unfree#instant-ngp.data
nix build github:SomeoneSerge/pkgs/unfree#instant-ngp.configs
nix run github:SomeoneSerge/pkgs/unfree#instant-ngp -- --scene ./result-data/nerf/fox/ --config ./result-configs/nerf/base.jsonDISCLAIMER:
The video demonstrates https://github.com/NVlabs/instant-ngp
/run/opengl-driver/lib/Nix deploys its executables and libraries with absolute paths to concrete versions of their dependencies that are guaranteed to work (e.g. through Runpath in ELF headers on Linux). However, this doesn't apply to hardware-specific dependencies, like graphics and compute drivers. For
nix runto work with OpenGL or CUDA-enabled applications, one needs to symlink their hardware-dependent drivers in/run/opengl-driver/lib. NixOS does that automatically whenhardware.opengl.enable = trueNixGL
When running on Ubuntu&c one may face an issue that their graphics driver links against a revision libc older than the one used by this repo. In these cases a temporary workaround could be NixGL.