Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 error with latest Nvidia drivers #170

Open
oessaid opened this issue Apr 4, 2024 · 4 comments · May be fixed by #184
Open

404 error with latest Nvidia drivers #170

oessaid opened this issue Apr 4, 2024 · 4 comments · May be fixed by #184

Comments

@oessaid
Copy link

oessaid commented Apr 4, 2024

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)

@2goodAP
Copy link

2goodAP commented May 2, 2024

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.

Screenshot_20240502_140500

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

@AkechiShiro
Copy link

Same issue encountered for 535.183.06

@AkechiShiro
Copy link

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.

@ulucs
Copy link

ulucs commented Oct 14, 2024

@oessaid would installing an available version on the same major+minor with no auto-detection be a possible workaround? As in

nix-build -A auto.nixGLNvidia --argstr nvidiaVersion 550.54.14

@ulucs ulucs linked a pull request Oct 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants