"Stuck" windows and random freezing after waking up from suspend

Hello,

Ever since building this PC, I’ve had a lot of trouble with suspend and resume, There was previously an issue with the kernel and systemd, but every once in a while I do a test to see if an update fixed things. These are my system specs:

  • Nvidia 1080Ti with proprietary drivers.
  • Plasma 6 on X11.
  • AMD 7800 X3D CPU, with AMD integrated graphics (but unused)
    • might be worth noting that the integrated graphics shows up as a second GPU
  • Asus ROG STRIX B650E-I motherboard.

Now it seems that it’s better than before, but I’m still getting issues. After waking up from suspend, I first get a black screen, but the mouse cursor is movable. After 10-20 seconds (sometimes more), I get the screen unlock screen. When I type my password, the text field is sometimes responsive, but sometimes it randomly freezes for a few seconds before resuming.

After unlocking the desktop, any windows I had open are usable, although there’s still some random freezing. The plasma panel is frozen and unusable. I can open programs via the terminal, which I can start with Ctrl-Alt-T. Any notification dialogs that plasma wanted to display also get frozen. I’d like to emphasize that there’s always some random freezing (the mouse stops moving, desktop is completely unresponsive) for a few seconds before the desktop becomes responsive again.

The only workaround I found is to log out and log in, which results in a perfectly usable desktop. A reboot also works, of course. But these workarounds defeat the purpose of suspend/resume.

My nvidia suspend services are enabled as they should be, as far as I know. So I’m not sure if the problem is with Nvidia, or with plasma, or something else.

$ systemctl list-unit-files | grep -i nvidia
nvidia-hibernate.service                                                  enabled         disabled
nvidia-persistenced.service                                               disabled        disabled
nvidia-powerd.service                                                     disabled        disabled
nvidia-resume.service                                                     enabled         disabled
nvidia-suspend-then-hibernate.service                                     disabled        disabled
nvidia-suspend.service                                                    enabled         disabled

It is also worth noting that this desktop computer is relatively new, but I recycled my 1080Ti from my previous desktop. In my previous desktop, I didn’t have nearly this much issues with suspend and resume.

Can anyone help?

Hi @9a3eedi,

I know you’ve been around here for quite some time, so this should have been known. But please provide the output of:

inxi --filter --verbosity=8

Please also note and heed: Forum Rules - Manjaro

Those with privacy concerns: note that when -z, or --filter is used, all personally identifiable information is filtered out from the resulting inxi output. :eyes:

Please also provide the output of:

systemctl status nvidia-suspend.service

I noticed:

…so I have to ask, have you tried Wayland yet? I use:

$ echo $XDG_SESSION_TYPE
wayland
$ nvidia-smi | head -n 4

Sun Apr 27 10:39:51 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.133.07             Driver Version: 570.133.07     CUDA Version: 12.8     |
|-----------------------------------------+------------------------+----------------------+

…and I suspend my computer at least once a day without any problems. So I think it’s a worthwhile endeavour. Especially if you consider Wayland is now Plasma’s default, and not x11 any longer.

2 Likes

Hello,

Here’s the output of inxi

System:
  Kernel: 6.12.21-4-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.12-x86_64
    root=UUID=bd4a035f-be6d-424c-9bb5-6010b3b628cd rw rootflags=subvol=@
    nosplash resume=UUID=b6989133-2bd8-49c4-afec-0f430e260702
    udev.log_priority=3 "acpi_osi=Windows 2015"
  Desktop: KDE Plasma v: 6.3.4 tk: Qt v: N/A info: frameworks v: 6.12.0
    wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ROG STRIX B650E-I GAMING WIFI v: Rev 1.xx
    serial: <superuser required> part-nu: SKU uuid: <superuser required>
    UEFI: American Megatrends v: 2611 date: 04/07/2024
Battery:
  Device-1: hidpp_battery_0 model: Logitech G603 Wireless Gaming Mouse
    serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: discharging
