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 572173 - gdm could crossfade from boot splash
gdm could crossfade from boot splash
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
: 643588 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-02-17 17:31 UTC by Ray Strode [halfline]
Modified: 2012-06-11 14:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Take screenshot and store in root window pixmap (4.44 KB, patch)
2009-02-17 17:33 UTC, Ray Strode [halfline]
none Details | Review
plymouth integration patch (26.99 KB, patch)
2010-05-03 18:47 UTC, Ray Strode [halfline]
rejected Details | Review
Save root window to pixmap at _XROOTPMAP_ID (4.71 KB, patch)
2010-11-19 19:00 UTC, Ray Strode [halfline]
committed Details | Review
Enable smooth transition between plymouth and X (21.25 KB, patch)
2010-11-19 19:00 UTC, Ray Strode [halfline]
committed Details | Review

Description Ray Strode [halfline] 2009-02-17 17:31:40 UTC
In Fedora 10 and later we support crossfading from the graphical boot splash to the login screen.  in order to do this we rely on a new feature added to gnome-settings-daemon (see bug 552857) that cross fades when switching backgrounds.

It almost "just works" .  The only change needed is for GDM to store a screenshot of whats on screen when the X server starts into a pixmap owned by the root window.

Note, in most cases what's on screen is just black.  So the screenshot is pointless.  It only makes sense to take a screenshot if we know the X server supports the -nr option.

I'm attaching the patch we use in Fedora 10.  But I guess it doesn't make sense to go upstream as-is, since we don't ever start an X server with -nr upstream.

We'll need to figure out what to do there before committing this.
Comment 1 Ray Strode [halfline] 2009-02-17 17:33:35 UTC
Created attachment 128912 [details] [review]
Take screenshot and store in root window pixmap
Comment 2 Ray Strode [halfline] 2010-05-03 18:47:20 UTC
Created attachment 160214 [details] [review]
plymouth integration patch

this isn't really upstreamable as-is, but i wanted to put this here in case other distros want to pick it up.

I'm not sure what the long term integration story should be.
Comment 3 Ray Strode [halfline] 2010-11-19 19:00:40 UTC
Created attachment 174881 [details] [review]
Save root window to pixmap at _XROOTPMAP_ID

This combined with starting the X server with -nr
will give us a nice fade transition when g-s-d starts
Comment 4 Ray Strode [halfline] 2010-11-19 19:00:43 UTC
Created attachment 174882 [details] [review]
Enable smooth transition between plymouth and X

This commit checks if plymouth is running, and if so,
turns on the smooth transition between plymouth and X.
Comment 5 Ray Strode [halfline] 2010-11-19 19:01:43 UTC
These patches still aren't really upstreamable.  I've updated them to work against head though since i've been asked about them.
Comment 6 Ray Strode [halfline] 2012-05-06 01:42:52 UTC
I've decided to push this now hidden behind a configure switch (--with-plymouth).

This ways distros won't have to keep patching this (hopefully).
Comment 7 Ray Strode [halfline] 2012-05-06 01:43:17 UTC
*** Bug 643588 has been marked as a duplicate of this bug. ***
Comment 8 Michael Monreal 2012-06-10 09:33:59 UTC
Ray, was this patch shipped in recent Fedora Releases? I remember seeing the transition effect some releases ago, but at least in F16 and F17 it does not work for me.
Comment 9 Ray Strode [halfline] 2012-06-11 14:18:40 UTC
Yea, it's the same patch shipped in fedora releases. The intel driver in fedora has had spotty support for the cross fade (The patch isn't upstream and keeps getting commented out when it doesn't apply anymore until someone has time to forward port it)