XMir now on vmwgfx
thellstrom at vmware.com
Thu Dec 19 13:11:44 UTC 2013
On 12/19/2013 02:08 PM, Thomas Hellstrom wrote:
> I just pushed a branch "hosted" to xf86-video-vmware that enables XMir
> (and also XWayland). It will probably not be part of next release which
> might happen very soon, but probably with the next release. I'm not sure
> what X support on Mir will look like in the end, but all XMir - specific
> code is confined to a single file, so it should be easy to change if needed.
> Performance seems OK, given that the vmwgfx driver fakes pageflipping
> with multiple fullscreen copies. This also means that performance of
> XMir compared to bare Xorg might look a bit bad.
> A couple of outstanding issues:
> 1) When Mir VT switches, I guess it drops DRM master. Still, from what I
> can tell, the XMir driver is not informed, and may attempt to continue
> to render using the drm file-descriptor. Is there a way to inform the
> driver about this?
> 2) I'd like to have a way to get the pixel format of the XMir copy
> buffer. I guess it's whatever GBM gives Mir for a given depth, but is it
> to assume that the depth of the XMir copy buffer is identical to the
> depth of the source window drawable?
> 3) Is the region given as the second argument to xmir_window_proc
> relative to the source window drawable or relative to the underlying pixmap?
> Thomas Hellstrom
Oh, and I forgot. If anyone wants to try it out, it needs kernel 3.13
(currently in RC), and
a mesa with XA version 2 or later.
More information about the Mir-devel