Re: [Spice-devel] [PATCH RFC 00/12] Remote Virgl support

2016-07-21 Thread Frediano Ziglio
> > Hi, > > > > Hmm. The guest will not give us 2-3 frames though. We'll have either > > > one or two, depending on whenever the guest uses page-flips or not. So > > > implementing a buffering scheme as outlined above requires us to copy > > > (or let the gpu copy) the frames. > > > Probably

Re: [Spice-devel] [PATCH RFC 00/12] Remote Virgl support

2016-07-20 Thread Gerd Hoffmann
Hi, > > Hmm. The guest will not give us 2-3 frames though. We'll have either > > one or two, depending on whenever the guest uses page-flips or not. So > > implementing a buffering scheme as outlined above requires us to copy > > (or let the gpu copy) the frames. > Probably 2 are enough, 1

Re: [Spice-devel] [PATCH RFC 00/12] Remote Virgl support

2016-07-19 Thread Frediano Ziglio
> > Hi, > > > > What is the state of the hardware supported encoding? > > > How can we pass buffers to the hardware encoder? > > > > The state here is a bit of a mess. > > One reason to pass texture instead of dma buffers is that we use gstreamer > > and gstreamer for hardware acceleration uses

Re: [Spice-devel] [PATCH RFC 00/12] Remote Virgl support

2016-07-18 Thread David Jaša
Hi, On Po, 2016-07-18 at 16:16 +0200, Gerd Hoffmann wrote: > Hi, > > > > What is the state of the hardware supported encoding? > > > How can we pass buffers to the hardware encoder? > > > > The state here is a bit of a mess. > > One reason to pass texture instead of dma buffers is that we

Re: [Spice-devel] [PATCH RFC 00/12] Remote Virgl support

2016-07-18 Thread Gerd Hoffmann
Hi, > > What is the state of the hardware supported encoding? > > How can we pass buffers to the hardware encoder? > > The state here is a bit of a mess. > One reason to pass texture instead of dma buffers is that we use gstreamer > and gstreamer for hardware acceleration uses VAAPI and one

Re: [Spice-devel] [PATCH RFC 00/12] Remote Virgl support

2016-07-18 Thread Frediano Ziglio
> > On Fr, 2016-07-15 at 14:49 +0100, Frediano Ziglio wrote: > > This patch is an improve to last one. There are still many work > > to be done. The main reason I'm posting is to discuss the Qemu > > API changes ("Define a new interface for Qemu to pass texture" > > patch). This code add

Re: [Spice-devel] [PATCH RFC 00/12] Remote Virgl support

2016-07-18 Thread Gerd Hoffmann
On Fr, 2016-07-15 at 14:49 +0100, Frediano Ziglio wrote: > This patch is an improve to last one. There are still many work > to be done. The main reason I'm posting is to discuss the Qemu > API changes ("Define a new interface for Qemu to pass texture" > patch). This code add dependency to EGL

[Spice-devel] [PATCH RFC 00/12] Remote Virgl support

2016-07-15 Thread Frediano Ziglio
This patch is an improve to last one. There are still many work to be done. The main reason I'm posting is to discuss the Qemu API changes ("Define a new interface for Qemu to pass texture" patch). This code add dependency to EGL directly. The main idea is still extracting raw data and passing to