Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Engineering the Windows 7 Boot Animation

18 Feb 2009   #1
dmex

 
Engineering the Windows 7 Boot Animation

As we connect through this blog and through all of those talking about Windows 7 it is clear that folks have a lot of passion around many topics. We learned early on about the passion around the boot/startup sequence and how important it was for that to go by quickly! At the same time, we know that it is really dull to watch a HDD light blink when resuming a machine from hibernate or powering up a machine. To improve this first connection with people, we set out to improve the boot sequence—jazz it up if you will. It sounds pretty easy, but as we looked into solving this we found it is a pretty significant engineering challenge. Our goal was to have fun while having no impact on the boot performance of the system. To explain this engineering and describe the boot sequence, Karen Wong, a program manager on our Core User Experience feature team, authored this post. --Steven



Design

We use the word “personality” to refer to some of the characteristics of software that connect emotionally with people. ‘Light’ and ‘energy’ are some of the terms we use to describe the personality of Windows 7. As we designed Windows 7 it became clear that in order to showcase these elements of Win7’s personality, we needed go above and beyond what we did with Vista’s boot visuals.




From a design perspective, we know that the visual presentation of a feature plays a key role in the user’s perception of performance and quality. Our objective was to make Windows boot beautiful and was inspired by our Windows 7 personality of light and energy; and the way these forms reveal themselves in nature became our design palette. Words such as “bioluminescence”, “organic”, “humble beauty”, and “atmosphere” came up frequently in our brainstorming sessions. We know that in isolation these might sound a bit corny, but this is all part of the overall goals of Windows 7.

Over two dozen boot sequence designs were created, reviewed, and user tested to evaluate them against our goals. Designs varied in the saturation and/or brightness of color, the complexity of motion, and lighting effects. Here are some sketches from our design journey:



The final design in Windows 7 shows energy approaching from four directions, that join to form a light that projects through a window (of course it is no coincidence that the Windows logo resembles a window!). A subtle pulse indicates progress thereafter; another design detail that reinforces the liveliness of Windows 7’s personality.





From a design perspective, this new boot sequence met all of our design goals, and we were excited to send it out into the world. However, boot had to be more than just a pretty face. From an engineering perspective, we had some clear challenges to overcome, as we knew that “time to desktop” was still the most important thing to users. Visual delight could not trump getting to the desktop faster and many of you have been critical of features that are dubbed “eye candy” – the boot sequence is not going to be one of those features for sure.

No compromise on performance



If we had kept everything the same from Vista and simply updated the boot animation to the new Win7 look, we would not have achieved new levels performance and quality that we aspire to. In fact, significant code changes were required in order to make the new boot animation even possiblein Win7.

In Vista, the boot loader is using a low resolution 640x480 screen, and file size required for the green animated progress bar is very small. Furthermore, the Vista boot screen had low color depth – 16 bits per pixel (bpp). We increased this in Win7 to 32 bpp, which enabled the color richness you see in the new boot animation. Updates to the Vista boot progress indicator were achieved via the CPU, which was susceptible to I/O time, therefore causing occasional glitches in the animation. With the low resolution screen, limited color depth, and susceptibility to glitches – we knew we had our work cut out for us if we wanted to build something fancier for Win7.

We started with the Win7 boot loader using a different mechanism to display the boot animation. It gets a pointer to the frame buffer from the firmware (either BIOS or UEFI firmware), and displays a higher resolution image (1024 x 768). It animates the image while the kernel and boot critical device drivers are loaded into memory. Since the native graphics driver for the display is not loaded into memory and initialized yet, the animation is run by using the CPU, and by updating the frame buffer for the graphics display. We made an additional optimization - to have the CPU use write-combined caching to accelerate performance.

Michael Fortin’s blog entry on boot performance describes how the early stage of boot is I/O bound, as it is loading the kernel, device driver files, and other system component files. We therefore limited the dimensions of the boot animation to a small region of the screen, to avoid introducing any delay during the early stage of boot. A larger animation area would require loading a larger set of animation images, which adds to the file I/O. The animation images are compressed by incorporating the bitmaps as resources, which are then compressed using WIM image compression. WIM image compression reduces the overall file size, thereby reducing the I/O required to read them in. It also reduces the on-disk footprint. Animating a smaller region of the screen, and using a slightly lower frame rate also keeps the CPU overhead of updating the frame buffer to a low enough level, that there is no added overhead to the boot time.

Another change we made that improved not only the performance of boot, but the quality, was the reduction of transitions in graphics mode. These transitions occur during initialization of the graphics subsystem and Windows shell. In Vista, these cause the boot experience to be less smooth, as the display changes (flashes black) a few times before presenting the user with a logon screen (or the user’s desktop if there is only one system user).

