#1375 RFC: NVIDIA open source diver incusion in main repo
Closed: rejected 3 months ago by james. Opened 3 months ago by man2dev.

Hello I am a package maintainer and part of the AI sig.
And I had question the NVIDIA open source drivers have reached their first table verion (555) which can be used for NVIDIA Turing and NVIDIA Ampere Architecture GPUs.
As such a question came to mind why is it in rpm fusion as far as i know there shouldn't be any license issues. After some discussion and finding no answer I was guided here.
To see if possible we can bring it main repo

links:
https://pkgs.rpmfusion.org/cgit/nonfree/nvidia-open-kmod.git/
https://github.com/NVIDIA/open-gpu-kernel-modules


The aptly-names "What can be packaged" page is what you were looking for:

https://docs.fedoraproject.org/en-US/packaging-guidelines/what-can-be-packaged/#_no_external_kernel_modules

TL;DR:

Fedora does not allow kernel modules to be packaged outside of the main kernel package.

The aptly-names "What can be packaged" page is what you were looking for:

https://docs.fedoraproject.org/en-US/packaging-guidelines/what-can-be-packaged/#_no_external_kernel_modules

TL;DR:

Fedora does not allow kernel modules to be packaged outside of the main kernel package.

yes, but there is an exemption according to:
https://fedoraproject.org/wiki/KernelDriverPolicy
kmod-nvidia-open kernel module would fall under several of the criteria:

1) There must be reasonable demand for the feature for us taking on the burden of carrying the code until it gets upstream.
2) Has an upstream developer actively trying to get their code merged into Linus' tree.
3) Has a Fedora developer responsible for keeping it up to date, improved etc in Fedora.
  1. there has been high demand for this for years i think we can all agree on this one. But just in case here is list of all gpus supported by drivers
    https://github.com/NVIDIA/open-gpu-kernel-modules/blob/main/README.md#compatible-gpus
    https://siliconangle.com/2024/02/21/nvidias-data-center-gpu-sales-grow-stunning-409-huge-demand-ai-chips/
  2. there are currently 2 efforts to porting parts of the open source diver upstream
    https://lore.kernel.org/nouveau/
    first:
    https://www.gamingonlinux.com/2024/06/nvidia-exploring-ways-to-support-an-upstream-kernel-mode-gpu-driver/
    https://lore.kernel.org/nouveau/20240416234002.19509-1-bskeggs@nvidia.com/
    second: (a re write of open source driver)
    https://gitlab.freedesktop.org/drm/nova
  3. I will do it if it can be package. (haven't looked into to shipping it as kernel patch yet, so no comments on that)

This driver would not be useful without the proprietary userspace we can't ship in Fedora.

Also, to note, nobody is porting this driver to Linus' tree. In fact, it's being mostly ignored. The GSP firmware that it uses is in linux-firmware and used by nouveau, though. Same for the upcoming nova (if it truly materializes).

The nvidia-gpu-open driver is only useful if you need CUDA and derived features (NVENC/NVDEC), which require a proprietary userspace that we will not ship in Fedora.

This driver would not be useful without the proprietary userspace we can't ship in Fedora.

as far as i have looked into it for most basic features like power demon working is handled by nvidia-modprobe which seams to be open source:
https://github.com/NVIDIA/nvidia-modprobe
https://pkgs.rpmfusion.org/cgit/nonfree/nvidia-modprobe.git/

furthermore nvidia-settings looks to be under opne source license:
https://pkgs.rpmfusion.org/cgit/nonfree/nvidia-settings.git/
https://github.com/NVIDIA/nvidia-settings

Those are just configuration tools. The actual bits that make the driver work with graphics and compute are not.

Also, to note, nobody is porting this driver to Linus' tree. In fact, it's being mostly ignored. The GSP firmware that it uses is in linux-firmware and used by nouveau, though. Same for the upcoming nova (if it truly materializes).

The nvidia-gpu-open driver is only useful if you need CUDA and derived features (NVENC/NVDEC), which require a proprietary userspace that we will not ship in Fedora.

im not sure about whether the patches are inline with open drivers but they certenly are not trying to break compatibility with one another and there is a reference implementation https://github.com/NVIDIA/NV-Kernels

Also, to note, nobody is porting this driver to Linus' tree. In fact, it's being mostly ignored. The GSP firmware that it uses is in linux-firmware and used by nouveau, though. Same for the upcoming nova (if it truly materializes).

The nvidia-gpu-open driver is only useful if you need CUDA and derived features (NVENC/NVDEC), which require a proprietary userspace that we will not ship in Fedora.

as for cuda requiring proprietary user space tooling I will assume you are talking about nvcc

Metadata Update from @james:
- Issue close_status updated to: rejected
- Issue status updated to: Closed (was: Open)

3 months ago

Log in to comment on this ticket.

Metadata