------ ACTUAL SOLUTION ------
I was connecting my LG monitor (2560x1440 144MHz) via HDMI when the display would never present itself. Eventually I found two solutions to get the screen to display:
-
My monitor has an ‘HDMI Compatibility Mode’ that I enabled. This forced the the refresh rate, for whatever reason, down to 60/75 MHz which activated the screen display. The only selectable refresh rates were 60 and 75MHz.
-
I swapped out the HDMI connection for DisplayPort. This activated the display screen and mainained the selection of refresh rates up to 144MHz.
Hoping to get to the bottom of this problem with your help. If this is known to NVIDIA or Fedora developers and is being investigated already, I’ll wait for later releases.
I’m currently running 6.9.4-200 with NVIDIA 550.90.07 no problems. When I updated to 6.10.7 via Discover, I encountered this blackscreen issue, but restored my backup image for 6.9.4 after unsuccessfully trying various posted solutions to get it to work.
So I wanted to simplify things to track down the issue and created a fresh install of F40 on a different drive. After updating it to 6.10.7 and rebooting, I installed the NVIDIA 560.35 drivers from the non-free repo (sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda), waited for the akmod builds to complete, then rebooted. This should be all that is needed.
Following GRUB selection for 6.10.7, the screen goes black, no visible cursor or mouse. After waiting about ten minutes, I tried blind typing; pressed Ctrl+Alt+F3, login name, password, then ‘reboot’. Successful reboot. So the system is active, just no display of any kind.
The following logs and information are from the NVIDIA driver boot session of 6.10.7 - blindly typing to run a script I wrote and redirecting to a text file. It looks like the installation is fine, just a failure to activate the approriate display mode. I will point out that my CPU does not have integrated graphics (AMD Ryzen 9 5950X) and the GPU is an ASUS RTX 4070. I am not encrypting the drive. I also tried this with NVIDIA 555 from the non-free NVIDIA repo - with the same apparent problem.
I also tried the following with no success:
sudo dracut -fvv --add-drivers " nvidia nvidia-drm nvidia-modeset nvidia-uvm "
------------------------------------------------
$ sudo dmesg | grep -iE nvidia|secure|command
[ 0.000000] Command line: BOOT_IMAGE=(hd3,gpt3)/boot/vmlinuz-6.10.7-200.fc40.x86_64 root=UUID=6adf0fb0-89b7-4cdd-8525-534e8bffb64c ro rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
[ 0.000000] secureboot: Secure boot disabled
[ 0.003383] secureboot: Secure boot disabled
[ 0.038190] Kernel command line: BOOT_IMAGE=(hd3,gpt3)/boot/vmlinuz-6.10.7-200.fc40.x86_64 root=UUID=6adf0fb0-89b7-4cdd-8525-534e8bffb64c ro rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
[ 0.038244] Unknown kernel command line parameters "rhgb BOOT_IMAGE=(hd3,gpt3)/boot/vmlinuz-6.10.7-200.fc40.x86_64", will be passed to user space.
[ 0.869352] ahci 0000:2b:00.0: AHCI vers 0001.0301, 32 command slots, 6 Gbps, SATA mode
[ 0.870026] ahci 0000:2c:00.0: AHCI vers 0001.0301, 32 command slots, 6 Gbps, SATA mode
[ 4.796570] systemd[1]: Starting systemd-network-generator.service - Generate network units from Kernel command line...
[ 4.801917] systemd[1]: Finished systemd-network-generator.service - Generate network units from Kernel command line.
[ 5.306652] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:2d:00.1/sound/card0/input16
[ 5.306713] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:2d:00.1/sound/card0/input17
[ 5.306760] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:2d:00.1/sound/card0/input18
[ 5.306800] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:2d:00.1/sound/card0/input19
[ 5.773865] Bluetooth: hci0: Secure boot is enabled
[ 5.920766] nvidia: loading out-of-tree module taints kernel.
[ 5.920773] nvidia: module license 'NVIDIA' taints kernel.
[ 5.920776] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 5.920777] nvidia: module license taints kernel.
[ 6.304346] nvidia-nvlink: Nvlink Core is being initialized, major device number 234
[ 6.305646] nvidia 0000:2d:00.0: enabling device (0002 -> 0003)
[ 6.305706] nvidia 0000:2d:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[ 6.353267] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 560.35.03 Fri Aug 16 21:39:15 UTC 2024
[ 6.401570] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[ 6.503611] nvidia-uvm: Loaded the UVM driver, major device number 510.
[ 6.544374] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 560.35.03 Fri Aug 16 21:21:48 UTC 2024
[ 7.552609] [drm] [nvidia-drm] [GPU ID 0x00002d00] Loading driver
[ 7.893167] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:2d:00.0 on minor 1
[ 7.916297] nvidia 0000:2d:00.0: vgaarb: deactivate vga console
[ 8.000392] fbcon: nvidia-drmdrmfb (fb0) is primary device
[ 8.000395] nvidia 0000:2d:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device
------------------------------------------------
$ mokutil --sb-state
SecureBoot disabled
------------------------------------------------
$ cat /proc/cmdline
BOOT_IMAGE=(hd3,gpt3)/boot/vmlinuz-6.10.7-200.fc40.x86_64 root=UUID=6adf0fb0-89b7-4cdd-8525-534e8bffb64c ro rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
------------------------------------------------
$ dnf list installed \*nvidia\*
Installed Packages
akmod-nvidia.x86_64 3:560.35.03-1.fc40 @rpmfusion-nonfree-updates
kmod-nvidia-6.10.7-200.fc40.x86_64.x86_64 3:560.35.03-1.fc40 @@commandline
nvidia-gpu-firmware.noarch 20240811-2.fc40 @updates
nvidia-modprobe.x86_64 3:560.35.03-1.fc40 @rpmfusion-nonfree-updates
nvidia-persistenced.x86_64 3:560.35.03-1.fc40 @rpmfusion-nonfree-updates
nvidia-settings.x86_64 3:560.35.03-1.fc40 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia.x86_64 3:560.35.03-3.fc40 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda.x86_64 3:560.35.03-3.fc40 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda-libs.x86_64 3:560.35.03-3.fc40 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-kmodsrc.x86_64 3:560.35.03-3.fc40 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64 3:560.35.03-3.fc40 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-power.x86_64 3:560.35.03-3.fc40 @rpmfusion-nonfree-updates
------------------------------------------------
$ modinfo -F version nvidia
560.35.03
------------------------------------------------
$ journalctl --no-hostname -b -g nvidia
Sep 09 07:32:04 kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:2d:00.1/sound/card0/input16
Sep 09 07:32:04 kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:2d:00.1/sound/card0/input17
Sep 09 07:32:04 kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:2d:00.1/sound/card0/input18
Sep 09 07:32:04 kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:2d:00.1/sound/card0/input19
Sep 09 07:32:05 systemd[1]: Started nvidia-powerd.service - nvidia-powerd service.
Sep 09 07:32:05 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'
Sep 09 07:32:05 /usr/bin/nvidia-powerd[1212]: nvidia-powerd version:1.0(build 1)
Sep 09 07:32:05 kernel: nvidia: loading out-of-tree module taints kernel.
Sep 09 07:32:05 kernel: nvidia: module license 'NVIDIA' taints kernel.
Sep 09 07:32:05 kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
Sep 09 07:32:05 kernel: nvidia: module license taints kernel.
Sep 09 07:32:05 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 234
Sep 09 07:32:05 kernel: nvidia 0000:2d:00.0: enabling device (0002 -> 0003)
Sep 09 07:32:05 kernel: nvidia 0000:2d:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
Sep 09 07:32:05 kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 560.35.03 Fri Aug 16 21:39:15 UTC 2024
Sep 09 07:32:06 kernel: nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
Sep 09 07:32:06 kernel: nvidia-uvm: Loaded the UVM driver, major device number 510.
Sep 09 07:32:06 kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 560.35.03 Fri Aug 16 21:21:48 UTC 2024
Sep 09 07:32:07 kernel: [drm] [nvidia-drm] [GPU ID 0x00002d00] Loading driver
Sep 09 07:32:07 systemd[1]: nvidia-powerd.service: Deactivated successfully.
Sep 09 07:32:07 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'
Sep 09 07:32:07 systemd[1]: nvidia-powerd.service: Consumed 2.005s CPU time.
Sep 09 07:32:07 kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:2d:00.0 on minor 1
Sep 09 07:32:07 kernel: nvidia 0000:2d:00.0: vgaarb: deactivate vga console
Sep 09 07:32:07 kernel: fbcon: nvidia-drmdrmfb (fb0) is primary device
Sep 09 07:32:07 kernel: nvidia 0000:2d:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device
Sep 09 07:32:07 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).
Sep 09 07:32:07 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).
------------------------------------------------
$ dnf list --installed | grep nvidia | grep kmod
akmod-nvidia.x86_64 3:560.35.03-1.fc40 @rpmfusion-nonfree-updates
kmod-nvidia-6.10.7-200.fc40.x86_64.x86_64 3:560.35.03-1.fc40 @@commandline
xorg-x11-drv-nvidia-kmodsrc.x86_64 3:560.35.03-3.fc40 @rpmfusion-nonfree-updates
------------------------------------------------
$ lsmod | grep -iE nvidia|nouveau
nvidia_drm 135168 0
nvidia_modeset 1650688 1 nvidia_drm
nvidia_uvm 6844416 0
nvidia 72577024 2 nvidia_uvm,nvidia_modeset
video 81920 1 nvidia_modeset
------------------------------------------------
$ nvidia-smi
Mon Sep 9 07:34:03 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03 Driver Version: 560.35.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 4070 Off | 00000000:2D:00.0 On | N/A |
| 0% 42C P8 14W / 200W | 18MiB / 12282MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| No running processes found |
+-----------------------------------------------------------------------------------------+
------------------------------------------------
$ inxi -Fzxx
System:
Kernel: 6.10.7-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 2.41-37.fc40
Console: tty 3 DM: SDDM Distro: Fedora Linux 40 (KDE Plasma)
Machine:
Type: Desktop Mobo: Micro-Star model: MAG X570S TOMAHAWK MAX WIFI (MS-7D54) v: 1.0
serial: <superuser required> UEFI: American Megatrends LLC. v: 1.50 date: 03/24/2023
CPU:
Info: 16-core model: AMD Ryzen 9 5950X bits: 64 type: MT MCP arch: Zen 3+ rev: 2 cache:
L1: 1024 KiB L2: 8 MiB L3: 64 MiB
Speed (MHz): avg: 2580 high: 3686 min/max: 2200/5083 boost: enabled cores: 1: 2200 2: 2200
3: 2200 4: 2200 5: 3686 6: 2879 7: 2200 8: 3400 9: 2200 10: 2200 11: 2200 12: 2200 13: 2200
14: 2200 15: 3400 16: 2200 17: 2200 18: 2200 19: 2200 20: 2200 21: 3400 22: 2200 23: 3400
24: 3400 25: 2878 26: 2877 27: 2876 28: 3400 29: 2972 30: 2200 31: 2200 32: 2200
bogomips: 217596
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: NVIDIA AD104 [GeForce RTX 4070] vendor: ASUSTeK driver: nvidia v: 560.35.03
arch: Lovelace pcie: speed: 2.5 GT/s lanes: 16 ports: active: none empty: DP-1, DP-2, DP-3,
HDMI-A-1 bus-ID: 2d:00.0 chip-ID: 10de:2786
Display: server: X.org v: 1.20.14 with: Xwayland v: 24.1.2 driver: N/A tty: 320x90
API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 2 drv: swrast gbm: drv: nvidia
surfaceless: drv: nvidia inactive: wayland,x11,device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: mesa v: 24.1.7 note: console (EGL sourced)
renderer: NVIDIA GeForce RTX 4070/PCIe/SSE2, llvmpipe (LLVM 18.1.6 256 bits)
API: Vulkan v: 1.3.290 surfaces: N/A device: 0 type: discrete-gpu driver: N/A
device-ID: 10de:2786 device: 1 type: cpu driver: N/A device-ID: 10005:0000
Audio:
Device-1: NVIDIA AD104 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
pcie: speed: 16 GT/s lanes: 16 bus-ID: 2d:00.1 chip-ID: 10de:22bc
Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
pcie: speed: 16 GT/s lanes: 16 bus-ID: 2f:00.4 chip-ID: 1022:1487
Device-3: Micro Star USB Audio driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 bus-ID: 3-5:4 chip-ID: 0db0:a073
API: ALSA v: k6.10.7-200.fc40.x86_64 status: kernel-api
Server-1: PipeWire v: 1.0.7 status: off with: 1: pipewire-pulse status: off 2: wireplumber
status: off 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
Network:
Device-1: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169 v: kernel pcie:
speed: 5 GT/s lanes: 1 port: f000 bus-ID: 26:00.0 chip-ID: 10ec:8125
IF: enp38s0 state: down mac: <filter>
Device-2: Intel Wi-Fi 6E AX210/AX1675 2x2 [Typhoon Peak] driver: iwlwifi v: kernel pcie:
speed: 5 GT/s lanes: 1 bus-ID: 28:00.0 chip-ID: 8086:2725
IF: wlo1 state: up mac: <filter>
Bluetooth:
Device-1: Intel AX210 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1
bus-ID: 1-4:5 chip-ID: 8087:0032
Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.3 lmp-v: 12
Drives:
Local Storage: total: 4.58 TiB used: 9.16 GiB (0.2%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 1TB size: 931.51 GiB
speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 39.9 C
ID-2: /dev/nvme1n1 vendor: Western Digital model: WD BLACK SN850X 1000GB size: 931.51 GiB
speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 40.9 C
ID-3: /dev/nvme2n1 vendor: Samsung model: SSD 970 EVO Plus 1TB size: 931.51 GiB
speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 38.9 C
ID-4: /dev/sda vendor: Seagate model: ST2000VX007-2AY102 size: 1.82 TiB speed: 6.0 Gb/s
serial: <filter> temp: 34 C
ID-5: /dev/sdb model: General USB Flash Disk size: 28.91 GiB type: USB rev: 3.2 spd: 5 Gb/s
lanes: 1 serial: <filter>
Partition:
ID-1: / size: 97.87 GiB used: 9.14 GiB (9.3%) fs: ext4 dev: /dev/nvme2n1p3
ID-2: /boot/efi size: 1022 MiB used: 24.1 MiB (2.4%) fs: vfat dev: /dev/nvme2n1p1
Swap:
ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 52.0 C mobo: N/A gpu: nvidia temp: 44 C
Fan Speeds (rpm): N/A
Info:
Memory: total: 32 GiB available: 31.25 GiB used: 1.32 GiB (4.2%)
Processes: 477 Power: uptime: 2m wakeups: 0 Init: systemd v: 255 target: graphical (5)
default: graphical
Packages: Compilers: gcc: 14.2.1 Shell: Bash v: 5.2.26 running-in: tty 3 inxi: 3.3.34
---------------------- DONE --------------------