[Spice-devel] [PATCH v2 spice-protocol 2/2] Add unix GL scanout messages
Gerd Hoffmann
kraxel at redhat.com
Thu Dec 17 07:35:44 PST 2015
On Do, 2015-12-17 at 06:34 -0500, Marc-André Lureau wrote:
> Hi
>
> ----- Original Message -----
> > > What happen with multiple monitors? Is it just not supported or a single
> > > scan-out is used for multiple monitors? Would be sensible to add the number
> > > of the scan-out to support multiple monitors?
> >
> > Yes, I think we should add a scanout number here.
>
> How whould that be compatible with the spice MonitorConfig messages? I don't think it's necessary, and it could easily be added later if needed.
Ahem, scratch that. MonitorConfig isn't going to fly with virtio-gpu
(at least not with multiple heads defined that way). With virtio_gpu we
will have one display channel per head, so we can use the channel id to
identify the scanout.
> > qemu (with wip patches) can do that already, for non-qxl cards. Guest
> > renders into a simple framebuffer, qemu writes this into a opengl
> > texture, exports the texture as dma-buf and hands over a handle.
>
> I think his point was rather a similar message to share a simple shm (non-dmabuf/gl)
Sure, we could create shm segments, then try using the X11 mit-shm
extension to display without copying again.
But does it make sense with the world moving forward to opengl/wayland?
It will be obsolete in a few years ...
cheers,
Gerd
More information about the Spice-devel
mailing list