Post-Nvidia driver installation on Fedora 39, I'm facing a login blackout with unresponsive peripherals

Hi everyone,

I’m experiencing a problem with Nvidia drivers on Fedora 39 and could really use your expertise. After successfully installing the drivers, I encounter an issue where, upon logging in, my monitors go blank, and both mouse and keyboard become unresponsive. I suspect there might be a conflict between my AMD and Nvidia hardware, but I’m not sure how to confirm this.

I’ve included some outputs below, obtained from a different terminal (Ctrl + Alt + F3) without logging into the main session. I hope this data helps in identifying the issue.

System Information (`inxi -Fzxx`):
System:
  Kernel: 6.7.7-200.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 2.40-14.fc39
  Console: tty 3 DM: GDM Distro: Fedora Linux 39 (Workstation Edition)
Machine:
  Type: Desktop Mobo: ASUSTeK model: TUF GAMING X570-PLUS_BR v: Rev X.0x
    serial: <superuser required> part-nu: SKU UEFI: American Megatrends v: 4021 date: 08/09/2021
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 3 serial: <filter>
    charge: 100% (should be ignored) status: discharging
  Device-2: hidpp_battery_1 model: Logitech MX Keys Wireless Keyboard serial: <filter>
    charge: 100% (should be ignored) status: discharging