After looking deep into our boot architecture for performance and quality improvements to enable the new animation, we were pleasantly surprised that the act of beautifying the boot animation createda new opportunity to further decrease time to desktop. In Vista, when a customer powered on the machine, the boot sequence included an animation of the Windows flag, or ‘pearl’, before reaching the login screen (or the desktop if the user is set to auto-login). Due to the Vista boot architecture constraints, this pearl animation can only play after boot code has already completed.


Vista Boot Sequence, with Pearl Animation

Now that new boot visuals display a rich animation that reflects the Windows 7 personality, the pearl animation seemed out-of-date and redundant, and was removed. As a result, we saved the time it takes to play this animation after boot is complete.


Windows 7 Boot Sequence, Pearl Animation Removed

You may also be wondering what happened to the startup sound. In Vista, the sound had to be synchronized with the pearl animation to produce the highest quality experience. This has potential performance impact on some hardware, as we require the system’s sound stack to be loaded to complete the pearl sequence. In the cases when we are waiting for the system’s sound playback to be ready, a delay can occur in getting to the desktop. As such, we changed the sound to now play asynchronously, anytime after the logon screen loads. On most hardware that we tested, this is right when the logon screen displays. We heard customer feedback in Vista that the sound played and caught your attention, but boot was not yet complete. So in addition to performance benefits, this change also improves the user experience by letting users know when their machine is ready for use.

The sum of the boot code optimizations and removal of the pearl animation from Vista enabled us to add a rich, high-quality animation during boot, with no increase in the time it takes a user to reach the desktop.

Designing for a wide range of hardware



The boot experience varies depending on the user’s hardware. We made some design decisions to ensure the best visual experience across a wide range of hardware, however the time it takes a system to get to the desktop is mainly hardware-dependent.

For example, you may notice that there is a delay before the animation starts during boot, and this delay time varies depending on system hardware. To optimize for showing immediate feedback, we actually display text on the boot screen before Windows has had a chance to start all the processors on the system. It is only when that is complete that the animation can run asynchronously to the rest of the I/O during boot (which as discussed earlier is necessary for optimal performance and quality).

You may also notice that the Windows flag’s dimensions during boot may change slightly on different screen sizes. Due to technical constraints in Win7, boot is always displayed in our recommended minimum resolution – 1024x768, regardless of the system’s native resolution. Today, most hardware is set to stretch the boot sequence to fill the screen, as opposed to centering it. Consequently, the boot animation is usually stretched on screens that are of different aspect ratio than 1024x768; however, we did test the sequence on common aspect ratios to ensure that visual quality was preserved.

Boot, Reboot and Resume from Hibernate



With all this hard work to improve the boot experience, we couldn’t let it go to waste. As such, users will also have this experience when they resume from hibernate.

Personalization

We know many of you might be asking if you could include your own animation or customize this sequence. This is not something we will support in Windows 7. We’ve talked about and shown a great many “personalization” elements of Windows 7 already, such as the new themepacks which you can try out in the beta. The reasons for this should be pretty clear, which is that we cannot guarantee the security of the system to allow for arbitrary elements to be loaded into memory at boot time. In the early stages of starting Windows, the system needs to be locked down and execute along a very carefully monitored and known state as tools such as firewalls and anti-virus checking are not yet available to secure the system. And of course, even though we’re sure everyone would follow the requirements around image size, content, etc. due to performance we would not want to build in all the code necessary to guarantee that all third parties would be doing so. One of our design goals of Windows 7 was around making sure there are ample opportunities to express yourself and to make sure your PC is really your PC and so we hope that you’ll understand why this element is one we need to maintain consistently.

This was a quick behind the scenes look at something that we hope you enjoy. With Windows 7 we set out to make the experience of starting a Windows PC a little more enjoyable, and from the feedback we’ve seen here and in other forums, we think we’re heading in the right direction. In addition to our efforts to make boot fast, we also have a goal to make the system robust enough, such that most of you will not see this new boot animation that often and when you do it will be both enjoyable and fast!

--Karen



More...


My System SpecsSystem Spec
.
19 Feb 2009   #2
black dog

7068 64 bit + XP Pro
 
 

How excitement !!
Nobody is going to want to hang onto XP once they hear about this .
My System SpecsSystem Spec
19 Feb 2009   #3
Adamd

Windows 7 7100 build
 
 

lol I turn off the boot gui because it decreases the boot time!
My System SpecsSystem Spec
.

02 Mar 2009   #4
rerice

windows 7 RTM
 
 

Your Boot Animation is very interesting.

At least for the first 8 or 10 times, than
it gets very irritating. I find myself waiting impatiently for it to finish. The continual
Pulsing is especially irritating. It would be better if it reached its brightest point just
before the screen goes blank.

I have turned it off, and saved a full 6 seconds ( Measured ) off my boot time and avoided having to watch and wait for that Logo to go away.

What is more important, Showing off, or improving the user experience
by reducing the boot time.

Please make this Gaudy thing optional !

