| 10 Feb 2025 |
SomeoneSerge (back on matrix) |
Afaik, the official hydra builders don't build insecure packages, so I am kind of against setting
Yeah but honestly I see no reason for that
| 13:30:47 |
SomeoneSerge (back on matrix) |
I still think that we should just change freeimage to
That would be lies though?
| 13:31:27 |
SomeoneSerge (back on matrix) |
Message deleted by NixOS Moderation Bot
o_0
| 13:32:39 |
ruro | I think that only 5 samples actually depend on freeimage - FilterBorderControlNPP, boxFilterNPP, cannyEdgeDetectorNPP, freeImageInteropNPP and histEqualizationNPP. That's not that many (given that there are like 200 total or something), so I am probably going to throw my over-engineered freeimage.overrideAttrs chicanery out of the window and just disable these samples by default. | 13:56:04 |
ruro | On a related note, can somebody tell me:
- Should I prefer linking to
libglvnd instead of libGL?
- Is it bad if I end up having both
libGL and libglvnd in the same closure?
- It seems that
libglvnd doesn't provide libGLU or libglut. Is there an equivalent vender-neutral dispatch mechanism for those libraries?
| 14:02:59 |
ruro | * ~~On a related note, can somebody tell me:
- Should I prefer linking to
libglvnd instead of libGL?
- Is it bad if I end up having both
libGL and libglvnd in the same closure?
- It seems that
libglvnd doesn't provide libGLU or libglut. Is there an equivalent vender-neutral dispatch mechanism for those libraries?~~
| 14:03:16 |
ruro | * On a related note, can somebody tell me:
- Should I prefer linking to
libglvnd instead of libGL?
- Is it bad if I end up having both
libGL and libglvnd in the same closure?
- It seems that
libglvnd doesn't provide libGLU or libglut. Is there an equivalent vender-neutral dispatch mechanism for those libraries?
Edit: nvm, I am blind. libGL is an alias for libglvnd
| 14:03:56 |
ruro | * ~~On a related note, can somebody tell me:~~
- Should I prefer linking to
libglvnd instead of libGL?
- Is it bad if I end up having both
libGL and libglvnd in the same closure?
- It seems that
libglvnd doesn't provide libGLU or libglut. Is there an equivalent vender-neutral dispatch mechanism for those libraries?
Edit: nvm, I am blind. libGL is an alias for libglvnd
| 14:04:04 |
ruro | * ~On a related note, can somebody tell me:~
- Should I prefer linking to
libglvnd instead of libGL?
- Is it bad if I end up having both
libGL and libglvnd in the same closure?
- It seems that
libglvnd doesn't provide libGLU or libglut. Is there an equivalent vender-neutral dispatch mechanism for those libraries?
Edit: nvm, I am blind. libGL is an alias for libglvnd
| 14:04:12 |
ruro | * On a related note, can somebody tell me:
- Should I prefer linking to
libglvnd instead of libGL?
- Is it bad if I end up having both
libGL and libglvnd in the same closure?
- It seems that
libglvnd doesn't provide libGLU or libglut. Is there an equivalent vender-neutral dispatch mechanism for those libraries?
Edit: nvm, I am blind. libGL is an alias for libglvnd
| 14:05:15 |
ruro | * On a related note, can somebody tell me:
- Should I prefer linking to
libglvnd instead of libGL?
- Is it bad if I end up having both
libGL and libglvnd in the same closure?
- It seems that
libglvnd doesn't provide libGLU or libglut. Is there an equivalent vender-neutral dispatch mechanism for those libraries?
Edit: nvm, I am blind. libGL is an alias for libglvnd
| 14:05:30 |
ruro | *
On a related note, can somebody tell me:
- Should I prefer linking to
libglvnd instead of libGL?
- Is it bad if I end up having both
libGL and libglvnd in the same closure?
- It seems that
libglvnd doesn't provide libGLU or libglut. Is there an equivalent vender-neutral dispatch mechanism for those libraries?
Edit: nvm, I am blind. libGL is an alias for libglvnd
| 14:06:04 |
ruro | * On a related note, can somebody tell me:
- Should I prefer linking to
libglvnd instead of libGL?
- Is it bad if I end up having both
libGL and libglvnd in the same closure?
- It seems that
libglvnd doesn't provide libGLU or libglut. Is there an equivalent vender-neutral dispatch mechanism for those libraries?
Edit: nvm, I must be blind and/or sleep deprived. libGL is an alias for libglvnd
| 14:06:35 |
ruro | *
On a related note, can somebody tell me:
- Should I prefer linking to
libglvnd instead of libGL?
- Is it bad if I end up having both
libGL and libglvnd in the same closure?
- It seems that
libglvnd doesn't provide libGLU or libglut. Is there an equivalent vender-neutral dispatch mechanism for those libraries?
Edit: nvm, I must be blind and/or sleep deprived. libGL is an alias for libglvnd
| 14:08:14 |
stick | sounds good | 15:05:28 |
ruro | Btw, it seems that there is a mismatch in CUDA vs GCC version compatibility after all. In particular, for me
cudaPackages_11_2.backendStdenv.cc.version == "12.4.0"
and with that compiler, a couple of the samples in cuda-samples are failing to compile due to errors inside cuda_cccl headers. Here is a forum post discussing this exact error.
I wasn't able to find precise compatibility matrices for CUDA 12.1, but according to this stackoverflow answer, CUDA 12.1 supports GCC versions up to 12.2 which is lower than the current 12.4.0.
Minor versions don't work in pkgs/development/cuda-modules/nvcc-compatibilities.nix, but setting gccMaxMajorVersion = "11" for "12.1" I was able to successfully build the problematic samples that fail with GCC 12.4.0. So it looks like CUDA 12.1 doesn't fully support GCC 12.4 after all.
Thoughts?
| 15:53:25 |
SomeoneSerge (back on matrix) | Hm. The logic for choosing gcc initially used gccMaxMajorVersion from some other file, nvcc-compatibilities was added later | 15:54:53 |
SomeoneSerge (back on matrix) | I hope to rewrite the eval bit in the coming month | 15:55:19 |
ruro | * Btw, it seems that there is a mismatch in CUDA vs GCC version compatibility after all. In particular, for me
cudaPackages_11_2.backendStdenv.cc.version == "12.4.0"
and with that compiler, a couple of the samples in cuda-samples are failing to compile due to errors inside cuda_cccl headers. Here is a forum post discussing this exact error.
I wasn't able to find precise compatibility matrices for CUDA 12.1, but according to this stackoverflow answer, CUDA 12.1 supports GCC versions up to 12.2 which is lower than the current 12.4.0.
Minor versions don't work in pkgs/development/cuda-modules/nvcc-compatibilities.nix, but setting gccMaxMajorVersion = "11" for CUDA "12.1" I was able to successfully build the problematic samples that fail with GCC 12.4.0. So it looks like CUDA 12.1 doesn't fully support GCC 12.4 after all.
Thoughts?
| 15:57:11 |
stick | i was able to build most of the release-cuda packages on aarch64-linux without any build issues - so this is awesome! | 17:29:24 |
stick | i pushed the results into https://app.cachix.org/cache/cuda-arm in case anyone would like to play with that | 17:30:29 |
stick | best it would be to have aarch64-linux enabled for nixpkgs:cuda on nix-community ofc | 17:30:54 |
mcwitt | Hi all, I've been wanting to use compute-sanitizer from cudaPackages.cuda_sanitizer_api but noticed it's currently broken (reported here: https://github.com/NixOS/nixpkgs/issues/349426).
In the issue SomeoneSerge (UTC+U[-12,12]) gave a useful hint for how to get started fixing this. I've implemented the suggestion in https://github.com/NixOS/nixpkgs/pull/379695.
This does seem like a useful starting point: the compute-sanitizer binary is working and I've been successfully using it at work. Is anyone here available to review?
| 23:01:35 |
| 12 Feb 2025 |
connor (he/him) | Just merged it, thank you! | 15:32:37 |
connor (he/him) | All, I’m excited for our meeting tomorrow! Do we have a document with an agenda or minimum set of items to cover? | 15:33:17 |
SomeoneSerge (back on matrix) | Me too! Just started one https://pad.lassul.us/YGyymxE9Qqy9iFVt7A2VnA#, everyone feel free to edit | 20:09:57 |
| 13 Feb 2025 |
| connor (he/him) changed their display name from connor (he/him) (UTC-7) to connor (he/him) (UTC-8). | 06:59:16 |
SomeoneSerge (back on matrix) | Matrix calls did work last time didn't it? | 07:51:04 |
SomeoneSerge (back on matrix) | * Matrix call did work last time didn't it? | 07:51:09 |
SomeoneSerge (back on matrix) | Still haven't figured out what broke in jitsi | 07:51:29 |