GNOME Bugzilla – Bug 572173
gdm could crossfade from boot splash
Last modified: 2012-06-11 14:18: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.
Created attachment 128912 [details] [review] Take screenshot and store in root window pixmap
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.
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
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.
These patches still aren't really upstreamable. I've updated them to work against head though since i've been asked about them.
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).
*** Bug 643588 has been marked as a duplicate of this bug. ***
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.
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)