I recently got my Linux operating system working for hibernation, which was extremely satisfying, given all the challenges that a Nvidia card can throw at you, especially if you miss something in the Arch Wiki documentation. Most of the problems I experienced over the last few months were due to me not following exactly what is documented. So everything on my glorious machine is almost working perfectly except this: when I return from hibernate and login into my Wayland session, though the apps are as I left them, most of the icons in the task bar are hidden and when I reposition a window, they donāt redraw (leaving a duplicate image on the dekstop); a strange effect. But if I hover the cursor over the task bar, the icons reappear. Fortunately, Iām able to correct this state by executing the following:
#!/usr/bin/bash
sleep 5
kquitapp5 plasmashell && kstart5 plasmashell > /dev/null 2>&1
That script restores my desktop to a happy state. The sleep is in the script because I now have that script executed automatically when I login, so all is great. But I want to understand what I might still be missing that requires me to run this script.
Does anyone know what addtional step I may need to add to my configrations so that I have a truly clean restore from hibernate?
My Basic System Information
sudo inxi --filter --verbosity 8
System:
Kernel: 6.11.2-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.11-x86_64
root=UUID=c6d9cb1e-788c-498f-98f1-adc65fbdabb0 rw quiet splash
udev.log_priority=3 nvidia_drm.modeset=1 nvidia_drm.fbdev=1
resume=UUID=c6d9cb1e-788c-498f-98f1-adc65fbdabb0 resume_offset=110727168
NVreg_PreserveVideoMemoryAllocations=1
Desktop: KDE Plasma v: 6.1.5 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
Distro: Manjaro base: Arch Linux
Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial: N/A
Mobo: ASUSTeK model: ROG STRIX X670E-E GAMING WIFI v: Rev 1.xx
serial: <filter> part-nu: SKU uuid: df216d8a-81b2-5aa3-d0f9-107c614082a1
UEFI: American Megatrends v: 2403 date: 09/24/2024
Battery:
Message: No system battery data found. Is one present?
Memory:
System RAM: total: 64 GiB available: 61.94 GiB used: 3.56 GiB (5.7%)
Array-1: capacity: 128 GiB slots: 4 modules: 4 EC: None
max-module-size: 32 GiB note: est.
Device-1: Channel-A DIMM 0 type: DDR5 detail: synchronous unbuffered
(unregistered) size: 16 GiB speed: spec: 4800 MT/s actual: 3600 MT/s
volts: curr: 1.1 min: 1.1 max: 1.1 width (bits): data: 64 total: 64
manufacturer: G Skill Intl part-no: F5-6000J3038F16G serial: <filter>
Device-2: Channel-A DIMM 1 type: DDR5 detail: synchronous unbuffered
(unregistered) size: 16 GiB speed: spec: 4800 MT/s actual: 3600 MT/s
volts: curr: 1.1 min: 1.1 max: 1.1 width (bits): data: 64 total: 64
manufacturer: G Skill Intl part-no: F5-6000J3038F16G serial: <filter>
Device-3: Channel-B DIMM 0 type: DDR5 detail: synchronous unbuffered
(unregistered) size: 16 GiB speed: spec: 4800 MT/s actual: 3600 MT/s
volts: curr: 1.1 min: 1.1 max: 1.1 width (bits): data: 64 total: 64
manufacturer: G Skill Intl part-no: F5-6000J3038F16G serial: <filter>
Device-4: Channel-B DIMM 1 type: DDR5 detail: synchronous unbuffered
(unregistered) size: 16 GiB speed: spec: 4800 MT/s actual: 3600 MT/s
volts: curr: 1.1 min: 1.1 max: 1.1 width (bits): data: 64 total: 64
manufacturer: G Skill Intl part-no: F5-6000J3038F16G serial: <filter>
PCI Slots:
Slot: 0 type: PCIe status: in use length: long volts: 3.3 bus-ID: 00:01.1
children: 1: 01:00.0 class-ID: 0300 type: display 2: 01:00.1 class-ID: 0403
type: audio
Slot: 1 type: PCIe status: available length: long volts: 3.3
bus-ID: 00:1f.7
Slot: 2 type: PCIe status: available length: long volts: 3.3
bus-ID: 00:1f.7
Slot: N/A type: N/A status: in use info: M.2 length: long volts: 3.3
bus-ID: 00:01.2 children: 1: 02:00.0 class-ID: 0108 type: mass-storage
Slot: N/A type: N/A status: available info: M.2 length: long volts: 3.3
bus-ID: 00:1f.7
Slot: N/A type: N/A status: available info: M.2 length: long volts: 3.3
bus-ID: 00:1f.7
Slot: N/A type: N/A status: available info: M.2 length: long volts: 3.3
bus-ID: 00:1f.7
Slot: N/A type: N/A status: in use info: M.2 length: short volts: 3.3
bus-ID: 07:04.0
CPU:
Info: model: AMD Ryzen 9 7950X3D socket: AM5 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: 2 clusters: 2x1 cores: 16 threads: 32 tpc: 2
smt: enabled cache: L1: 1024 KiB desc: d-16x32 KiB; i-16x32 KiB L2: 16 MiB
desc: 16x1024 KiB L3: 128 MiB desc: 1x32 MiB, 1x96 MiB
Speed (MHz): avg: 2982 min/max: 545/5759 boost: enabled
base/boost: 4200/5750 scaling: driver: amd-pstate-epp governor: powersave
volts: 1.3 V ext-clock: 100 MHz cores: 1: 2982 2: 2982 3: 2982 4: 2982
5: 2982 6: 2982 7: 2982 8: 2982 9: 2982 10: 2982 11: 2982 12: 2982
13: 2982 14: 2982 15: 2982 16: 2982 17: 2982 18: 2982 19: 2982 20: 2982
21: 2982 22: 2982 23: 2982 24: 2982 25: 2982 26: 2982 27: 2982 28: 2982
29: 2982 30: 2982 31: 2982 32: 2982 bogomips: 268388
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 v_vmsave_vmload 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 AD102 [GeForce RTX 4090] vendor: PNY driver: nvidia
v: 550.120 alternate: nouveau,nvidia_drm non-free: 550.xx+
status: current (as of 2024-09) arch: Lovelace code: AD1xx
process: TSMC n4 (5nm) built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 16
ports: active: none off: DP-2,HDMI-A-1 empty: DP-1,DP-3 bus-ID: 01:00.0
chip-ID: 10de:2684 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-4,HDMI-A-2,Writeback-1 bus-ID: 12:00.0 chip-ID: 1002:164e
class-ID: 0300 temp: 41.0 C
Display: unspecified server: X.Org v: 24.1.2 with: Xwayland v: 24.1.2
compositor: kwin_wayland driver: X: loaded: nvidia
gpu: nvidia,nvidia-nvswitch display-ID: :1 screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x286mm (40.00x11.26")
s-diag: 1055mm (41.55")
Monitor-1: DP-2 note: disabled pos: right model: Sceptre L27
serial: <filter> built: 2018 res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2
chroma: red: x: 0.639 y: 0.329 green: x: 0.298 y: 0.600 blue: x: 0.137
y: 0.059 white: x: 0.314 y: 0.329 size: 598x336mm (23.54x13.23")
diag: 686mm (27") ratio: 16:9 modes: 1920x1080, 1680x1050, 1600x900,
1280x1024, 1440x900, 1280x960, 1366x768, 1152x864, 1280x768, 1280x720,
1024x768, 800x600, 720x576, 720x480, 640x480
Monitor-2: HDMI-A-1 note: disabled pos: primary,left model: 24N1A
serial: <filter> built: 2022 res: 1920x1080 hz: 60 dpi: 93 gamma: 1.2
chroma: red: x: 0.655 y: 0.329 green: x: 0.220 y: 0.682 blue: x: 0.149
y: 0.051 white: x: 0.310 y: 0.329 size: 527x296mm (20.75x11.65")
diag: 604mm (23.8") ratio: 16:9 modes: 1920x1080, 1680x1050, 1280x1024,
1440x900, 1280x720, 1024x768, 800x600, 720x480, 640x480
API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
drv: nvidia device: 2 drv: radeonsi device: 3 drv: swrast gbm: drv: nvidia
surfaceless: drv: nvidia x11: drv: zink inactive: wayland,device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.120
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 4090/PCIe/SSE2
memory: 23.43 GiB
API: Vulkan v: 1.3.295 layers: 6 device: 0 type: discrete-gpu
name: NVIDIA GeForce RTX 4090 driver: nvidia v: 550.120 device-ID: 10de:2684
surfaces: xcb,xlib device: 1 type: integrated-gpu name: AMD Radeon
Graphics (RADV RAPHAEL_MENDOCINO) driver: mesa radv v: 24.2.4-arch1.0.1
device-ID: 1002:164e surfaces: xcb,xlib
Audio:
Device-1: NVIDIA AD102 High Definition Audio vendor: PNY
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:22ba 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: 12: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: 3-6:3
chip-ID: 0b05:1a52 class-ID: 0300
API: ALSA v: k6.11.2-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.2.5 status: n/a (root, process) 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 Wi-Fi 6E AX210/AX1675 2x2 [Typhoon Peak] driver: iwlwifi
v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 09:00.0
chip-ID: 8086:2725 class-ID: 0280
IF: wlp9s0 state: down mac: <filter>
Device-2: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 0a: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: noprefixroute scope: link
Info: services: NetworkManager, sshd, systemd-timesyncd
WAN IP: <filter>
Bluetooth:
Device-1: Intel AX210 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-9:3 chip-ID: 8087:0032
class-ID: e001
Report: rfkill ID: hci0 rfk-id: 7 state: down bt-service: disabled
rfk-block: hardware: no software: no address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 3.64 TiB used: 661.47 GiB (17.8%)
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 990 PRO 4TB
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: 4B2QJXD7 temp: 47.9 C
scheme: GPT
SMART: yes health: PASSED on: 30d 6h cycles: 164
read-units: 4,295,428 [2.19 TB] written-units: 4,521,231 [2.31 TB]
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 3.64 TiB size: 3.58 TiB (98.40%) used: 661.47 GiB (18.0%)
fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p2 maj-min: 259:2 label: N/A
uuid: c6d9cb1e-788c-498f-98f1-adc65fbdabb0
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 296 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
maj-min: 259:1 label: N/A uuid: FD1E-CDB6
Swap:
Kernel: swappiness: 10 (default 60) cache-pressure: 100 (default) zswap: yes
compressor: zstd max-pool: 20%
ID-1: swap-1 type: file size: 127 GiB used: 0 KiB (0.0%) priority: -2
file: /swapfile
Unmounted:
Message: No unmounted partitions found.
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-2:2 info: SINOWEALTH Wired Gaming Mouse type: mouse,keyboard
driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s (1.4 MiB/s)
lanes: 1 mode: 1.1 power: 480mA chip-ID: 258a:1007 class-ID: 0301
Device-2: 1-9:3 info: Intel AX210 Bluetooth type: bluetooth driver: btusb
interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
power: 100mA chip-ID: 8087:0032 class-ID: e001
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
Hub-3: 3-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
Hub-4: 3-5:2 info: Realtek 4-Port USB 2.0 Hub ports: 4 rev: 2.1
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 0bda:5420
class-ID: 0900
Device-1: 3-6:3 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:1a52 class-ID: 0300
Device-2: 3-7:4 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>
Hub-5: 4-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
Hub-6: 4-5:2 info: Realtek 4-Port USB 3.0 Hub ports: 4 rev: 3.2
speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 0bda:0420
class-ID: 0900
Hub-7: 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
Hub-8: 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-9: 7-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: 7-2:2 info: Microdia USB Keyboard type: keyboard
driver: hid-generic,usbhid interfaces: 2 rev: 2.0
speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 300mA
chip-ID: 0c45:7603 class-ID: 0301
Hub-10: 8-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-11: 9-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-12: 10-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: 43.6 C mobo: 43.2 C gpu: amdgpu temp: 42.0 C
Fan Speeds (rpm): N/A
Repos:
Packages: pm: pacman pkgs: 1598 libs: 488 tools: pamac pm: flatpak pkgs: 0
Active pacman repo servers in: /etc/pacman.d/mirrorlist
1: https://ridgewireless.mm.fcix.net/manjaro/stable/$repo/$arch
2: https://irltoolkit.mm.fcix.net/manjaro/stable/$repo/$arch
3: https://mirrors.ocf.berkeley.edu/manjaro/stable/$repo/$arch
4: https://cofractal-ewr.mm.fcix.net/manjaro/stable/$repo/$arch
5: https://coresite.mm.fcix.net/manjaro/stable/$repo/$arch
6: https://nocix.mm.fcix.net/manjaro/stable/$repo/$arch
7: https://mirror.raiolanetworks.com/manjaro/stable/$repo/$arch
8: https://mirror.yandex.ru/mirrors/manjaro/stable/$repo/$arch
Processes:
CPU top: 5 of 532
1: cpu: 6.6% command: firefox pid: 12596 mem: 747.8 MiB (1.1%)
2: cpu: 5.8% command: kwin_wayland pid: 12219 mem: 362.5 MiB (0.5%)
3: cpu: 2.9% command: firefox pid: 13153 mem: 283.8 MiB (0.4%)
4: cpu: 1.0% command: firefox pid: 13887 mem: 138.0 MiB (0.2%)
5: cpu: 0.4% command: plasmashell pid: 13253 mem: 507.6 MiB (0.8%)
Memory top: 5 of 532
1: mem: 747.8 MiB (1.1%) command: firefox pid: 12596 cpu: 6.6%
2: mem: 507.6 MiB (0.8%) command: plasmashell pid: 13253 cpu: 0.4%
3: mem: 362.5 MiB (0.5%) command: kwin_wayland pid: 12219 cpu: 5.8%
4: mem: 283.8 MiB (0.4%) command: firefox pid: 13153 cpu: 2.9%
5: mem: 260.7 MiB (0.4%) command: konsole pid: 12700 cpu: 0.0%
Info:
Processes: 532 Power: uptime: 2h 18m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 24.7 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
tool: systemctl
Compilers: clang: 18.1.8 gcc: 14.2.1 alt: 13 Shell: Sudo (sudo) v: 1.9.16
default: Bash v: 5.2.37 running-in: konsole inxi: 3.3.36