| 5 Nov 2024 |
Jonas Chevalier | In reply to @ss:someonex.net Note there was recently somebody in nix-gl-host issues advertising their Rust rewrite Did you take a look at https://github.com/NVIDIA/nvidia-container-toolkit already? I think they are battling with similar issues, plus sandboxing on top. It seems like they are using ld.so.cache as a loading mechanism instead of the LD_* env var and that might be more robust? | 15:16:02 |
SomeoneSerge (back on matrix) | In reply to @zimbatm:numtide.com Did you take a look at https://github.com/NVIDIA/nvidia-container-toolkit already? I think they are battling with similar issues, plus sandboxing on top. It seems like they are using ld.so.cache as a loading mechanism instead of the LD_* env var and that might be more robust? Yes that's what we use for docker/podman on nixos | 15:16:44 |
SomeoneSerge (back on matrix) | I'm not sure if it's worth reusing because nixGL and nix-gl-host are solving a more general problem; the ctk just assumes an FHS environment, we have to patch it and we have to patch its outputs to make them usable on nixos | 15:19:32 |
SomeoneSerge (back on matrix) | But yes we should keep in mind the general idea of exporting ld.so.cache. We actually used it at least for some time for the singularity containers | 15:21:25 |
SomeoneSerge (back on matrix) | In reply to @zimbatm:numtide.com looks like it's broken since end of October: https://hydra.nix-community.org/build/1720981 In file included from /build/source/intern/cycles/scene/image_vdb.cpp:5:
/build/source/intern/cycles/scene/../scene/image_vdb.h:12:12: fatal error: nanovdb/util/GridHandle.h: No such file or directory
12 | # include <nanovdb/util/GridHandle.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [intern/cycles/scene/CMakeFiles/cycles_scene.dir/build.make:328: intern/cycles/scene/CMakeFiles/cycles_scene.dir/image_vdb.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 56%] Building CXX object source/blender/makesrna/intern/CMakeFiles/bf_rna.dir/rna_access_compare_override.cc.o
In file included from /build/source/intern/cycles/scene/image.cpp:9:
/build/source/intern/cycles/scene/../scene/image_vdb.h:12:12: fatal error: nanovdb/util/GridHandle.h: No such file or directory
12 | # include <nanovdb/util/GridHandle.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Well here's the first offender
| 15:22:59 |
SomeoneSerge (back on matrix) | Ah isn't it nice to have a per-attribute build history | 15:23:36 |
SomeoneSerge (back on matrix) | So odd that wasn't a thing with hercules | 15:24:15 |
| kaya 𖤐 changed their profile picture. | 23:25:06 |
| 6 Nov 2024 |
connor (burnt/out) (UTC-8) | Oh my god another TensorRT release | 17:06:11 |
connor (burnt/out) (UTC-8) | I really gotta finish up stuff I’m working on | 17:06:49 |
| 7 Nov 2024 |
connor (burnt/out) (UTC-8) | wanting to figure out the cost of evaluating a single attribute led me to make https://github.com/ConnorBaker/nix-eval-jobs-python | 06:06:20 |
connor (burnt/out) (UTC-8) | wanting to figure out the impact malloc replacements have on nix eval led me to make https://github.com/ConnorBaker/tune-nix-eval still excited about this one -- plan to add support to optimize zram parameters at some point to see if it's worthwhile to just always disable GC so long as there's RAM (or compressed RAM) available | 06:07:36 |
| 8 Nov 2024 |
connor (burnt/out) (UTC-8) | Pointed out to me today by a coworker:
[connorbaker@nixos-desktop:~]$ nix eval nixpkgs#path --apply '(path: path)'
/nix/store/xnjw9gmfmpppdj6bxpw6cfkspc3h6xwl-source
[connorbaker@nixos-desktop:~]$ nix eval nixpkgs#path --apply '(path: "${path}")'
"/nix/store/6hqgw3kmvcv4glqqs64idkwvp7zx0c11-xnjw9gmfmpppdj6bxpw6cfkspc3h6xwl-source"
:(
(yes, it copies the entirety of nixpkgs from one path in the store to another path in the store)
| 08:20:41 |
connor (burnt/out) (UTC-8) | * Pointed out to me today by a coworker:
[connorbaker@nixos-desktop:~]$ nix eval nixpkgs#path --apply '(path: path)'
/nix/store/xnjw9gmfmpppdj6bxpw6cfkspc3h6xwl-source
[connorbaker@nixos-desktop:~]$ nix eval nixpkgs#path --apply '(path: "${path}")'
"/nix/store/6hqgw3kmvcv4glqqs64idkwvp7zx0c11-xnjw9gmfmpppdj6bxpw6cfkspc3h6xwl-source"
:(
(yes, it copies the entirety of nixpkgs from one path in the store to another path in the store)
| 08:20:48 |
connor (burnt/out) (UTC-8) | * Pointed out to me today by a coworker:
[connorbaker@nixos-desktop:~]$ nix eval nixpkgs#path --apply '(path: path)'
/nix/store/xnjw9gmfmpppdj6bxpw6cfkspc3h6xwl-source
[connorbaker@nixos-desktop:~]$ nix eval nixpkgs#path --apply '(path: "${path}")'
"/nix/store/6hqgw3kmvcv4glqqs64idkwvp7zx0c11-xnjw9gmfmpppdj6bxpw6cfkspc3h6xwl-source"
:(
(yes, it copies the entirety of nixpkgs from one path in the store to another path in the store)
| 08:20:56 |
connor (burnt/out) (UTC-8) | * Pointed out to me today by a coworker:
[connorbaker@nixos-desktop:~]$ nix eval nixpkgs#path --apply '(path: path)'
/nix/store/xnjw9gmfmpppdj6bxpw6cfkspc3h6xwl-source
[connorbaker@nixos-desktop:~]$ nix eval nixpkgs#path --apply '(path: "${path}")'
"/nix/store/6hqgw3kmvcv4glqqs64idkwvp7zx0c11-xnjw9gmfmpppdj6bxpw6cfkspc3h6xwl-source"
>:(
(yes, it copies the entirety of nixpkgs from one path in the store to another path in the store)
| 08:21:04 |
connor (burnt/out) (UTC-8) |
A string interpolates to itself.
A path in an interpolated expression is first copied into the Nix store, and the resulting string is the [store path] of the newly created store object .
https://github.com/NixOS/nix/blob/723fdeb4f1bd7fad7c3b00603067d23c314b25c5/doc/manual/source/language/string-interpolation.md?plain=1#L153-L155
| 08:21:57 |
| 10 Nov 2024 |
| Phillip Seeber joined the room. | 01:14:24 |
| 11 Nov 2024 |
hexa | Gaétan Lepage: tensordict is still causing issues https://hydra.nixos.org/build/278116531 | 23:29:53 |
hexa | I killed it now after 7 hours of build time | 23:30:04 |
hexa | stuck at 22% | 23:30:09 |
hexa | I recommend finding a machine to reproduce, then going in with pytestFlagsArray = [ "-vvv"] and possibly pytest-timeout | 23:30:39 |
| 12 Nov 2024 |
| pfhuh joined the room. | 05:55:30 |
| Luke removed their profile picture. | 17:33:09 |
| Luke set a profile picture. | 17:33:42 |
| Luke removed their profile picture. | 17:34:36 |
| Luke set a profile picture. | 17:35:11 |
Gaétan Lepage | Yes, I know :/
I will try to identify the problematic test | 20:25:54 |
Gaétan Lepage | Here is where it gets stuck | 20:33:04 |
Gaétan Lepage |  Download clipboard.png | 20:33:08 |