Constant hard freezes / crashes with TW / Gnome 3

Hi everyone,
this will not be the most specific post in the world simply because I have no idea how to gather details. My Tumbleweed installation regularely completely freezes. Nothing possible, no switching to console or else.

The hardware is a ThinkPad with AMD Ryzen 7and Radeon Graphics
Software I use include
Tumbleweed all up to date, Linux 6.0.10-1-default
Gnome 3
VS Code
Sublime Merge
with lots heavy nodejs loads

Sometimes the system revives itself after a minute or two but 2-3 times a day I’m forced to turn it off and on again.

This brings back memories of Win 3.1 and I would like it to stop.

Can anyone help me find the relevant info to debug this? I already did a memtest and that went just fine.

Thanks for any assistance,

Could you please post the output of ‘inxi -F’?

Linux is not really good handling low memory situations is my experience.

Probably good to monitor the memory usage during operation and see if the peaks when the hang is triggered.

Check vm.overcommit_ratio, on my system it shows 50.

sysctl -a | grep vm.overcommit_ratio

Set it to -

sysctl -w vm.overcommit_memory=2

Probably good to monitor the memory usage during operation and see if the peaks when the hang is triggered.

I had a similar problem with KDE, where the contact sync or whatever was using up to 60% of my CPU; I don’t like to connect my email, phone, and other devices to my desktop. After uninstalling the problematic components, the system resumed normal operation. I can now run four virtual machines with 16GB of RAM without the system freezing. I occasionally experience lag as a result of large hdd IO, but it passes quickly. It also helps to run IO-intensive applications with ionice -c 3 nice'.

  Host: localhost.localdomain Kernel: 6.0.12-1-default arch: x86_64 bits: 64
    Desktop: GNOME v: 43.1 Distro: openSUSE Tumbleweed 20221210
  Type: Laptop System: LENOVO product: 20T6000MGE v: ThinkPad E14 Gen 2
    serial: <superuser required>
  Mobo: LENOVO model: 20T6000MGE serial: <superuser required> UEFI: LENOVO
    v: R1AET37W (1.13 ) date: 04/09/2021
  ID-1: BAT0 charge: 40.4 Wh (98.3%) condition: 41.1/45.0 Wh (91.4%)
  Info: 8-core model: AMD Ryzen 7 4700U with Radeon Graphics bits: 64
    type: MCP cache: L2: 4 MiB
  Speed (MHz): avg: 1475 min/max: 1400/2000 cores: 1: 1400 2: 1400 3: 1400
    4: 1400 5: 1400 6: 2000 7: 1400 8: 1400
  Device-1: AMD Renoir driver: amdgpu v: kernel
  Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo
  Display: wayland server: v: with: Xwayland v: 22.1.5
    compositor: gnome-shell driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: radeonsi gpu: amdgpu resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 22.2.4 renderer: AMD Radeon Graphics (renoir LLVM
    15.0.5 DRM 3.48 6.0.12-1-default)
  Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: N/A
  Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  Sound API: ALSA v: k6.0.12-1-default running: yes
  Sound Server-1: PipeWire v: 0.3.61 running: yes
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp2s0 state: down mac: 90:2e:16:1f:39:e7
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi
  IF: wlp3s0 state: up mac: e0:2b:e9:16:64:df
  Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
  IF: enp4s0f3u1u1 state: down mac: a0:ce:c8:f4:02:31
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb
  Report: rfkill ID: hci0 state: up address: see --recommends
  Local Storage: total: 476.94 GiB used: 37.96 GiB (8.0%)
  ID-1: /dev/nvme0n1 vendor: Toshiba model: KBG40ZNT512G MEMORY
    size: 476.94 GiB
  ID-1: / size: 270.89 GiB used: 37.92 GiB (14.0%) fs: btrfs
    dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 256 MiB used: 37.6 MiB (14.7%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 270.89 GiB used: 37.92 GiB (14.0%) fs: btrfs
    dev: /dev/nvme0n1p5
  ID-4: /opt size: 270.89 GiB used: 37.92 GiB (14.0%) fs: btrfs
    dev: /dev/nvme0n1p5
  ID-5: /var size: 270.89 GiB used: 37.92 GiB (14.0%) fs: btrfs
    dev: /dev/nvme0n1p5
  ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p6
  System Temperatures: cpu: 47.0 C mobo: N/A gpu: amdgpu temp: 34.0 C
  Fan Speeds (RPM): fan-1: 0 fan-2: 0
  Processes: 304 Uptime: 0h 13m Memory: 14.85 GiB used: 2.28 GiB (15.4%)
  Shell: Bash inxi: 3.3.23

I set this in systemctl.conf and it unfortunately resulted in even more frequent freezes.

I am fairly sure it has to do with Node’s memomy consumption though. I see memory usage for node rise to about 1.6Gig when the freezes happen

I am not sure what you mean by

sysctl -a | grep vm.overcommit_ratio since that is not a command I have neither can I install it?