[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH 5/5] linux fbdev display driver.
From: |
Julian Pidancet |
Subject: |
Re: [Qemu-devel] Re: [PATCH 5/5] linux fbdev display driver. |
Date: |
Fri, 18 Jun 2010 13:00:25 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Shredder/3.0.4 |
On 06/18/2010 08:32 AM, Gerd Hoffmann wrote:
> Hi,
>
>> For some reason, the display is extremely slow when using vnc and
>> fbdev at the same time.
>
> Gotcha. Didn't notice, but it probably depends on the hardware. Very
> likely the reason is that graphic cards usually are optimized for write
> access and reads might be slow as hell. vnc must read though.
>
Access to the framebuffer are cached Write-Combining by default with fbdev,
which is probably causing this latency.
One solution would be to disable the display allocator when vnc is present, and
let it read from a software surface instead of reading from the framebuffer
(like in your initial patch). It would probably decrease display performance,
but not as much as it is now if we let the vnc driver read from the hardware
framebuffer.
We can easily implement a surface usage counter in the display allocator code,
so the fbdev driver can know whether or not the surface is read by other
drivers at the same time.
--
Julian Pidancet
- [Qemu-devel] [PATCH 3/5] Fix and simplify gui timer logic., (continued)
- [Qemu-devel] [PATCH 3/5] Fix and simplify gui timer logic., Gerd Hoffmann, 2010/06/15
- [Qemu-devel] [PATCH 1/5] QLIST-ify display change listeners., Gerd Hoffmann, 2010/06/15
- [Qemu-devel] [PATCH 4/5] add pflib: PixelFormat conversion library., Gerd Hoffmann, 2010/06/15
- [Qemu-devel] [PATCH 5/5] linux fbdev display driver., Gerd Hoffmann, 2010/06/15
- [Qemu-devel] Re: [PATCH 5/5] linux fbdev display driver., Stefano Stabellini, 2010/06/16
- [Qemu-devel] Re: [PATCH 5/5] linux fbdev display driver., Julian Pidancet, 2010/06/16
- [Qemu-devel] Re: [PATCH 5/5] linux fbdev display driver., Gerd Hoffmann, 2010/06/17
- [Qemu-devel] Re: [PATCH 5/5] linux fbdev display driver., Julian Pidancet, 2010/06/17
- Re: [Qemu-devel] Re: [PATCH 5/5] linux fbdev display driver., Julian Pidancet, 2010/06/17
- Re: [Qemu-devel] Re: [PATCH 5/5] linux fbdev display driver., Gerd Hoffmann, 2010/06/18
- Re: [Qemu-devel] Re: [PATCH 5/5] linux fbdev display driver.,
Julian Pidancet <=
Re: [Qemu-devel] [PATCH 0/5] fbdev display driver + misc bits, Julian Pidancet, 2010/06/24