Right now when running a command that has to connect to cache.nixos.org that command fails with warning: unable to download 'https://cache.nixos.org/nar/0g3mvx4rg81g9fdcjc5822v14vf73lnr84fcbxa8jdgciqa1m3qk.nar.xz': HTTP error 503; retrying in 320 ms
Following the link in a browser reveals the following:
Error 503 Response object too large
Response object too large
Guru Mediation:
Details: cache-muc13957-MUC 1645387388 1282033041
Varnish cache server
I ran into this while trying to update my machine to latest unstable.
I do not know where else to report this, I hope this place is okay.
Can I do anything about it?
Can confirm the issue with that file. Did you notice the note on the cache.nixos.org homepage? thereās a script you can run with diagnostics and then file an issue in the same repo.
So it seems like cache.nixos.org is trying to store the entire .run file, which isnāt necessary esp. since cache.nixos.org refuses to store the actual cudatoolkit build.
Is there any way we can get cache.nixos.org to just not store the massive .run file?
I am on NixOS 21.11 channel. The āstableā Nvidia driver is 495.44. There is some sort of issue with this driver that causes the following logs:
[ 3.331741] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 495.44 Fri Oct 22 06:13:12 UTC 2021
[ 4.236993] NVRM: GPU 0000:04:00.0: RmInitAdapter failed! (0x26:0x56:1479)
[ 4.237039] NVRM: GPU 0000:04:00.0: rm_init_adapter failed, device minor number 0
[ 5.785493] NVRM: GPU 0000:04:00.0: RmInitAdapter failed! (0x26:0x56:1479)
[ 5.785597] NVRM: GPU 0000:04:00.0: rm_init_adapter failed, device minor number 0
[ 6.317957] NVRM: GPU 0000:04:00.0: RmInitAdapter failed! (0x26:0x56:1479)
[ 6.318101] NVRM: GPU 0000:04:00.0: rm_init_adapter failed, device minor number 0
[ 7.498050] NVRM: GPU 0000:04:00.0: RmInitAdapter failed! (0x26:0x56:1479)
[ 7.498195] NVRM: GPU 0000:04:00.0: rm_init_adapter failed, device minor number 0
[ 8.031296] NVRM: GPU 0000:04:00.0: RmInitAdapter failed! (0x26:0x56:1479)
[ 8.031370] NVRM: GPU 0000:04:00.0: rm_init_adapter failed, device minor number 0
[ 9.198974] NVRM: GPU 0000:04:00.0: RmInitAdapter failed! (0x26:0x56:1479)
[ 9.199111] NVRM: GPU 0000:04:00.0: rm_init_adapter failed, device minor number 0
[ 9.732844] NVRM: GPU 0000:04:00.0: RmInitAdapter failed! (0x26:0x56:1479)
[ 9.732950] NVRM: GPU 0000:04:00.0: rm_init_adapter failed, device minor number 0
I have tried switching to the legacy_470 driver, but CUDA Toolkit 11 complains of compatibility issues (CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE = 804).
I would like to try cudatoolkit_10 to see if it will work with the 470 driver, but this 503 error makes it so I canāt download it.
I am connecting it to the ExpressCard slot of a Thinkpad T430 as an eGPU so maybe that is part of the problem. It always show up in lspci with Kernel driver in use: nvidia. It appears to works fine with legacy_470 and legacy_390, it at least can run OpenGL applications, but really I got it to use with CUDA for Tensorflow. But with the 495 driver and the above errors the system falls back to integrated graphics and nvidia-smi reports āNo devices were foundā The other option may be to try NixOS unstable and the 510 driver available there, but I donāt know if I can do that āin-placeā without messing up my development system and being able to roll back to 21.11.
Nvidia fades out support for certain models in progressive driver updates. You can check your device/driver version constraints on their website. I wouldnāt be surprised if there was an upper bound on the driver version youāll need.
In other words, I donāt think youāre doing anything wrong here