Desktop freeze before suspend

Hello,

I’m testing Manjaro Gnome, installing and configuring stuff like VirtualBox, PhpStorm…

I did a break for lunch and when I came back computer was not suspended, no image on screen and I heard the ventirad running quite hard (or maybe graphic card fans, I can’t say).
My computer has been on suspend several times since some days and that’s the first time it crashed.

Installation is mostly stock stable Manjaro with open source drivers and no additional pacman repository.

Should I report this issue on some bug tracker?
Can you help me investigate so it won’t happen again?

I use this computer every day for my work so I need something stable, this kind of crash is not acceptable in my case, if It happens again and I can’t fix it, I’ll have to replace this OS.

Thanks for help.

> journalctl --boot=-1 --priority=3 --catalog --no-pager


déc. 26 13:48:35 fractal kernel: [TTM] Buffer eviction failed
déc. 26 13:48:35 fractal kernel: amdgpu 0000:08:00.0: PM: pci_pm_suspend(): amdgpu_pmops_suspend+0x0/0x80 [amdgpu] returns -12
déc. 26 13:48:35 fractal kernel: amdgpu 0000:08:00.0: PM: dpm_run_callback(): pci_pm_suspend+0x0/0x170 returns -12
déc. 26 13:48:35 fractal kernel: amdgpu 0000:08:00.0: PM: failed to suspend async: error -12
déc. 26 13:48:35 fractal kernel: PM: Some devices failed to suspend, or early wake event detected
déc. 26 14:14:25 fractal kernel: amdgpu 0000:08:00.0: amdgpu: SMU: I'm not done with your previous command: SMN_C2PMSG_66:0x00000036 SMN_C2PMSG_82:0x00000000
déc. 26 14:14:25 fractal kernel: amdgpu 0000:08:00.0: amdgpu: RunDcBtc failed!
déc. 26 14:14:25 fractal kernel: amdgpu 0000:08:00.0: amdgpu: Failed to setup smc hw!
déc. 26 14:14:25 fractal kernel: [drm:amdgpu_device_ip_resume_phase2 [amdgpu]] *ERROR* resume of IP block <smu> failed -62
déc. 26 14:14:25 fractal kernel: amdgpu 0000:08:00.0: amdgpu: amdgpu_device_ip_resume failed (-62).
déc. 26 14:14:25 fractal kernel: amdgpu 0000:08:00.0: PM: dpm_run_callback(): pci_pm_resume+0x0/0xf0 returns -62
déc. 26 14:14:25 fractal kernel: amdgpu 0000:08:00.0: PM: failed to resume async: error -62
déc. 26 14:14:25 fractal kernel: amdgpu: Move buffer fallback to memcpy unavailable
déc. 26 14:14:35 fractal kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma2 timeout, signaled seq=3220, emitted seq=3222
déc. 26 14:14:35 fractal kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process  pid 0 thread  pid 0
déc. 26 14:14:36 fractal kernel: amdgpu 0000:08:00.0: amdgpu: Fail to disable thermal alert!
déc. 26 14:14:36 fractal kernel: [drm:amdgpu_device_ip_suspend_phase2 [amdgpu]] *ERROR* suspend of IP block <smu> failed -22
déc. 26 14:14:42 fractal kernel: amdgpu 0000:08:00.0: amdgpu: SMU: I'm not done with your previous command: SMN_C2PMSG_66:0x00000036 SMN_C2PMSG_82:0x00000000
déc. 26 14:14:42 fractal kernel: amdgpu 0000:08:00.0: amdgpu: GPU mode1 reset failed
déc. 26 14:14:42 fractal kernel: amdgpu 0000:08:00.0: amdgpu: ASIC reset failed with error, -62 for drm dev, 0000:08:00.0
> inxi -b


System:
  Host: fractal Kernel: 6.5.13-7-MANJARO arch: x86_64 bits: 64 Desktop: GNOME
    v: 45.2 Distro: Manjaro Linux
Machine:
  Type: Desktop System: MATERIEL.NET product: CUSTOM v: V1
    serial: <superuser required>
  Mobo: ASUSTeK model: TUF GAMING B550-PLUS v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 2806
    date: 10/27/2022
