[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCHv3] Load "bootsplash.jpg" if present
From: |
Kevin O'Connor |
Subject: |
[Qemu-devel] Re: [PATCHv3] Load "bootsplash.jpg" if present |
Date: |
Tue, 3 Aug 2010 21:07:12 -0400 |
User-agent: |
Mutt/1.5.20 (2009-12-10) |
On Tue, Aug 03, 2010 at 04:38:48PM +0200, Paolo Bonzini wrote:
> On 08/02/2010 06:47 PM, Kevin O'Connor wrote:
> >There is no added delay for the bootsplash. However, it does take
> >time to decompress it. On my machine it can take between 200-300ms
> >for the jpeg code.
>
> KVM or TCG?
TCG.
> Also, what's the time for a completely black bootsplash?
Here are the timings (times are in seconds measured on the host) for a
completely black 640x480 jpeg on my machine:
00.135: Checking for bootsplash
00.139: VESA 2.0
00.140: VENDOR: VGABIOS Cirrus extension
00.143: PRODUCT: VGABIOS Cirrus extension
00.145: Copying bootsplash.jpg
00.146: Decoding bootsplash.jpg
00.154: Finding vesa mode with dimensions 640/480
00.160: mode: 0111
00.162: framebuffer: 0xf0000000
00.164: bytes per scanline: 1280
00.165: bits per pixel: 16
00.166: Decompressing bootsplash.jpg
00.283: Switching to graphics mode
00.322: Showing bootsplash.jpg
00.327: Bootsplash copy complete
One can compare this output with the dprintf() calls in the code at:
http://git.linuxtogo.org/?p=kevin/seabios.git;a=blob;f=src/bootsplash.c;h=14bdd4cfaa6b931032e30236039b0fd4934f75ac;hb=eb6dc785475e4676de728f99a0fcd638d81c5b68#l144
The times weren't notably different with a real picture instead of
just a black picture.
As before, SeaBIOS should probably be changed so that it only shows
the image if the boot menu has been enabled.
-Kevin
- Re: [Qemu-devel] [PATCHv3] Load "bootsplash.jpg" if present, (continued)
- Re: [Qemu-devel] [PATCHv3] Load "bootsplash.jpg" if present, Richard W.M. Jones, 2010/08/03
- Re: [Qemu-devel] [PATCHv3] Load "bootsplash.jpg" if present, Anthony Liguori, 2010/08/03
- Re: [Qemu-devel] [PATCHv3] Load "bootsplash.jpg" if present, Richard W.M. Jones, 2010/08/03
- Re: [Qemu-devel] [PATCHv3] Load "bootsplash.jpg" if present, Richard W.M. Jones, 2010/08/03
- Re: [Qemu-devel] [PATCHv3] Load "bootsplash.jpg" if present, Anthony Liguori, 2010/08/03
- [Qemu-devel] Re: [PATCHv3] Load "bootsplash.jpg" if present, Paolo Bonzini, 2010/08/03
- [Qemu-devel] Re: [PATCHv3] Load "bootsplash.jpg" if present,
Kevin O'Connor <=