Terrible KWin performance, not sure if this counts as a bug or not

if this has to go to bugs.kde.org, then I’ll move it there, but for the time being, I’ll ask here:
running Arch Linux x86_64 (Linux 6.17.6-zen1-1-zen), KDE Plasma 6.5.1 (wayland), on a ThinkPad X1 Yoga (Gen5) and using the Utterly Nord Global Theme, focusing and unfocusing windows/going from a normal window to a fullscreen window causes stutters that can last up to three seconds, with terrible performance drops, any idea as to why?

I’d like to share a video, but it seems there’s no support for .webms

Wow.

I’d start with relevant system information…

Try learning to paste code, and then hide details (clicking the + icon) and paste full inxi data like this:

inxi
inxi -zv8 | grep -vE 'MAC|UUID|IP'

My experience with Intel APU, and now Ryzen APU graphics has been nothing but stellar from X11 to Wayland.

Steps you have taken to troubleshoot are also to be considered vital information, rather than optional.

Making extra comments like ‘using Nord Global Theme’ actually implies that the issue is relevant to that theme - so just revert to the default theme!

There, easy solution :wink:

hello, I do not understand why you are so wowed? :smiley:
my system information:
Core i7 10610U
16GB DDR4 RAM
3840x2160@60Hz display

inxi log