CPU:
  Info: 8-core model: AMD Ryzen 7 5700G with Radeon Graphics bits: 64 type: MT MCP arch: Zen 3
    rev: 0 cache: L1: 512 KiB L2: 4 MiB L3: 16 MiB
  Speed (MHz): avg: 820 high: 3767 min/max: 400/4673 cores: 1: 400 2: 3767 3: 400 4: 400 5: 400
    6: 400 7: 3766 8: 400 9: 400 10: 400 11: 400 12: 400 13: 400 14: 400 15: 400 16: 400
    bogomips: 121370
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA TU117GL [T600] driver: nvidia v: 550.54.14 arch: Turing pcie: speed: 2.5 GT/s
    lanes: 16 ports: active: none off: DP-2, DP-3, DP-4, DP-5 empty: none bus-ID: 01:00.0
    chip-ID: 10de:1fb1
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series] vendor: ASUSTeK
    driver: amdgpu v: kernel arch: GCN-5 pcie: speed: 8 GT/s lanes: 16 ports: active: HDMI-A-1
    empty: DP-1 bus-ID: 09:00.0 chip-ID: 1002:1638 temp: 32.0 C
  Display: server: X.org v: 1.20.14 with: Xwayland v: 23.2.4 compositor: gnome-shell driver: X:
    loaded: modesetting,nouveau,nvidia,radeon,vesa unloaded: fbdev alternate: nv
    gpu: amdgpu,nvidia,nvidia-nvswitch tty: 320x180
  Monitor-1: DP-2 model: LG (GoldStar) HDR WFHD res: 2560x1080 dpi: 81 diag: 869mm (34.2")
  Monitor-2: DP-3 model: LG (GoldStar) ULTRAWIDE res: 2560x1080 dpi: 81 diag: 869mm (34.2")
  Monitor-3: DP-4 model: LG (GoldStar) HDR WFHD res: 2560x1080 dpi: 81 diag: 869mm (34.2")
  Monitor-4: DP-5 model: LG (GoldStar) ULTRAWIDE res: 2560x1080 dpi: 81 diag: 869mm (34.2")
  Monitor-5: HDMI-A-1 model: LG (GoldStar) SDQHD res: 2560x2880 dpi: 140 diag: 700mm (27.6")
  API: OpenGL Message: GL data unavailable in console. Try -G --display
  API: EGL Message: EGL data unavailable in console, eglinfo missing.
Audio:
  Device-1: NVIDIA driver: snd_hda_intel v: kernel pcie: speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:10fa
  Device-2: AMD Renoir Radeon High Definition Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 09:00.1 chip-ID: 1002:1637
  Device-3: AMD Family 17h/19h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 09:00.6 chip-ID: 1022:15e3
  Device-4: JMTek LLC. Sharkoon 7.1 Sound Extension driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 bus-ID: 3-1:2 chip-ID: 0c76:1500
  API: ALSA v: k6.7.7-200.fc39.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK
    driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 04:00.0
    chip-ID: 10ec:8168
  IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 7-2:2 chip-ID: 0a12:0001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.0 lmp-v: 6
Drives:
  Local Storage: total: 1.16 TiB used: 40.52 GiB (3.4%)
  ID-1: /dev/nvme0n1 vendor: SanDisk model: ADATA SX6000LNP size: 953.87 GiB speed: 31.6 Gb/s
    lanes: 4 serial: <filter> temp: 37.9 C
  ID-2: /dev/sda vendor: Toshiba model: MK2555GSXF size: 232.89 GiB speed: 1.5 Gb/s
    serial: <filter>
Partition:
  ID-1: / size: 230 GiB used: 8.15 GiB (3.5%) fs: btrfs dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 1022 MiB used: 19 MiB (1.9%) fs: vfat dev: /dev/nvme0n1p1
  ID-3: /home size: 648.87 GiB used: 18.77 GiB (2.9%) fs: btrfs dev: /dev/nvme0n1p5
  ID-4: /var size: 48.91 GiB used: 13.58 GiB (27.8%) fs: ext4 dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: partition size: 24 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p4
  ID-2: swap-2 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 35.2 C mobo: N/A
  Fan Speeds (rpm): N/A
  GPU: device: nvidia screen: :0.0 temp: 44 C device: amdgpu temp: 33.0 C
Info:
  Memory: total: 128 GiB note: est. available: 125.09 GiB used: 2.59 GiB (2.1%)
  Processes: 368 Power: uptime: 5m wakeups: 0 Init: systemd v: 254 target: graphical (5)
    default: graphical
  Packages: pm: flatpak pkgs: 24 Compilers: gcc: 13.2.1 Shell: Bash v: 5.2.26 running-in: tty 3
    inxi: 3.3.33

Secure Boot State (mokutil --sb-state):
SecureBoot enabled

Relevant Kernel Messages (dmesg | grep -iE "nvidia|secure"):

[    0.000000] secureboot: Secure boot enabled
[    0.000000] Kernel is locked down from EFI Secure Boot mode; see man kernel_lockdown.7
[    0.003619] secureboot: Secure boot enabled
[    1.002882] integrity: Loaded X.509 cert 'Fedora Secure Boot CA: fde32599c2d61db1bf5807335d7b20e4cd963b42'
[    5.248280] amdgpu 0000:09:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[    7.433482] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input31
[    7.433575] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input32
[    7.433656] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input33
[    7.433709] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input34
[    8.124962] nvidia: loading out-of-tree module taints kernel.
[    8.124968] nvidia: module license 'NVIDIA' taints kernel.
[    8.124971] nvidia: module license taints kernel.
[    8.494219] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[    8.495233] nvidia 0000:01:00.0: enabling device (0002 -> 0003)
[    8.495319] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[    8.540326] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  550.54.14  Thu Feb 22 01:44:30 UTC 2024
[    8.592735] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[    8.682692] nvidia-uvm: Loaded the UVM driver, major device number 507.
[    8.726534] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  550.54.14  Thu Feb 22 01:25:25 UTC 2024
[    8.731802] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[   11.168696] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
[   11.816161] nvidia 0000:01:00.0: [drm] fb1: nvidia-drmdrmfb frame buffer device

Installed Nvidia Packages (dnf list installed nvidia):

output: 
Installed Packages
akmod-nvidia.x86_64                      3:550.54.14-1.fc39 rpmfusion-nonfree-updates      
kmod-nvidia-6.7.5-200.fc39.x86_64.x86_64 3:550.54.14-1.fc39 commandline                   
kmod-nvidia-6.7.7-200.fc39.x86_64.x86_64 3:550.54.14-1.fc39 commandline                   
nvidia-gpu-firmware.noarch               20240220-1.fc39    updates                        
nvidia-modprobe.x86_64                   3:550.54.14-1.fc39 rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                   3:550.54.14-1.fc39 rpmfusion-nonfree-nvidia-driver
nvidia-xconfig.x86_64                    3:550.54.14-1.fc39 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64               3:550.54.14-1.fc39 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64     3:550.54.14-1.fc39 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64       3:550.54.14-1.fc39 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64          3:550.54.14-1.fc39 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64         3:550.54.14-1.fc39 rpmfusion-nonfree-nvidia-driver

Could someone please review this information and guide me on how to debug and resolve this issue? Any assistance would be greatly appreciated.

Thank you!

Hi all,

I wanted to provide an update with additional log information that might help in diagnosing the issue. I checked the system logs (journalctl | grep "nvidia") for the period when I experienced the blackout after logging in. Here’s what I found:

Here are the key entries from the logs:

Mar 09 19:00:08 fedora kernel: nvidia: loading out-of-tree module taints kernel.
Mar 09 19:00:08 fedora kernel: nvidia: module license 'NVIDIA' taints kernel.
Mar 09 19:00:08 fedora kernel: nvidia: module license taints kernel.
Mar 09 19:00:09 fedora kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 509
Mar 09 19:00:09 fedora kernel: nvidia 0000:01:00.0: enabling device (0002 -> 0003)
Mar 09 19:00:09 fedora kernel: nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
Mar 09 19:00:09 fedora kernel: nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
Mar 09 19:00:09 fedora kernel: nvidia-uvm: Loaded the UVM driver, major device number 507.
Mar 09 19:00:09 fedora kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  550.54.14  Thu Feb 22 01:25:25 UTC 2024
Mar 09 19:00:09 fedora kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
Mar 09 19:00:09 fedora systemd[1]: Started nvidia-powerd.service - nvidia-powerd service.
Mar 09 19:00:09 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-powerd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 09 19:00:09 fedora /usr/bin/nvidia-powerd[1146]: nvidia-powerd version:1.0(build 1)
Mar 09 19:00:10 fedora /usr/bin/nvidia-powerd[1146]: Found unsupported configuration. Exiting...
Mar 09 19:00:10 fedora systemd[1]: nvidia-powerd.service: Deactivated successfully.
Mar 09 19:00:10 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-powerd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 09 19:00:11 fedora kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
Mar 09 19:00:12 fedora kernel: nvidia 0000:01:00.0: [drm] fb1: nvidia-drmdrmfb frame buffer device
Mar 09 19:00:12 fedora systemd[1]: nvidia-fallback.service - Fallback to nouveau as nvidia did not load was skipped because of an unmet condition check (ConditionPathExists=!/sys/module/nvidia).
Mar 09 19:00:13 fedora /usr/libexec/gdm-x-session[1687]: (II) Applying OutputClass "nvidia" to /dev/dri/card0
Mar 09 19:00:13 fedora /usr/libexec/gdm-x-session[1687]:         loading driver: nvidia
Mar 09 19:00:13 fedora /usr/libexec/gdm-x-session[1687]: (==) Matched nvidia as autoconfigured driver 2
Mar 09 19:00:13 fedora /usr/libexec/gdm-x-session[1687]: (II) LoadModule: "nvidia"
Mar 09 19:00:13 fedora /usr/libexec/gdm-x-session[1687]: (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
Mar 09 19:00:13 fedora /usr/libexec/gdm-x-session[1687]: (II) Module nvidia: vendor="NVIDIA Corporation"
Mar 09 19:00:14 fedora /usr/libexec/gdm-x-session[1687]: (II) Applying OutputClass "nvidia" options to /dev/dri/card0
Mar 09 19:00:14 fedora /usr/libexec/gdm-x-session[1687]: (II) Loading sub module "glxserver_nvidia"
Mar 09 19:00:14 fedora /usr/libexec/gdm-x-session[1687]: (II) LoadModule: "glxserver_nvidia"
Mar 09 19:00:14 fedora /usr/libexec/gdm-x-session[1687]: (II) Loading /usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so
Mar 09 19:00:14 fedora /usr/libexec/gdm-x-session[1687]: (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
Mar 09 19:00:15 fedora /usr/libexec/gdm-x-session[1687]: (WW) NVIDIA:     '/var/run/nvidia-xdriver-44dcd9f6' Permission denied
Mar 09 19:00:15 fedora /usr/libexec/gdm-x-session[1687]: (II) NVIDIA(G0): [DRI2]   VDPAU driver: nvidia
Mar 09 19:00:16 fedora /usr/libexec/gdm-x-session[1687]: (II) NVIDIA(G0): Setting mode "DP-1-1: nvidia-auto-select @2560x1080 +2560+0 {AllowGSYNC=Off, ViewPortIn=2560x1080, ViewPortOut=2560x1080+0+0}"
Mar 09 19:00:16 fedora /usr/libexec/gdm-x-session[1687]: (II) NVIDIA(G0): Setting mode "DP-1-1: nvidia-auto-select @2560x1080 +2560+0 {AllowGSYNC=Off, ViewPortIn=2560x1080, ViewPortOut=2560x1080+0+0}, DP-1-3: nvidia-auto-select @2560x1080 +5120+0 {AllowGSYNC=Off, ViewPortIn=2560x1080, ViewPortOut=2560x1080+0+0}"
Mar 09 19:00:16 fedora /usr/libexec/gdm-x-session[1687]: (II) NVIDIA(G0): Setting mode "DP-1-1: nvidia-auto-select @2560x1080 +2560+0 {AllowGSYNC=Off, ViewPortIn=2560x1080, ViewPortOut=2560x1080+0+0}, DP-1-3: nvidia-auto-select @2560x1080 +5120+0 {AllowGSYNC=Off, ViewPortIn=2560x1080, ViewPortOut=2560x1080+0+0}, DP-1-5: nvidia-auto-select @2560x1080 +7680+0 {AllowGSYNC=Off, ViewPortIn=2560x1080, ViewPortOut=2560x1080+0+0}"
Mar 09 19:00:16 fedora /usr/libexec/gdm-x-session[1687]: (II) NVIDIA(G0): Setting mode "DP-1-1: nvidia-auto-select @2560x1080 +2560+0 {AllowGSYNC=Off, ViewPortIn=2560x1080, ViewPortOut=2560x1080+0+0}, DP-1-3: nvidia-auto-select @2560x1080 +5120+0 {AllowGSYNC=Off, ViewPortIn=2560x1080, ViewPortOut=2560x1080+0+0}, DP-1-5: nvidia-auto-select @2560x1080 +7680+0 {AllowGSYNC=Off, ViewPortIn=2560x1080, ViewPortOut=2560x1080+0+0}, DP-1-7: nvidia-auto-select @2560x1080 +10240+0 {AllowGSYNC=Off, ViewPortIn=2560x1080, ViewPortOut=2560x1080+0+0}"

I have no clue what actually may have happened during the upgrade that resulted in this problem.
It does, however, seem likely that an early reboot after the upgrade may have resulted in a potentially corrupted driver that seems to load but does not function properly.

For some users the fix seems to be remove the current drivers and then rebuild the drivers.

I suggest this be done as follows.

  1. sudo dnf remove kmod-nvidia-6.7.7* to remove the driver that seems to not work
  2. sudo akmods --force to rebuild that same driver
  3. Wait a couple minutes after step 2 completes then reboot to see if there is any difference

I note that you have the nvidia-xconfig package installed which seems to be an editor for some settings of the nvidia GPU. Have you tried setting anything for the GPU using that tool? If so the problem may be caused by some invalid setting. I have never installed nor used that package.

Nvidia power d is exiting for unsupported configuration that might be issue, but also secure boot is enable did MOK keys signed correctly

The nvidia driver is loaded. It is obvious that the module must be signed and the key imported before that could happen with secure boot enabled.

nvidia-powerd only functions for specific nvidia GPUs and that is an alert message that no supported nvidia GPU is located – NOT an error.

1 Like

Hey everyone,

Thanks a lot for your time and suggestions. I gave Jeff V’s idea a go, but unfortunately, it didn’t solve the issue. I even tried stripping out everything Nvidia-related and starting from scratch with a rebuild and re-signing, but no luck there either.

On a whim, I decided to unplug one of my monitors, specifically the one connected to the AMD card. Surprisingly, this allowed me to get past the login screen and everything seems to be working fine now. I ran sudo lsmod | grep -iE 'nouveau|nvidia' and here’s what I got:

nvidia_modeset       1605632  10 nvidia_drm
nvidia_uvm           6651904  0
nvidia              60362752  135 nvidia_uvm,nvidia_modeset
video                  77824  2 asus_wmi,nvidia_modeset

Looks like Nvidia is properly loaded, right?

But now I’m puzzled about why I can’t use all five of my monitors. It’s not a huge problem, really, since I could use them with nouveau, so I thought it’d be the same with the proprietary drivers.

This isn’t a dealbreaker for me, but I’m curious if there’s a configuration tweak that might help get all monitors up and running again?

Thanks again for all the help!
Harriss

I noticed you are using xorg, and yes nvidia seems to be loaded properly.

There is one possibility that may assist for the additional monitors though I have not tested it and cannot without having the same config.

Copy the file /usr/share/X11/xorg.conf.d/nvidia.conf to /etc/X11/xorg.conf.d/nvidia.conf then reboot and see if there is a difference. For some it seems to assist and there are a couple configs in there that help the nvidia GPU manage screens with other GPUs involved. To me that seems worth a try.