Freezing often

I consistently get a freeze just under a second when switching focus from one application to another or when moving my mouse after not moving it for a while. It doesn’t seem like video stuttering because the whole system freezes.

System:
Kernel: 6.5.6-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=1e0ad18c-0993-40e1-b5e4-31a3b75f8dad rw rootflags=subvol=@
quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
ibt=off
Desktop: KDE Plasma v: 5.27.8 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: B550M PRO-VDH WIFI (MS-7C95) v: 1.0
serial: <superuser required> UEFI: American Megatrends LLC. v: 2.C0
date: 08/05/2022
CPU:
Info: model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 2 gen: 3
level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701021
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 32 MiB desc: 2x16 MiB
Speed (MHz): avg: 3724 high: 4297 min/max: 2200/4426 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 3600 2: 4230
3: 3600 4: 3788 5: 3589 6: 4297 7: 3600 8: 3600 9: 3600 10: 4216 11: 3600
12: 3468 13: 3600 14: 3600 15: 3600 16: 3600 bogomips: 115203
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
vendor: Gigabyte 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: DP-2 empty: DP-1,HDMI-A-1,HDMI-A-2
bus-ID: 2d:00.0 chip-ID: 1002:73df class-ID: 0300
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.1
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting,radeon
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00")
s-diag: 777mm (30.58")
Monitor-1: DP-2 mapped: DisplayPort-1 model: Gigabyte M27Q
serial: <filter> built: 2020 res: 2560x1440 dpi: 109 gamma: 1.2
size: 596x335mm (23.46x13.19") diag: 801mm (31.5") ratio: 16:9 modes:
max: 2560x1440 min: 640x480
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
inactive: gbm,wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.2.1-arch1.2
glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6700 XT (navi22 LLVM
16.0.6 DRM 3.54 6.5.6-zen2-1-zen) device-ID: 1002:73df memory: 11.72 GiB
unified: no
API: Vulkan v: 1.3.264 layers: 9 device: 0 type: discrete-gpu name: AMD
Radeon RX 6700 XT (RADV NAVI22) driver: mesa radv v: 23.2.1-arch1.2
device-ID: 1002:73df surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
(LLVM 16.0.6 256 bits) driver: mesa llvmpipe v: 23.2.1-arch1.2 (LLVM
16.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
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: 2d:00.1 chip-ID: 1002:ab28
class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 2f:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: C-Media Blue Snowball driver: hid-generic,snd-usb-audio,usbhid
type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-6:3
chip-ID: 0d8c:0005 class-ID: 0300 serial: <filter>
Device-4: FiiO K3 driver: snd-usb-audio type: USB rev: 2.0 speed: 480 Mb/s
lanes: 1 mode: 2.0 bus-ID: 3-2:4 chip-ID: 2972:0047 class-ID: fe01
API: ALSA v: k6.5.6-zen2-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 0.3.81 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 29:00.0
chip-ID: 8086:24fb class-ID: 0280
IF: wlo1 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: f000 bus-ID: 2a:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp42s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Intel Wireless-AC 3168 Bluetooth driver: btusb v: 0.8 type: USB
rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-9:6 chip-ID: 8087:0aa7
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.2
lmp-v: 8 status: discoverable: no pairing: no class-ID: 7c0104
Drives:
Local Storage: total: 2.96 TiB used: 15.36 GiB (0.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: SSD 970 EVO Plus 2TB size: 1.82 TiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 2B2QEXM7 temp: 45.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 EVO 500GB
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 3B6Q scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 860 EVO 500GB
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 2B6Q scheme: MBR
ID-4: /dev/sdc maj-min: 8:32 vendor: SanDisk model: USB 3.2Gen1
size: 232.97 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: 1.00 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 15.36 GiB (0.8%)
fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
used: 15.36 GiB (0.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
used: 15.36 GiB (0.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
used: 15.36 GiB (0.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 31.27 GiB used: 2 MiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 51.4 C mobo: N/A gpu: amdgpu temp: 48.0 C
mem: 48.0 C
Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
Processes: 408 Uptime: 23m wakeups: 0 Memory: total: 32 GiB
available: 31.27 GiB used: 4.74 GiB (15.1%) Init: systemd v: 254
default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
pm: pacman pkgs: 1700 libs: 472 tools: pamac,paru Shell: fish v: 3.6.1
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.30
Garuda (2.6.17-1):
System install date:     2023-10-10
Last full system update: 2023-10-10
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       Probably (Run as root to verify)
Failed units:
2 Likes

With reports I have seen floating around other forums, I would try changing to LTS kernel first to see if that helps.
(also mentioned as one of the possible fixes in the FAQ that filo linked).

4 Likes

Quick solve to this (at least for me) was to disable blur effects .
try maybe it helps .
or just do what our fellow @filo shared .

4 Likes

I have the same exact problem as described here: Hiccups / Freezing on Latest Update? - #5 by v0idMrK

Also as you can see from my post there is some people in the Manjaro community also experiencing this.

Tried to revert to LTS as suggested but am unable to boot after doing so (had to restore snapshot).

For now I am using Wayland instead of Xorg and it doesnt happen with that.

Maybe I will try to disable blur effects as suggested above with Xorg to see if it helps.

1 Like

So it runs with no issue in Wayland session ?
So use it , it is better ! there is no need to use Xorg .

1 Like

After updating my BIOS i have noticed the issue less. could have just been the reboot that fixed it. I’ll update later if i keep noticing it.

1 Like

Reboots solve half of our problems :wink:

Remember to reboot after kernel, KDE, and systemd updates.
Rolling systems just like updates and reboots.

I want to try to switch to wayland to resolve my freezing issues with the latest zen kernel + X11. I can’t switch to wayland from login so i’m guessing i have to add the option somewhere?

pacman -Q | grep wayland
kwayland-integration 5.27.8-2
kwayland5 5.110.0-1
lib32-wayland 1.22.0-1
qt5-wayland 5.15.11+kde+r59-1
qt6-wayland 6.5.3-1
wayland 1.22.0-1
wayland-protocols 1.32-1
wayland-utils 1.2.0-1
xorg-xwayland 23.2.1-1

i figured out how to switch to wayland. it fixes all my issues. I guess the latest zen kernel doesn’t like X11. This topic can be closed now.

1 Like

Please post the way for all the ignorant, it is a help forum here after all. :slight_smile:

The answer we can mark than as solution.

The solution was to run:

sudo pacman -S plasma-wayland-session

for some reason garuda doesn’t include this package by default with the kde/plasma version

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.