From Fedora Project Wiki
Line 82: Line 82:


This change aims to improve user experience of installing the proprietary Nvidia driver.
This change aims to improve user experience of installing the proprietary Nvidia driver.
== Dependencies ==
<!-- What other packages (RPMs) depend on this package?  Are there changes outside the developers' control on which completion of this change depends?  In other words, completion of another change owned by someone else and might cause you to not be able to finish on time or that you would need to coordinate?  Other upstream projects like the kernel (if this is not a kernel change)? -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->


== Contingency Plan ==
== Contingency Plan ==

Revision as of 09:38, 31 May 2024

Nvidia Driver Installation with Secure Boot Support

Summary

Nvidia Drivers have been removed from GNOME Software because it didn't support Secure Boot which is increasingly often enabled. This change brings the option back with Secure Boot supported.

Owner

  • Email: eischmann@redhat.com
  • Email: mcrha@redhat.com

Current status

  • Targeted release: Fedora Linux 41
  • Last updated: 2024-05-31
  • Announced
  • Discussion Thread
  • FESCo issue:
  • Tracker bug:
  • Release notes tracker: <will be assigned by the Wrangler>

Detailed Description

The goal is this change is to provide an easy way to install Nvidia drivers in Fedora Workstation. It was removed from GNOME Software because the original mechanism didn't support Secure Boot. When users installed the drivers with Secure Boot enabled, they could not boot the OS. What we're doing this time is using mokutil to create a key for the user to self-sign the drivers. When installing the drivers, the user is asked to provide a password for the key. On the next reboot the user is presented with the mokutil interface to enroll the key.

Feedback

Benefit to Fedora

The Nvidia drivers are necessary not only for gaming, but especially for CUDA and AI/LLM workloads. The Nvidia drivers can't be part of Fedora because of their license, but Fedora should offer an easy installation of them to stay relevant in the respective fields.

Scope

  • Proposal Owners: The feature will be implemented in GNOME Software 47 and will be shipped in the gnome-software package in Fedora Linux 41.
  • Other Developers: No work required from other Fedora developers. The only requirement outside of the scope of the proposal owners is to reintroduce AppStream metadata into the Nvidia driver repo on RPMFusion.org.
  • Release Engineering:
  • Policies and Guidelines:
  • Trademark approval:
  • Alignment with Community Initiatives:

Upgrade/compatibility impact

No impact is expected.

How To Test

1. Open GNOME Software. 2. Reach for "nvidia". 3. Choose the Nvidia driver, click Install and follow the prompts. 4. Reboot and enroll the self-signing key in the mokutil tool following <<the documentation will be added>> 5. The OS should boot up with the Nvidia driver enabled.

User Experience

This change aims to improve user experience of installing the proprietary Nvidia driver.

Contingency Plan

If the feature is not implemented on time for Fedora Linux 41, we can simply remove AppStream metadata from the Nvidia driver repo and the driver will not show up in GNOME Software like in Fedora Linux 40.

Documentation

The GNOME Software part is intuitive and doesn't require documentation. The mokutil part is less intuitive and will be documented in the Fedora Workstation section on docs.fedoraproject.org. The docs will be published when the feature lands in Fedora Linux 41.

Release Notes