Troubles with RPMfusion nvidia drivers + SecureBoot setup |

hi,i tried to install rpm fusion drivers but i still facing pbs with nouveau drivers , here is the state where i am as i enable secure boot on my computer while i’m on nouveau driver and i’m a bit lost from here

luc@fedora-40:~$ inxi -Fzxx
System:
  Kernel: 6.9.6-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: GNOME v: 46.2 tk: GTK v: 3.24.42 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 40 (Workstation Edition)
Machine:
  Type: Desktop System: Gigabyte product: N/A v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: X99-UD4-CF v: x.x serial: <superuser required>
    UEFI: American Megatrends v: F24b date: 03/13/2018
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mobile Mouse MX Anywhere
    2S serial: <filter> charge: 100% (should be ignored) status: discharging
CPU:
  Info: 6-core model: Intel Core i7-5930K bits: 64 type: MT MCP arch: Haswell
    rev: 2 cache: L1: 384 KiB L2: 1.5 MiB L3: 15 MiB
  Speed (MHz): avg: 1314 high: 2569 min/max: 1200/3700 cores: 1: 1201
    2: 1200 3: 2569 4: 1200 5: 1200 6: 1200 7: 1200 8: 1200 9: 1200 10: 1200
    11: 1200 12: 1200 bogomips: 84004
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
luc@fedora-40:~$ dnf list installed \*nvidia\*
Installed Packages
akmod-nvidia.x86_64                      3:550.90.07-1.fc40 @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.9.6-200.fc40.x86_64.x86_64 3:550.90.07-1.fc40 @@commandline       
libva-nvidia-driver.x86_64               0.0.12-2.fc40      @updates            
nvidia-gpu-firmware.noarch               20240610-1.fc40    @updates            
nvidia-modprobe.x86_64                   3:550.90.07-1.fc40 @rpmfusion-nonfree-nvidia-driver
nvidia-persistenced.x86_64               3:550.90.07-1.fc40 @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                   3:550.90.07-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64               3:550.90.07-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64          3:550.90.07-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64     3:550.90.07-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64       3:550.90.07-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64          3:550.90.07-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64         3:550.90.07-1.fc40 @rpmfusion-nonfree-nvidia-driver

luc@fedora-40:~$ mokutil --sb-state
SecureBoot enabled

luc@fedora-40:~$ cat /proc/cmdline
BOOT_IMAGE=(hd2,gpt2)/vmlinuz-6.9.6-200.fc40.x86_64 root=UUID=98e40898-3caa-4b07-aa84-26a9be30cece ro rootflags=subvol=root rhgb quiet nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau

luc@fedora-40:~$ dnf repolist
repo id                                        repo name
copr:copr.fedorainfracloud.org:phracek:PyCharm Copr repo for PyCharm owned by phracek
fedora                                         Fedora 40 - x86_64
fedora-cisco-openh264                          Fedora 40 openh264 (From Cisco) - x86_64
google-chrome                                  google-chrome
rpmfusion-free                                 RPM Fusion for Fedora 40 - Free
rpmfusion-free-updates                         RPM Fusion for Fedora 40 - Free - Updates
rpmfusion-nonfree                              RPM Fusion for Fedora 40 - Nonfree
rpmfusion-nonfree-nvidia-driver                RPM Fusion for Fedora 40 - Nonfree - NVIDIA Driver
rpmfusion-nonfree-steam                        RPM Fusion for Fedora 40 - Nonfree - Steam
rpmfusion-nonfree-updates                      RPM Fusion for Fedora 40 - Nonfree - Updates
updates                                        Fedora 40 - x86_64 - Updates

luc@fedora-40:~$ sudo akmods --force
[sudo] password for luc: 
Sorry, try again.
[sudo] password for luc: 
Checking kmods exist for 6.9.6-200.fc40.x86_64             [  OK  ]

1 Like

Did you setup the akmods secure boot key and register it with your BIOS?
Did you build the nvidia drivers after doing that?
Set the rpmfusion docs if you have not done these steps.

Check the output:

sudo mokutil -t /etc/pki/akmods/certs/public_key.der

no i didn’t as i didn’t know in which order i should run things
thanks for helping

hi and thanks for help

