!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

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


SenderMessageTime
10 Apr 2025
@connorbaker:matrix.orgconnor (he/him)As an update, I’ve been added to the nix-community org but haven’t had a chance to push a copy of the to-be-removed CUDA components and GCC expressions16:26:37
@connorbaker:matrix.orgconnor (he/him)Complication there is mostly figuring out important paths in the tree so I know what to keep when doing a filter (to retain commit history)16:27:19
@connorbaker:matrix.orgconnor (he/him) SomeoneSerge (UTC+U[-12,12]): as a quick fix for nix-gl-host for Jetson devices for the problem I was seeing where cuda_compat wouldn’t be set in the LD_LIBRARY_PATH and the drivers would take priority, would it be enough to scan the run path of the binary passed to nixglhost to look for cuda_compat and conditionally prepend it to LD_LIBRARY_PATH if it is present?
Kind of gross, but given usage of cuda_compat is per-application and not a single vendor supplied directory on the host, not sure how else to handle it.
Ugh I imagine one should also check the version of the host driver to see if using cuda_compat when it is present in the run path would actually break things (i.e., the driver is newer than what cuda_compat provides for, so we need to use the driver’s backward compatibility instead of cuda_compat’s forward compatibility).
16:32:12
@ss:someonex.netSomeoneSerge (back on matrix)Hmmm why'd you need the scanning?16:32:51
@ss:someonex.netSomeoneSerge (back on matrix)

the driver is newer than what cuda_compat provides for

H'm, interesting

16:33:24

Show newer messages


Back to Room ListRoom Version: 9