F40-KDE Kernel 6.9.11-200 Black screen after installing RPMFusion Nvidia drivers

Hi there community,

I have been struggling with the problem of getting my Nvidia drivers properly installed. I used the RPMFusion way where it successfully installs the 555.58.02. After rebooting after the install, I get stuck on a black screen. No encrpytion password gui or whatsoever.
I tried pressing random keys on my keyboard and nothing worked, except for ctrl+alt+del, which reboots the system. I could get into the system by booting kernal 6.8.5, but that’s not what I want and also couldn’t get the drivers installed on that kernel for some reason.
So I started digging a bit more and found out that if I remove “rhbg quiet” from the bootcommand of kernel 6.9.11-200, it boots up until a certain part. After that, I have just press a random key, after which it asks me to fill in my encryption password in the CLI. After filling it in, the OS boots up normally and I also get the driver version 555.58.02 when doing the modinfo -F version nvidia command. Hopefully someone can help me out, thanks in advance!

I could only get the files beneath by starting up the system without rhbg quiet. As I said, after some loading, the CLI gets stuck, no matter how long I wait, until I press a button. After pressing a button it “wakes up” again and asks me for my encryption password in the CLI after which it continues to boot normally.

My journalctl link is
https://paste.centos.org/view/raw/2e330ee0

My inxi output is:

System:
  Kernel: 6.9.11-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: KDE Plasma v: 6.1.3 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Fedora Linux 40 (KDE Plasma)
Machine:
  Type: Desktop System: Gigabyte product: X670 GAMING X AX V2 v: -WCP
    serial: <superuser required>
  Mobo: Gigabyte model: X670 GAMING X AX V2 v: x.x
    serial: <superuser required> UEFI: American Megatrends LLC. v: F31a
    date: 07/05/2024
CPU:
  Info: 16-core model: AMD Ryzen 9 7950X bits: 64 type: MT MCP arch: Zen 4
    rev: 2 cache: L1: 1024 KiB L2: 16 MiB L3: 64 MiB
  Speed (MHz): avg: 744 high: 3847 min/max: 545/5881 cores: 1: 545 2: 545
    3: 545 4: 545 5: 545 6: 545 7: 545 8: 545 9: 545 10: 545 11: 545 12: 3623
    13: 3847 14: 545 15: 545 16: 545 17: 545 18: 545 19: 545 20: 545 21: 545
    22: 545 23: 545 24: 545 25: 545 26: 545 27: 545 28: 545 29: 545 30: 545
    31: 545 32: 545 bogomips: 287488
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA AD102 [GeForce RTX 4090] vendor: Gigabyte driver: nvidia
    v: 555.58.02 arch: Lovelace pcie: speed: 5 GT/s lanes: 16 ports:
    active: none off: DP-6 empty: DP-4,DP-5,HDMI-A-2 bus-ID: 01:00.0
    chip-ID: 10de:2684
  Device-2: AMD Raphael vendor: Gigabyte driver: amdgpu v: kernel
    arch: RDNA-2 pcie: speed: 16 GT/s lanes: 16 ports: active: none empty: DP-1,
    DP-2, DP-3, HDMI-A-1, Writeback-1 bus-ID: 15:00.0 chip-ID: 1002:164e
    temp: 38.0 C
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.1
    compositor: kwin_wayland driver: N/A display-ID: 0
  Monitor-1: DP-6 res: 2048x1152 size: N/A
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 1 drv: radeonsi
    device: 3 drv: swrast surfaceless: drv: nvidia wayland: drv: nvidia x11:
    drv: zink inactive: gbm,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 555.58.02
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 4090/PCIe/SSE2
    display-ID: :0.0
  API: Vulkan v: 1.3.283 surfaces: xcb,xlib,wayland device: 0
    type: discrete-gpu driver: N/A device-ID: 10de:2684 device: 1
    type: integrated-gpu driver: N/A device-ID: 1002:164e device: 2 type: cpu
    driver: N/A device-ID: 10005:0000
Audio:
  Device-1: NVIDIA AD102 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:22ba
  Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
    v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 15:00.1 chip-ID: 1002:1640
  Device-3: AMD Family 17h/19h HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 15:00.6 chip-ID: 1022:15e3
  API: ALSA v: k6.9.11-200.fc40.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Realtek RTL8852CE PCIe 802.11ax Wireless Network vendor: AzureWave
    driver: rtw89_8852ce v: kernel pcie: speed: 5 GT/s lanes: 1 port: d000
    bus-ID: 0d:00.0 chip-ID: 10ec:c852
  IF: wlp13s0 state: down mac: <filter>
  Device-2: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: speed: 5 GT/s lanes: 1 port: c000 bus-ID: 0e:00.0 chip-ID: 10ec:8125
  IF: enp14s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: IMC Networks Bluetooth Radio driver: btusb v: 0.8 type: USB
    rev: 1.0 speed: 12 Mb/s lanes: 1 bus-ID: 3-7:3 chip-ID: 13d3:3586
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.3
    lmp-v: 12
