AMD Setup Freezes on Waking Up From Suspend

Hi, my Wayland AMD tower seems to have random problems waking up from suspend. When I try to wake it up from sleep, I sometimes get either a blank screen, a black screen with my cursor, or my lock screen/SDDM Greeter. However, the computer itself is unresponsive. The keyboard does not activate, I can’t SSH into the machine, etc. The only thing it does seem to respond to is a network ping. Furthermore, when I forcibly power it off and and again and check the journal logs, I can’t see anything in the logs that indicates that it ever woke up from sleep.

So far, I’ve tried the Arch wiki recommendations of upgrading my motherboard firmware, installing the AMD microcode and turning Power Idle Control to “Typical” in my BIOS in that order. I have also tried this on Kernel versions 6.11.11-1 and 6.12.4-1, with the same problems showing up in both.

Journal Logs (Reverse order):

Jan 22 11:52:29 MARK-TOWER kernel: Filesystems sync: 0.001 seconds
Jan 22 11:52:29 MARK-TOWER kernel: PM: suspend entry (deep)
Jan 22 11:52:29 MARK-TOWER systemd-sleep[10320]: Performing sleep operation 'suspend'...
Jan 22 11:52:29 MARK-TOWER wpa_supplicant[960]: nl80211: deinit ifname=wlp14s0 disabled_11b_rates=0
Jan 22 11:52:29 MARK-TOWER wpa_supplicant[960]: wlp14s0: CTRL-EVENT-DSCP-POLICY clear_all
Jan 22 11:52:29 MARK-TOWER systemd-sleep[10320]: Successfully froze unit 'user.slice'.
Jan 22 11:52:29 MARK-TOWER wpa_supplicant[960]: wlp14s0: CTRL-EVENT-DSCP-POLICY clear_all
Jan 22 11:52:29 MARK-TOWER systemd[1]: Starting System Suspend...
Jan 22 11:52:29 MARK-TOWER systemd[1]: Reached target Sleep.
Jan 22 11:52:29 MARK-TOWER NetworkManager[785]: <info>  [1737571949.2436] manager: NetworkManager state is now ASLEEP
Jan 22 11:52:29 MARK-TOWER NetworkManager[785]: <info>  [1737571949.2435] device (D4:3A:2C:A7:D8:DB): state change: disconnected -> unmanaged (reason 'unmanaged-sleeping', managed-type: 'full')
Jan 22 11:52:29 MARK-TOWER NetworkManager[785]: <info>  [1737571949.2434] device (p2p-dev-wlp14s0): state change: disconnected -> unmanaged (reason 'unmanaged-sleeping', managed-type: 'full')
Jan 22 11:52:29 MARK-TOWER NetworkManager[785]: <info>  [1737571949.1638] device (wlp14s0): set-hw-addr: reset MAC address to E8:65:38:5F:B6:1F (unmanage)
Jan 22 11:52:29 MARK-TOWER NetworkManager[785]: <info>  [1737571949.0659] device (wlp14s0): state change: disconnected -> unmanaged (reason 'unmanaged-sleeping', managed-type: 'full')
Jan 22 11:52:29 MARK-TOWER NetworkManager[785]: <info>  [1737571949.0658] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Jan 22 11:52:29 MARK-TOWER ModemManager[853]: <msg> [sleep-monitor-systemd] system is about to suspend
Jan 22 11:52:29 MARK-TOWER systemd-logind[790]: The system will suspend now!
Jan 22 11:52:13 MARK-TOWER rtkit-daemon[1940]: Supervising 7 threads of 4 processes of 1 users.
Jan 22 11:52:13 MARK-TOWER rtkit-daemon[1940]: Successfully made thread 9935 of process 9879 owned by '1001' high priority at nice level -15.
Jan 22 11:52:12 MARK-TOWER kwin_wayland[1885]: kwin_scene_opengl: 0x2: GL_INVALID_FRAMEBUFFER_OPERATION in glClear(incomplete framebuffer)
Jan 22 11:52:12 MARK-TOWER kwin_wayland[1885]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glBindFramebuffer(non-gen name)
Jan 22 11:52:12 MARK-TOWER kwin_wayland[1885]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Jan 22 11:52:12 MARK-TOWER kwin_wayland[1885]: kwin_scene_opengl: 0x2: GL_INVALID_VALUE in glTexStorage2D(width, height or depth < 1)
Jan 22 11:52:12 MARK-TOWER kwin_wayland[1885]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Jan 22 11:52:12 MARK-TOWER systemd[1786]: Reloading finished in 101 ms.
Jan 22 11:52:12 MARK-TOWER 30-systemd-environment-d-generator[9872]: /home/mandatory_sauce/.config/environment.d/gamescope-session.conf:2: invalid variable name "if [ "$XDG_SESSION_DESKTOP"", ignoring.
Jan 22 11:52:12 MARK-TOWER systemd[1786]: Reloading...
Jan 22 11:52:12 MARK-TOWER systemd[1786]: Reload requested from client PID 9870 ('systemctl') (unit app-appimagekit_9dd1d22007777044478359f710962ef6\x2dES\x2dDE@d0170a77ef5e4cfa8d60829ed70bfb31.service)...
Jan 22 11:52:12 MARK-TOWER systemd[1786]: Started ES-DE - Gaming Frontend.

