| 20 Dec 2025 |
le-chat | I'm just copying/symlinking something like libcuda* lib*nvidia* libnv* from the directory where the toolkit put them. Once upon a time I've been required (for trtexec) to run patchelf --add-rpath /run/opengl-driver/lib on these copies, but that was on older Nixos, I don't know if it's necessary now. | 19:24:19 |
| 21 Dec 2025 |
SomeoneSerge (back on matrix) | s/idea for now/idea for the past 4+ years that keeps running into penny counting and compliance excuses/
Ftfy | 01:23:14 |
adrian-gierakowski | In reply to @ss:someonex.net s/idea for now/idea for the past 4+ years that keeps running into penny counting and compliance excuses/ Ftfy Yeah, @glepage:matrix.org: why not now? | 09:01:01 |
Gaétan Lepage | Well, because we unfortunately are quite busy with a lot of maintenance work. It is hard to find some time to work on those more long-term projects. | 09:32:42 |
adrian-gierakowski | In reply to @glepage:matrix.org Well, because we unfortunately are quite busy with a lot of maintenance work. It is hard to find some time to work on those more long-term projects. I'd be happy to help if there is anything I could do to speed this up. | 12:00:04 |
| rpcruz joined the room. | 15:50:06 |
rpcruz | Hey guys, does anyone else have a setup with A100 (or some such) that require nvidia-fabricmanager?
Could you maybe share with me the relevant .nix configuration bits?
(If using a relatively modern NixOS - 25.05 or 25.11)
hardware.nvidia.datacenter.enable=true produces for me a broken nv-fabricmanager with undefined symbols.
I managed to make it work by packaging nvidia-fabricmanager myself, but it is a bit ugly and as a novice I am not sure everything is well done.
If anyone has a configuration with nvidia-fabricmanager that could share with me that would be great...! | 16:05:31 |
connor (he/him) | A lot of the functionality gated behind datacenter-grade GPUs or multi-GPU setups is out of the reach of the maintainers at the moment as we’ve just recently been able to get a Hydra set up to build packages and run a few GPU checks. Part of the quick iteration time I’ve had in the past is because I own a 4090 and so can benchmark and test quickly. But for bigger stuff, the only approach I’ve had any luck with is using Lambda Labs to rent multi-GPU instances for fairly cheap and try Nix-built binaries on them. But that doesn’t test using NixOS as the host system or any other number of features unique to the hardware (or even specific code paths).
If you have such hardware or have access to it, please don’t hesitate to open PRs. Access to hardware (among other things like time and burnout) are big blockers for us supporting more stuff. We can always coach or provide feedback on packaging! And we can certainly use such an opportunity to update (or make) contributing documents. | 19:01:11 |
| 27 Dec 2025 |
| matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) changed their display name from matthewcroughan to matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192). | 14:42:47 |
| 28 Dec 2025 |
Alexandros Liarokapis | Are nixpkgs built packages reliant on /run/opengl-driver to find libcuda.so.1 on non-nixos systems as well? | 23:53:35 |
Alexandros Liarokapis | I guess OpenGL-driver symlinkfarm is responsible for all driver-bound bridge libraries… | 23:57:15 |
| 29 Dec 2025 |
Alexandros Liarokapis | I was thinking there is an authoritative source of all needed kernel bound libraries and that is the nvidia container toolkit. One could mimic the search procedure and auto implement a /run/opengl symlinker for nix standalone systems and oci containers | 00:07:52 |
Alexandros Liarokapis | * I was thinking there is an authoritative source of all needed kernel-driver bound libraries and that is the nvidia container toolkit. One could mimic the search procedure and auto implement a /run/opengl symlinker for nix standalone systems and oci containers | 00:08:05 |
Alexandros Liarokapis | * I was thinking there is an authoritative source of all needed kernel-driver bound libraries and that is the nvidia container toolkit. One could mimic the search procedure and implement an automatic :run/opengl symlinker for nix standalone systems and oci containers | 00:08:23 |
Alexandros Liarokapis | * I was thinking there is an authoritative source of all needed kernel-driver bound libraries and that is the nvidia container toolkit. One could mimic the search procedure and implement an automatic /run/opengl symlinker for nix standalone systems and oci containers | 00:08:29 |
Alexandros Liarokapis | * I was thinking there is an authoritative source of all needed kernel-driver bound libraries and that is the nvidia container toolkit. One could mimic the search procedure and implement an automatic /run/opengl l-driver symlinker for nix standalone systems and oci containers | 00:08:40 |
Alexandros Liarokapis | * I was thinking there is an authoritative source of all needed kernel-driver bound libraries and that is the nvidia container toolkit. One could mimic the search procedure and implement an automatic /run/opengl-driver symlinker for nix standalone systems and oci containers | 00:08:51 |
apyh | yeah, they are. most folks will use nixgl or nixglhost to work around this | 00:09:12 |
apyh | i use nixglhost wrappers for my binaries in oci containers | 00:09:25 |
Alexandros Liarokapis | I was thinking of the issues specified here https://github.com/soupglasses/nix-system-graphics#but-why-another-nix-with-opengl-project | 00:10:57 |
Alexandros Liarokapis | Now nix system graphics is a nice approach but has the limitation of having to specify the nvidia driver version in a system manager config to switch it is not automatic which really hurts usability | 00:13:06 |
Alexandros Liarokapis | I was thinking something more in the lines of actually generating the symlink farm populating with the proper host system library symlinks | 00:18:17 |
Alexandros Liarokapis | Would probably also work for mesa on nix standalone systems as well | 00:19:29 |
Alexandros Liarokapis | One could probably directly reuse the discovery functionality of the nvidia container toolkit go library | 00:29:52 |
Alexandros Liarokapis | * One could probably directly reuse the discovery functionality of the nvidia container toolkit go library (or flatboat or similar) | 00:49:05 |
Alexandros Liarokapis | * One could probably directly reuse the discovery functionality of the nvidia container toolkit go library (or flatpak or similar) | 00:49:13 |
Gaétan Lepage | Hi!
I finally found some time to work on the llama-cpp-python-libcuda.so-stubs-missing bug and fixed outlines by skipping its pythonImportsCheckHook and tests when cudaSupport was enabled.
This allowed me to finally unblock the vllm bump.
It builds fine with and without cudaSupport. Feel free to test/review: https://github.com/NixOS/nixpkgs/pull/467418 | 17:36:41 |
connor (he/him) | Good post about the exact problem we run into when trying to create dynamic libraries for Magma with our default set of CUDA capabilities: https://fzakaria.com/2025/12/28/huge-binaries | 18:06:21 |
connor (he/him) | I won't be in the weekly call tomorrow btw | 18:06:33 |
| 4 Aug 2022 |
| Winter (she/her) joined the room. | 03:26:42 |