Bug 429336 - Every other window decoration than "Breeze" let the effect stutter
Summary: Every other window decoration than "Breeze" let the effect stutter
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: aurorae (show other bugs)
Version: 5.20.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-19 08:03 UTC by tobbra91@gmail.com
Modified: 2020-11-22 01:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tobbra91@gmail.com 2020-11-19 08:03:33 UTC
SUMMARY


STEPS TO REPRODUCE
1. Activate any other window decoration than "Breeze". 
2. Switch to another virtual desktop and observe the dropped framerate of the effect. 

OBSERVED RESULT

Effect and Animation stutter

EXPECTED RESULT

Effects behave the same as before: smooth

SOFTWARE/OS VERSIONS
Windows: 
macOS: x
Linux/KDE Plasma: Arch Linux / KDE Plasma 5.20.3
(available in About System)
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1
Render Drive: Mesa Intel(R) UHD 620 (KBL GT2)
OpenGL: 4.6 (Compatibility Profile) Mesa 20.2.2

ADDITIONAL INFORMATION
Comment 1 Thiago Sueto 2020-11-22 01:55:35 UTC
I can confirm this on kwin_x11.

STEPS TO REPRODUCE:

1. Enable KWin FPS desktop effect
2. Install Infinity-Aurorae window decoration
3. Make the desktop effect for switching desktops (e.g. Slide) slow (between 1200 and 1500 ms should be enough)
4. Use a dark wallpaper (to make the FPS effect show up better)
5. Have any window open in one virtual desktop and keep the other empty.
6. Switch between desktops

OBSERVED RESULT

(My screen refresh rate is set to 60)
(Let's call virtual desktop a VD)

If I'm using Breeze:

In a VD with windows open, FPS is 60, and when you attempt to switch to an empty VD, during the effect FPS lowers to a max of 47, and afterwards it goes back to 60.
a.k.a. 60 > 47 > 60

In an empty VD, FPS is 60, and when you attempt to switch to a VD with open windows, during the effect FPS lowers to a max of 47, and afterwards it goes back to 60.
a.k.a. 60 > 47 > 60

Compare this with when I'm using Infinity-Aurorae:

In a VD with windows open, FPS is 47, and when you attempt to switch to an empty VD, during the effect FPS stays mostly the same (47), and afterwards it goes up to 60.
a.k.a. 47 > 47 > 60

In an empty VD, FPS is 60, and when you attempt to switch to a VD with open windows, during the effect FPS lowers to a max of 44, and afterwards it goes up to 47.
a.k.a. 60 > 44 > 47

EXPECTED RESULT
With a refresh rate of 60, you should have
60 > 47 > 60 no matter the theme used.

ADDITIONAL INFORMATION
Operating System: openSUSE Tumbleweed 20201119 (Krypton, Plasma from git)
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.1
Kernel Version: 5.9.8-2-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 620