Thanks for listening
Richard
My System SpecsSystem Spec
02 Mar 2009   #5
GatoSoft

@Home/Work: Windows 8.1 Enterprise x64
 
 

The thing that Rerice mentioned before is something that normal PC users will never see. Besides, it's obvious that animation needs a little HDD load time so can get into memory and display on screen.
The point is that Microsoft have done his best to get a light and, at the same time, enjoyable boot experience for his Windows 7's users.
Obviously, as we can see here, it's very very hard to satisfy every single people's taste. So, Microsoft gave that to us. If you don't like it or you don't want to wait a couple of seconds (1~2 seconds in my case), just deactivate.
Personally, I like it, it's very fancy and I don't mind to lose 1, 2, 6 or 10 seconds while seeing that instead of a boring black screen with a white log. Also, I really enjoy the face of my clients when I make them go where I'm repairing computers to show them something and casually they look at my service computer's monitor and see a brand new all-shiny Windows flag. They automatically say "What's that?" and when you say what that is then say "Can you install that in my machine?". Obviously, my answer is NO . But the point is: that animation is attractive and I think people will get used to it.
Positively, I prefer this instead of Vista's sad progress-bar animation or XP's static 8-bit coloured logo and progress-bar.
My System SpecsSystem Spec
04 Mar 2009   #6
limneos

Windows 7 RC 7100 32bit/64bit
 
 

Quote   Quote: Originally Posted by dmex View Post
Today, most hardware is set to stretch the boot sequence to fill the screen, as opposed to centering it. Consequently, the boot animation is usually stretched on screens that are of different aspect ratio than 1024x768; however, we did test the sequence on common aspect ratios to ensure that visual quality was preserved. [...]
Hmm...still on most netbooks which have 1024x600 it reverts to old Vista loading bar instead of stretching the screen.
My System SpecsSystem Spec
04 Mar 2009   #7
napilopez

Windows 7 Build 7077 x64
 
 

Quote   Quote: Originally Posted by rerice View Post
Your Boot Animation is very interesting.

At least for the first 8 or 10 times, than
it gets very irritating. I find myself waiting impatiently for it to finish. The continual
Pulsing is especially irritating. It would be better if it reached its brightest point just
before the screen goes blank.

I have turned it off, and saved a full 6 seconds ( Measured ) off my boot time and avoided having to watch and wait for that Logo to go away.

What is more important, Showing off, or improving the user experience
by reducing the boot time.

Please make this Gaudy thing optional !

Thanks for listening
Richard
But... it is optional. You turned it off yourself didn't you? XD

I love it, personally.
My System SpecsSystem Spec
04 Mar 2009   #8
rerice

windows 7 RTM
 
 
It should be the choice of the user.

I turned it off with a hack which does not work completely.

Personally I would rather see a beautiful sunset.


Things like this should be the choice ( option ) of the User.

I agree, it is beautiful but enough is enough, I want to see

something different. This idea is used in the Themes, so why

not in the boot screen.
My System SpecsSystem Spec
04 Mar 2009   #9
angryman

Windows 7 Ultimate 64bit
 
 

I don't mind it, attention to detail often makes the experience feel fuller and more complete (read: no bugs). At least, for the casual user.

"power" users are more fickle... although I am one, I still appreciate the attention to detail, and don't mind the 1 second of boot time.
My System SpecsSystem Spec
10 Feb 2011   #10
marcusj0015

Windows 7 Ultimate x64
 
 

yeah, well we just hacked windows 7, to run our own boot screens, which is worse, becuaes god only knows what people are loading into the boot.

you should have enabled it, would have been more secure
My System SpecsSystem Spec
Reply

 Engineering the Windows 7 Boot Animation




Thread Tools




Similar help and support threads
Thread Forum
Windows Vista Boot Animation
Just today my Windows 7 Pro computer boots with a Vista animation. Any ideas?
General Discussion
Windows 7 Home premium 64bit won't boot, just plays boot animation
My Windows 7 has stopped booting after a restart, the system would just endlessly play the boot animation and not boot properly... system restore won't work, startup repair won't work, chdsk and sfc won't work. I have yet to try and see whether a Registry fix works. Windows loads the WRE VERY...
BSOD Help and Support
Windows 7 Boot Animation
Where is the boot animation stored in windows 7 so i can edit the animation and resize the image, so it isnt stretched on my boot (since i have a widescreen monitor) All i need to know is where its stored.
Customization
No windows 7 boot animation
Every time i would boot up instead of the boot animation of windows 7 i get a loading bar instead how do i change this?
General Discussion
How one man designed the Windows 7 boot animation
Source
News
don´t see the windows 7 animation boot
hi i have problem with windows 7 animation boot no see the nice animation logo of windows 7 only see a crappy charge bar of windows vista :cry: anyone help me to fix that. i have clean install of windows 7 version 7600 but i cant see the cool animation logo :confused: .... PC specs: mainboard...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 13:44.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App