Skip to content

SomeoneSerge/pkgs

Repository files navigation

nix-build nix-update nix flake update

Cachix Cache

Something about complexity

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.json

DISCLAIMER:

  • 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 run to work with OpenGL or CUDA-enabled applications, one needs to symlink their hardware-dependent drivers in /run/opengl-driver/lib. NixOS does that automatically when hardware.opengl.enable = true

  • NixGL

    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.

About

some-pkgs: a tiny monorepo for sci-comp things that don't fit in nixpkgs

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages