Re: [PATCH v2 spice-protocol 2/2] Add unix GL scanout messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]