| Summary: | Occasional low-FPS during effect animations since a couple of versions | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | bastimeyer123 |
| Component: | performance | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nate, postix, xaver.hugl |
| Priority: | NOR | ||
| Version First Reported In: | 6.1.3 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | grid: second closing and fourth opening anims stutter, rest is smooth | ||
|
Description
bastimeyer123
2024-07-24 19:01:47 UTC
Can you be specific about which exact effects/plugins/etc are sometimes stuttery? Created attachment 171968 [details] grid: second closing and fourth opening anims stutter, rest is smooth (In reply to Nate Graham from comment #1) > Can you be specific about which exact effects/plugins/etc are sometimes stuttery? The ones where I can definitely and reliably see the issue are the desktop grid and cube. That's all I can say for now, sorry. I've added a video where you can see the issue. The grid's second closing and fourth opening animations stutter, while the rest don't, are smooth and match the refresh rate of my display. No dropped frames according to OBS while recording. I could've spent a bit more time recording a better video, but it should be good enough to demonstrate the problem. Is it better when you set KWIN_DRM_DISABLE_TRIPLE_BUFFERING=0 envvar? (In reply to Vlad Zahorodnii from comment #3) > Is it better when you set KWIN_DRM_DISABLE_TRIPLE_BUFFERING=0 envvar? Nope, same issue. ``` $ sudo xargs -0 -L1 -a /proc/$(pidof kwin_wayland)/environ | grep KWIN_DRM_DISABLE_TRIPLE_BUFFERING KWIN_DRM_DISABLE_TRIPLE_BUFFERING=0 ``` Oops, I totally forgot that I wasn't on `v6.1.3` but on `6.1.3.r27.gc5d7d39`. That's because I apply some custom but unrelated patches to Arch's kwin package, and forgot that I built from the `Plasma/6.1` branch instead of the latest tagged commit. The issue still occurs when using Arch's default kwin package though. So I decided to do some bisecting the past couple of hours... I found a bad commit, but I'm still not 100% sure, because there's still some very rare stuttering in all of my `v6.1.0...Plasma/6.1` builds. When building from `d7385d441417d8f43cfb09341b5c0ae449ccd219` (committed after `v6.1.3`), the issue is way worse and it stutters every so often. Building from `d7385d441417d8f43cfb09341b5c0ae449ccd219~1` does only stutter very rarely, same as on `v6.1.0`. https://invent.kde.org/plasma/kwin/-/commit/d7385d441417d8f43cfb09341b5c0ae449ccd219 Issue seems to be fixed with aad82e9c772d52e853e7fa36a97620e41172df95...7b8f24698f797143531f0d5723cc6c263b9175e8 Thanks! |