Re: [PATCH] kvm tools, ui: Optimize SDL updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04.06.2011, at 11:54, Ingo Molnar wrote:

> 
> * Pekka Enberg <penberg@xxxxxxxxxx> wrote:
> 
>> This patch optimizes SDL updates by keeping track of which parts of the guest
>> screen have been written since last update and calling SDL_BlitSurface() and
>> SDL_UpdateRect() for only changed parts of the screen.
>> 
>> Cc: Cyrill Gorcunov <gorcunov@xxxxxxxxx>
>> Cc: Ingo Molnar <mingo@xxxxxxx>
>> Cc: John Floren <john@xxxxxxxxxxx>
>> Cc: Sasha Levin <levinsasha928@xxxxxxxxx>
>> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx>
> 
> I tried this one and updates got a bit faster.
> 
> We really need accelerated scrolling support though, i.e. framebuffer 
> combined with virtio-fb for operations such as scrolling. Could we 
> merge the repo up to v3.0-rc1 and write virtio-fb based on the 
> virtio-gl patch?

I wrote up 2 virtio-fb implementations a while back and I still believe it's a bad idea. Better implement QXL in kvm-tool, so work doesn't get needlessly duplicated. If you really have to use virtio for whatever reason (no PCI available), just write a small QXL over virtio transport that allows you to reuse the protocol.

I really don't want to see people waste time on reinventing the wheel over and over again.


Alex

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux