NVIDIA / NVIDIA/open-gpu-kernel-modules
akmods-nvidia-open requires adding rpmfusion-nonfree-release-tainted on RPM distro, and can't be concurrently installed for testing
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 17.4k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
NVIDIA Open GPU Kernel Modules Version
- *
Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.
- I confirm that this does not happen with the proprietary driver package.
Operating System and Version
Fedora 40 (doesn't have lsb_release -d, it has `(source /etc/os-release; echo "$PRETTY_NAME)")
Kernel Release
Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
- I am running on a stable kernel release.
Hardware: GPU
Describe the bug
akmods-nvidia-open requires adding rpmfusion-nonfree-release-tainted on RPM distro,
and can't be concurrently installed for testing
- https://rpmfusion.org/Howto/NVIDIA#Kernel_Open says to install the tainted repo first, and then install akmods-nvidia-open
To Reproduce
sudo rpm-ostree install --apply-live rpmfusion-nonfree-release-tainted
sudo sh -c 'rpm-ostree update --uninstall akmod-nvidia --install akmod-nvidia-open && reboot'
Bug Incidence
Every (?) RPM-based Linux distro at install and module upgrade time
nvidia-bug-report.log.gz
There is no bug report because it's an issue with the downstream install UX, which isn't beyond the scope of this project. And downstream CI and keys too really. COPR OpenSUSE OBS may be able to build packages with a trusted MOK SecureBoot key.
More Info
- This gh issue template asks: "I confirm that this does not happen with the proprietary driver package."
- This would be much easier to test if it were possible to install both the proprietary NVIDIA module and the open NVIDIA module
(which also loads a proprietary blob that taints the kernel hence the rpmfusion repo names,
and so can be distributed by RPMfusion, and maybe Fedora COPR or OpenSuse OBS instead?)
- This would be much easier to test if it were possible to install both the proprietary NVIDIA module and the open NVIDIA module
The current Fedora Silverblue (rpm-ostree) install UX (for the proprietary module) also includes:
- https://github.com/fedora-silverblue/issue-tracker/issues/499 ; you must have akmods locally sign each gpu package with a key that you enroll in the bios for SecureBoot to work
- Bazzite is an rpm-ostree distro for gaming (* with an fsync kernel and focused-app renice) which runs on HTPC, mobile gaming devices like Steam Deck, Legion Go, and Rog Ally devices, and workstation systems with Gnome or KDE. They ship ProtonUp-QT and and the Steam Client. Their README also describes steps for SecureBoot with Bazzite: https://github.com/ublue-os/bazzite?#secure-boot :
ujust enroll-secure-boot-key - I got into this because Gnome Night Light isn't working but should be and neither is
xrandr --gamma, and I don't want to install ddcutil and i2c-dev to emulate Gnome Night Light, which should be working with the new GAMMA_LUT support in the NVIDIA proprietary driver (too?); so now do I need to upgrade to fc41 today to drop the blue gamma channel like used to work withxgamma --gamma 1:1:0.5before they added Night Light support to Gnome and Wayland.
But to safely do this, I think I actually need to modify what's in /etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver to have includepkgs=akmods-nvidia-open and are there additional package dependencies that require the additional package repo?
From https://discussion.fedoraproject.org/t/nvidia-how-to-switch-to-the-open-source-kernel-module/126362/10 and https://rpmfusion.org/Howto/NVIDIA#Kernel_Open :
sudo rpm-ostree install rpmfusion-nonfree-release-tainted
reboot
sudo rpm-ostree update --uninstall akmod-nvidia --install akmod-nvidia-open
https://download1.rpmfusion.org/nonfree/fedora/tainted/40/x86_64/a/
Hopefully it's somehow possible to install akmods-nvidia and akmods-nvidia-open - without so many rpmfusion repos - for testing at least.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the rpm-ostree commands in the report and inspect /etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver alongside the RPM Fusion Kernel Open documentation. Determine whether akmod-nvidia and akmod-nvidia-open can be installed or tested safely with the required repositories and dependencies; done means documenting or validating a supported installation path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fedora, linux, shell
- Domain
- devops, operating-systems, release
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100