Login loop and displays stops working

Hello, I’m experiencing a problem, that does not always happen but is very common. When I boot my PC, there’s is a big chance that after logging in it goes to a black screen before really logging in and loading system. After finally getting to the desktop, both monitors go black and I’m again asked to log in, after logging in for the second time, both monitors stop receiving any signal, like if they weren’t connected to the at the PC.

I really don’t have a clue on what’s going on or why. Please help cause it’s getting really annoying.

Edit: seems like is a situation where that happens or the entire PC is bound to freeze out of nowhere, no matter what I’m doing or how much the cpu is being used, not even my keyboard responds

There is likely useful information in the system journal and user journal.
Have a look for errors leading up to the time when you get the black screen.

Please post the output of inxi -Fzxx so we know what hardware and software you have on your system.

1 Like

Hi, thank you for your reply, sorry to take so long on mine. Was doing some testings to find some clues. I think that it might be related to the kernel version and my drawing tablet, a Huion Kamvas Pro 20(2019), that, when I’m not drawing or in blender, I use as a second monitor, usually I connect it through hdmi and the main monitor through dp. I also dual boot with Windows 10 and this set up works without any problems.

Whenever I have the tablet connected and boot on the most recent kernel, the one you can see on the output of the inxi I added below, the issue is present, if I disconnect the device, the issue is gone, although so far there are random times where the screen goes black for like less than a minute and comes back, no freezing. And nothing of this happens if I boot on the previous kernel I have available, I can have the tablet connected and no issues arise, except that the game I’m looking to play becomes unplayable.

System:
  Kernel: 6.10.10-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: KDE Plasma v: 6.1.5 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Fedora Linux 40 (KDE Plasma)
Machine:
  Type: Desktop System: Gigabyte product: A320M-S2H v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: A320M-S2H-CF v: x.x serial: <superuser required>
    UEFI: American Megatrends v: F22 date: 03/15/2018
CPU:
  Info: quad core model: AMD Ryzen 5 2400G with Radeon Vega Graphics bits: 64
    type: MT MCP arch: Zen rev: 0 cache: L1: 384 KiB L2: 2 MiB L3: 4 MiB
  Speed (MHz): avg: 2252 high: 3890 min/max: 1600/3600 boost: enabled cores:
    1: 3889 2: 3890 3: 1600 4: 1600 5: 2115 6: 1766 7: 1557 8: 1600
    bogomips: 57493
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2060 SUPER] vendor: ZOTAC driver: nvidia
    v: 560.35.03 arch: Turing pcie: speed: 2.5 GT/s lanes: 8 ports: active: none
    off: DP-1 empty: DP-2,DP-3,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1f06
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.2
    compositor: kwin_wayland driver: N/A display-ID: 0
  Monitor-1: DP-1 res: 1920x1080 size: N/A
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 2 drv: swrast
    gbm: drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia x11:
    drv: nvidia inactive: device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 560.35.03
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 2060
    SUPER/PCIe/SSE2 display-ID: :0.0
  API: Vulkan v: 1.3.290 surfaces: xcb,xlib,wayland device: 0
    type: discrete-gpu driver: N/A device-ID: 10de:1f06 device: 1 type: cpu
    driver: N/A device-ID: 10005:0000
Audio:
  Device-1: NVIDIA TU106 High Definition Audio vendor: ZOTAC
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 8 bus-ID: 01:00.1
    chip-ID: 10de:10f9
  Device-2: AMD Family 17h/19h HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 08:00.6 chip-ID: 1022:15e3
  Device-3: Corsair VIRTUOSO Wireless Gaming Headset
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 bus-ID: 5-2:2 chip-ID: 1b1c:0a42
  API: ALSA v: k6.10.10-200.fc40.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.8 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: Gigabyte driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: e000 bus-ID: 07:00.0 chip-ID: 10ec:8168
  IF: enp7s0 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: 3-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: 931.51 GiB used: 115.53 GiB (12.4%)
  ID-1: /dev/sda vendor: Toshiba model: HDWD110 size: 931.51 GiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 438.45 GiB used: 115.13 GiB (26.3%) fs: btrfs dev: /dev/sda7
  ID-2: /boot size: 973.4 MiB used: 365.5 MiB (37.5%) fs: ext4
    dev: /dev/sda6
  ID-3: /boot/efi size: 96 MiB used: 44.3 MiB (46.2%) fs: vfat
    dev: /dev/sda1
  ID-4: /home size: 438.45 GiB used: 115.13 GiB (26.3%) fs: btrfs
    dev: /dev/sda7
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 57.1 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 14.57 GiB used: 3.42 GiB (23.5%)
  Processes: 391 Power: uptime: 4m 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: konsole
    inxi: 3.3.34

And regarding the Journal, after a session with the issue, I checked it and found the following highlights:

/usr/bin/nvidia-powerd[926]: Found unsupported configuration. Exiting...

fedora sddm[1277]: Authentication information: SDDM::Auth::INFO_UNKNOWN "Last failed login: Fri Sep 20 19:57:44 CST 2024"
fedora sddm[1277]: Authentication information: SDDM::Auth::INFO_UNKNOWN "There was 1 failed login attempt since the last successful login."

fedora org_kde_powerdevil[1945]: org.kde.powerdevil: Handle button events action could not check for screen configuration

fedora org_kde_powerdevil[1945]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"

fedora kwin_wayland[1781]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug

fedora sddm[1277]: Auth: sddm-helper exited with 2
fedora systemd-logind[941]: Session 2 logged out. Waiting for processes to exit.

fedora kwin_wayland[1781]: kwin_wayland_drm: Presentation failed! Invalid argument

I need to add that I don’t see any authentication error or wrong password/username message when logging in. Let me now if it would be better to copy the complete log from start to finish.

This seems to be the important error.

Are you using the rpmfusion nvidia drivers?

Yes I’m, I followed the how to nvidia guide, to be more specific.

You could try reseating the GPU just in case you have a unreliable contact in the board.

But apart from that I am not sure what to suggest.