After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 783076 - Slow performance of fullscreen and maximize animations
Slow performance of fullscreen and maximize animations
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
3.25.x
Other Linux
: Normal critical
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2017-05-25 09:07 UTC by Maxim
Modified: 2017-09-11 09:06 UTC
See Also:
GNOME target: ---
GNOME version: 3.25/3.26



Description Maxim 2017-05-25 09:07:16 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=766685
These new animations do not look smooth with NVIDIA driver.

Also fulscreen animations that were smooth before that, they also lost their smoothness.
Comment 1 Maxim 2017-05-29 08:00:24 UTC
Also "Allow Flipping" must be enabled in nvidia-settings.
Comment 2 Hussam Al-Tayeb 2017-06-01 17:10:22 UTC
I also saw a non-synched animation.
The maximize animation happened then the window maximized, so for a split second, there were two windows (one was just a post animation border frame). That could be a side effect of the slow performance and x11 in general.
Comment 3 Hussam Al-Tayeb 2017-06-28 19:24:36 UTC
(In reply to Maxim from comment #0)
> https://bugzilla.gnome.org/show_bug.cgi?id=766685
> These new animations do not look smooth with NVIDIA driver.
> 
> Also fulscreen animations that were smooth before that, they also lost their
> smoothness.

NVIDIA is really only for playing computer games. If you want to play computers games, don't bother with anything else. Otherwise, stick to intel onboard graphics and don't use bother with NVIDIA.

In the meantime, I hacked the animations out (this is likely the wrong approach) in my local build. This works apart from the gtk frame sync issue on CSD windows which the animations where semi covering.

--- a/js/ui/windowManager.js
+++ b/js/ui/windowManager.js
@@ -1312,10 +1312,6 @@ const WindowManager = new Lang.Class({
             shellwm.completed_size_change(actor);
             return;
         }
-
-        if (oldFrameRect.width > 0 && oldFrameRect.height > 0)
-            this._prepareAnimationInfo(shellwm, actor, oldFrameRect, whichChange);
-        else
             shellwm.completed_size_change(actor);
     },