From: Juan Quintela <quintela@redhat.com>
To: andrzej zaborowski <balrogg@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH 12/16] vmware_vga: remove !EMBED_STDVGA code
Date: Wed, 14 Oct 2009 22:04:36 +0200 [thread overview]
Message-ID: <m3ws2xkai3.fsf@neno.mitica> (raw)
In-Reply-To: <fb249edb0910141242n14096a6fx511800352f616b02@mail.gmail.com> (andrzej zaborowski's message of "Wed, 14 Oct 2009 21:42:18 +0200")
andrzej zaborowski <balrogg@gmail.com> wrote:
> 2009/10/14 Juan Quintela <quintela@redhat.com>:
>> andrzej zaborowski <balrogg@gmail.com> wrote:
>>> 2009/10/14 Juan Quintela <quintela@redhat.com>:
>>>> It don't compile. And the trivial fixes (change vga.foo field to foo field
>>>> don't work either. No output
>>>
>>> Just a note that there's supposed to be no output because your guest
>>> OS (and BIOS) expect the standard VGA functionality to be there. The
>>> define is only useful for debugging vmware_vga or OS driver. It's ok
>>> to drop it if you want.
>>
>> I preffer to drop it because it has no chance of working (suspend/resume
>> code is not there for instance).
>>
>> Once that we are there. I did a fast try at enabling DIRECT_VRAM with
>> the same not working result. Any idea if it would make things
>> better/fast/... whatever?
>
> Currently it probably makes things slower. I have not digged through
> the newer SDL code deep enough, to tell if it's possible to create a
> SDL surface directly from guest RAM provided it's contiguously mapped
> on host -- this is what VMware does and it's one of the expected
> benefits from using vmware_vga that isn't there, and I think using DGA
> saves them another unneeded copy. This would need reimplementing the
> pieces guarded by #ifdef DIRECT_VRAM.
Without DIRECT_VRAM, my un-scientific test (run glxgears) show that
cirrus_vga is a bit faster (207 vs 190 fps), neither the test of the
results something to write home about.
I have another problem with the driver: depth.
I have to change s->depth to 32 in vmsvga_reset() to make it work
correctly on my setup (default qemu.git tree, i.e. nothing fancy),
running with sdl. Any clue here?
Anthony thinks that the problem happens at the memcpy() in
vmsvga_update_rect(), but I haven't had the time to look at how to fix
it. Any idea here?
Later, Juan.
next prev parent reply other threads:[~2009-10-14 20:05 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-14 17:34 [Qemu-devel] [PATCH 00/16] Port rest of vga devices to vmstate Juan Quintela
2009-10-14 17:34 ` [Qemu-devel] [PATCH 01/16] vga: create is_vbe_vmstate field Juan Quintela
2009-10-14 17:34 ` [Qemu-devel] [PATCH 02/16] vmstate: Add support for partial buffers transmission Juan Quintela
2009-10-14 17:34 ` [Qemu-devel] [PATCH 03/16] vga: port vga_common_save/load to vmstate Juan Quintela
2009-10-14 17:34 ` [Qemu-devel] [PATCH 04/16] vga: port vga-isa-mm " Juan Quintela
2009-10-14 17:34 ` [Qemu-devel] [PATCH 05/16] vga: port vga-isa " Juan Quintela
2009-10-14 17:34 ` [Qemu-devel] [PATCH 06/16] vga: port vmware std vga " Juan Quintela
2009-10-14 17:34 ` [Qemu-devel] [PATCH 07/16] vga: port vga-pci " Juan Quintela
2009-10-14 17:34 ` [Qemu-devel] [PATCH 08/16] vga: remove unused vga_common_save/load Juan Quintela
2009-10-14 17:35 ` [Qemu-devel] [PATCH 09/16] vmware_vga: Pass pci_vmsga_state_t arg no VGACommonState Juan Quintela
2009-10-14 17:35 ` [Qemu-devel] [PATCH 10/16] vmware_vga: Remove uselss casts from void * Juan Quintela
2009-10-14 17:35 ` [Qemu-devel] [PATCH 11/16] vmware_vga: qemu_malloc() returns " Juan Quintela
2009-10-14 17:35 ` [Qemu-devel] [PATCH 12/16] vmware_vga: remove !EMBED_STDVGA code Juan Quintela
2009-10-14 18:15 ` andrzej zaborowski
2009-10-14 19:28 ` [Qemu-devel] " Juan Quintela
2009-10-14 19:42 ` andrzej zaborowski
2009-10-14 20:04 ` Juan Quintela [this message]
2009-10-21 2:23 ` andrzej zaborowski
2009-10-14 17:35 ` [Qemu-devel] [PATCH 13/16] vmstate: Add VMSTATE_UINT32_VARRAY support Juan Quintela
2009-10-14 17:35 ` [Qemu-devel] [PATCH 14/16] vmware_vga: scratch is really an array of uint32_t Juan Quintela
2009-10-14 17:35 ` [Qemu-devel] [PATCH 15/16] vmware_vga: the support to change dinamically depth is not there Juan Quintela
2009-10-14 17:35 ` [Qemu-devel] [PATCH 16/16] vmware_vga: port to vmstate Juan Quintela
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3ws2xkai3.fsf@neno.mitica \
--to=quintela@redhat.com \
--cc=balrogg@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).