CPU:
  Info: 12-core AMD Ryzen 9 5900X [MT MCP] speed (MHz): avg: 2392
    min/max: 2200/4950
Graphics:
  Device-1: AMD Navi 21 [Radeon RX 6900 XT] driver: amdgpu v: kernel
  Display: wayland server: X.org v: 1.21.1.10 with: Xwayland v: 23.2.3
    compositor: gnome-shell driver: gpu: amdgpu resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.1.9-manjaro1.1
    renderer: AMD Radeon RX 6900 XT (navi21 LLVM 16.0.6 DRM 3.54
    6.5.13-7-MANJARO)
Network:
  Device-1: Realtek RTL8125 2.5GbE driver: r8169
  Device-2: Belkin F7D2102 802.11n N300 Micro Wireless Adapter v3000
    [Realtek RTL8192CU] driver: rtl8xxxu type: USB
Drives:
  Local Storage: total: 2.89 TiB used: 56.86 GiB (1.9%)
Info:
  Processes: 436 Uptime: 21m Memory: total: 32 GiB available: 31.26 GiB
  used: 4.02 GiB (12.9%) Shell: Zsh inxi: 3.3.31

Welcome here, @chatcureuil !

If you wish help don’t be stingy with informations. The proper syntax for a useful inxi command is:

inxi -Fza

Also provide information how you have set-up suspension/hibernation.

https://wiki.archlinux.org/title/Power_management#Suspend_and_hibernate

As a first approach I would recommend to update your system

sudo pacman-mirrors -f && sudo pacman -Syyu

and to install a newer kernel:

sudo mhwd-kernel --install linux66

Then reboot.

Hi @Wollie,

System:
  Kernel: 6.5.13-7-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.5-x86_64
    root=UUID=d5f39d82-9bdf-4ac8-a982-570c7a676ea6 rw quiet splash apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: GNOME v: 45.2 tk: GTK v: 3.24.39 wm: gnome-shell dm: GDM
    v: 45.0.1 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: MATERIEL.NET product: CUSTOM v: V1
    serial: <superuser required>
  Mobo: ASUSTeK model: TUF GAMING B550-PLUS v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 2806
    date: 10/27/2022
