nixGL
nixGL copied to clipboard
404 error with latest Nvidia drivers
Installation of nixGLNvidia
fails with latest drivers on Ubuntu 22.04 (LTS):
$ NIXPKGS_ALLOW_UNFREE=1 nix profile install github:guibou/nixGL#nixGLNvidia --impure
It looks for a driver file that's not available in https://download.nvidia.com/XFree86/Linux-x86_64/
.
error:
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:9:12:
8|
9| strict = derivationStrict drvAttrs;
| ^
10|
… while evaluating derivation 'nixGLNvidia-550.54.15'
whose name attribute is located at /nix/store/kc7nh9sdr4z8c7xc9j9891v212k2zj8k-source/pkgs/stdenv/generic/make-derivation.nix:270:7
… while evaluating attribute 'text' of derivation 'nixGLNvidia-550.54.15'
at /nix/store/kc7nh9sdr4z8c7xc9j9891v212k2zj8k-source/pkgs/build-support/trivial-builders.nix:117:17:
116| runCommand name
117| { inherit text executable checkPhase meta;
| ^
118| passAsFile = [ "text" ];
(stack trace truncated; use '--show-trace' to show the full trace)
error: unable to download 'https://download.nvidia.com/XFree86/Linux-x86_64/550.54.15/NVIDIA-Linux-x86_64-550.54.15.run': HTTP error 404
response body:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>404 - Not Found</title>
</head>
<body>
<h1>404 - Not Found</h1>
<script type="text/javascript" src="//obj.ac.bcon.ecdns.net/ec_tpm_bcon.js"></script>
</body>
</html>
What is the best mitigation for this? I've seen this issue pop up on the repo from time to time (i.e. there were other issues like this one in the past, e.g. this one)
Yup, happening to me too. The download URL https://download.nvidia.com/XFree86/Linux-x86_64/550.40.59/NVIDIA-Linux-x86_64-550.40.59.run seems broken.
The version being downloaded for me is a Vulkan beta driver and requires a different URL altogether. This one (https://developer.nvidia.com/downloads/vulkan-beta-5504061-linux) is an example for the 550.40.61 Vulkan beta driver
Same issue encountered for 535.183.06
In order to fix this issue, would some kind of mirror containing all the Nvidia drivers (the community can also contribute, if any are missing), experimentals/Nvidia Tesla and so on, would be desirable ?
Maybe using archive.org
, those files can be archived and then a mirror can be setup to also have them ready to be downloaded in an easy way.