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

Add some driver version-selection logic #184

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ulucs
Copy link

@ulucs ulucs commented Oct 15, 2024

Fixes #170, which stemmed from Nvidia not hosting every single minor driver version.

This PR adds a somewhat smart driver version selection logic (first one released after the device's driver) to keep the nix and device drivers as close as possible while trying to download an existing one.

Currently the list is hard-coded, collected with the following script:
copy($$('a').map(e=>e.innerText).filter(e=>e.match(/[0-9]/)).map(e=>e.substring(0, e.length-1)).map(s=>`"${s}"`).join("\n")) from https://download.nvidia.com/XFree86/Linux-x86_64

If/when #131 gets merged, the driver selection logic can be modified to select from existing drivers

@cfhammill
Copy link

@ulucs I ended up finding another source for drivers, not sure if that solves the instigating problem, see

"https://developer.nvidia.com/datacenter-driver-archive", headers=headers)

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 this pull request may close these issues.

404 error with latest Nvidia drivers
2 participants