Getting Black Screen After Login in Fedora KDE

I installed virt-manager, qemu, and linoffice after that I started to get this issue. I can bypass it with adding nomodeset to boot commands in grub, but I want to find the core issue and solve it.

  1. Have you installed the nvidia drivers from rpmfusion?

  2. Are the nvidia modules loaded into the kernel? (lsmod | grep -E "nouveau|nvidia")

  3. What is your hardware? inxi -Fzxx will show us that.

  4. Are you using secure boot? mokutil --sb-state

Please show the results of the commands in steps 2 & 3 so we may evaluate a possible problem.

Most often the cause of this type issue lies with graphics, and we need to know what drivers are in use and identify both the hardware and software for enough info to even start analysis.

Hi Jeff,

  1. Idk how to check that.
nvidia modules
nouveau              4005888  0
drm_gpuvm              57344  1 nouveau
mxm_wmi                12288  1 nouveau
i2c_algo_bit           20480  2 amdgpu,nouveau
drm_ttm_helper         20480  2 amdgpu,nouveau
ttm                   135168  3 amdgpu,drm_ttm_helper,nouveau
drm_exec               12288  3 drm_gpuvm,amdgpu,nouveau
gpu_sched              69632  2 amdgpu,nouveau
drm_display_helper    344064  2 amdgpu,nouveau
video                  81920  3 amdgpu,ideapad_laptop,nouveau
wmi                    32768  11 lenovo_wmi_events,video,lenovo_wmi_hotkey_utilities,lenovo_wmi_other,wmi_bmof,lenovo_wmi_capdata01,lenovo_wmi_gamezone,ideapad_laptop,mxm_wmi,lenovo_wmi_helpers,nouveau
  1. I installed the inxi package before running the command.
hardware info
System:
  Kernel: 6.19.13-200.fc43.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 15.2.1
  Desktop: KDE Plasma v: 6.6.4 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Fedora Linux 43 (KDE Plasma Desktop Edition)
Machine:
  Type: Laptop System: LENOVO product: 82EY v: IdeaPad Gaming 3 15ARH05
    serial: <superuser required> Chassis: type: 10 v: IdeaPad Gaming 3 15ARH05
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0R33126 WIN
    serial: <superuser required> part-nu: LENOVO_MT_82EY_BU_idea_FM_IdeaPad
    Gaming 3 15ARH05 Firmware: UEFI vendor: LENOVO v: FCCN21WW
    date: 09/20/2023
Battery:
  ID-1: BAT0 charge: 22.4 Wh (58.6%) condition: 38.3/45 Wh (85.1%)
    volts: 11.69 min: 11.4 model: SMP L19M3PF7 serial: <filter> charging:
    status: not charging cycles: 335
CPU:
  Info: 8-core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 2 rev: 1 cache: L1: 512 KiB L2: 4 MiB L3: 8 MiB
  Speed (MHz): avg: 2900 min/max: 1400/2900 boost: enabled cores: 1: 2900
    2: 2900 3: 2900 4: 2900 5: 2900 6: 2900 7: 2900 8: 2900 9: 2900 10: 2900
    11: 2900 12: 2900 13: 2900 14: 2900 15: 2900 16: 2900 bogomips: 92628
  Flags-basic: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a
    ssse3 svm