System:
Kernel: 6.17.6-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
clocksource: tsc avail: acpi_pm
root=/dev/mapper/root zswap.enabled=0 rootflags=subvol=@ rw
rootfstype=btrfs
Desktop: KDE Plasma v: 6.5.1 tk: Qt v: N/A info: frameworks v: 6.19.0
wm: kwin_wayland with: krunner vt: 1 dm: SDDM Distro: Arch Linux
Machine:
Type: Convertible System: LENOVO product: 20UCS0YB0X
v: ThinkPad X1 Yoga Gen 5 serial: Chassis: type: 31
serial:
Mobo: LENOVO model: 20UCS0YB0X v: SDK0J40697 WIN
serial: part-nu: LENOVO_MT_20UC_BU_Think_FM_ThinkPad
X1 Yoga Gen 5 uuid: UEFI: LENOVO v: N2WET49W (1.39 )
date: 03/12/2025
Battery:
ID-1: BAT0 charge: 49.5 Wh (95.3%) condition: 52/51 Wh (101.9%) volts: 16.91
min: 15.4 model: LGC 5B10W13930 type: Li-poly serial: charging:
status: not charging control: start: 0% end: 100% cycles: 592
Memory:
System RAM: total: 16 GiB available: 15.25 GiB used: 8.33 GiB (54.6%)
Message: For most reliable report, use superuser + dmidecode.
Array-1: capacity: 16 GiB slots: 2 modules: 2 EC: None
max-module-size: 8 GiB note: est.
Device-1: ChannelA-DIMM0 type: LPDDR3 detail: synchronous size: 8 GiB
speed: 2133 MT/s volts: curr: 1 width (bits): data: 64 total: 64
manufacturer: Samsung part-no: N/A serial: N/A
Device-2: ChannelB-DIMM0 type: LPDDR3 detail: synchronous size: 8 GiB
speed: 2133 MT/s volts: curr: 1 width (bits): data: 64 total: 64
manufacturer: Samsung part-no: N/A serial: N/A
PCI Slots:
Permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: Intel Core i7-10610U bits: 64 type: MT MCP
arch: Comet/Whiskey Lake note: check gen: core 10 level: v3 note: check
built: 2018 process: Intel 14nm family: 6 model-id: 0x8E (142)
stepping: 0xC (12) microcode: 0x100
Topology: cpus: 1x dies: 1 clusters: 4 cores: 4 threads: 8 tpc: 2
smt: enabled cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB
desc: 4x256 KiB L3: 8 MiB desc: 1x8 MiB
Speed (MHz): avg: 2102 min/max: 400/4900 scaling: driver: intel_pstate
governor: powersave cores: 1: 2102 2: 2102 3: 2102 4: 2102 5: 2102 6: 2102
7: 2102 8: 2102 bogomips: 36799
Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs
ibrs_enhanced ida intel_pt invpcid lahf_lm lm mca mce md_clear mmx
monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq
pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pts rdrand rdseed rdtscp
rep_good sdbg sep sgx smap smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3
stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx
vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
Vulnerabilities:
Type: gather_data_sampling mitigation: Microcode
Type: ghostwrite status: Not affected
Type: indirect_target_selection mitigation: Aligned branch/return thunks
Type: itlb_multihit status: KVM: Split huge pages
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: old_microcode status: Not affected
Type: reg_file_data_sampling status: Not affected
Type: retbleed mitigation: Enhanced IBRS
Type: spec_rstack_overflow status: Not affected
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; PBRSB-eIBRS: SW sequence; BHI: SW loop, KVM: SW loop
Type: srbds mitigation: Microcode
Type: tsa status: Not affected
Type: tsx_async_abort mitigation: TSX disabled
Type: vmscape mitigation: IBPB before exit to userspace
Graphics:
Device-1: Intel CometLake-U GT2 [UHD Graphics] vendor: Lenovo driver: i915
v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
active: eDP-1 empty: DP-1,DP-2,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:9b41
class-ID: 0300
Device-2: IMC Networks Integrated Camera driver: uvcvideo type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-8:4 chip-ID: 13d3:5405
class-ID: fe01 serial:
Display: wayland server: X.org v: 1.21.1.20 with: Xwayland v: 24.1.9
compositor: kwin_wayland driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: 0
Monitor-1: eDP-1 model: BOE Display 0x08ce built: 2019 res:
mode: 3840x2160 hz: 60 scale: 210% (2.1) to: 1829x1029 dpi: 316 gamma: 1.2
chroma: red: x: 0.675 y: 0.325 green: x: 0.267 y: 0.690 blue: x: 0.145
y: 0.059 white: x: 0.318 y: 0.337 size: 309x174mm (12.17x6.85")
diag: 355mm (14") ratio: 16:9 modes: 3840x2160
EDID-Warnings: 1: parse_edid: unknown flag 0
API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
device: 1 drv: swrast gbm: drv: iris surfaceless: drv: iris wayland:
drv: iris x11: drv: iris
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 25.2.6-arch1.1
glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics (CML GT2)
device-ID: 8086:9b41 memory: 14.89 GiB unified: yes display-ID: :1.0
API: Vulkan v: 1.4.328 layers: 5 device: 0 type: integrated-gpu name: Intel
UHD Graphics (CML GT2) driver: mesa intel v: 25.2.6-arch1.1
device-ID: 8086:9b41 surfaces: N/A
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor wl: wayland-info
x11: xdpyinfo, xprop, xrandr
Audio:
Device-1: Intel Comet Lake PCH-LP cAVS vendor: Lenovo
driver: sof-audio-pci-intel-cnl alternate: snd_soc_avs,
snd_sof_pci_intel_cnl, snd_hda_intel bus-ID: 00:1f.3 chip-ID: 8086:02c8
class-ID: 0403
API: ALSA v: k6.17.6-zen1-1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 1.4.9 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 Comet Lake PCH-LP CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:02f0 class-ID: 0280
IF: wlan0 state: up mac:
broadcast:
Device-2: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: kernel
port: N/A bus-ID: 00:1f.6 chip-ID: 8086:0d4e class-ID: 0200
IF: enp0s31f6 state: down mac:
Info: services: iwd, NetworkManager, systemd-networkd, systemd-timesyncd,
wpa_supplicant
Bluetooth:
Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-10:6 chip-ID: 8087:0026
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 1 state: up address: bt-v: 5.2
lmp-v: 11 status: discoverable: no pairing: no class-ID: 6c0000
Logical:
Message: No logical block device data found.
Device-1: root maj-min: 253:0 type: LUKS dm: dm-0 size: 237.46 GiB
Components:
p-1: nvme0n1p2 maj-min: 259:2 size: 237.47 GiB
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 238.47 GiB used: 34.47 GiB (14.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: SSDPEKKF256G8L
size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: fw-rev: L08P temp: 42.9 C scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 237.46 GiB size: 237.46 GiB (100.00%)
used: 34.22 GiB (14.4%) fs: btrfs dev: /dev/dm-0 maj-min: 253:0 mapped: root
label: N/A uuid: N/A
ID-2: /boot raw-size: 1024 MiB size: 1022 MiB (99.80%)
used: 256.2 MiB (25.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
label: N/A uuid: 8341-A2D7
ID-3: /home raw-size: 237.46 GiB size: 237.46 GiB (100.00%)
used: 34.22 GiB (14.4%) fs: btrfs dev: /dev/dm-0 maj-min: 253:0 mapped: root
label: N/A uuid: N/A
ID-4: /var/cache/pacman/pkg raw-size: 237.46 GiB
size: 237.46 GiB (100.00%) used: 34.22 GiB (14.4%) fs: btrfs dev: /dev/dm-0
maj-min: 253:0 mapped: root label: N/A uuid: N/A
ID-5: /var/log raw-size: 237.46 GiB size: 237.46 GiB (100.00%)
used: 34.22 GiB (14.4%) fs: btrfs dev: /dev/dm-0 maj-min: 253:0 mapped: root
label: N/A uuid: N/A
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 4 GiB used: 1.86 GiB (46.5%) priority: 100
comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 dev: /dev/zram0
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-4:2 info: Compx 2.4G Wireless Receiver
type: keyboard,HID,mouse driver: hid-generic,usbhid interfaces: 3 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 98mA
chip-ID: 3554:f54f class-ID: 0301
Device-2: 1-6:3 info: Wacom Pen and multitouch sensor type: HID
driver: usbhid,wacom interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
lanes: 1 mode: 1.1 power: 400mA chip-ID: 056a:522a class-ID: 0300
Device-3: 1-8:4 info: IMC Networks Integrated Camera type: video
driver: uvcvideo interfaces: 5 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
lanes: 1 mode: 2.0 power: 500mA chip-ID: 13d3:5405 class-ID: fe01
serial:
Device-4: 1-9:5 info: Synaptics Prometheus MIS Touch Fingerprint Reader
type: driver: N/A interfaces: 1 rev: 2.0
speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
chip-ID: 06cb:00bd class-ID: ff00 serial:
Device-5: 1-10:6 info: Intel AX201 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:0026 class-ID: e001
Hub-2: 2-0:1 info: super-speed hub ports: 6 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-3: 3-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-4: 4-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
Sensors:
System Temperatures: cpu: 72.0 C pch: 64.0 C mobo: N/A
Fan Speeds (rpm): fan-1: 3554
Repos:
Packages: pm: pacman pkgs: 1383 libs: 333 pm: flatpak pkgs: 0
Active pacman repo servers in: /etc/pacman.d/mirrorlist
1: Index of /
2: https://at.arch.niranjan.co/$repo/os/$arch
3: http://at.mirrors.cicku.me/archlinux/$repo/os/$arch
4: https://at.mirrors.cicku.me/archlinux/$repo/os/$arch
5: http://mirror.alwyzon.net/archlinux/$repo/os/$arch
6: https://mirror.alwyzon.net/archlinux/$repo/os/$arch
7: https://at-vie.soulharsh007.dev/archlinux/$repo/os/$arch
8: http://mirror.digitalnova.at/archlinux/$repo/os/$arch
9: http://mirror.easyname.at/archlinux/$repo/os/$arch
Processes:
CPU top: 5 of 333
1: cpu: 7.4% command: ghostty pid: 141285 mem: 235.9 MiB (1.5%)
2: cpu: 6.4% command: steam pid: 61240 mem: 137.2 MiB (0.8%)
3: cpu: 5.1% command: [kworker/u32:15-btrfs-endio] pid: 141268
mem: 0.00 MiB (0.0%)
4: cpu: 4.9% command: [kworker/u32:8-btrfs-endio] pid: 141176
mem: 0.00 MiB (0.0%)
5: cpu: 4.3% command: [kworker/u32:14-events_unbound] pid: 141199
mem: 0.00 MiB (0.0%)
Memory top: 5 of 333
1: mem: 686.3 MiB (4.3%) command: firefox pid: 1927 cpu: 2.7%
2: mem: 614.5 MiB (3.9%) command: rust-analyzer pid: 69722 cpu: 0.0%
3: mem: 571.7 MiB (3.6%) command: plasmashell pid: 1731 cpu: 0.5%
4: mem: 476.6 MiB (3.0%) command: falkon pid: 39495 cpu: 0.0%
5: mem: 473.1 MiB (3.0%) command: steamwebhelper pid: 61494 cpu: 1.2%
Info:
Processes: 333 Power: uptime: 1d 1h 48m states: freeze,mem,disk
suspend: deep avail: s2idle wakeups: 0 hibernate: platform avail: shutdown,
reboot, suspend, test_resume image: 6.09 GiB
services: org_kde_powerdevil,upowerd Init: systemd v: 258
default: graphical tool: systemctl
Compilers: clang: 21.1.4 gcc: 15.2.1 Shell: Bash v: 5.3.3
running-in: ghostty inxi: 3.3.39

My experience with Intel APU, and now Ryzen APU graphics has been nothing but stellar from X11 to Wayland.

I wouldn’t know, I never use X11, only Wayland, because I view X11 as being useless

Update: it seems the problem lies with the Global Theme feature, ALL global themes slow down the performance in this manner, regardless of which one I try, only Breeze is stable right now, could this be because of the migration to Plasma 6.5?

Does switching the global theme and then changing only the window decoration back to Breeze also resolve the performance issues?

Aurorae decorations are known to cause some issues with resizing performance, though I’ve never heard of a case where it was this terrible.

this is presenting a new problem…. plasmashell crashes everytime I change the Global Theme now :smiley: I have sent a crash report to KDE through the handler

focusing and unfocusing windows/going from a normal window to a fullscreen window causes stutters that can last up to three seconds, with terrible performance drops

Hmmm but you should take note that to paste code, you need code markers…

:light_bulb: Legibility Tip

Summary

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

Alternatively, select all pasted text, and click the </> button on the taskbar - which will indent the whole pasted section with one TAB, causing it to render the same way as described above.

I use Wayland, and it is far from useless.

I would suggest repeating the steps taken during the upgrade to 6.4 to leave behind any crud; try logging in a fresh USER to see if that’s better.

I said ‘wow’ because this problem is pretty extreme to say the least.