INXI Output:

System:
  Kernel: 6.12.4-1-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=37714ecd-612d-4fca-912a-bb1b759d66ed rw quiet
    cryptdevice=UUID=879c1979-ea0f-47e9-94bc-6dd6f4062982:luks-879c1979-ea0f-47e9-94bc-6dd6f4062982
    root=/dev/mapper/luks-879c1979-ea0f-47e9-94bc-6dd6f4062982 splash
    resume=/dev/mapper/luks-e438659e-70b9-4ec0-8442-a5204258d7d4
    udev.log_priority=3
  Desktop: KDE Plasma v: 6.2.4 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: B650 GAMING PLUS WIFI (MS-7E26) v: 1.0
    serial: <filter> uuid: c579edca-2a24-5b1b-a0bf-d843ae73e97e UEFI: American
    Megatrends LLC. v: 1.I0 date: 12/27/2024
CPU:
  Info: model: AMD Ryzen 7 7700 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: 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: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 3598 min/max: 545/5389 boost: enabled
    base/boost: 3800/5350 scaling: driver: amd-pstate-epp governor: powersave
    volts: 1.3 V ext-clock: 100 MHz cores: 1: 3598 2: 3598 3: 3598 4: 3598
    5: 3598 6: 3598 7: 3598 8: 3598 9: 3598 10: 3598 11: 3598 12: 3598 13: 3598
    14: 3598 15: 3598 16: 3598 bogomips: 121658
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  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: Advanced Micro Devices [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900
    XTX/7900 GRE/7900M] vendor: Sapphire NITRO+ driver: amdgpu v: kernel
    arch: RDNA-3 code: Navi-3x process: TSMC n5 (5nm) built: 2022+ pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: DP-2 empty: DP-1, HDMI-A-1,
    HDMI-A-2, Writeback-1 bus-ID: 03:00.0 chip-ID: 1002:744c class-ID: 0300
  Device-2: Advanced Micro Devices [AMD/ATI] Raphael vendor: Micro-Star MSI
    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-3, DP-4, DP-5, HDMI-A-3, Writeback-2 bus-ID: 12:00.0
    chip-ID: 1002:164e class-ID: 0300 temp: 44.0 C
  Display: unspecified server: X.Org v: 24.1.4 with: Xwayland v: 24.1.4
    compositor: kwin_wayland driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: radeonsi gpu: amdgpu display-ID: :1 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x572mm (40.00x22.52")
    s-diag: 1166mm (45.9")
  Monitor-1: DP-2 model: Gigabyte AORUS FV43U serial: <filter> built: 2021
    res: mode: 3840x2160 hz: 144 scale: 100% (1) dpi: 140 gamma: 1.2
    size: 697x392mm (27.44x15.43") diag: 800mm (31.5") ratio: 16:9 modes:
    max: 3840x2160 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: radeonsi device: 2 drv: swrast gbm: drv: radeonsi surfaceless:
    drv: radeonsi x11: drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.8-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 7900 XTX (radeonsi
    navi31 LLVM 18.1.8 DRM 3.59 6.12.4-1-MANJARO) device-ID: 1002:744c
    memory: 23.44 GiB unified: no
  API: Vulkan v: 1.4.303 layers: 7 device: 0 type: discrete-gpu
    name: AMD Radeon RX 7900 XTX driver: N/A device-ID: 1002:744c
    surfaces: xcb,xlib device: 1 type: integrated-gpu name: AMD Radeon Graphics
    driver: N/A device-ID: 1002:164e surfaces: xcb,xlib
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info
    x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 31 HDMI/DP Audio
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 03:00.1 chip-ID: 1002:ab30 class-ID: 0403
  Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High
    Definition Audio vendor: Micro-Star MSI 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: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 12:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.12.4-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 1.2.7 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: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 0d:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp13s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 0e:00.0
    chip-ID: 14c3:0616 class-ID: 0280
  IF: wlp14s0 state: down mac: <filter>
  IF-ID-1: br-0eeeda2197a0 state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  IF-ID-2: br-a50864f78d5b state: down mac: <filter>
  IF-ID-3: br-d44d092677dc state: down mac: <filter>
  IF-ID-4: docker0 state: down mac: <filter>
  IF-ID-5: SrfShrk-us-las state: unknown speed: N/A duplex: N/A mac: N/A
  IF-ID-6: veth16d9d6f state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-7: vethc4395f9 state: up speed: 10000 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager, sshd, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-7:6 chip-ID: 0e8d:0616
    class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 3.73 TiB used: 2.4 TiB (64.4%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 model: Predator SSD GM7000 4TB
    size: 3.73 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 3.A.J.CR temp: 42.9 C
    scheme: GPT
  SMART: yes health: PASSED on: 55 hrs cycles: 461
    read-units: 13,079,479 [6.69 TB] written-units: 10,641,479 [5.44 TB]
Partition:
  ID-1: / raw-size: 3.69 TiB size: 3.63 TiB (98.40%) used: 2.4 TiB (66.1%)
    fs: ext4 block-size: 4096 B dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-879c1979-ea0f-47e9-94bc-6dd6f4062982
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 448 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 33.59 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-e438659e-70b9-4ec0-8442-a5204258d7d4
Sensors:
  System Temperatures: cpu: 47.4 C mobo: 40.0 C
  Fan Speeds (rpm): N/A
  GPU: device: amdgpu temp: 44.0 C device: amdgpu temp: 47.0 C mem: 52.0 C
    fan: 27 watts: 26.00
Info:
  Memory: total: 32 GiB note: est. available: 30.46 GiB used: 5.8 GiB (19.0%)
  Processes: 476 Power: uptime: 1m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.16 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
    tool: systemctl
  Packages: 2174 pm: pacman pkgs: 2115 libs: 537 tools: pamac pm: flatpak
    pkgs: 59 Compilers: clang: 18.1.8 gcc: 14.2.1 Shell: Sudo (sudo) v: 1.9.16p2
    default: Bash v: 5.2.37 running-in: konsole inxi: 3.3.37

Grub File:

# GRUB boot loader configuration

GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet cryptdevice=UUID=879c1979-ea0f-47e9-94bc-6dd6f4062982:luks-879c1979-ea0f-47e9-94bc-6dd6f4062982 root=/dev/mapper/luks-879c1979-ea0f-47e9-94bc-6dd6f4062982 splash resume=/dev/mapper/luks-e438659e-70b9-4ec0-8442-a5204258d7d4 udev.log_priority=3"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'menu' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=hidden

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
GRUB_SAVEDEFAULT=true

# Uncomment to disable submenus in boot menu
#GRUB_DISABLE_SUBMENU=y

# Uncomment this option to enable os-prober execution in the grub-mkconfig command
GRUB_DISABLE_OS_PROBER=false

# Uncomment to ensure that the root filesystem is mounted read-only so that
# systemd-fsck can run the check automatically. We use 'fsck' by default, which
# needs 'rw' as boot parameter, to avoid delay in boot-time. 'fsck' needs to be
# removed from 'mkinitcpio.conf' to make 'systemd-fsck' work.
# See also Arch-Wiki: https://wiki.archlinux.org/index.php/Fsck#Boot_time_checking
#GRUB_ROOT_FS_RO=true
GRUB_ENABLE_CRYPTODISK=y

MKInit File:

# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(usbhid xhci_hcd)
MODULES=()

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=(/crypto_keyfile.bin)

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No RAID, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect modconf block filesystems fsck)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev modconf block filesystems fsck)
#
##   This setup assembles a mdadm array with an encrypted root file system.
##   Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices.
#    HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
#
##   This setup loads an lvm2 volume group.
#    HOOKS=(base udev modconf block lvm2 filesystems fsck)
#
##   This will create a systemd based initramfs which loads an encrypted root filesystem.
#    HOOKS=(base systemd autodetect modconf kms keyboard sd-vconsole sd-encrypt block filesystems fsck)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr and fsck hooks.
HOOKS=(base udev autodetect kms modconf block keyboard keymap consolefont plymouth encrypt openswap resume filesystems fsck)

# COMPRESSION
# Use this to compress the initramfs image. By default, zstd compression
# is used for Linux ≥ 5.9 and gzip compression is used for Linux < 5.9.
# Use 'cat' to create an uncompressed image.
#COMPRESSION="zstd"
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()

# MODULES_DECOMPRESS
# Decompress loadable kernel modules and their firmware during initramfs
# creation. Switch (yes/no).
# Enable to allow further decreasing image size when using high compression
# (e.g. xz -9e or zstd --long --ultra -22) at the expense of increased RAM usage
# at early boot.
# Note that any compressed files will be placed in the uncompressed early CPIO
# to avoid double compression.
#MODULES_DECOMPRESS="no"

have you tried this option on boot kernel :
“processor.max_cstate=1”

Not yet. The wiki seemed to indicate that this was an alternate solution to the BIOS settings, so I didn’t bother at the time. That said, I can try it now.

So, the keyboard did turn on this time, but otherwise, no dice. Same problem as before.

Jan 22 13:41:01 MARK-TOWER kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.12-x86_64 root=UUID=37714ecd-612d-4fca-912a-bb1b759d66ed rw quiet cryptdevice=UUID=879c1979-ea0f-47e9-94bc-6dd6f4062982:luks-879c1979-ea0f-47e9-94bc-6dd6f4062982 root=/dev/mapper/luks-879c1979-ea0f-47e9-94bc-6dd6f4062982 splash resume=/dev/mapper/luks-e438659e-70b9-4ec0-8442-a5204258d7d4 udev.log_priority=3 processor.max_cstate=1

https://0x0.st/8Xs7.txt

Okay, so apparently, downgrading to kernel 6.6.65-1 seems to work for whatever reason. This thread seems to indicate that a bug was introduced in 6.11, and I guess it hasn’t been fixed in 6.12 yet. I’m going to monitor this for awhile.
https://0x0.st/8XzQ.txt

Hi
may be my random freezes are related to your problem. My keyboard and mouse after a random time around 10 min using wayland under gnome. X11 works better ~ 2 - 3 h.

I have these issues using kernel >= 6.10 and found an error trace of the amdgpu driver in dmesg log.

regards,
Marcus

inxi -F           
System:
  Host: Hell-8 Kernel: 6.12.11-1-MANJARO arch: x86_64 bits: 64
  Desktop: GNOME v: 47.3 Distro: Manjaro Linux
Machine:
  Type: Desktop Mobo: ASRock model: X670E PG Lightning
    serial: <superuser required> UEFI: American Megatrends LLC. v: 2.08.AS01
    date: 01/31/2024
CPU:
  Info: 8-core model: AMD Ryzen 7 7800X3D bits: 64 type: MT MCP cache:
    L2: 8 MiB
  Speed (MHz): avg: 2982 min/max: 400/5050 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
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900
    XTX/7900 GRE/7900M] driver: amdgpu v: kernel
  Device-2: Advanced Micro Devices [AMD/ATI] Raphael driver: amdgpu
    v: kernel
  Device-3: Generalplus GENERAL WEBCAM driver: snd-usb-audio,uvcvideo
    type: USB
  Display: x11 server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4 driver:
    X: loaded: amdgpu unloaded: modesetting,radeon dri: radeonsi gpu: amdgpu
    resolution: 3440x1440~165Hz
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.3.4-arch1.1
    renderer: AMD Radeon RX 7900 XT (radeonsi navi31 LLVM 19.1.7 DRM 3.59
    6.12.11-1-MANJARO)
  API: Vulkan v: 1.4.303 drivers: N/A surfaces: xcb,xlib
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo gpu: radeontop
    wl: wayland-info x11: xprop,xrandr
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 31 HDMI/DP Audio
    driver: snd_hda_intel
  Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High
    Definition Audio driver: snd_hda_intel
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    driver: snd_hda_intel
  Device-4: Generalplus GENERAL WEBCAM driver: snd-usb-audio,uvcvideo
    type: USB
  API: ALSA v: k6.12.11-1-MANJARO status: kernel-api
  Server-1: PulseAudio v: 17.0-43-g3e2bb status: active