luc@fedora-40:~$ sudo mokutil -t /etc/pki/akmods/certs/public_key.der
[sudo] password for luc: 
/etc/pki/akmods/certs/public_key.der is not enrolled

1 Like

Follow the instructions:

1 Like

so that’s what i need to do first ? right

2 Likes

Yes. The do sudo akmods --rebuild --force to sign the drivers.

i just finished the how to secure boot rpm fusion , now i should sudo akmods --rebuild --force?

luc@fedora-40:~$ sudo akmods --rebuild --force
[sudo] password for luc: 
Checking kmods exist for 6.9.6-200.fc40.x86_64             [  OK  ]
Building and installing nvidia-kmod                        [  OK  ]

would this avoid to get unwanted update to show ? and am i done , or do i need to do something else ?

reboot

2 Likes

Added secure-boot and removed gnome, intel

Why not post the entirety of inxi -Fzxx?
What you posted was cut off at the end of the cpu information and we can better see the details if you post it all instead of selecting only a small (and inadequate) part.

1 Like

everything looks ok , thanks to everyone

here it is :slight_smile:

luc@fedora-40:~$ inxi -Fzxx
System:
  Kernel: 6.9.6-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: GNOME v: 46.2 tk: GTK v: 3.24.42 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 40 (Workstation Edition)
Machine:
  Type: Desktop System: Gigabyte product: N/A v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: X99-UD4-CF v: x.x serial: <superuser required>
    UEFI: American Megatrends v: F24b date: 03/13/2018
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mobile Mouse MX Anywhere
    2S serial: <filter> charge: 100% (should be ignored) status: discharging
