Login/Lock screen slow to respond

Having a recent issue with my workstation, running Leap 15.6. If I manually lock my screen I can immediately get back in. However if I let my screen lock automatically, or I put my machine to sleep the lock screen can take 2-3 minutes before the password/login appears (if it appears, with sleep I’ve had to just ctrl+alt+f3 to reboot).

Not really sure what to look for here, its a fairly big machine with plenty of ram/memory so I don’t think its anything to do with that. When it hangs I get my login splash screen but no login fields.

openSUSE Leap 15.6
Intel i9-14900K
NVIDIA GeForce RTX 4080 - 570.124.04
KDE Plasma 5.27.11

Need more info.
Post

inxi -aFz

I have pretty much the same issue but I’m on Tumbleweed with a Nvidia 4080 card. Automatic lock screen will likely to render the machine a black screen with mouse only after waking up.
Ctrl+alt+f1 to reboot seems the only way out.

I tried logging out before locking/sleeping. Survival rate increases a bit but plasma session would break after some random time (missing taskbar, missing window button, dead UI button/keyboard shortcuts)

This problem started about month ago. Nvidia driver 570 increased black screen survival rate over 550 but it is still very bad.

Here’s the output:

System:
  Kernel: 6.4.0-150600.23.38-default arch: x86_64 bits: 64 compiler: gcc
    v: 7.5.0 parameters: BOOT_IMAGE=/boot/vmlinuz-6.4.0-150600.23.38-default
    root=UUID=a0e734a9-f9d2-42f0-93e5-92d859e4b49c
    resume=/dev/disk/by-uuid/0c1ec55e-10ff-413d-b1e5-06a5f4e1c8f9
    preempt=full security=apparmor nvidia_drm.fbdev=0 iwlwifi.enable_ini=0
    mitigations=auto rd.driver.blacklist=nouveau
  Desktop: KDE Plasma v: 5.27.11 tk: Qt v: 5.15.12 wm: kwin_x11 vt: 2
    dm: SDDM Distro: openSUSE Leap 15.6
Machine:
  Type: Desktop Mobo: Micro-Star model: MAG Z790 TOMAHAWK WIFI (MS-7D91)
    v: 4.0 serial: <superuser required> UEFI: American Megatrends LLC. v: H.B0
    date: 03/26/2024
