Issue with LightDM? Unable to login from suspend

The Issue: Since March 11th, i've noticed that when trying to wake my pc from a "suspended" state i'm met with a black screen, mouse pointer is present. Clicking mouse buttons or keyboard keys causes the "digital keyboard" to pop up for a split second then disapear again.

here is the current:

garuda-inxi output:
  Kernel: 6.1.18-1-lts arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
    root=UUID=7337d38a-55ef-4778-ad49-22c21ff7b113 rw [email protected]
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3 ibt=off
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm
    v: 4.18.0 vt: 7 dm: LightDM v: 1.32.0 Distro: Garuda Linux base: Arch Linux
  Type: Desktop System: Gigabyte product: B550 AORUS PRO V2 v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: B550 AORUS PRO V2 serial: <superuser required>
    UEFI: American Megatrends LLC. v: F16b date: 02/08/2023
  Device-1: hidpp_battery_0 model: Logitech G604 Wireless Gaming Mouse
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
  Info: model: AMD Ryzen 7 5800X3D bits: 64 type: MT MCP arch: Zen 3+ gen: 4
    level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
    model-id: 0x21 (33) stepping: 2 microcode: 0xA20120A
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 96 MiB desc: 1x96 MiB
  Speed (MHz): avg: 3552 high: 3684 min/max: 2200/4549 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 3588 2: 3593
    3: 3581 4: 3593 5: 3400 6: 3627 7: 3621 8: 3400 9: 3592 10: 3588 11: 3400
    12: 3684 13: 3588 14: 3400 15: 3592 16: 3591 bogomips: 108636
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
  Device-1: AMD Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] vendor: Gigabyte
    driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm)
    built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16 ports:
    active: DP-2,HDMI-A-1 empty: DP-1,HDMI-A-2 bus-ID: 08:00.0
    chip-ID: 1002:73bf class-ID: 0300
  Device-2: Logitech C922 Pro Stream Webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-8:5 chip-ID: 046d:085c
    class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.7 compositor: xfwm v: 4.18.0 driver: X:
    loaded: amdgpu unloaded: modesetting,radeon alternate: fbdev,vesa
    dri: radeonsi gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 5243x2495 s-dpi: 96 s-size: 1387x660mm (54.61x25.98")
    s-diag: 1536mm (60.47")
  Monitor-1: DP-2 mapped: DisplayPort-1 pos: primary,bottom-l
    model: Gigabyte AORUS FV43U serial: <filter> built: 2021 res: 3840x2160
    hz: 60 dpi: 140 gamma: 1.2 size: 697x392mm (27.44x15.43")
    diag: 800mm (31.5") ratio: 16:9 modes: max: 3840x2160 min: 640x480
  Monitor-2: HDMI-A-1 mapped: HDMI-A-0 pos: top-right model: HDMI
    built: 2012 res: 1404x2496 dpi: 122 gamma: 1.2
    size: 293x521mm (11.54x20.51") diag: 801mm (31.5") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon RX 6900 XT (navi21
    LLVM 15.0.7 DRM 3.49 6.1.18-1-lts) direct-render: Yes
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
    bus-ID: 1-6.3:6 chip-ID: 03f0:0491 gen: 4 class-ID: 0300 speed: 16 GT/s
    lanes: 16 serial: <filter> bus-ID: 08:00.1 chip-ID: 1002:ab28
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0a:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: HP HyperX QuadCast type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Device-4: Logitech C922 Pro Stream Webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-8:5 chip-ID: 046d:085c
    class-ID: 0102 serial: <filter>
  Sound API: ALSA v: k6.1.18-1-lts running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.67 running: yes
  Device-1: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: f000 bus-ID: 05:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Local Storage: total: 1.41 TiB used: 336.01 GiB (23.2%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:1 vendor: HP model: SSD EX920 512GB
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: SVN139B temp: 28.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Intel model: SSDPEKNW010T8
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 004C temp: 31.9 C scheme: MBR
  ID-3: /dev/sda maj-min: 8:0 type: USB model: General USB Flash Disk
    size: 14.55 GiB block-size: physical: 512 B logical: 512 B type: SSD
    serial: <filter> rev: 1100
  ID-1: / raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 336.01 GiB (70.5%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 608 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:3
  ID-3: /home raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 336.01 GiB (70.5%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
  ID-4: /var/log raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 336.01 GiB (70.5%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
  ID-5: /var/tmp raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 336.01 GiB (70.5%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 31.25 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
  System Temperatures: cpu: 41.4 C mobo: N/A gpu: amdgpu temp: 53.0 C
    mem: 50.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
  Processes: 387 Uptime: 7m wakeups: 2 Memory: 31.25 GiB
  used: 3.85 GiB (12.3%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: pm: pacman
  pkgs: 1679 libs: 495 tools: octopi,paru Shell: Bash v: 5.1.16
  running-in: xfce4-terminal inxi: 3.3.25
Garuda (2.6.15-1):
  System install date:     2022-12-17
  Last full system update: 2023-03-14 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager mkinitcpio
  Windows dual boot:       No/Undetected
  Failed units:

I've run an update while writing this post. however, I've updated several times since experiencing this issue to no avail.

That's an interesting clue; the on-screen keyboard has been set up in the default screensaver configuration. I have never had the issue you are describing, but then again the screensaver lock screen is disabled in my XFCE installation.

Try turning it off in the screensaver settings and see if it has any impact on the issue:

a quick & very brief test suggest this work around should avoid the problem. However, doesn't really solve the issue. I wounder if switching to Xscreensaver and removing the default would be an alternative "fix"?

Can you explain what you mean by that?

Specifically: how does the issue present itself when the screensaver lock screen is disabled?

The issue isn't just with the lock screen apparently. I've been gone for a few hours only to find that the screen saver didn't run. As for the issue, I would like to have a lock screen with screensaver simply because family is a problem atm. with out it I have other issues, with it I have to reboot; i'm still to new to figure out how to get a terminal prompt up, login and get all the nice gui stuff back up.

Gotcha, that's fair enough.

Test if changing to the s2idle suspend mode allows a normal resume from suspend. You can do it right from the Garuda Boot Options app.

Find the line that says "Kernel parameters" and the value mem_sleep_default=s2idle. Add it at the end of the line, after whatever is already on there. Then click Apply at the bottom.

After that, I would go back to your screensaver settings and re-enable the lock screen since you noted you will need to use that.

Reboot, then in the fresh reboot test if you get a different result waking from a suspend state.

Hi @Ichino, it turns out this is a known issue with the XFCE screensaver which was very recently fixed, see here:

It sounds like an updated package with the fix should land some time this week or next.

If you would like a temporary workaround until then, consider installing a replacement screensaver:

sudo pacman -Rsu xfce4-screensaver
sudo pacman -S light-locker
1 Like