[Spice-devel] [PATCH RFC EXP] remote Virgl support

Gerd Hoffmann kraxel at redhat.com
Wed Jun 29 09:44:04 UTC 2016


  Hi,

> Yes you want to use EGL here, I think we could probably put more code in qemu
> to help with this case.

Sure, if anything is needed we'll get that sorted ;)

I suspect spice-server needs access to the gl context helpers
(dpy_gl_ctx_*) if it wants use opengl.

Possibly it also wasn't the most clever way to pass on a dmabuf
filehandle to spice-server.  If spice-server needs ask qemu for a gl
context anyway we might pass around the texture id, then let
spice-server figure whenever it wants export it as dma-buf for a local
spice-client or do something else with the texture.

I think at the end of the day it boils down to what you need for the
vaapi interface.  If vaapi is able to accept dmabufs we should be fine
with the current setup.

> You'd probably want to talk to Gerd to find the nice/proper way to do things,
> but it most definitely involves egl, and most likely readpixels into a PBO.

cheers,
  Gerd



More information about the Spice-devel mailing list