-
Couldn't load subscription status.
- Fork 64
Description
I created the following repo for Bazzite's usecase:
https://github.com/bazzite-org/nvidia-drivers
It bundles the drivers provided by the Negativo repo and provides them as releases (could also do OCI), allowing us to control the Nvidia version and ensure it is always matched to the kernel. Even though it will not be required by Bazzite, I added the nvidia-kmod package, which is required by this repository.
Therefore, this repository meets the needs of Universal Blue.
Given this, I propose we move that repository to the ublue org and centralize its usage across all images via a new install script.
This script will first check the nvidia-kmod version provided by the kernel. Then, it will install the driver rpms via that repo, ensuring they always match the driver version, even when negativo/bazzite updates. Therefore, when e.g. a kernel is rolled back, the proper nvidia version is installed automatically.
This script will be placed in-between kernel installation and initramfs generation, ensuring the final initramfs is correct.
As a sidenote, bundling the kernel drivers themselves into akmods would use a lot of storage space and require constant tweaking, so #360 is not a viable alternative. It was initially considered for the new bazzite kernel, but for the same reason it was considered out of scope.