Re: [Spice-devel] [Qemu-devel] [PATCH Qemu] Change spice-server protocol for GL texture passing

2016-07-18 Thread Marc-André Lureau
Hi - Original Message - > Forgot to add RFC to the subject > What's the rationale? if you share the texture id, you must share the GL context too, right? Why not use a lower level dmabuf fd that can be imported by the server gl context (which is also what the protocol require anyway)?

[Spice-devel] [spice-gtk PATCH egl] egl: Fix usage of Vertex Array Object

2016-07-18 Thread Lukas Venhoda
VAO shouldn't be bound indefinitely. Move glEnableVertexAttribArray and glVertexAttribPointer to init. These settings and currently bound Vertex Buffer Object will be saved to VAO. Unbinding VAO will set these to default (unbinding them). Instead of calling these settings every frame, bind VAO be

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 use

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 wa

Re: [Spice-devel] [spice-gtk PATCH v1] EGL: Update shader version to 330

2016-07-18 Thread Lukas Venhoda
SELF NACK We require OpenGL 3.0 after all Got confused by this part of code: static const EGLint ctx_att[] = { #ifdef EGL_CONTEXT_MAJOR_VERSION EGL_CONTEXT_MAJOR_VERSION, 3, #else EGL_CONTEXT_CLIENT_VERSION, 3, #endif EGL_NONE }; Still, do we really need to suppo

Re: [Spice-devel] how we can use more effectively spice protocol alternate to windows RDP

2016-07-18 Thread Sabit Numan Ari
Hello, Can i please get an update/information for my e-mail please? I am looking forward to hear about from you. Kind regards. Sabit Numan ARI Senior System Engineer [gantek_renkli_logo] Tel :+90 216 538 80 65 Mobile :+90 5322758814 Fax :+90 216 322 04 43 E-mail

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 dependenc

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 dire

[Spice-devel] [spice-gtk PATCH v1] EGL: Update shader version to 330

2016-07-18 Thread Lukas Venhoda
Since spice-widget-egl already requires Opengl 3.3, change shader version from 130 (OGL3.0) to 330 (OGL3.3) This change enables more advanced features in OpenGL shaders. --- src/spice-widget-egl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spice-widget-egl.c b/src

Re: [Spice-devel] [RFC PATCH qxl-wddm-dod 02/28] Add printer class to dump debug print statements to kernel debugger output

2016-07-18 Thread Frediano Ziglio
> > From: Sandy Stutsman > > Allows the usage of Kd_IHVVIDEO_Mask to control print level while debugging > --- > qxldod/driver.cpp | 24 +++- > qxldod/driver.h | 22 ++ > 2 files changed, 41 insertions(+), 5 deletions(-) > > diff --git a/qxldod/driver.

Re: [Spice-devel] [RFC PATCH vdagent 14/16] Adding ioctl operation to update Vdagent state

2016-07-18 Thread Frediano Ziglio
> > From: Sameeh Jubran > > This patch adds new ioctl operation to Vdagent in order to update > the driver on Vdagent state. This allows the driver to know > when Vdagent is running and when it is off. > > Signed-off-by: Sameeh Jubran > Signed-off-by: Dmitry Fleytman > --- > vdagent/desktop_

Re: [Spice-devel] [RFC PATCH vdagent 06/16] Fix include path to spice-protocol

2016-07-18 Thread Frediano Ziglio
> > Signed-off-by: Dmitry Fleytman > --- > vdagent/vdagent.vcxproj | 16 > vdservice/vdservice.vcxproj | 8 > 2 files changed, 12 insertions(+), 12 deletions(-) > > diff --git a/vdagent/vdagent.vcxproj b/vdagent/vdagent.vcxproj > index 4f6f54a..bffc8a6 100644 > --

Re: [Spice-devel] [RFC PATCH vdagent 04/16] spice-protocol: use internal repository and bump up head to include new commits

2016-07-18 Thread Frediano Ziglio
> > --- > .gitmodules| 2 +- > spice-protocol | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/.gitmodules b/.gitmodules > index 04211d8..2cde8ab 100644 > --- a/.gitmodules > +++ b/.gitmodules > @@ -1,6 +1,6 @@ > [submodule "spice-protocol"] > path = spice-p

Re: [Spice-devel] [RFC PATCH vdagent 03/16] Add cximage submodule

2016-07-18 Thread Frediano Ziglio
> > Signed-off-by: Dmitry Fleytman > --- > .gitmodules | 3 +++ > cximage | 1 + > 2 files changed, 4 insertions(+) > create mode 16 cximage > > diff --git a/.gitmodules b/.gitmodules > index f946a4d..04211d8 100644 > --- a/.gitmodules > +++ b/.gitmodules > @@ -1,3 +1,6 @@ > [submodul

Re: [Spice-devel] [RFC PATCH vdagent 02/16] Provide support for Windows 10 CCD API

2016-07-18 Thread Frediano Ziglio
> > From: Sandy Stutsman > > --- > Spice.props | 38 ++ > vdagent.sln | 94 ++-- > vdagent/CCD.h | 259 +++ > vdagent/D3Dkmt.h | 134 ++ > vdagent/desktop_layout.cpp| 152 ++- > vdagent/de

Re: [Spice-devel] [RFC PATCH vdagent 01/16] Fix 'Run-Time Check Failure #2' when running a 64bit guest

2016-07-18 Thread Frediano Ziglio
> > From: Sandy Stutsman > > --- > vdagent/display_setting.cpp | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/vdagent/display_setting.cpp b/vdagent/display_setting.cpp > index 1ec7397..f5eb0d7 100644 > --- a/vdagent/display_setting.cpp > +++ b/vdagent/display_setting.