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

feat: Split nvidia-open-dkms into its own package #534

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

1Naim
Copy link
Member

@1Naim 1Naim commented Feb 27, 2025

Historically, NVIDIA's open kernel module GitHub repository has been lagging behind its runfile driver.
This has happened already for atleast 2 versions now, and it's uncertain whether or not their release model
will improve for future releases.|

This PR splits the open kernel module sourced from GitHub into its own package so it doesn't block users and/or packagers from updating the userspace drivers. Note that nvidia-utils now also supports packaging the open modules sourced from the runfile, although it is disabled by default to prefer the Github-sourced modules during packaging.

@ptr1337
Copy link
Member

ptr1337 commented Feb 27, 2025

https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/

We could also consider to use this, since there is a available checksum.

1Naim and others added 3 commits February 28, 2025 00:57
Historically, NVIDIA's open kernel module GitHub repository has been lagging behind its runfile driver.
This has happened already for atleast 2 versions now, and it's uncertain whether or not their release model
will improve for future releases.

Signed-off-by: Eric Naim <[email protected]>
Since nvidia-open-dkms has been split into its own package, package kernel-open from runfile in this PKGBUILD
for posterity. This is disabled by default because the package sourced from the GitHub repository is preferred.

Signed-off-by: Eric Naim <[email protected]>
Now that each dkms.conf file is identical, we can simplify how we edit each dkms.conf by using find instead
of editting each of them in two different stages.

Co-Authored-by: Vasiliy Stelmachenok <[email protected]>
Signed-off-by: Eric Naim <[email protected]>
Signed-off-by: Vasiliy Stelmachenok <[email protected]>
@1Naim 1Naim force-pushed the feat/nvidia-split-dkms branch from 8ae9642 to d061967 Compare February 27, 2025 16:58
@1Naim
Copy link
Member Author

1Naim commented Feb 27, 2025

https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/

We could also consider to use this, since there is a available checksum.

Seems perfect actually, it looks like it's also pushed a few days before the driver release announcement (atleast for the current latest, I'll check past versions at a later time).

1Naim added a commit that referenced this pull request Feb 28, 2025
This tarball was brought to my attention by Peter in #534. At first glance, these tarballs are pushed
several days before NVIDIA makes their driver release announcement, and far earlier than what is pushed to
GitHub. These sources are preferred over the GitHub sources because it is released earlier.

Checksums are switched from sha512 to sha256 because the checksums provided by NVIDIA are sha256. No
functional changes intended.

Signed-off-by: Eric Naim <[email protected]>
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.

2 participants