[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] [RFC] Variable video ram size option
From: |
Jamie Lokier |
Subject: |
Re: [Qemu-devel] [PATCH] [RFC] Variable video ram size option |
Date: |
Thu, 15 Jan 2009 20:57:43 +0000 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Gerd Hoffmann wrote:
> Jamie Lokier wrote:
> > I don't know why "ypan" is off by default;
>
> Performance. When reaching the end of video memory ypan does a memcpy
> on the framebuffer. ywrap doesn't need the memcpy, but doesn't work on
> all hardware. The memcpy is painful slow because framebuffer *read*
> access isn't something gfx cards are optimized for.
Why read the framebuffer at all? In fact why even redraw everything,
when you can redraw only the text which changes during scroll, which
is what vesafb does by default for normal scrolling?
> > If you're using Linux guest with VESA framebuffer console, rather than
> > a text-mode console, I'd recommend kernel boot option "video=vesafb:ypan",
> > to save considerable CPU when scrolling the console.
>
> Should work inside qemu because you should not face the slow-reads issue
> then. On real hardware it very likely makes scrolling noticeable slower.
My experience with real hardware is it makes scrolling noticably faster.
-- Jamie
- [Qemu-devel] Re: [PATCH] [RFC] Variable video ram size option - revised, (continued)
- Re: [Qemu-devel] [PATCH] [RFC] Variable video ram size option, Trolle Selander, 2009/01/12
- Re: [Qemu-devel] [PATCH] [RFC] Variable video ram size option, Paul Brook, 2009/01/14
- Re: [Qemu-devel] [PATCH] [RFC] Variable video ram size option, Trolle Selander, 2009/01/14
- Re: [Qemu-devel] [PATCH] [RFC] Variable video ram size option, Paul Brook, 2009/01/14
- Re: [Qemu-devel] [PATCH] [RFC] Variable video ram size option, Trolle Selander, 2009/01/14
- Re: [Qemu-devel] [PATCH] [RFC] Variable video ram size option, Jamie Lokier, 2009/01/15
- Re: [Qemu-devel] [PATCH] [RFC] Variable video ram size option, Rene Rebe, 2009/01/15
- Re: [Qemu-devel] [PATCH] [RFC] Variable video ram size option, Jamie Lokier, 2009/01/15
- Re: [Qemu-devel] [PATCH] [RFC] Variable video ram size option, Gerd Hoffmann, 2009/01/15
- Re: [Qemu-devel] [PATCH] [RFC] Variable video ram size option,
Jamie Lokier <=
- Re: [Qemu-devel] [PATCH] [RFC] Variable video ram size option, Gerd Hoffmann, 2009/01/15