OpenGL in USB Display Devices under wayland

Sannu K sannumail4foss at gmail.com
Sat Jun 23 09:51:28 PDT 2012


On Sat, Jun 23, 2012 at 2:04 AM, Casey Dahlin <cdahlin at redhat.com> wrote:

> On Fri, Jun 22, 2012 at 10:29:04PM +0300, Pekka Paalanen wrote:
> > The trick is in the kernel DRM, which has to be able to deal with the
> > buffer and actually push it to the USB device. This may require special
> > allocation flags or somehow using the dmabuf infrastructure to allocate
> > the buffer, where the composite is drawn.
>
> Pretty sure it's possible right now to just copy the buffer out to normal
> userspace memory and then in to another DRM buffer. Not the quickest
> transition, but functional.
>
> --CJD
>

Does this mean wayland (rather weston) does not support multiple graphics
card seamlessly (as of now without dmabuf patches)? Consider that an
application creates a DRM buffer and uses it for rendering, when user moves
the window to another screen that is driven by another graphics card this
case could appear. Will the memory content be copied (in current state)?
Will there be a better solution without buffer sharing (what if the window
buffer is in graphics card's RAM)? Please provide some pointers and/or
documentation on how wayland and weston works (which libraries it calls for
what purpose).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20120623/bc465a77/attachment.html>


More information about the wayland-devel mailing list