-
Notifications
You must be signed in to change notification settings - Fork 0
README
This repository is mainly for nvidia graphics card users who don't want to install a bunch of development kits on their computer.
Fedora only.
When I first installed the nvidia driver, I used the .run file provided by nvidia. I felt it was ok, but not good enough.
For example, I had very few options for the files that were installed on my computer, and I couldn't easily manage them after installation, after all, they didn't belong to any of the (rpm) packages.
Then I learned about the akmods solution. But when I tried to install it, I realized that I needed to install hundreds of packages that would take up several gigabytes of storage space. The feeling was as ridiculous as building the entire Eiffel Tower in order to lift a single grain of rice (personal feeling, you can disagree with me). Eventually I gave it up.
In the end, I got tired of the existing installation solutions and of installing development kits and executing commands to recompile kernel modules every time I updated the kernel, then I decided to tackle it all at the source.
-
Now you don't have to install any development packages on your computer just for installing nvidia driver!
-
You just need to install the (rpm) packages containing the nvidia kernel modules and other nvidia driver binaries!
-
Supports secure boot! It can also not support secure boot if you don't need it, the choice is yours!
-
The kernel modules build runs automatically in the cloud, you just need to trigger it and wait for the build to finish, download (rpm) packages and install them! You are done!
-
Since I'm not a professional driver developer, and I have only limited knowledge of the functionality of nvidia driver files, I may have made some mistakes in splitting the package, so feel free to correct me if you find them.
-
Other potential issues.
Assume a computer that has never had nvidia's proprietary driver installed:
-
Means that you'd better restore your computer to the state it was in before you installed the nvidia driver using another solution.
-
Or you have enough knowledge to solve potential problems: such as reusing certificate and key previously used for signing.
-
(If you need secure boot) Create a pair of certificate and key to be used for signing.
-
(If you need secure boot) Place them in the
/etc/keys
directory and name themmodsign.der
andmodsign.key
. -
(If you need secure boot) Use
mokutil
to import themodsign.der
file. -
The above operations are required only once!
-
Download the built (rpm) packages and install them.
-
(If you only update the kernel) You just need to trigger the build and install the
nvidia-modules
(rpm) package! -
(If you update the nvidia drivers) Unfortunately, you need to reinstall new versions of all the
nvidia-*
(rpm) packages you previously installed, which is a limitation of nvidia driver.
Due to NVIDIA license restrictions, the priority purpose of this repository is for my own use and to provide a reference for others who want to build their own nvidia driver (rpm) packages. It is not recommended that others use the build results of this repository directly to avoid being judged as repackaging and distributing the proprietary driver.