-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
akmods-nvidia-open requires adding rpmfusion-nonfree-release-tainted on RPM distro, and can't be concurrently installed for testing #700
Comments
How true is this?
|
This is a rpm-ostree issue, it's a useless package installer.
|
If the [rpm] packages could be installed concurrently, it would be possible
to test which module has a given but.
I don't think it's an rpm-ostree issue, I think it's an RPMfusion package
issue; that may be remedyable if:
- [ ] change file paths in akmods-nvidia-open
- [ ] host both modules in the same repo
- [ ] improve the RPMfusion docs in regards to the new open module
|
If dnf works fine, no issue, then the only other thing it could be is rpm-ostree. P.S Why bug nvidia with this, go and bug rpm-ostree instead. |
dnf has the same problems: (1) you cannot install both akmods-nvidia and
akmods-nvidia-open and switch between them, and (2) there's yet another
third-party repo with a built copy to install and check with every `dnf
update` or `rpm-ostree upgrade`, and (3) you must ensure repo priorities
are correct and/or include_pkgs= or exclude_pkgs= in /etc/yum.repos.d so
that a kernel from another repo is not installed instead of whatever is
named 'kernel' from the updates repo whose gpg signature must be trusted.
rpm-ostree installs packages with dnf, on top of a built and signed Native
Containers root image, with a /etc and /usr overlays.
A fedora-toolbox podman rootless container can run regular dnf as root;
with a Containerfile to include the requisite `dnf install` commands
directly or with a shell script that calls a provisioner to provision an
updated, reproducible image.
Fedora Silverblue and derivatives ship fedora/toolbox for working with
local guest containers. distrobox also mounts very many paths into a
rootless container automatically.
The Bazzite image already includes the akmods-nvidia rpmfusion repo which
it checks for updates every time
|
Using the /etc/rpm/macros.nvidia-kmod method is the easiest way to switch https://rpmfusion.org/Howto/NVIDIA?highlight=%28%5CbCategoryHowto%5Cb%29#Kernel_Open |
On ostree, you can install this package that will tune the option to build the kernel-open instead of the closed counterpart. |
Here's those as originally formatted with a quote indent
...
|
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.
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.
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
(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: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.5
before 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 haveincludepkgs=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 :
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.
The text was updated successfully, but these errors were encountered: