* [Qemu-devel] Spice and legacy VGA drivers
@ 2009-12-12 15:25 Anthony Liguori
2009-12-12 15:33 ` [Qemu-devel] " Izik Eidus
0 siblings, 1 reply; 9+ messages in thread
From: Anthony Liguori @ 2009-12-12 15:25 UTC (permalink / raw)
To: Izik Eidus, qemu-devel@nongnu.org
How does this work?
Does Spice only work with QXL or can it also work with Cirrus and
std-vga? Does it degrade into basically a framebuffer based protocol?
How does it encode the bitmap data in this mode?
Regards,
Anthony Liguori
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Qemu-devel] Re: Spice and legacy VGA drivers
2009-12-12 15:25 [Qemu-devel] Spice and legacy VGA drivers Anthony Liguori
@ 2009-12-12 15:33 ` Izik Eidus
2009-12-12 17:19 ` Anthony Liguori
0 siblings, 1 reply; 9+ messages in thread
From: Izik Eidus @ 2009-12-12 15:33 UTC (permalink / raw)
To: Anthony Liguori; +Cc: qemu-devel@nongnu.org
On Sat, 12 Dec 2009 09:25:00 -0600
Anthony Liguori <anthony@codemonkey.ws> wrote:
> How does this work?
>
> Does Spice only work with QXL or can it also work with Cirrus and
> std-vga? Does it degrade into basically a framebuffer based
> protocol? How does it encode the bitmap data in this mode?
It work with std-vga
It send bitmaps using the dirty bit from kvm/qemu
>
> Regards,
>
> Anthony Liguori
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Qemu-devel] Re: Spice and legacy VGA drivers
2009-12-12 15:33 ` [Qemu-devel] " Izik Eidus
@ 2009-12-12 17:19 ` Anthony Liguori
2009-12-12 17:30 ` Izik Eidus
0 siblings, 1 reply; 9+ messages in thread
From: Anthony Liguori @ 2009-12-12 17:19 UTC (permalink / raw)
To: Izik Eidus; +Cc: qemu-devel@nongnu.org
Izik Eidus wrote:
> On Sat, 12 Dec 2009 09:25:00 -0600
> Anthony Liguori <anthony@codemonkey.ws> wrote:
>
>
>> How does this work?
>>
>> Does Spice only work with QXL or can it also work with Cirrus and
>> std-vga? Does it degrade into basically a framebuffer based
>> protocol? How does it encode the bitmap data in this mode?
>>
>
> It work with std-vga
> It send bitmaps using the dirty bit from kvm/qemu
>
How does it compress the bitmaps?
Regards,
Anthony Liguori
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Qemu-devel] Re: Spice and legacy VGA drivers
2009-12-12 17:19 ` Anthony Liguori
@ 2009-12-12 17:30 ` Izik Eidus
2009-12-12 17:35 ` Anthony Liguori
0 siblings, 1 reply; 9+ messages in thread
From: Izik Eidus @ 2009-12-12 17:30 UTC (permalink / raw)
To: Anthony Liguori; +Cc: qemu-devel@nongnu.org
On Sat, 12 Dec 2009 11:19:19 -0600
Anthony Liguori <anthony@codemonkey.ws> wrote:
> Izik Eidus wrote:
> > On Sat, 12 Dec 2009 09:25:00 -0600
> > Anthony Liguori <anthony@codemonkey.ws> wrote:
> >
> >
> >> How does this work?
> >>
> >> Does Spice only work with QXL or can it also work with Cirrus and
> >> std-vga? Does it degrade into basically a framebuffer based
> >> protocol? How does it encode the bitmap data in this mode?
> >>
> >
> > It work with std-vga
> > It send bitmaps using the dirty bit from kvm/qemu
> >
>
> How does it compress the bitmaps?
What you mean? how can it compress it? or what method?
When there is no driver installed, we use compression that based on
LZ...
How does it compress it?, it just send it to the spice server as
"Draw bitmap" command and the spice server send it to the client.
>
> Regards,
>
> Anthony Liguori
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Qemu-devel] Re: Spice and legacy VGA drivers
2009-12-12 17:30 ` Izik Eidus
@ 2009-12-12 17:35 ` Anthony Liguori
2009-12-12 17:46 ` Izik Eidus
0 siblings, 1 reply; 9+ messages in thread
From: Anthony Liguori @ 2009-12-12 17:35 UTC (permalink / raw)
To: Izik Eidus; +Cc: qemu-devel@nongnu.org
Izik Eidus wrote:
> What you mean? how can it compress it? or what method?
>
> When there is no driver installed, we use compression that based on
> LZ...
>
Okay, that's what I was asking. I'm curious because during guest
installation, I assume that even if you're using QXL, you are still
stuck in VESA mode.
I'm curious if LZ on it's own is significantly different than some of
the vnc encodings. Both ZRLE and Tight have some pre-encoding
techniques that introduce a palette and in the case of Tight, also
support efficient gradient encoding. The idea is that you end up with
much more compressable data this way.
It's the sort of thing I think would be interesting to measure. I think
being able to use VNC style encodings could also be interesting for
Spice in order to improve this "legacy mode" use-case.
Regards,
Anthony Liguori
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Re: Spice and legacy VGA drivers
2009-12-12 17:35 ` Anthony Liguori
@ 2009-12-12 17:46 ` Izik Eidus
2009-12-12 19:28 ` Anthony Liguori
0 siblings, 1 reply; 9+ messages in thread
From: Izik Eidus @ 2009-12-12 17:46 UTC (permalink / raw)
To: Anthony Liguori; +Cc: qemu-devel@nongnu.org
On Sat, 12 Dec 2009 11:35:24 -0600
Anthony Liguori <anthony@codemonkey.ws> wrote:
> Izik Eidus wrote:
> > What you mean? how can it compress it? or what method?
> >
> > When there is no driver installed, we use compression that based on
> > LZ...
> >
>
> Okay, that's what I was asking. I'm curious because during guest
> installation, I assume that even if you're using QXL, you are still
> stuck in VESA mode.
Correct.
>
> I'm curious if LZ on it's own is significantly different than some of
> the vnc encodings. Both ZRLE and Tight have some pre-encoding
> techniques that introduce a palette and in the case of Tight, also
> support efficient gradient encoding. The idea is that you end up
> with much more compressable data this way.
>
> It's the sort of thing I think would be interesting to measure. I
> think being able to use VNC style encodings could also be interesting
> for Spice in order to improve this "legacy mode" use-case.
That specific area in spice will be changed very soon due to new
requiments that the offscreens will add.
Windows direct draw allow modifying offscreen (or even primary)
surfaces using a pointer giving to the user, this mean we can`t know
what parts of the surface was changed... (In some modes the primary
screen can be changed without we know about this)
We already thought about few algorithems we might want to add to spice
to better address this "changed without notifications surfaces", But it
is still not in a state I can confirm in what direction we will go in
the end (We still need to test most of the cases to know what fit us
best)
Thanks.
>
> Regards,
>
> Anthony Liguori
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Re: Spice and legacy VGA drivers
2009-12-12 17:46 ` Izik Eidus
@ 2009-12-12 19:28 ` Anthony Liguori
2009-12-12 19:51 ` Izik Eidus
2009-12-12 21:31 ` Dave Airlie
0 siblings, 2 replies; 9+ messages in thread
From: Anthony Liguori @ 2009-12-12 19:28 UTC (permalink / raw)
To: Izik Eidus; +Cc: qemu-devel@nongnu.org
Izik Eidus wrote:
> That specific area in spice will be changed very soon due to new
> requiments that the offscreens will add.
> Windows direct draw allow modifying offscreen (or even primary)
> surfaces using a pointer giving to the user, this mean we can`t know
> what parts of the surface was changed... (In some modes the primary
> screen can be changed without we know about this)
>
> We already thought about few algorithems we might want to add to spice
> to better address this "changed without notifications surfaces", But it
> is still not in a state I can confirm in what direction we will go in
> the end (We still need to test most of the cases to know what fit us
> best)
>
Okay, I'm interested in hearing more about this as it develops. I think
good support for legacy modes is an important requirement.
For instance, I very often interact with VMs in text console mode. In
cloud deployments, it's pretty common to have minimal appliances that
don't have a full X session.
Regards,
Anthony Liguori
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Re: Spice and legacy VGA drivers
2009-12-12 19:28 ` Anthony Liguori
@ 2009-12-12 19:51 ` Izik Eidus
2009-12-12 21:31 ` Dave Airlie
1 sibling, 0 replies; 9+ messages in thread
From: Izik Eidus @ 2009-12-12 19:51 UTC (permalink / raw)
To: Anthony Liguori; +Cc: qemu-devel@nongnu.org
On Sat, 12 Dec 2009 13:28:18 -0600
Anthony Liguori <anthony@codemonkey.ws> wrote:
> Izik Eidus wrote:
> > That specific area in spice will be changed very soon due to new
> > requiments that the offscreens will add.
> > Windows direct draw allow modifying offscreen (or even primary)
> > surfaces using a pointer giving to the user, this mean we can`t know
> > what parts of the surface was changed... (In some modes the primary
> > screen can be changed without we know about this)
> >
> > We already thought about few algorithems we might want to add to
> > spice to better address this "changed without notifications
> > surfaces", But it is still not in a state I can confirm in what
> > direction we will go in the end (We still need to test most of the
> > cases to know what fit us best)
> >
>
> Okay, I'm interested in hearing more about this as it develops. I
> think good support for legacy modes is an important requirement.
>
> For instance, I very often interact with VMs in text console mode.
> In cloud deployments, it's pretty common to have minimal appliances
> that don't have a full X session.
Sure, this exactly why we still dont sure what kind of algorithem we
will use... , we are searching for something that wont deprived any
usage (Such as text console mode, or "modified by pointer surface")
Thanks.
>
> Regards,
>
> Anthony Liguori
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Re: Spice and legacy VGA drivers
2009-12-12 19:28 ` Anthony Liguori
2009-12-12 19:51 ` Izik Eidus
@ 2009-12-12 21:31 ` Dave Airlie
1 sibling, 0 replies; 9+ messages in thread
From: Dave Airlie @ 2009-12-12 21:31 UTC (permalink / raw)
To: Anthony Liguori; +Cc: Izik Eidus, qemu-devel@nongnu.org
On Sun, Dec 13, 2009 at 5:28 AM, Anthony Liguori <anthony@codemonkey.ws> wrote:
> Izik Eidus wrote:
>>
>> That specific area in spice will be changed very soon due to new
>> requiments that the offscreens will add.
>> Windows direct draw allow modifying offscreen (or even primary)
>> surfaces using a pointer giving to the user, this mean we can`t know
>> what parts of the surface was changed... (In some modes the primary
>> screen can be changed without we know about this)
>>
>> We already thought about few algorithems we might want to add to spice
>> to better address this "changed without notifications surfaces", But it
>> is still not in a state I can confirm in what direction we will go in
>> the end (We still need to test most of the cases to know what fit us
>> best)
>>
>
> Okay, I'm interested in hearing more about this as it develops. I think
> good support for legacy modes is an important requirement.
>
> For instance, I very often interact with VMs in text console mode. In cloud
> deployments, it's pretty common to have minimal appliances that don't have a
> full X session.
We should develop a KMS stack for QXL like VMware have done for SVGA,
This would mean getting a fb console in the guests and you can use fb's
dirty support. Getting out of VGA ASAP is a kernel graphics driver goal going
forward.
Also re:cairo, nearly ever app on my desktop uses it via gtk.
Now how many properitary apps exist that don't is an open
question, but anyone using QT or GTK will be using X render for lots of
drawing right now.
I'm not really sure how VNC works at the non-screen scraping level so I suppose
I should investigate, I've never seen VNC as useful fit for doing 3D rendering,
but I suppose it could be extended.
Dave.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-12-12 21:31 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-12 15:25 [Qemu-devel] Spice and legacy VGA drivers Anthony Liguori
2009-12-12 15:33 ` [Qemu-devel] " Izik Eidus
2009-12-12 17:19 ` Anthony Liguori
2009-12-12 17:30 ` Izik Eidus
2009-12-12 17:35 ` Anthony Liguori
2009-12-12 17:46 ` Izik Eidus
2009-12-12 19:28 ` Anthony Liguori
2009-12-12 19:51 ` Izik Eidus
2009-12-12 21:31 ` Dave Airlie
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).