GNOME Bugzilla – Bug 575964
GnomeBG should give up the fade effect if it's too slow
Last modified: 2018-09-21 16:28:26 UTC
The recently added cross-fade support also fades in the initial background from nothing. This is happening at an extremely busy time for the desktop (login), when the window manager itself may not even be up to speed. In the cases of compositing window managers, it pretty much kills the login performance. Additionally while cute, with KMS we can do much better "fade in the entire desktop" kinds of things
Created attachment 130970 [details] [review] Patch to removal initial fade-in only
-> gnome-desktop From an IRC discussion, it turns out this is mainly a driver issue, and the feature itself is a nice thing to have. GnomeBG should instead have some kind of heuristic and gove up the fade if we can't draw the effect fast enough to make it smooth and fast.
I'm not sure it is a driver issue, the fade uses up a fair amount of CPU time and I/O traffic - and if you're using compositing, you're sending a very large number of entire-window changes right at the start
In the compostied case, maybe we could fade in using a window-wide alpha which we move from 0 to 1.0 instead. That way we'd move the compositing to the cm and not cause lots of damage, avoiding the window copies caused by that.
Reject the patch, see comments from Cosimo and Alex.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-desktop/issues/25.