Fresh Fedora 38 install, black screen with nvidia drivers

Installed Fedora 38 and completely updated, then followed the rpmfusion instructions for installing the nvidia drivers. Once logged in the screen will go black after a few seconds. I have to force restart with the machines power button. This will happen once or twice, then it is stable after that. It will vary occasionally drop to black screen intermittently after that, but usually it doesnt happen after the first once/twice.

Any help is appreciated…

Specs and info:

AMD Ryzen 9 7950X3D
Gigabyte RTX4090

Fedora 38 KDE
Kernal 6.3.5-200.fc38.x86_64

/sbin/lspci | grep -e VGA
01:00.0 VGA compatible controller: NVIDIA Corporation AD102 [GeForce RTX 4090] (rev a1)
5c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev c9)

modinfo -F version nvidia
530.41.03

Xorg section of fpaste:

* Xorg modules (grep LoadModule /var/log/Xorg.0.log ~/.local/share/xorg/Xorg.0.log | cut -d \" -f 2 | xargs):
     glx nvidia nouveau nv amdgpu ati modesetting fbdev vesa fb wfb fbdevhw glxserver_nvidia fb dri2 glamoregl ramdac dri2 libinput
     
* GL Support (glxinfo | grep -E "OpenGL version|OpenGL renderer"):
     OpenGL renderer string: NVIDIA GeForce RTX 4090/PCIe/SSE2
     OpenGL version string: 4.6.0 NVIDIA 530.41.03
     
* Xorg errors (grep '^\[.*(EE)' /var/log/Xorg.0.log ~/.local/share/xorg/Xorg.0.log | cut -d ':' -f 2- ):
     [    21.026] (EE) Failed to load module "nv" (module does not exist, 0)
     [    21.032] (EE) open /dev/fb0: No such file or directory

Edit to add:

$ dnf list installed '*nvidia*'
Installed Packages
akmod-nvidia.x86_64                                                                  3:530.41.03-1.fc38                                              @rpmfusion-nonfree
kmod-nvidia-6.3.5-200.fc38.x86_64.x86_64                                             3:530.41.03-1.fc38                                              @@commandline     
nvidia-gpu-firmware.noarch                                                           20230515-150.fc38                                               @updates          
nvidia-persistenced.x86_64                                                           3:530.41.03-1.fc38                                              @rpmfusion-nonfree
nvidia-settings.x86_64                                                               3:530.41.03-1.fc38                                              @rpmfusion-nonfree
nvidia-vaapi-driver.x86_64                                                           0.0.9-1.fc38                                                    @rpmfusion-nonfree
xorg-x11-drv-nvidia.x86_64                                                           3:530.41.03-1.fc38                                              @rpmfusion-nonfree
xorg-x11-drv-nvidia-cuda.x86_64                                                      3:530.41.03-1.fc38                                              @rpmfusion-nonfree
xorg-x11-drv-nvidia-cuda-libs.x86_64                                                 3:530.41.03-1.fc38                                              @rpmfusion-nonfree
xorg-x11-drv-nvidia-kmodsrc.x86_64                                                   3:530.41.03-1.fc38                                              @rpmfusion-nonfree
xorg-x11-drv-nvidia-libs.x86_64                                                      3:530.41.03-1.fc38                                              @rpmfusion-nonfree
xorg-x11-drv-nvidia-power.x86_64                                                     3:530.41.03-1.fc38                                              @rpmfusion-nonfree

Is this a laptop? It seems the laptops with the RTX 4090 were only released in February, so it is extremely new hardware, which puts one on the leading edge for testing & performance.

It is possible that that hardware is so new that the drivers from rpmfusion might not be 100% as far as supporting the laptop hardware.

Please post the output of inxi -Fzxx so we may see more details about the system.
Also the output of cat /proc/cmdline.

It seems you have done the proper thing for installing the drivers and this may be solely related to the most current hardware you have.

No not a laptop…

Looks like I may have fixed it (:crossed_fingers:t2::fist::wood:). After doing the RPMfusion Nvidia Multimedia directions it seems stable now.

Boot up also seems smoother now for some reason…

:crossed_fingers:t2:

Spoke too soon :frowning: just happened again when switching users…

Ok still having issues… It seems to load properly after 1-2 reboots. I can tell when the black screen will happen as it take much longer to boot. When the boot is real quick, I dont get the black screen. (My black screen happens about 30 sec after logging in).

Here is the info you asked for:

$ cat /proc/cmdline
BOOT_IMAGE=(hd1,gpt2)/vmlinuz-6.3.5-200.fc38.x86_64 root=UUID=5ff57c07-bfd2-4b4d-90f5-869c20e072fe ro rootflags=subvol=root rd.driver.blacklist=nouveau modprobe.blacklist=nouveau rhgb nvidia-drm.modeset=1

$ inxi -Fzxx
System:
  Kernel: 6.3.5-200.fc38.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.39-9.fc38 Desktop: KDE Plasma v: 5.27.5 tk: Qt v: 5.15.9 wm: kwin_x11
    dm: SDDM Distro: Fedora release 38 (Thirty Eight)
Machine:
  Type: Desktop Mobo: ASRock model: X670E Taichi serial: <superuser required>
    UEFI: American Megatrends LLC. v: 1.24 date: 05/23/2023
CPU:
  Info: 16-core model: AMD Ryzen 9 7950X3D bits: 64 type: MT MCP arch: Zen 4
    rev: 2 cache: L1: 1024 KiB L2: 16 MiB L3: 128 MiB
  Speed (MHz): avg: 3035 high: 4200 min/max: 3000/5759 boost: enabled cores:
    1: 3000 2: 3000 3: 3000 4: 3000 5: 3000 6: 2979 7: 3000 8: 3000 9: 3000
    10: 3000 11: 3000 12: 3000 13: 3000 14: 2880 15: 3000 16: 3000 17: 3000
    18: 3000 19: 3000 20: 3000 21: 3000 22: 2998 23: 3000 24: 3000 25: 3000
    26: 4200 27: 3000 28: 3000 29: 3184 30: 3000 31: 2900 32: 3000
    bogomips: 268822
  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: 530.41.03 arch: Lovelace pcie: speed: 16 GT/s lanes: 16 ports:
    active: none off: DP-5 empty: DP-4,DP-6,HDMI-A-2 bus-ID: 01:00.0
    chip-ID: 10de:2684
  Device-2: AMD Raphael 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 bus-ID: 5c:00.0 chip-ID: 1002:164e temp: 36.0 C
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.9
    compositor: kwin_x11 driver: X: loaded: amdgpu,nvidia
    unloaded: fbdev,modesetting,nouveau,vesa alternate: nv dri: radeonsi
    gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 162
  Monitor-1: DP-5 mapped: DP-2 note: disabled model: LG (GoldStar)
    ULTRAGEAR+ res: 3840x2160 dpi: 163 diag: 690mm (27.2")
  API: OpenGL v: 4.6.0 NVIDIA 530.41.03 renderer: NVIDIA GeForce RTX
    4090/PCIe/SSE2 direct-render: Yes
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: 5c:00.1 chip-ID: 1002:1640
  Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel v: kernel
    pcie: speed: 16 GT/s lanes: 16 bus-ID: 5c:00.6 chip-ID: 1022:15e3
  Device-4: Generic USB Audio driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 5-8:3 chip-ID: 26ce:0a06
  API: ALSA v: k6.3.5-200.fc38.x86_64 status: kernel-api
  Server-1: PipeWire v: 0.3.71 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: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz vendor: Rivet Networks
    driver: iwlwifi v: kernel pcie: speed: 5 GT/s lanes: 1 bus-ID: 4c:00.0
    chip-ID: 8086:2725
  IF: wlp76s0 state: down mac: <filter>
  Device-2: Realtek Killer E3000 2.5GbE vendor: ASRock driver: r8169
    v: kernel pcie: speed: 5 GT/s lanes: 1 port: a000 bus-ID: 4d:00.0
    chip-ID: 10ec:3000
  IF: enp77s0 state: up speed: 1000 Mbps duplex: full 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: 5-7:2 chip-ID: 8087:0032
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 1.82 TiB used: 292.71 GiB (15.7%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 PRO 1TB size: 931.51 GiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 49.9 C
  ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 980 PRO 1TB size: 931.51 GiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 33.9 C
Partition:
  ID-1: / size: 929.93 GiB used: 292.43 GiB (31.4%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 275.6 MiB (28.3%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 17.4 MiB (2.9%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 929.93 GiB used: 292.43 GiB (31.4%) 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: 43.5 C mobo: N/A
  Fan Speeds (RPM): N/A
  GPU: device: nvidia screen: :0.0 temp: 35 C fan: 0% device: amdgpu
    temp: 37.0 C
Info:
  Processes: 569 Uptime: 19m Memory: available: 61.91 GiB
  used: 3.12 GiB (5.0%) Init: systemd v: 253 target: graphical (5)
  default: graphical Compilers: gcc: 13.1.1 Packages: pm: rpm pkgs: N/A
  note: see --rpm pm: flatpak pkgs: 26 Shell: Bash v: 5.2.15
  running-in: konsole inxi: 3.3.27