Graphics:
  Device-1: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] vendor: Lenovo
    driver: N/A arch: Turing pcie: speed: 8 GT/s lanes: 8 bus-ID: 01:00.0
    chip-ID: 10de:1f95
  Device-2: Advanced Micro Devices [AMD/ATI] Renoir [Radeon Vega Series /
    Radeon Mobile Series] vendor: Lenovo driver: N/A arch: GCN-5 pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 05:00.0 chip-ID: 1002:1636
  Device-3: Chicony Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 1-3:2 chip-ID: 04f2:b6c2
  Display: wayland server: Xwayland v: 24.1.10 compositor: kwin_wayland
    driver: N/A display-ID: 0
  Monitor-1: Unknown-1 res: 1920x1080 hz: 60 dpi: 96 diag: 582mm (22.93")
  API: EGL v: 1.5 platforms: device: 0 drv: swrast surfaceless: drv: swrast
    wayland: drv: swrast x11: drv: swrast inactive: gbm
  API: OpenGL v: 4.5 vendor: mesa v: 25.3.6 glx-v: 1.4 direct-render: yes
    renderer: llvmpipe (LLVM 21.1.8 256 bits) device-ID: ffffffff:ffffffff
    display-ID: :0.0
  API: Vulkan v: 1.4.341 surfaces: N/A device: 0 type: cpu
    driver: mesa llvmpipe device-ID: 10005:0000
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdriinfo, xdpyinfo, xprop, xrandr
Audio:
  Device-1: NVIDIA driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s
    lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:10fa
  Device-2: Advanced Micro Devices [AMD] Audio Coprocessor vendor: Lenovo
    driver: N/A pcie: speed: 16 GT/s lanes: 16 bus-ID: 05:00.5
    chip-ID: 1022:15e2
  Device-3: Advanced Micro Devices [AMD] Ryzen HD Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 05:00.6 chip-ID: 1022:15e3
  API: ALSA v: k6.19.13-200.fc43.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.4.11 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 RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: 2000 bus-ID: 03:00.0 chip-ID: 10ec:8168
  IF: eno1 state: down mac: <filter>
  Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
    vendor: Lenovo driver: ath10k_pci v: kernel pcie: speed: 2.5 GT/s lanes: 1
    bus-ID: 04:00.0 chip-ID: 168c:003e temp: 54.0 C
  IF: wlp4s0 state: up mac: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros QCA61x4 Bluetooth 4.0 driver: btusb v: 0.8
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 3-3:3 chip-ID: 0cf3:e300
  Report: btmgmt ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 4.2 lmp-v: 8
Drives:
  Local Storage: total: 476.94 GiB used: 70.62 GiB (14.8%)
  ID-1: /dev/nvme0n1 vendor: Micron model: MTFDHBA512QFD size: 476.94 GiB
    speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 32.9 C
Partition:
  ID-1: / size: 474.35 GiB used: 69.73 GiB (14.7%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 1.9 GiB used: 898.5 MiB (46.2%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19.3 MiB (3.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 474.35 GiB used: 69.73 GiB (14.7%) 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: 74.4 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 14.98 GiB used: 3.93 GiB (26.2%)
  Processes: 389 Power: uptime: 12m wakeups: 0 Init: systemd v: 258
    default: graphical
  Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 37
    Compilers: gcc: 15.2.1 Shell: Bash v: 5.3.0 running-in: konsole inxi: 3.3.40
secure boot
SecureBoot disabled
Platform is in Setup Mode

I hope these help.

Q1 you should know since it requires the user to manually install the drivers. Instructions are in the link provided.

Q2 That indicates the nouveau drivers are in use. With secure boot disabled yet nouveau in use the implication is that the nvidia drivers are not installed.

Q3 The result there shows that no driver is linked to the nvidia GPU even though the nouveau modules are loaded. This is likely the reason nomodeset is required to enable proper login

You show that you are using f43, KDE so the solution should be relatively simple.

First verify the proper repo is enabled with dnf repolist.
If that shows the rpmfusion-nonfree-nvidia-driver repo in the list then perform the installation with sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda. Wait for a few minutes after the installation completes then reboot.

If the rpmfusion-nonfree-nvidia-driver repo is not revealed in the listing then you can enable the installation by following the instructions here before attempting to use the dnf command to install the drivers.

Hi Jeff,

I installed the drivers from the Discover app, so IDK which repo it uses.
dnf repolist showed the rpmfusion-nonfree-nvidia-driver repo, and the command you wrote worked. Thank you for your help!

Using the gui for software management hides almost everything from the user. There is thus no way to see details nor be aware of the cause when problems may appear.

The command line provides the details needed for troubleshooting.