CPU:
  Info: 6-core model: Intel Core i7-5930K bits: 64 type: MT MCP arch: Haswell
    rev: 2 cache: L1: 384 KiB L2: 1.5 MiB L3: 15 MiB
  Speed (MHz): avg: 1605 high: 3600 min/max: 1200/3700 cores: 1: 3600
    2: 1200 3: 1200 4: 1200 5: 1200 6: 1200 7: 3600 8: 1200 9: 1200 10: 1269
    11: 1200 12: 1200 bogomips: 83998
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
  Device-1: NVIDIA GA102 [GeForce RTX 3090] driver: nvidia v: 550.90.07
    arch: Ampere pcie: speed: 8 GT/s lanes: 16 ports: active: none
    off: DP-1,DP-2,HDMI-A-1 empty: DP-3 bus-ID: 02:00.0 chip-ID: 10de:2204
  Device-2: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 2-4:3 chip-ID: 046d:0825
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.0
    compositor: gnome-shell driver: X: loaded: nvidia
    gpu: nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: DP-1 model: EIZO NANAO CG247 res: 1920x1200 dpi: 94
    diag: 616mm (24.2")
  Monitor-2: DP-2 model: FHD res: 1920x1080 dpi: 163 diag: 355mm (14")
  Monitor-3: HDMI-A-1 model: BenQ BL3200 res: 2560x1440 dpi: 92
    diag: 812mm (32")
  API: OpenGL v: 4.6.0 vendor: nvidia v: 550.90.07 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 3090/PCIe/SSE2
    display-ID: :0.0
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel C610/X99 series HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8d20
  Device-2: NVIDIA GA102 High Definition Audio driver: snd_hda_intel
    v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 02:00.1 chip-ID: 10de:1aef
  Device-3: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 2-4:3 chip-ID: 046d:0825
  API: ALSA v: k6.9.6-200.fc40.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Ethernet I218-V vendor: Gigabyte driver: e1000e v: kernel
    port: f020 bus-ID: 00:19.0 chip-ID: 8086:15a1
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 3.18 TiB used: 1.59 TiB (49.9%)
  ID-1: /dev/nvme0n1 vendor: Kikwot model: FN955 2TB size: 1.82 TiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 38.9 C
  ID-2: /dev/sda vendor: Samsung model: SSD 850 EVO 1TB size: 931.51 GiB
    speed: 6.0 Gb/s serial: <filter>
  ID-3: /dev/sdb vendor: Samsung model: SSD 840 EVO 500GB size: 465.76 GiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 1.82 TiB used: 449.41 GiB (24.1%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 739.1 MiB (75.9%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 1.82 TiB used: 449.41 GiB (24.1%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 54.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 64 GiB note: est. available: 62.63 GiB
    used: 26.45 GiB (42.2%)
  Processes: 430 Power: uptime: 3h 52m wakeups: 0 Init: systemd v: 255
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 38 Compilers: gcc: 14.1.1 alt: 13.2
    Shell: Bash v: 5.2.26 running-in: gnome-terminal inxi: 3.3.34

Turning on my computer this morning i’m back on Graphics :software rendering . Why is it so fucking difficult to keep the right graphic driver .That’ s really tiring and time consuming not enough straight to be consider as a pro platform

Turning on my computer this morning i’m back on Graphics :software rendering . Why is it so fucking difficult to keep the right graphic driver .That’ s really tiring and time consuming not enough reliable to be consider as a working platform

Sorry this is so annoying. What changed since you had this working?
Please provide current inxi -Fzxx for us to compare against.

hi and thanks, i didn’t change anything, no update , no nothing , just turn off computer when i was done with it

  Kernel: 6.9.6-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: GNOME v: 46.2 tk: GTK v: 3.24.42 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 40 (Workstation Edition)
Machine:
  Type: Desktop System: Gigabyte product: N/A v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: X99-UD4-CF v: x.x serial: <superuser required>
    UEFI: American Megatrends v: F24b date: 03/13/2018
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mobile Mouse MX Anywhere
    2S serial: <filter> charge: 100% (should be ignored) status: discharging
CPU:
  Info: 6-core model: Intel Core i7-5930K bits: 64 type: MT MCP arch: Haswell
    rev: 2 cache: L1: 384 KiB L2: 1.5 MiB L3: 15 MiB
  Speed (MHz): avg: 1200 min/max: 1200/3700 cores: 1: 1200 2: 1200 3: 1200
    4: 1200 5: 1200 6: 1200 7: 1200 8: 1200 9: 1200 10: 1200 11: 1200 12: 1200
    bogomips: 83999
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
  Device-1: NVIDIA GA102 [GeForce RTX 3090] driver: N/A arch: Ampere pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 02:00.0 chip-ID: 10de:2204
  Device-2: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 2-4:3 chip-ID: 046d:0825
  Display: wayland server: X.Org v: 24.1 with: Xwayland v: 24.1.0
    compositor: gnome-shell driver: X: loaded: N/A alternate: nvidia dri: swrast
    gpu: N/A display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1024x768 s-dpi: 96
  Monitor-1: Unknown-1 mapped: None-1 res: 1024x768 dpi: 96
  API: OpenGL v: 4.5 vendor: mesa v: 24.1.2 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: llvmpipe (LLVM 18.1.6 256 bits)
    device-ID: ffffffff:ffffffff
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel C610/X99 series HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8d20
  Device-2: NVIDIA GA102 High Definition Audio driver: snd_hda_intel
    v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 02:00.1 chip-ID: 10de:1aef
  Device-3: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 2-4:3 chip-ID: 046d:0825
  API: ALSA v: k6.9.6-200.fc40.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Ethernet I218-V vendor: Gigabyte driver: e1000e v: kernel
    port: f020 bus-ID: 00:19.0 chip-ID: 8086:15a1
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 3.18 TiB used: 1.59 TiB (49.9%)
  ID-1: /dev/nvme0n1 vendor: Kikwot model: FN955 2TB size: 1.82 TiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 38.9 C
  ID-2: /dev/sda vendor: Samsung model: SSD 850 EVO 1TB size: 931.51 GiB
    speed: 6.0 Gb/s serial: <filter> temp: 27 C
  ID-3: /dev/sdb vendor: Samsung model: SSD 840 EVO 500GB size: 465.76 GiB
    speed: 6.0 Gb/s serial: <filter> temp: 36 C
Partition:
  ID-1: / size: 1.82 TiB used: 449.25 GiB (24.1%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 739.1 MiB (75.9%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 1.82 TiB used: 449.25 GiB (24.1%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 33.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 64 GiB note: est. available: 62.63 GiB used: 3.41 GiB (5.4%)
  Processes: 348 Power: uptime: 12m wakeups: 0 Init: systemd v: 255
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 38 Compilers: gcc: 14.1.1 alt: 13.2
    Shell: Bash v: 5.2.26 running-in: gnome-terminal inxi: 3.3.34