Bug 446166

Summary: Changing window decorations to anything not default causes a system performance hit
Product: [Plasma] kwin Reporter: Kalzi <kalzwayed>
Component: auroraeAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: benjamindaines, bharadwaj.raju777, elcangrejopr, kde, nate, puspitaadak9876
Priority: NOR    
Version First Reported In: 5.23.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kalzi 2021-11-27 17:46:06 UTC
SUMMARY
Every time I use a third party window decoration, the system starts chugging as if the frame rate drops to the 20s or so. I am almost certain that this is related to the 4k screen (and possibly the GPU) I have, as it gets a lot better when I lower the resolution to 1080p. It doesn't go away completely on 1080p, but it gets a lot better. Also, it is mostly noticeable on the "slide back" and minimizing the windows effects. "Slide back" either glitches before it moves, or it is just straight up choppy (depends on the decorations), Minimizing windows is the same, it pauses halfway for a split second then minimizes. It even affects the experience on the web browser, because the scrolling of web pages gets slow, too. This has happened on every single distro with KDE Plasma I've ever used, so I guess that eliminates the "distro specific issue" possible argument. Also, a side note, the "window decorations" section of the settings has terrible scrolling. It jumps between scrolls, as if it gets stuck or something, every time I scroll. Thought I would mention that, too, since I think they are related. Please let me know if you need a separate bug report for it.


STEPS TO REPRODUCE
1. Install a third party window decoration and start using the system
2. Switch to 1080p resolution and notice the issue gets a lot better.

OBSERVED RESULT
System slows down/chugs when changing window decorations to something that is not default.

EXPECTED RESULT
Same performance (a little less is ok) when using third party decorations.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.2-2-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-01-17 22:12:54 UTC
*** Bug 460034 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2023-01-17 22:13:10 UTC
*** Bug 461042 has been marked as a duplicate of this bug. ***
Comment 3 Ben Daines 2024-05-20 01:16:26 UTC
Does this happen with one of the newer themes? (Klassy, or there's a few breeze forks out there)
Comment 4 David Edmundson 2024-06-04 11:45:31 UTC

*** This bug has been marked as a duplicate of bug 431643 ***