CPU:
  Info: model: AMD Ryzen 9 5900X 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: 0 microcode: 0xA201016
  Topology: cpus: 1x cores: 12 tpc: 2 threads: 24 smt: enabled cache:
    L1: 768 KiB desc: d-12x32 KiB; i-12x32 KiB L2: 6 MiB desc: 12x512 KiB
    L3: 64 MiB desc: 2x32 MiB
  Speed (MHz): avg: 2444 high: 3700 min/max: 2200/4950 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 3700 2: 2200
    3: 2200 4: 2200 5: 2896 6: 2200 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200
    12: 2200 13: 2200 14: 2200 15: 3700 16: 2877 17: 2200 18: 2200 19: 2200
    20: 2200 21: 2200 22: 3700 23: 2200 24: 2200 bogomips: 177686
  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: retbleed status: Not affected
  Type: spec_rstack_overflow status: Vulnerable: Safe RET, no microcode
  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: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Navi 21 [Radeon RX 6900 XT] 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: HDMI-A-1 empty: DP-1,DP-2,DP-3 bus-ID: 08:00.0 chip-ID: 1002:73af
    class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.10 with: Xwayland v: 23.2.3
    compositor: gnome-shell driver: gpu: amdgpu display-ID: 0
  Monitor-1: HDMI-A-1 model: Idek Iiyama PLX2380H serial: <filter>
    built: 2015 res: 1920x1080 dpi: 96 gamma: 1.2 size: 509x286mm (20.04x11.26")
    diag: 584mm (23") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi wayland: drv: radeonsi x11:
    drv: radeonsi inactive: gbm
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.1.9-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6900 XT (navi21 LLVM
    16.0.6 DRM 3.54 6.5.13-7-MANJARO) device-ID: 1002:73af memory: 15.62 GiB
    unified: no display-ID: :0.0
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 08:00.1 chip-ID: 1002:ab28
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
    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
  API: ALSA v: k6.5.13-7-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.0.0 status: off tools: pw-cli
  Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK 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: enp5s0 state: down mac: <filter>
  Device-2: Belkin F7D2102 802.11n N300 Micro Wireless Adapter v3000
    [Realtek RTL8192CU] driver: rtl8xxxu type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 mode: 2.0 bus-ID: 1-3:3 chip-ID: 050d:2103 class-ID: 0000
    serial: <filter>
  IF: wlp1s0f0u3 state: up mac: <filter>
Drives:
  Local Storage: total: 2.89 TiB used: 57.67 GiB (1.9%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 PRO 2TB
    size: 1.86 TiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 2B6Q scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Crucial model: CT1000MX500SSD1
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 043 scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Samsung model: SSD 850 PRO 128GB
    size: 119.24 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 4B6Q scheme: MBR
Partition:
  ID-1: / raw-size: 89.84 GiB size: 87.88 GiB (97.81%) used: 16.69 GiB (19.0%)
    fs: ext4 dev: /dev/sda1 maj-min: 8:1
  ID-2: /boot/efi raw-size: 1000 MiB size: 998 MiB (99.80%)
    used: 30.8 MiB (3.1%) fs: vfat dev: /dev/sdb5 maj-min: 8:21
  ID-3: /home raw-size: 437.72 GiB size: 429.78 GiB (98.19%)
    used: 40.94 GiB (9.5%) fs: ext4 dev: /dev/sda5 maj-min: 8:5
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 37.62 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda2 maj-min: 8:2
Sensors:
  System Temperatures: cpu: 39.2 C mobo: N/A gpu: amdgpu temp: 32.0 C
    mem: 28.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Processes: 458 Uptime: 3m wakeups: 0 Memory: total: 32 GiB
  available: 31.26 GiB used: 2.71 GiB (8.7%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: pm: pacman pkgs: 1283 libs: 376 tools: gnome-software,pamac
  pm: flatpak pkgs: 0 Shell: Zsh v: 5.9 running-in: gnome-terminal
  inxi: 3.3.31

I didn’t set up, it’s stock Manjaro Gnome.

OK, kernel 6.6 installed, system was already up to date.

You also may considder to have an older LTS-kernel (like 6.1 ) installed along. This way you always have the posibility to switch kernels to test.

So i assume you even want to use snapshots and make backups :wink:
Because manjaro can break at any update. And you can’t use manjaro without updating regularly. So you need a way to rollback if something breaks.

Make Backups:

You also can look for timeshift, snapper, btrfs, snapshots

I hope it won’t. :smiley: I already backup important stuff with rsync but might have a look at other solutions.
I’m using Manjaro KDE since years on my laptop, no problem so far but there’s almost nothing installed on this laptop.
Years ago I had a total system break with Arch, a laptop I didn’t use for months and when I updated it I wasn’t able to use network or USB, it was completely isolated from the rest of the world. :smiley:
I use Manjaro because it’s more stable than Arch (and easy to install), but I’m not sure I’m doing the right choice for my everyday work, maybe Ubuntu would be a better choice.

try different kernels, with the 6.6 and 5.15…
also, does the issue happens with xorg?
was it happening on a clean install, or after you installed something?

I started installing/configuring this system a few days ago, suspended computer a lot of times and issue happened only one time today. I can’t tell a lot, I know I had opened PhpStorm, Firefox, GEdit, VirtualBox with a paused Win10 (so yes I installed stuff before it crashed), but I can’t make it crash by myself.
Now I’m on kernel 6.6, let’s see…

I didn’t try to use X11, didn’t even think I can switch to it, this is the first good news of the day, I can now go to sleep happy :smiley: because I was also bothered by Discord not being able to share screen on Wayland. One point solved :+1:

Let’s hope it was a one-time occurrence.


A bit off-topic: Any specific reason your / is on dev/sda but ESP on /dev/sdb?

Hello @Wollie ,

There’s no particular reason for the partitions places, it’s a long story of disk change, computer replacement, OS installed and removed… For example, to install this Manjaro I deleted an old Manjaro KDE and an Ubuntu I installed to do machine learning and took the free partitions.