Summary: | the effect "Desktop Grid" is incredibly laggy | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | e902 <dupajasia2137> |
Component: | effects-desktop-grid | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | al.neodim, goingtosleepzzz, htpha, nate |
Priority: | NOR | ||
Version: | 5.26.5 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/028dd552cfb9d826b40b9620d869c98d2aa3dca3 | Version Fixed In: | 6.0 |
Sentry Crash Report: |
Description
e902
2023-01-05 16:22:48 UTC
Out of curiosity, is it smoother if you restart KWin with `kwin_x11 --replace`? See Bug 462820. (In reply to Nate Graham from comment #1) > Out of curiosity, is it smoother if you restart KWin with `kwin_x11 > --replace`? See Bug 462820. I just tried and no Experiencing the same issue. Desktop grid in the Plasma 5.27 is slow as hell. I've four Virtual Desktops on the multi-screen setup and it's very slow! Please fix asap. This is a major regression since 5.24, when it worked smoothly. Same thing on my side too. Encounter the lag in Desktop Grid effect in both Manjaro and EndeavourOS. The symptom is like this: - Login to plasma session. - The effect is very laggy. - Then when I open firefox, resize the firefox's windows, then maximize it, the effect is smooth again. However, even when it looks smooth, it's still choppy when I click on a window to move to a virtual desktop, in particular at the end of the animation. It's clearer when choosing slower animation speed. I have Intel CPU (9700K), AMD GPU (6600XT). Tried several kernels (vanilla, linux-lqx, linux-xanmod, linux-cachyos-bore, linux-tkg with different schedulers), even compiled them to make sure it's not laggy because of the kernel. Also tried to gain CPU performance using `cpupower`, and change the compositor config (prefer smoother animations, force smoothest, etc. I basically tried all). But the effect is still laggy. Sometimes it's quite smooth, both at the beginning and the end, but after a short while, it will get choppy. I use this effect quite a lot, and to be honest it looks awesome, just hope it could be smooth again like the version in 5.24. I noticed if I use different Plasma Styles the lag reduces noticeably. For example Air, Oxygen or Suave (https://store.kde.org/p/1513276) are very laggy whereas Breeze, Adapta (https://store.kde.org/p/1191699) or Materia (https://store.kde.org/p/1229134) are way smoother. Hope this workaround helps. $ kwin_wayland --version kwin 5.27.7 Git commit 028dd552cfb9d826b40b9620d869c98d2aa3dca3 by Niccolò Venerandi. Committed on 25/09/2023 at 13:14. Pushed by niccolove into branch 'master'. Merge desktop grid and overview together with a new three-state design Merges the desktop grid and overview effects together in a new three-state one; you can switch between them with a certain shortcut or gesture, and you can also still access either the desktop grid or overview directly. Default shortcuts are also updated to be Meta+G for Grid, Meta+W for Overview, Meta+Tab to switch between the three states and Meta+Shift+Tab to cycle in the opposite direction. Related: bug 474044, bug 460661, bug 460774, bug 456572, bug 449601, bug 450262, bug 449801, bug 461510, bug 459754, bug 459749, bug 459748, bug 459467 FIXED-IN: 6.0 M +2 -0 CMakeLists.txt A +7 -0 kconf_update/CMakeLists.txt A +20 -0 kconf_update/kwin-6.0-overview-activities-shortcuts.py A +11 -0 kconf_update/kwin.upd M +16 -3 src/libkwineffects/effecttogglablestate.cpp M +3 -1 src/libkwineffects/effecttogglablestate.h M +0 -1 src/plugins/CMakeLists.txt D +0 -49 src/plugins/desktopgrid/CMakeLists.txt D +0 -127 src/plugins/desktopgrid/desktopgrid_config.cpp D +0 -48 src/plugins/desktopgrid/desktopgrid_config.h D +0 -206 src/plugins/desktopgrid/desktopgrid_config.ui D +0 -32 src/plugins/desktopgrid/desktopgridconfig.kcfg D +0 -9 src/plugins/desktopgrid/desktopgridconfig.kcfgc D +0 -250 src/plugins/desktopgrid/desktopgrideffect.cpp D +0 -99 src/plugins/desktopgrid/desktopgrideffect.h D +0 -18 src/plugins/desktopgrid/main.cpp D +0 -92 src/plugins/desktopgrid/metadata.json D +0 -306 src/plugins/desktopgrid/qml/DesktopView.qml D +0 -328 src/plugins/desktopgrid/qml/main.qml M +27 -6 src/plugins/overview/kcm/overvieweffectkcm.cpp M +15 -1 src/plugins/overview/kcm/overvieweffectkcm.ui M +3 -0 src/plugins/overview/overviewconfig.kcfg M +229 -24 src/plugins/overview/overvieweffect.cpp M +37 -16 src/plugins/overview/overvieweffect.h M +44 -36 src/plugins/overview/qml/DesktopBar.qml M +541 -193 src/plugins/overview/qml/main.qml M +24 -18 src/plugins/private/qml/WindowHeapDelegate.qml M +1 -0 src/plugins/windowview/qml/main.qml M +0 -2 src/plugins/windowview/windowvieweffect.cpp https://invent.kde.org/plasma/kwin/-/commit/028dd552cfb9d826b40b9620d869c98d2aa3dca3 |