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

Open
#700 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

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?)

The current Fedora Silverblue (rpm-ostree) install UX (for the proprietary module) also includes:

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.