Memory:
  System RAM: total: 32 GiB available: 30.57 GiB used: 6.3 GiB (20.6%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 128 GiB slots: 2 modules: 2 EC: None
    max-module-size: 64 GiB note: est.
  Device-1: Channel-A DIMM 1 type: DDR5 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: spec: 4800 MT/s actual: 6400 MT/s
    volts: note: check curr: 1 min: 1 max: 1 width (bits): data: 64 total: 64
    manufacturer: G Skill Intl part-no: F5-7800J3646H16G serial: <filter>
  Device-2: Channel-B DIMM 1 type: DDR5 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: spec: 4800 MT/s actual: 6400 MT/s
    volts: note: check curr: 1 min: 1 max: 1 width (bits): data: 64 total: 64
    manufacturer: G Skill Intl part-no: F5-7800J3646H16G serial: <filter>
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 7 7800X3D bits: 64 type: MT MCP arch: Zen 4 gen: 4
    level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25)
    model-id: 0x61 (97) stepping: 2 microcode: 0xA601209
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
    smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB
    desc: 8x1024 KiB L3: 96 MiB desc: 1x96 MiB
  Speed (MHz): avg: 3932 min/max: 545/5050 boost: enabled scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 3932 2: 3932 3: 3932
    4: 3932 5: 3932 6: 3932 7: 3932 8: 3932 9: 3932 10: 3932 11: 3932 12: 3932
    13: 3932 14: 3932 15: 3932 16: 3932 bogomips: 134451
  Flags: 3dnowprefetch abm adx aes amd_lbr_pmc_freeze amd_lbr_v2 aperfmperf
    apic arat avic avx avx2 avx512_bf16 avx512_bitalg avx512_vbmi2
    avx512_vnni avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f
    avx512ifma avx512vbmi avx512vl bmi1 bmi2 bpext cat_l3 cdp_l3 clflush
    clflushopt clwb clzero cmov cmp_legacy constant_tsc cpb cppc cpuid cqm
    cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc cr8_legacy cx16 cx8 de
    decodeassists erms extapic extd_apicid f16c flush_l1d flushbyasid fma fpu
    fsgsbase fsrm fxsr fxsr_opt gfni ht hw_pstate ibpb ibrs ibrs_enhanced ibs
    invpcid irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor
    movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx ospke osvw
    overflow_recov pae pat pausefilter pclmulqdq pdpe1gb perfctr_core
    perfctr_llc perfctr_nb perfmon_v2 pfthreshold pge pku pni popcnt pse
    pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
    skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp
    succor svm svm_lock syscall tce topoext tsc tsc_scale umip user_shstk
    v_spec_ctrl vaes vgif vmcb_clean vme vmmcall vnmi vpclmulqdq wbnoinvd wdt
    x2avic xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves xtopology
  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 status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: Safe RET
  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; STIBP: always-on; RSB filling; PBRSB-eIBRS: Not affected;
    BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GP102 [GeForce GTX 1080 Ti] vendor: ASUSTeK driver: nvidia
    v: 570.133.07 alternate: nouveau,nvidia_drm non-free: 550-570.xx+
    status: current (as of 2025-04; EOL~2026-12-xx) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-2021 pcie: gen: 3 speed: 8 GT/s lanes: 16
    ports: active: none off: DP-3,HDMI-A-2 empty: DP-2,HDMI-A-3
    bus-ID: 01:00.0 chip-ID: 10de:1b06 class-ID: 0300
  Device-2: Advanced Micro Devices [AMD/ATI] Raphael vendor: ASUSTeK
    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: none
    empty: DP-1,HDMI-A-1,Writeback-1 bus-ID: 0c:00.0 chip-ID: 1002:164e
    class-ID: 0300 temp: 44.0 C
  Display: x11 server: X.Org v: 21.1.16 with: Xwayland v: 24.1.6
    compositor: kwin_x11 driver: X: loaded: amdgpu,nvidia
    unloaded: modesetting,nouveau alternate: fbdev,nv,vesa dri: radeonsi
    gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 107 s-size: 608x342mm (23.94x13.46")
    s-diag: 698mm (27.46")
  Monitor-1: DP-3 mapped: DP-2 note: disabled pos: primary
    model: Asus ROG PG278Q serial: <filter> built: 2014 res: N/A dpi: 109
    gamma: 1.2 chroma: red: x: 0.647 y: 0.345 green: x: 0.314 y: 0.627 blue:
    x: 0.137 y: 0.043 white: x: 0.314 y: 0.329 size: 598x336mm (23.54x13.23")
    diag: 686mm (27") ratio: 16:9 modes: 2560x1440
  Monitor-2: HDMI-A-2 mapped: HDMI-0 note: disabled model: LG (GoldStar) TV
    serial: <filter> built: 2017 res: N/A dpi: 61 gamma: 1.2 chroma: red:
    x: 0.639 y: 0.329 green: x: 0.298 y: 0.600 blue: x: 0.149 y: 0.059 white:
    x: 0.314 y: 0.329 size: 1600x900mm (62.99x35.43") diag: 1836mm (72.3")
    ratio: 16:9 modes: 3840x2160, 4096x2160, 1920x1080, 1280x1024, 1360x768,
    1152x864, 1280x720, 1024x768, 800x600, 720x576, 720x480, 640x480
  EDID-Warnings: 1: parse_edid: unhandled CEA mode 97 2: parse_edid:
    unhandled CEA mode 96 3: parse_edid: unhandled CEA mode 102 4: parse_edid:
    unhandled CEA mode 101 5: parse_edid: unhandled CEA mode 93 6: parse_edid:
    unhandled CEA mode 94 7: parse_edid: unhandled CEA mode 95 8: parse_edid:
    unhandled CEA mode 98 9: parse_edid: unhandled CEA mode 99 10: parse_edid:
    unhandled CEA mode 100
  API: EGL v: 1.5 hw: drv: nvidia nouveau drv: nvidia drv: amd radeonsi
    platforms: device: 0 drv: nvidia device: 1 drv: nouveau device: 2
    drv: radeonsi device: 3 drv: swrast gbm: drv: nvidia surfaceless:
    drv: nvidia x11: drv: nvidia inactive: wayland
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 570.133.07
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2
    memory: 10.74 GiB
  API: Vulkan v: 1.4.309 layers: 5 device: 0 type: discrete-gpu name: NVIDIA
    GeForce GTX 1080 Ti driver: nvidia v: 570.133.07 device-ID: 10de:1b06
    surfaces: xcb,xlib device: 1 type: integrated-gpu name: AMD Radeon
    Graphics (RADV RAPHAEL_MENDOCINO) driver: mesa radv v: 25.0.3-arch1.1
    device-ID: 1002:164e surfaces: xcb,xlib
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: NVIDIA GP102 HDMI Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:10ef class-ID: 0403
  Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High
    Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 0c:00.1 chip-ID: 1002:1640
    class-ID: 0403
  Device-3: ASUSTek 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-6:2
    chip-ID: 0b05:1a5c class-ID: 0300
  API: ALSA v: k6.12.21-4-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.4.1 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel pcie:
    gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 08:00.0 chip-ID: 8086:15f3
    class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    vendor: Foxconn driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 1 bus-ID: 09:00.0 chip-ID: 14c3:0616 class-ID: 0280
  IF: wlp9s0 state: down mac: <filter>
  Device-3: Microsoft Xbox Wireless Adapter for Windows driver: N/A
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-1:2
    chip-ID: 045e:02fe class-ID: 0000 serial: <filter>
  Info: services: NetworkManager, sshd, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: Foxconn / Hon Hai Wireless_Device driver: btusb v: 0.8 type: USB
    rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-11:5
    chip-ID: 0489:e0e2 class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 5 state: up address: <filter> bt-v: 5.2
    lmp-v: 11 status: discoverable: no pairing: no class-ID: 6c0104
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 5.92 TiB used: 1.94 TiB (32.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WD BLACK SN850X 4000GB size: 3.64 TiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 624311WD temp: 41.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000LX001-1RG174
    size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 5400 serial: <filter> fw-rev: SDM1 scheme: MBR
  ID-3: /dev/sdb maj-min: 8:16 vendor: SanDisk model: SDDR-A631
    size: 476.91 GiB block-size: physical: 512 B logical: 512 B type: USB
    rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    fw-rev: 0021 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  Optical-1: /dev/sr0 vendor: PIONEER model: BD-RW BDR-XS06 rev: 1.10
    dev-links: cdrom
  Features: speed: 62 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
  Optical-2: /dev/sr1 vendor: HL-DT-ST model: DVDRAM GP65NB60 rev: PB00
    dev-links: N/A
  Features: speed: 24 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / raw-size: 2.17 TiB size: 2.17 TiB (100.00%) used: 1.94 TiB (89.4%)
    fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6 label: N/A
    uuid: bd4a035f-be6d-424c-9bb5-6010b3b628cd
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 608 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p5 maj-min: 259:5 label: N/A
    uuid: 5CDF-3804
  ID-3: /home raw-size: 2.17 TiB size: 2.17 TiB (100.00%)
    used: 1.94 TiB (89.4%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
    label: N/A uuid: bd4a035f-be6d-424c-9bb5-6010b3b628cd
  ID-4: /var/cache raw-size: 2.17 TiB size: 2.17 TiB (100.00%)
    used: 1.94 TiB (89.4%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
    label: N/A uuid: bd4a035f-be6d-424c-9bb5-6010b3b628cd
  ID-5: /var/log raw-size: 2.17 TiB size: 2.17 TiB (100.00%)
    used: 1.94 TiB (89.4%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
    label: N/A uuid: bd4a035f-be6d-424c-9bb5-6010b3b628cd
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 35 GiB used: 68.3 MiB (0.2%)
    priority: -2 dev: /dev/nvme0n1p7 maj-min: 259:7 label: N/A
    uuid: b6989133-2bd8-49c4-afec-0f430e260702
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 100 MiB fs: vfat label: N/A
    uuid: 1657-D3CE
  ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-3: /dev/nvme0n1p3 maj-min: 259:3 size: 1.43 TiB fs: ntfs label: N/A
    uuid: A24665B1466586BF
  ID-4: /dev/nvme0n1p4 maj-min: 259:4 size: 854 MiB fs: ntfs label: N/A
    uuid: F28826B0882672F1
  ID-5: /dev/sda1 maj-min: 8:1 size: 1.82 TiB fs: exfat label: N/A
    uuid: 749F-FF5A
  ID-6: /dev/sdb1 maj-min: 8:17 size: 476.88 GiB fs: exfat label: N/A
    uuid: 9C33-6BBD
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-6:2 info: ASUSTek USB Audio type: audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 8 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 0b05:1a5c class-ID: 0300
  Device-2: 1-7:3 info: ASUSTek AURA LED Controller type: HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 16mA chip-ID: 0b05:19af class-ID: 0300
    serial: <filter>
  Device-3: 1-10:4 info: Logitech Unifying Receiver type: keyboard,mouse,HID
    driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 98mA
    chip-ID: 046d:c52b class-ID: 0300
  Device-4: 1-11:5 info: Foxconn / Hon Hai Wireless_Device type: bluetooth
    driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 100mA chip-ID: 0489:e0e2 class-ID: e001 serial: <filter>
  Hub-2: 2-0:1 info: super-speed hub ports: 5 rev: 3.1
    speed: 20 Gb/s (2.33 GiB/s) lanes: 2 mode: 3.2 gen-2x2 chip-ID: 1d6b:0003
    class-ID: 0900
  Device-1: 2-5:4 info: Pioneer BD-XD07 BD/DVD/CD Writer type: mass storage
    driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s (596.0 MiB/s)
    lanes: 1 mode: 3.2 gen-1x1 power: 8mA chip-ID: 08e4:017a class-ID: 0802
    serial: <filter>
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-2:2 info: MediaTek Slim Portable DVD Writer type: mass storage
    driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
    lanes: 1 mode: 2.0 power: 500mA chip-ID: 0e8d:1887 class-ID: 0802
    serial: <filter>
  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Device-1: 4-1:2 info: SanDisk SDDR-A631 type: mass storage
    driver: usb-storage interfaces: 1 rev: 3.2 speed: 5 Gb/s (596.0 MiB/s)
    lanes: 1 mode: 3.2 gen-1x1 power: 896mA chip-ID: 0781:cfd1 class-ID: 0806
    serial: <filter>
  Hub-5: 5-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 5-1:2 info: Microsoft Xbox Wireless Adapter for Windows
    type: WiFi driver: N/A interfaces: 1 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
    lanes: 1 mode: 2.0 power: 500mA chip-ID: 045e:02fe class-ID: 0000
    serial: <filter>
  Hub-6: 5-2:3 info: Genesys Logic Hub ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 5-2.1:4 info: Logitech Lightspeed Receiver
    type: keyboard,mouse,HID driver: logitech-djreceiver,usbhid interfaces: 3
    rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 98mA
    chip-ID: 046d:c539 class-ID: 0300
  Device-2: 5-2.2:5 info: Unicomp Ruffian 6 Keyboard v3 [Model M]
    type: keyboard driver: hid-generic,usbhid interfaces: 1 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 17f6:0822 class-ID: 0301
  Hub-7: 6-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-8: 6-2:2 info: Genesys Logic Hub ports: 2 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 05e3:0612
    class-ID: 0900
  Hub-9: 7-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-10: 8-0:1 info: Linux Foundation 3.0 root hub ports: N/A rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 36.0 C mobo: 34.0 C
  Fan Speeds (rpm): fan-1: 0 fan-2: 1015 fan-7: 3033
  GPU: device: nvidia screen: :0.0 temp: 53 C fan: 20% device: amdgpu
    temp: 45.0 C
Repos:
  Packages: 1755 pm: pacman pkgs: 1733 libs: 508 tools: pamac pm: flatpak
    pkgs: 22
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://mirror.raiolanetworks.com/manjaro/stable/$repo/$arch
    2: https://ct.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
    3: https://mirror.kamtv.ru/manjaro/stable/$repo/$arch
    4: https://mirror.ufro.cl/manjaro/stable/$repo/$arch
    5: https://mirror.math.princeton.edu/pub/manjaro/stable/$repo/$arch
    6: https://mirrors.nic.cz/manjaro/stable/$repo/$arch
    7: https://mirror.truenetwork.ru/manjaro/stable/$repo/$arch
    8: https://ftp.psnc.pl/linux/manjaro/stable/$repo/$arch
    9: https://mirror.nyist.edu.cn/manjaro/stable/$repo/$arch
    10: https://mirror.dc.uz/manjaro/stable/$repo/$arch
    11: https://mirror.init7.net/manjaro/stable/$repo/$arch
    12: https://ftpmirror1.infania.net/mirror/manjaro/stable/$repo/$arch
    13: http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/stable/$repo/$arch
    14: https://mirror.nju.edu.cn/manjaro/stable/$repo/$arch
    15: http://ftp.free.org/mirrors/repo.manjaro.org/repos/stable/$repo/$arch
    16: https://manjaro.c3sl.ufpr.br/stable/$repo/$arch
    17: https://ftp.gwdg.de/pub/linux/manjaro/stable/$repo/$arch
    18: https://mirrors.sjtug.sjtu.edu.cn/manjaro/stable/$repo/$arch
    19: https://ohioix.mm.fcix.net/manjaro/stable/$repo/$arch
    20: https://ziply.mm.fcix.net/manjaro/stable/$repo/$arch
    21: https://ftp.linux.org.tr/manjaro/stable/$repo/$arch
    22: http://free.nchc.org.tw/manjaro/stable/$repo/$arch
    23: https://fosszone.csd.auth.gr/manjaro/stable/$repo/$arch
    24: https://ftp.cc.uoc.gr/mirrors/linux/manjaro/stable/$repo/$arch
    25: https://linorg.usp.br/manjaro/stable/$repo/$arch
    26: http://ftp.snt.utwente.nl/pub/linux/manjaro/stable/$repo/$arch
    27: https://mirror.zetup.net/manjaro/stable/$repo/$arch
    28: https://mnvoip.mm.fcix.net/manjaro/stable/$repo/$arch
    29: https://repo.iut.ac.ir/repo/manjaro/stable/$repo/$arch
    30: https://mirror.dkm.cz/manjaro/stable/$repo/$arch
    31: http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/stable/$repo/$arch
    32: https://manjaro.mirror.wearetriple.com/stable/$repo/$arch
    33: https://manjaro.mirror.garr.it/manjaro/stable/$repo/$arch
    34: https://ftp.caliu.cat/pub/distribucions/manjaro/stable/$repo/$arch
    35: https://mirrors.dotsrc.org/manjaro/stable/$repo/$arch
    36: https://mirrors.up.pt/pub/manjaro/stable/$repo/$arch
    37: https://mirrors.atlas.net.co/manjaro/stable/$repo/$arch
    38: https://mirror.freedif.org/Manjaro/stable/$repo/$arch
    39: https://mirror.csclub.uwaterloo.ca/manjaro/stable/$repo/$arch
    40: http://ftp.riken.jp/Linux/manjaro/stable/$repo/$arch
    41: https://cofractal-ewr.mm.fcix.net/manjaro/stable/$repo/$arch
    42: https://mirror.bouwhuis.network/manjaro/stable/$repo/$arch
    43: https://ba.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
    44: https://muug.ca/mirror/manjaro/stable/$repo/$arch
    45: https://manjarolinux-mirror.cloud.mu/stable/$repo/$arch
    46: https://nnenix.mm.fcix.net/manjaro/stable/$repo/$arch
    47: https://ridgewireless.mm.fcix.net/manjaro/stable/$repo/$arch
    48: http://mirror.xeonbd.com/manjaro/stable/$repo/$arch
    49: https://opencolo.mm.fcix.net/manjaro/stable/$repo/$arch
    50: https://mirrors.jlu.edu.cn/manjaro/stable/$repo/$arch
    51: https://manjaro.ipacct.com/manjaro/stable/$repo/$arch
    52: http://kartolo.sby.datautama.net.id/manjaro/stable/$repo/$arch
    53: https://mirror.2degrees.nz/manjaro/stable/$repo/$arch
    54: https://mirrors.manjaro.org/repo/stable/$repo/$arch
    55: http://ftp.uni-kl.de/pub/linux/manjaro/stable/$repo/$arch
    56: http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable/$repo/$arch
    57: https://ask4.mm.fcix.net/manjaro/stable/$repo/$arch
    58: https://mirror.archlinux.tw/Manjaro/stable/$repo/$arch
    59: https://codingflyboy.mm.fcix.net/manjaro/stable/$repo/$arch
    60: https://quantum-mirror.hu/mirrors/pub/manjaro/stable/$repo/$arch
    61: https://mirror.telepoint.bg/manjaro/stable/$repo/$arch
    62: https://mirrors.tuna.tsinghua.edu.cn/manjaro/stable/$repo/$arch
    63: https://mirror.xenyth.net/manjaro/stable/$repo/$arch
    64: https://mirror.hostiko.network/manjaro/stable/$repo/$arch
    65: https://mirror.leitecastro.com/manjaro/stable/$repo/$arch
    66: https://mirrors.eric.ovh/manjaro/stable/$repo/$arch
    67: https://manjaro.repo.cure.edu.uy/stable/$repo/$arch
    68: https://mirror.easyname.at/manjaro/stable/$repo/$arch
    69: https://irltoolkit.mm.fcix.net/manjaro/stable/$repo/$arch
    70: https://manjaro.ynh.ovh/stable/$repo/$arch
    71: https://mirrors.ocf.berkeley.edu/manjaro/stable/$repo/$arch
    72: https://gsl-syd.mm.fcix.net/manjaro/stable/$repo/$arch
    73: https://mirror1.sox.rs/manjaro/stable/$repo/$arch
    74: https://mirror.ibakerserver.pt/manjaro/stable/$repo/$arch
    75: https://mirror.it4i.cz/manjaro/stable/$repo/$arch
    76: https://distrohub.kyiv.ua/manjaro/stable/$repo/$arch
    77: http://ftp.belnet.be/mirrors/manjaro/repos/stable/$repo/$arch
    78: https://volico.mm.fcix.net/manjaro/stable/$repo/$arch
    79: https://mirror.alpix.eu/manjaro/stable/$repo/$arch
    80: https://mirror.aarnet.edu.au/pub/manjaro/stable/$repo/$arch
    81: https://southfront.mm.fcix.net/manjaro/stable/$repo/$arch
    82: https://mirrors.xtom.jp/manjaro/stable/$repo/$arch
    83: http://manjaro.grena.ge/stable/$repo/$arch
    84: https://manjaro.mirrors.lavatech.top/stable/$repo/$arch
    85: https://forksystems.mm.fcix.net/manjaro/stable/$repo/$arch
    86: https://mirror.ufam.edu.br/manjaro/stable/$repo/$arch
    87: http://mirror.fcix.net/manjaro/stable/$repo/$arch
    88: https://manjaro.mirror.liquidtelecom.com/stable/$repo/$arch
    89: https://mirrors.gigenet.com/manjaro/stable/$repo/$arch
    90: https://nocix.mm.fcix.net/manjaro/stable/$repo/$arch
    91: https://bd.mirror.vanehost.com/Manjaro/stable/$repo/$arch
    92: https://mirror.alwyzon.net/manjaro/stable/$repo/$arch
    93: https://ftp.halifax.rwth-aachen.de/manjaro/stable/$repo/$arch
    94: https://mirror.vinehost.net/manjaro/stable/$repo/$arch
    95: https://manjaro.kurdy.org/stable/$repo/$arch
    96: https://mirror.netcologne.de/manjaro/stable/$repo/$arch
    97: https://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/$arch
    98: https://mirror.futureweb.be/manjaro/stable/$repo/$arch
    99: http://ossmirror.mycloud.services/os/linux/manjaro/stable/$repo/$arch
    100: https://mirror.23m.com/manjaro/stable/$repo/$arch
    101: https://mirrors.cicku.me/manjaro/stable/$repo/$arch
    102: http://mirror.is.co.za/mirrors/manjaro.org/stable/$repo/$arch
    103: https://mirrors2.manjaro.org/stable/$repo/$arch
    104: http://manjaro.mirrors.uk2.net/stable/$repo/$arch
    105: https://mirror.komelt.dev/manjaro/stable/$repo/$arch
    106: https://coresite.mm.fcix.net/manjaro/stable/$repo/$arch
    107: https://mirror.phoepsilonix.love/manjaro/stable/$repo/$arch
    108: https://mirror.koddos.net/manjaro/stable/$repo/$arch
    109: https://edgeuno-bog2.mm.fcix.net/manjaro/stable/$repo/$arch
    110: https://mirrors.sonic.net/manjaro/stable/$repo/$arch
    111: https://ftp.lysator.liu.se/pub/manjaro/stable/$repo/$arch
    112: https://repo.ialab.dsu.edu/manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 471
  1: cpu: 6.3% command: firefox pid: 602402 mem: 648.7 MiB (2.0%)
  2: cpu: 3.5% command: ksystemstats pid: 592013 mem: 35.1 MiB (0.1%)
  3: cpu: 3.2% command: firefox pid: 602621 mem: 304.3 MiB (0.9%)
  4: cpu: 2.5% command: telegram-desktop pid: 594003 mem: 869.3 MiB (2.7%)
  5: cpu: 1.2% command: konsole pid: 602846 mem: 184.2 MiB (0.5%)
  Memory top: 5 of 471
  1: mem: 869.3 MiB (2.7%) command: telegram-desktop pid: 594003 cpu: 2.5%
  2: mem: 716.8 MiB (2.2%) command: plasmashell pid: 591918 cpu: 0.6%
  3: mem: 648.7 MiB (2.0%) command: firefox pid: 602402 cpu: 6.3%
  4: mem: 536.3 MiB (1.7%) command: steamwebhelper pid: 593314 cpu: 0.5%
  5: mem: 422.4 MiB (1.3%) command: /newerversion started-by: dropbox
    pid: 592743 cpu: 0.1%
Info:
  Processes: 471 Power: uptime: 7d 19h 42m states: freeze,mem,disk
    suspend: deep avail: s2idle wakeups: 4 hibernate: platform avail: shutdown,
    reboot, suspend, test_resume image: 12.19 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
    tool: systemctl
  Compilers: clang: 19.1.7 gcc: 14.2.1 alt: 13 Shell: Bash v: 5.2.37
    running-in: konsole inxi: 3.3.38

Here’s the output of systemctl status nvidia-suspend.service

○ nvidia-suspend.service - NVIDIA system suspend actions
     Loaded: loaded (/usr/lib/systemd/system/nvidia-suspend.service; enabled; preset: disabled)
     Active: inactive (dead)

Apr 22 18:07:26 9a3eedi-linux logger[390321]: <13>Apr 22 18:07:26 suspend: nvidia-suspend.service
Apr 22 18:07:28 9a3eedi-linux systemd[1]: nvidia-suspend.service: Deactivated successfully.
Apr 22 18:07:28 9a3eedi-linux systemd[1]: Finished NVIDIA system suspend actions.
Apr 22 18:07:28 9a3eedi-linux systemd[1]: nvidia-suspend.service: Consumed 1.140s CPU time, 1.2G memory peak.
Apr 27 01:16:33 9a3eedi-linux systemd[1]: Starting NVIDIA system suspend actions...
Apr 27 01:16:33 9a3eedi-linux suspend[589472]: nvidia-suspend.service
Apr 27 01:16:33 9a3eedi-linux logger[589472]: <13>Apr 27 01:16:33 suspend: nvidia-suspend.service
Apr 27 01:16:34 9a3eedi-linux systemd[1]: nvidia-suspend.service: Deactivated successfully.
Apr 27 01:16:34 9a3eedi-linux systemd[1]: Finished NVIDIA system suspend actions.
Apr 27 01:16:34 9a3eedi-linux systemd[1]: nvidia-suspend.service: Consumed 684ms CPU time, 805.3M memory peak.

I have not tried Wayland yet, because I am under the impression that it’s still inferior to X11 for Nvidia users, and that it’s also worse for gaming. I do use it on my laptop with intel integrated graphics and it works excellently. I actually prefer it over X11 where possible. Perhaps I should try it again on my desktop next time I reboot.

I realize you probably posted this as a routine thing, but is there any particular thing in my post that was objectional? (just wondering, so I’m aware and can improve my future posts)

Not that I can think of now, except that you didn’t provide the information that’s a standard requirement.

I do realize that my and your systems are different, so your Wayland experience will differ. But in Wayland’s defense, a lot has changed. Enough for KDE to make it Plasma’s default now, and as far as I know, the x11 side is maintained only by volunteers.

2 Likes

Understood, will try to remember to post inxi output next time.

I feel like the problem isn’t with Wayland now as much as Nvidia proprietary drivers being problematic and generally incompatible. I would like to upgrade my GPU already to an AMD model, but prices and availability make it not worth it yet. But that’s a separate topic. I’ll give Wayland a try, I hope it’ll solve my issues.

In my opinion you are correct. More specifically, the drivers.

I’d also like an AMD or Intel Arc, but…$$$

1 Like

Well I’ve tried out Wayland. It does seem to resume better… At least it doesn’t getting random freezes.

However on my second try to resume, I got some strange graphical bugs. The desktop is perfectly usable however. Here’s a picture.

I was under the impression that the systemd services is supposed to prevent these from happening. Perhaps they haven’t been configured correctly?

I have looked into this section in the Arch wiki
https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks#Preserve_video_memory_after_suspend

I made sure that:

  • PreserveVideoMemoryAllocations = 1 in /proc/driver/nvidia/params
  • TemporaryFilePath = /var/tmp

So preserving video memory should be working, but the graphical corruption indicates to me that it isn’t.

That’s what it looks like to me, as well. So please provide the output of:

systemctl status nvidia-suspend.service nvidia-hibernate.service nvidia-resume.service

I’ve posted it in my first post, but in a different way, but will post again

○ nvidia-suspend.service - NVIDIA system suspend actions
     Loaded: loaded (/usr/lib/systemd/system/nvidia-suspend.service; enabled; preset: disabled)
     Active: inactive (dead)

○ nvidia-hibernate.service - NVIDIA system hibernate actions
     Loaded: loaded (/usr/lib/systemd/system/nvidia-hibernate.service; enabled; preset: disabled)
     Active: inactive (dead)

○ nvidia-resume.service - NVIDIA system resume actions
     Loaded: loaded (/usr/lib/systemd/system/nvidia-resume.service; enabled; preset: disabled)
     Active: inactive (dead)

as I understand, they’re enabled, and only get activated during suspend/resume

I think you understand correctly.

But since they are enabled, I have no idea where to go from here. We seem to have, officially, reached the end of my knowledge. Sorry.

:sob:

Edit:

See here:

https://wiki.archlinux.org/title/NVIDIA#Suspend_support

1 Like

i have the exact same issue as you;
black screen with a mouse cursor when resuming from sleep,
then sometimes the desktop appear after 20~ seconds,
then random freezes(exactly as you described).

it started happening 2-3 updates ago.
i suspect it’s NVIDIA related.(i think it’s when we moved from 550 to 570)
I’ve given up on sleep for now.

so it’s not only you if that’s comforting.

Well, after reading a couple of threads online, I tried adding this line to /etc/modprobe.d/nvidia-power-management.conf

options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp

and then rebooted. In wayland session, it seems to have solved my graphical corruption issue, after suspending twice. I need to suspend more times to be sure, but I think that solved my problem!

It’s strange though, because based on /proc/driver/nvidia/params I thought those two options were enabled… but I did it anyway because it seemed to work for people.

EDIT: following up on this, I have been suspending and resuming perfectly fine on Wayland without any trouble. I must’ve done it like 6 or 7 times already with 0 issues. I also tried switching to X11 and doing the same thing, but the issues persisted. So it must be something to do with X11 and how the nvidia driver works with it. Switching to Wayland must’ve fixed everything. Thank you @Mirdarthos for the suggestion to switch to Wayland!

EDIT2: NOPE! the graphical corruption still occurs!!! Unmarking this as a solution. Will still use wayland though

See, with 550, resuming wouldn’t wake up at all! so that’s progress, I think

Maybe give Wayland a try.

3 Likes