| 20 Oct 2025 |
connor (burnt/out) (UTC-8) | This was also a great way to find out that on master the wrong version of cuDNN is selected when building for Jetson (we get the x86 binary) — that’s mostly why the flake is using my PR with CUDA 13 and the packaging refactor | 14:29:02 |
| 21 Oct 2025 |
connor (burnt/out) (UTC-8) | Started work on CUDA-legacy for everyone who needs support for older versions of CUDA https://github.com/nixos-cuda/cuda-legacy/pull/1 | 00:33:26 |
connor (burnt/out) (UTC-8) | There might be interesting stuff in the second commit if you’re unfamiliar with flake-part’s partitions functionality | 06:22:13 |
connor (burnt/out) (UTC-8) | SomeoneSerge (back on matrix)
what if 👉👈
you merged my CUDA 13 PR 🥺 | 06:23:32 |
SomeoneSerge (back on matrix) | In reply to @connorbaker:matrix.org SomeoneSerge (back on matrix)
what if 👉👈
you merged my CUDA 13 PR 🥺 'most there | 22:00:59 |
| 22 Oct 2025 |
Niclas Overby Ⓝ | Are there any good resources for getting CUDA projects, built with CUDA packages from Nixpkgs, running with libcuda.so provided by a non-NixOS host?
Can it be done with LD_LIBRARY_PATH or LD_PRELOAD? | 08:08:09 |
hacker1024 | nixGL has worked for me in the past | 08:56:54 |
hacker1024 | Technically that finds a kernel-compatible libcuda.so in Nixpkgs | 08:57:24 |
Robbie Buxton | In reply to @niclas:overby.me Are there any good resources for getting CUDA projects, built with CUDA packages from Nixpkgs, running with libcuda.so provided by a non-NixOS host? Can it be done with LD_LIBRARY_PATH or LD_PRELOAD? If you create a /run/opengl-driver/lib (it might be called something slightly different) folder and symlink all the cuda kernel mode drivers in there. It should work out of the box | 14:40:53 |
Robbie Buxton | * If you create a /run/opengl-driver/lib (it might be called something slightly different) folder and symlink all the cuda kernel mode drivers into there. It should work out of the box | 14:41:06 |
Robbie Buxton | You need to add this folder to the rpaths of those drivers too others they can’t find each other | 14:41:38 |
Robbie Buxton | I.e libcuda.so tries to load something else with nix linker | 14:42:05 |
Robbie Buxton | * I.e libcuda.so tries to load something else with the nix linker | 14:45:15 |
connor (burnt/out) (UTC-8) | Both nixGL and nixglhost should work I’ve also had success doing what Robbie outlined
I’ve also been able to export LD_LIBRARY_PATH and that’s worked as well | 15:02:28 |
Robbie Buxton | * You need to add this folder to the rpaths of those drivers too otherwise they can’t find each other | 15:13:26 |