!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

274 Members
CUDA packages maintenance and support in nixpkgs | https://github.com/orgs/NixOS/projects/27/ | https://nixos.org/manual/nixpkgs/unstable/#cuda55 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
21 Oct 2025
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8) SomeoneSerge (back on matrix)
what if 👉👈
you merged my CUDA 13 PR 🥺
06:23:32
@ss:someonex.netSomeoneSerge (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.meNiclas 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:matrix.orghacker1024nixGL has worked for me in the past08:56:54
@hacker1024:matrix.orghacker1024Technically that finds a kernel-compatible libcuda.so in Nixpkgs08:57:24
@sporeray:matrix.orgRobbie 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
@sporeray:matrix.orgRobbie 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
@sporeray:matrix.orgRobbie Buxton You need to add this folder to the rpaths of those drivers too others they can’t find each other 14:41:38
@sporeray:matrix.orgRobbie Buxton I.e libcuda.so tries to load something else with nix linker 14:42:05
@sporeray:matrix.orgRobbie Buxton * I.e libcuda.so tries to load something else with the nix linker 14:45:15
@connorbaker:matrix.orgconnor (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 well15:02:28
@sporeray:matrix.orgRobbie Buxton * You need to add this folder to the rpaths of those drivers too otherwise they can’t find each other 15:13:26
23 Oct 2025
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)Got the majority of redists in https://github.com/nixos-cuda/cuda-legacy/pull/1; still need to verify stuff builds and add more redists to the older package sets Everything being as-is is nice, I don’t have to care nsight_systems uses an old version of Qt with known vulnerabilities01:28:19
@hacker1024:matrix.orghacker1024If anyone happens to be using datacenter drivers, be aware the the GSP firmware is not loading. This might lead to unexpected performance problems. https://github.com/NixOS/nixpkgs/issues/45477204:58:50
@prince213:matrix.orgprince213 joined the room.13:13:15
24 Oct 2025
@daniel-fahey:matrix.orgDaniel FaheyAnyone with a phat rig (16+ cores 100+ GB RAM) able to test building this fix? https://github.com/NixOS/nixpkgs/pull/45536420:57:01
@glepage:matrix.orgGaétan LepageYes22:26:21
@glepage:matrix.orgGaétan Lepage python313Packages.vllm built successfully with cudaSupport! 23:13:09
@glepage:matrix.orgGaétan Lepage I started an extensive nixpkgs-review with cudaSupport = true but it will take a while to complete. 23:15:33
25 Oct 2025
@washort:greyface.org@washort:greyface.org left the room.02:21:45

Show newer messages


Back to Room ListRoom Version: 9