CPU:
  Info: model: Intel Core i9-14900K bits: 64 type: MST AMCP arch: Raptor Lake
    gen: core 14 level: v3 note: check built: 2022+ process: Intel 7 (10nm)
    family: 6 model-id: 0xB7 (183) stepping: 1 microcode: 0x12C
  Topology: cpus: 1x cores: 24 mt: 8 tpc: 2 st: 16 threads: 32 smt: enabled
    cache: L1: 2.1 MiB desc: d-16x32 KiB, 8x48 KiB; i-8x32 KiB, 16x64 KiB
    L2: 32 MiB desc: 8x2 MiB, 4x4 MiB L3: 36 MiB desc: 1x36 MiB
  Speed (MHz): avg: 911 high: 1321 min/max: 800/5700:6000:4400 scaling:
    driver: intel_pstate governor: powersave cores: 1: 1284 2: 1100 3: 1249
    4: 800 5: 800 6: 800 7: 1321 8: 800 9: 1203 10: 800 11: 1202 12: 800
    13: 1291 14: 800 15: 992 16: 800 17: 1059 18: 800 19: 823 20: 800 21: 800
    22: 800 23: 800 24: 800 25: 800 26: 800 27: 800 28: 800 29: 800 30: 843
    31: 800 32: 800 bogomips: 203980
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling mitigation: Clear Register File
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB:
    conditional; RSB filling; PBRSB-eIBRS: SW sequence; BHI: BHI_DIS_S
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Raptor Lake-S GT1 [UHD Graphics 770] vendor: Micro-Star MSI
    driver: i915 v: kernel arch: Gen-13 process: Intel 7 (10nm) built: 2022+
    ports: active: none empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2, HDMI-A-3,
    HDMI-A-4 bus-ID: 00:02.0 chip-ID: 8086:a780 class-ID: 0380
  Device-2: NVIDIA AD103 [GeForce RTX 4080] vendor: Micro-Star MSI
    driver: nvidia v: 570.124.04 alternate: nouveau,nvidia_drm non-free: 530.xx+
    status: current (as of 2023-05) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022-23+ pcie: gen: 2 speed: 5 GT/s
    lanes: 16 link-max: gen: 4 speed: 16 GT/s ports: active: none
    off: DP-3,DP-4,DP-5 empty: HDMI-A-5 bus-ID: 01:00.0 chip-ID: 10de:2704
    class-ID: 0300
  Device-3: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0
    bus-ID: 1-9.1.1.3.3.2:13 chip-ID: 046d:082d class-ID: 0102
    serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.11 with: Xwayland v: 24.1.1
    compositor: kwin_x11 driver: X: loaded: modesetting,nvidia
    unloaded: fbdev,vesa alternate: intel,nouveau,nv dri: iris
    gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 6200x1920 s-dpi: 91 s-size: 1730x536mm (68.11x21.10")
    s-diag: 1811mm (71.3")
  Monitor-1: not-matched mapped: DP-0 pos: top-right res: 1080x1920 hz: 60
    dpi: 93 size: 296x527mm (11.65x20.75") diag: 604mm (23.8") modes: N/A
  Monitor-2: not-matched mapped: DP-2 pos: bottom-l res: 2560x1440 hz: 60
    dpi: 92 size: 708x399mm (27.87x15.71") diag: 813mm (32") modes: N/A
  Monitor-3: DP-5 mapped: DP-4 note: disabled pos: primary,bottom-c
    model: BenQ PD3200Q serial: <filter> built: 2020 res: 2560x1440 hz: 60
    dpi: 92 gamma: 1.2 size: 708x399mm (27.87x15.71") diag: 813mm (32")
    ratio: 16:9 modes: max: 2560x1440 min: 640x480
  API: OpenGL v: 4.6.0 NVIDIA 570.124.04 renderer: NVIDIA GeForce RTX
    4080/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: Intel Raptor Lake High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
    bus-ID: 00:1f.3 chip-ID: 8086:7a50 class-ID: 0403
  Device-2: Micro Star USB Audio driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-11:8
    chip-ID: 0db0:a74b class-ID: 0300
  Device-3: Focusrite-Novation Scarlett 2i4 driver: snd-usb-audio type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:3 chip-ID: 1235:800a
    class-ID: fe01
  Device-4: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0
    bus-ID: 1-9.1.1.3.3.2:13 chip-ID: 046d:082d class-ID: 0102
    serial: <filter>
  API: ALSA v: k6.4.0-150600.23.38-default status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.0.5 status: off with: 1: wireplumber
    status: active 2: pw-jack type: plugin tools: pw-cat,pw-cli,wpctl
  Server-2: PulseAudio v: 17.0 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl
Network:
  Device-1: Intel Raptor Lake-S PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:7a70 class-ID: 0280
  IF: wlan1 state: down mac: <filter>
  Device-2: Intel Ethernet I225-V vendor: Micro-Star MSI driver: igc
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 06:00.0
    chip-ID: 8086:15f3 class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: br0 state: up speed: 1000 Mbps duplex: unknown mac: <filter>
  IF-ID-2: docker0 state: up speed: 10000 Mbps duplex: unknown mac: <filter>
  IF-ID-3: tun0 state: unknown speed: 10000 Mbps duplex: full mac: N/A
  IF-ID-4: vethb8ce7c3 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
Bluetooth:
  Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:15 chip-ID: 8087:0033
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 4.61 TiB used: 2.07 TiB (44.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:2 vendor: Kingston model: SKC3000D2048G
    size: 1.86 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: EIFK31.6 temp: 17.9 C
    scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Kingston model: SFYRS1000G
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: EIFK31.6 temp: 17.9 C
    scheme: GPT
  ID-3: /dev/nvme2n1 maj-min: 259:1 vendor: Kingston model: SKC3000S1024G
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: EIFK51.2 temp: 33.9 C
    scheme: GPT
  ID-4: /dev/nvme3n1 maj-min: 259:3 vendor: Kingston model: SFYRS1000G
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: EIFK31.6 temp: 16.9 C
    scheme: GPT
Partition:
  ID-1: / raw-size: 731.22 GiB size: 731.22 GiB (100.00%)
    used: 178.36 GiB (24.4%) fs: btrfs dev: /dev/nvme1n1p3 maj-min: 259:6
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 10.2 MiB (3.4%) fs: vfat dev: /dev/nvme1n1p1 maj-min: 259:4
  ID-3: /home raw-size: 953.87 GiB size: 953.87 GiB (100.00%)
    used: 510.51 GiB (53.5%) fs: btrfs dev: /dev/nvme2n1p1 maj-min: 259:7
  ID-4: /opt raw-size: 731.22 GiB size: 731.22 GiB (100.00%)
    used: 178.36 GiB (24.4%) fs: btrfs dev: /dev/nvme1n1p3 maj-min: 259:6
  ID-5: /tmp raw-size: 731.22 GiB size: 731.22 GiB (100.00%)
    used: 178.36 GiB (24.4%) fs: btrfs dev: /dev/nvme1n1p3 maj-min: 259:6
  ID-6: /var raw-size: 731.22 GiB size: 731.22 GiB (100.00%)
    used: 178.36 GiB (24.4%) fs: btrfs dev: /dev/nvme1n1p3 maj-min: 259:6
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 200 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme1n1p2 maj-min: 259:5
Sensors:
  System Temperatures: cpu: 25.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 678 Uptime: 0h 3m wakeups: 0 Memory: available: 188.47 GiB
  used: 7.74 GiB (4.1%) Init: systemd v: 254 target: graphical (5)
  default: graphical tool: systemctl Compilers: gcc: 7.5.0 alt: 10/7
  clang: 17.0.6 Packages: 36 pm: rpm pkgs: N/A note: see --rpm
  tools: dnf,yast,yum,zypper pm: flatpak pkgs: 30 pm: snap pkgs: 6 Shell: Bash
  v: 4.4.23 running-in: konsole inxi: 3.3.27

Suppose this started roughly around the same time. I just updated to the 570 drivers yesterday and don’t notice a difference. From sleep it will not get back to a login screen now, just black. If it auto locks I can still log in but it will sit at the login splash screen with no user name/login for few minutes. No odd graphical issues that I can see, just sitting there thinking about something.

Its very frustrating, I have to let my screen lock after a few minutes for security reasons.

Found some other suggestions online to add nvidia-drm.modeset=1 to grub. This makes no difference.

Current state is that I cannot get back to my login screen once my machine has gone to sleep. Get a mouse pointer, and have to ctrl+alt+f1 to a terminal to reboot. If my machine auto locks the screen, its 2-3 min till the login appears. However if I manually lock, its completely fine.

So what is the difference then between manually locking the screen, and letting it auto lock but not sleep??

Try to disable Intel iGPU.

IMHO 200 GiB swap is too much. Do you need it to be so big?

200gb is high, but I do heavy vfx and it can sometimes go into swap.

How can I disable the igpu? Is that in the motherboard bios? Not sure why that would matter but willing to try anything now.