Focused window border greatly affects shells overview animations performance, especially in 4K
When the mouse cursor is over the window, and the focused windows frame is visible, the workspace switching animation is jerky, especially in 4k. Here're some numbers in 4k with one window:
FPS for MetaStage: 39 ***
FPS for MetaStage: 42 ***
FPS for MetaStage: 41 ***
FPS for MetaStage: 40 ***
FPS for MetaStage: 40 ***
FPS for MetaStage: 38 ***
FPS for MetaStage: 41 ***
FPS for MetaStage: 42 ***
FPS for MetaStage: 39 ***
FPS for MetaStage: 42 ***
FPS for MetaStage: 38 ***
FPS for MetaStage: 43 ***
FPS for MetaStage: 39 ***
FPS for MetaStage: 42 ***
FPS for MetaStage: 39 ***
FPS for MetaStage: 42 ***
FPS for MetaStage: 39 ***
FPS for MetaStage: 36 ***
My system isn't capable of recording 4k at 60 fps, so here is a video recorded in WQXGA at 60fps (unfortunately in this resolution, the issue isn't that prominent). https://youtu.be/faf-53_6k0w
Steps to reproduce
- Open and maximize a single window
- Press the Super key
- Make sure the window frame is visible
- Change the workspace (with Ctrl+Alt+Down/Up or a mousewhell)
System information
Arch Linux
Mutter/GNOME Shell 3.36.3
Radeon RX 560
Single 4k screen
Edited by Daniel Kowalski