Drives:
  Local Storage: total: 1.82 TiB used: 5.6 GiB (0.3%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 2TB
    size: 1.82 TiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 50.9 C
Partition:
  ID-1: / size: 1.82 TiB used: 5.18 GiB (0.3%) fs: btrfs dev: /dev/dm-0
    mapped: luks-2cc4b462-f0a9-461f-805f-6a1957f4e3b3
  ID-2: /boot size: 973.4 MiB used: 409.2 MiB (42.0%) 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: 5.18 GiB (0.3%) fs: btrfs dev: /dev/dm-0
    mapped: luks-2cc4b462-f0a9-461f-805f-6a1957f4e3b3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 45.9 C mobo: 35.0 C gpu: amdgpu temp: 38.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 64 GiB note: est. available: 61.91 GiB used: 3.44 GiB (5.6%)
  Processes: 634 Power: uptime: 2m wakeups: 0 Init: systemd v: 255
    target: graphical (5) default: graphical
  Packages: Compilers: gcc: 14.1.1 Shell: Bash v: 5.2.26 running-in: konsole
    inxi: 3.3.34

Removed amdgpu, radeon

I see a lot of plasma and kwin logs, did not expect them in the system journal. I thought the logs would be in the user journal only.

Problem maybe a user config issue.

Try adding a new user to your system and see if you can login as that user and see a working desktop.

Try the beta driver as it has better wayland support.

also post

cat /proc/cmdline

1 Like

I did exactly, what you suggested. Unfortunately I am having the same problems where the encryption GUI doesn’t show and the only way into the system is removing quiet rhbg from the boot command in grub. Attached you will find a picture of the booting CLI where it gets stuck. It has been in that state for 5 minutes, after which I pressed a random button and it asked me for my encryption password. I now have an extra problem that where the login screen pops up, and after I input a wrong password it fully freezes up and the system needs to be reboot. Here are the output of the commands after the upgrade

Image of where the boot gets stuck without quiet rhbg

Here is the cat /proc/cmdline

BOOT_IMAGE=(hd1,gpt2)/vmlinuz-6.9.11-200.fc40.x86_64 root=UUID=1afd535d-e23c-4fa3-a014-22d22d3f7608 ro rootflags=subvol=root rd.luks.uuid=luks-2cc4b462-f0a9-461f-805f-6a1957f4e3b3 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau

Here is the dnf list installed nvidia

dnf list installed \*nvidia\*
Installed Packages
akmod-nvidia.x86_64                                                                   3:560.28.03-1.fc41                                              @rpmfusion-nonfree-rawhide
kmod-nvidia-6.9.11-200.fc40.x86_64.x86_64                                             3:560.28.03-1.fc40                                              @@commandline
nvidia-gpu-firmware.noarch                                                            20240709-1.fc40                                                 @updates
nvidia-modprobe.x86_64                                                                3:560.28.03-1.fc41                                              @rpmfusion-nonfree-rawhide
nvidia-persistenced.x86_64                                                            3:560.28.03-1.fc41                                              @rpmfusion-nonfree-rawhide
nvidia-settings.x86_64                                                                3:560.28.03-1.fc41                                              @rpmfusion-nonfree-rawhide
xorg-x11-drv-nvidia.x86_64                                                            3:560.28.03-2.fc41                                              @rpmfusion-nonfree-rawhide
xorg-x11-drv-nvidia-cuda.x86_64                                                       3:560.28.03-2.fc41                                              @rpmfusion-nonfree-rawhide
xorg-x11-drv-nvidia-cuda-libs.x86_64                                                  3:560.28.03-2.fc41                                              @rpmfusion-nonfree-rawhide
xorg-x11-drv-nvidia-kmodsrc.x86_64                                                    3:560.28.03-2.fc41                                              @rpmfusion-nonfree-rawhide
xorg-x11-drv-nvidia-libs.x86_64                                                       3:560.28.03-2.fc41                                              @rpmfusion-nonfree-rawhide
xorg-x11-drv-nvidia-power.x86_64                                                      3:560.28.03-2.fc41                                              @rpmfusion-nonfree-rawhide

Here the nvidia-smi:

Mon Jul 29 17:07:52 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.28.03              Driver Version: 560.28.03      CUDA Version: 12.6     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4090        Off |   00000000:01:00.0  On |                  Off |
|  0%   44C    P8             21W /  450W |    1114MiB /  24564MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      4842      G   /usr/bin/kwalletd6                              6MiB |
|    0   N/A  N/A      5083      G   /usr/bin/kwin_wayland                          36MiB |
|    0   N/A  N/A      5185      G   /usr/bin/maliit-keyboard                      106MiB |
|    0   N/A  N/A      5198      G   /usr/bin/Xwayland                               9MiB |
|    0   N/A  N/A      5233      G   /usr/bin/ksmserver                              6MiB |
|    0   N/A  N/A      5236      G   /usr/bin/kded6                                  6MiB |
|    0   N/A  N/A      5264      G   /usr/bin/plasmashell                          252MiB |
|    0   N/A  N/A      5319      G   /usr/libexec/kactivitymanagerd                  6MiB |
|    0   N/A  N/A      5361      G   ...6/polkit-kde-authentication-agent-1          6MiB |
|    0   N/A  N/A      5362      G   /usr/libexec/org_kde_powerdevil                 6MiB |
|    0   N/A  N/A      5363      G   /usr/libexec/xdg-desktop-portal-kde             6MiB |
|    0   N/A  N/A      5492      G   kdeconnectd                                     6MiB |
|    0   N/A  N/A      5592      G   /usr/bin/xwaylandvideobridge                    6MiB |
|    0   N/A  N/A      5616      G   /usr/bin/kaccess                                6MiB |
|    0   N/A  N/A      5621      G   /usr/libexec/DiscoverNotifier                   6MiB |
|    0   N/A  N/A      5623      G   /usr/bin/kalendarac                             6MiB |
|    0   N/A  N/A      5713      G   /usr/bin/akonadi_control                        6MiB |
|    0   N/A  N/A      5759      G   /usr/bin/akonadi_akonotes_resource              6MiB |
|    0   N/A  N/A      5760      G   /usr/bin/akonadi_archivemail_agent              6MiB |
|    0   N/A  N/A      5761      G   /usr/bin/akonadi_birthdays_resource             6MiB |
|    0   N/A  N/A      5762      G   /usr/bin/akonadi_contacts_resource              6MiB |
|    0   N/A  N/A      5763      G   .../bin/akonadi_followupreminder_agent          6MiB |
|    0   N/A  N/A      5764      G   /usr/bin/akonadi_ical_resource                  6MiB |
|    0   N/A  N/A      5765      G   /usr/bin/akonadi_indexing_agent                 6MiB |
|    0   N/A  N/A      5766      G   /usr/bin/akonadi_maildir_resource               6MiB |
|    0   N/A  N/A      5772      G   /usr/bin/akonadi_maildispatcher_agent           6MiB |
|    0   N/A  N/A      5774      G   /usr/bin/akonadi_mailfilter_agent               6MiB |
|    0   N/A  N/A      5776      G   /usr/bin/akonadi_mailmerge_agent                6MiB |
|    0   N/A  N/A      5777      G   /usr/bin/akonadi_migration_agent                6MiB |
|    0   N/A  N/A      5778      G   /usr/bin/akonadi_newmailnotifier_agent          6MiB |
|    0   N/A  N/A      5779      G   /usr/bin/akonadi_sendlater_agent                6MiB |
|    0   N/A  N/A      5780      G   /usr/bin/akonadi_unifiedmailbox_agent           6MiB |
|    0   N/A  N/A      6066      G   /usr/libexec/baloorunner                        6MiB |
|    0   N/A  N/A      6072      G   /usr/bin/systemsettings                        43MiB |
|    0   N/A  N/A      6103      G   /usr/lib64/firefox/firefox                    199MiB |
|    0   N/A  N/A      6633      G   /usr/bin/konsole                                6MiB |
+-----------------------------------------------------------------------------------------+

Here, the journalctl:

The problem is not necessarily that I can’t login with the user, but rather that the decryption GUI doesn’t show up at all during normal boot sequence. I can only get into my system by removing rhbg quiet from the grub boot command after which I can enter my decryption password after pressing some random buttons when the CLI seems “stuck”.

Try this to see if loading nvidia early helps.

sudo dracut -fv --add-drivers " nvidia nvidia-drm nvidia-modeset nvidia-uvm "

1 Like

Good news, this did the trick for me! It now starts up and boots straight into the decryption GUI automatically, so without any intervention. Thanks!

You will need to do that for each kernel update.