dmesg

[ 573.534502] amdgpu 0000:03:00.0: [drm] ERROR [CRTC:79:crtc-0] flip_done timed out
[ 578.349450] rfkill: input handler enabled
[ 578.441821] fbcon: Taking over console
[ 588.466490] amdgpu 0000:03:00.0: [drm] ERROR flip_done timed out
[ 588.466493] amdgpu 0000:03:00.0: [drm] ERROR [CRTC:79:crtc-0] commit wait timed out
[ 598.492573] amdgpu 0000:03:00.0: [drm] ERROR flip_done timed out
[ 598.492577] amdgpu 0000:03:00.0: [drm] ERROR [PLANE:76:plane-6] commit wait timed out
[ 598.492886] ------------[ cut here ]------------
[ 598.492887] WARNING: CPU: 3 PID: 129 at drivers/gpu/drm/amd/amdgpu/…/display/amdgpu_dm/amdgpu_dm.c:8591 amdgpu_dm_atomic_commit_tail+0x399f/0x3a80 [amdgpu]
[ 598.493109] Modules linked in: ufs hfsplus hfs cdrom minix msdos jfs nls_ucs2_utils xfs ext4 mbcache jbd2 rfcomm qrtr cmac algif_hash algif_skcipher af_alg bnep vfat fat amd_atl intel_rapl_msr intel_rapl_common kvm_amd snd_hda_codec_realtek snd_hda_codec_generic kvm snd_hda_scodec_component crct10dif_pclmul snd_hda_codec_hdmi crc32_pclmul polyval_clmulni polyval_generic snd_hda_intel ghash_clmulni_intel snd_intel_dspcfg sha512_ssse3 btusb sha1_ssse3 snd_intel_sdw_acpi aesni_intel snd_usb_audio btrtl snd_hda_codec btintel gf128mul uvcvideo btbcm snd_usbmidi_lib crypto_simd spd5118 snd_hda_core btmtk videobuf2_vmalloc cryptd snd_ump snd_rawmidi uvc sp5100_tco videobuf2_memops snd_hwdep snd_seq_device wmi_bmof rapl r8169 videobuf2_v4l2 bluetooth pcspkr i2c_piix4 snd_pcm videobuf2_common realtek k10temp i2c_smbus ccp snd_timer mdio_devres videodev libphy snd rfkill mc soundcore mousedev joydev gpio_amdpt gpio_generic mac_hid uinput crypto_user dm_mod loop nfnetlink ip_tables x_tables amdgpu hid_generic btrfs crc16 amdxcp
[ 598.493151] i2c_algo_bit blake2b_generic drm_ttm_helper libcrc32c ttm crc32c_generic xor drm_exec raid6_pq gpu_sched nvme drm_suballoc_helper crc32c_intel drm_buddy nvme_core sha256_ssse3 usbhid drm_display_helper nvme_auth cec video wmi
[ 598.493164] CPU: 3 UID: 0 PID: 129 Comm: kworker/3:1 Not tainted 6.12.11-1-MANJARO #1 8ef350656b9ecb44b3279f5506522b9740c6e80d
[ 598.493166] Hardware name: ASRock X670E PG Lightning/X670E PG Lightning, BIOS 2.08.AS01 01/31/2024
[ 598.493168] Workqueue: events fbcon_register_existing_fbs
[ 598.493172] RIP: 0010:amdgpu_dm_atomic_commit_tail+0x399f/0x3a80 [amdgpu]
[ 598.493340] Code: 1a d1 e9 ee fd ff ff 0f 0b e9 7d f3 ff ff 49 8d 87 50 31 04 00 c6 85 38 fe ff ff 00 48 89 85 48 fe ff ff e9 86 cc ff ff 0f 0b <0f> 0b e9 79 f3 ff ff 0f 0b e9 b8 cc ff ff 48 c7 85 28 fe ff ff 00
[ 598.493341] RSP: 0018:ffffb297806a7938 EFLAGS: 00010086
[ 598.493343] RAX: 0000000000000001 RBX: 0000000000000286 RCX: ffff928a92ad7118
[ 598.493343] RDX: 0000000000000001 RSI: 0000000000000297 RDI: ffff928a95480178
[ 598.493344] RBP: ffffb297806a7b80 R08: ffffb297806a7824 R09: 0000000000000000
[ 598.493345] R10: ffffb297806a7890 R11: ffffb297806a7894 R12: 0000000000000000
[ 598.493346] R13: 0000000000000001 R14: ffff928a92ad7000 R15: ffff928af9a9f800
[ 598.493346] FS: 0000000000000000(0000) GS:ffff92919e380000(0000) knlGS:0000000000000000
[ 598.493347] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 598.493348] CR2: 000072292c3f6ed8 CR3: 0000000299c22000 CR4: 0000000000f50ef0
[ 598.493349] PKRU: 55555554
[ 598.493350] Call Trace:
[ 598.493351]
[ 598.493352] ? amdgpu_dm_atomic_commit_tail+0x399f/0x3a80 [amdgpu 30c0ebbbc85e6cbbfd37492999fd981d4f118739]
[ 598.493495] ? __warn.cold+0x93/0xf6
[ 598.493497] ? amdgpu_dm_atomic_commit_tail+0x399f/0x3a80 [amdgpu 30c0ebbbc85e6cbbfd37492999fd981d4f118739]
[ 598.493627] ? report_bug+0xff/0x140
[ 598.493630] ? handle_bug+0x58/0x90
[ 598.493632] ? exc_invalid_op+0x17/0x70
[ 598.493633] ? asm_exc_invalid_op+0x1a/0x20
[ 598.493637] ? amdgpu_dm_atomic_commit_tail+0x399f/0x3a80 [amdgpu 30c0ebbbc85e6cbbfd37492999fd981d4f118739]
[ 598.493759] ? amdgpu_dm_atomic_commit_tail+0x2ced/0x3a80 [amdgpu 30c0ebbbc85e6cbbfd37492999fd981d4f118739]
[ 598.493885] commit_tail+0x91/0x130
[ 598.493888] drm_atomic_helper_commit+0x11a/0x140
[ 598.493889] drm_atomic_commit+0xa6/0xe0
[ 598.493891] ? __pfx___drm_printfn_info+0x10/0x10
[ 598.493894] drm_client_modeset_commit_atomic+0x203/0x250
[ 598.493898] drm_client_modeset_commit_locked+0x5a/0x160
[ 598.493900] drm_client_modeset_commit+0x25/0x40
[ 598.493902] __drm_fb_helper_restore_fbdev_mode_unlocked+0x85/0xd0
[ 598.493903] drm_fb_helper_set_par+0x30/0x40
[ 598.493905] fbcon_init+0x2e6/0x630
[ 598.493907] visual_init+0xcb/0x130
[ 598.493909] do_bind_con_driver.isra.0+0x1e6/0x310
[ 598.493911] do_take_over_console+0x15e/0x190
[ 598.493913] do_fbcon_takeover+0x66/0xe0
[ 598.493915] fbcon_register_existing_fbs+0x3f/0x70
[ 598.493917] process_one_work+0x17b/0x330
[ 598.493919] worker_thread+0x2ce/0x3f0
[ 598.493921] ? __pfx_worker_thread+0x10/0x10
[ 598.493923] kthread+0xcf/0x100
[ 598.493925] ? __pfx_kthread+0x10/0x10
[ 598.493927] ret_from_fork+0x31/0x50
[ 598.493929] ? __pfx_kthread+0x10/0x10
[ 598.493930] ret_from_fork_asm+0x1a/0x30
[ 598.493934]
[ 598.493935] —[ end trace 0000000000000000 ]—