#18 nvidia kmod + kernel upgrade
Closed 2 years ago by tpopela. Opened 4 years ago by barn.

I was able to install nvidia drivers successfully in Silverblue 30.

I was able to complete install with fedora’s “fedora-workstation-repositories” by enabling “rpmfusion-nonfree-nvidia-driver.repo”. Then, " rpm-ostree install kmod-nvidia xorg-x11-drv-nvidia". And finally, use the same kargs from Alex’s nvidia blog post. Worked well. I have not noticed any performance issues.

The issue:

After I did a general system upgrade that included an update to the kernal, the akmod no longer worked! I am not sure why the akmod post-scripts didnt execute after kernal update. I havnt found a “real” solution to this problem: my uneducated workaround was to uninstall/install the two nvidia packages, which worked for me.

4FA2B47A-A230-48C3-836E-6A1AE93279AA.png


Hello folks!

The rpmfusion nvidia driver not found the kernel module in f33 neither f34

I'm currently on f34 right now

Fábio

Please provide:

  • the output of rpm-ostree status
  • the logs for the update from the journal
  • whether it worked before for you in a precedent release or if this is a new issue on F34.

Also NVIDIA drivers come from the rpm-fusion repository which is not maintained nor supported by Fedora so you might want to open an issue in their bugtracker.

I imagine its a new issue... the logs of rpm-ostree as requested:

➜  ~ rpm-ostree status
State: idle
Deployments:
● ostree://fedora:fedora/34/x86_64/silverblue
                   Version: 34.20210302.n.1 (2021-03-03T00:00:47Z)
                BaseCommit: 5909973dc4a046e81820d74d9846aa6d691befe2e01c2757ef80b25ee6af0b7a
              GPGSignature: Valid signature by 8C5BA6990BDB26E19F2A1A801161AE6945719A39
           LayeredPackages: alacritty gstreamer1-plugin-openh264 libvirt ntpsec qemu-kvm virt-manager zsh
             LocalPackages: rpmfusion-nonfree-release-34-0.2.noarch rpmfusion-free-release-34-0.3.noarch

  ostree://fedora:fedora/34/x86_64/silverblue
                   Version: 34.20210228.n.0 (2021-02-28T08:06:07Z)
                BaseCommit: 456cfb16a0dff29ac2453612fbe771b55dd1bc04fb2ce10bbd5dac1f129dd1ad
              GPGSignature: Valid signature by 8C5BA6990BDB26E19F2A1A801161AE6945719A39
           LayeredPackages: alacritty gstreamer1-plugin-openh264 libvirt ntpsec qemu-kvm virt-manager zsh
             LocalPackages: rpmfusion-nonfree-release-34-0.2.noarch rpmfusion-free-release-34-0.3.noarch

Update my previous comment to clarify the things we need to help you.

Hello...

How to the correct way to install nvidia driver in the Silverblue instead of nouveau?

Fábio

It is outdated and doesn't work... is missing nvidia kernel module ... AND uses rpmfusion

I am currently on F34 and don’t have issues with nvidia. These are the steps i use, so I’m sure they are the same ones you already used:

$ sudo rpm-ostree install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-34.noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-34.noarch.rpm

$ systemctl reboot

$ rpm-ostree install kmod-nvidia xorg-x11-drv-nvidia

$ sudo rpm-ostree kargs --append=rd.driver.blacklist=nouveau --append=modprobe.blacklist=nouveau --append=nvidia-drm.modeset=1

Hello, folks

Its necessary to disable the secure boot to works that drivers, btw the Fedora installed with secureboot actived. But have trouble against akmods... not generate modules to work with vulkaninfo and vdpauinfo.

I opened that bugzilla, was closed and reopened. https://bugzilla.rpmfusion.org/show_bug.cgi?id=5946

RPMFusion working on

Fábio

...

not generate modules to work with vulkaninfo and vdpauinfo.

To works must be in x11 session, not in wayland!

Fábio

Hi @farribeiro is you still see the issue, please report it in https://github.com/fedora-silverblue/issue-tracker/issues/ (this issues tracker is deprecated).

Metadata Update from @tpopela:
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata
Attachments 1