|
|
Subscribe / Log in / New account

Intel and XMir

Intel and XMir

Posted Sep 12, 2013 17:24 UTC (Thu) by glisse (guest, #44837)
In reply to: Intel and XMir by kugel
Parent article: Intel and XMir

It's not a driver for X that needs to be modified for non X system. It's a driver for X that need to be modified so X emulation in Mir can work.

So right now you have XApp talking to Xserver talk to Xdriver (xf86-video-intel in this case).

When running Xapp inside Mir you have Xapp talking to modified Xserver that talk to Mir and to modified Xdriver (xf86-video-intel in this case).

The modified Xdriver also talk to Mir and to the hardware. Mir in itself needs another completely different driver than xf86-video-intel. In this case a GL driver.

So a native mir app would talk to mir server and to a graphic driver (GL being the obvious and only choice at the moment). Mir server itself would talk to a GL driver.

I tried to make ascii schematic but lwn just swallow space.

Same logic apply to wayland and to allow an Xapp to run on top of modified Xserver that talk to wayland server and to wayland modified Xdriver.


to post comments

Intel and XMir

Posted Sep 15, 2013 12:59 UTC (Sun) by krake (guest, #55996) [Link] (3 responses)

Do you know if this is a short term hack?

I.e. until fully implemented Mir/Wayland "drivers" forXorg exists or a new X server on top of Mir/Wayland have been written?

Or is it unlikely that XMir/XWayland will ever be just normal clients of their respective display server?

Intel and XMir

Posted Sep 16, 2013 9:15 UTC (Mon) by dgm (subscriber, #49227) [Link] (2 responses)

I'm not sure about Mir, but under Wayland X11 works exactly the same as under Windows or OS X, that is, X11 should implement the drawing primitives using the drawing API at hand. Under Windows that would be GDI and Quartz under OS X. As Wayland does not force you to use any particular drawing API, you could use OpenGL/EGL or a software renderer or whatever.

If Mir does something different it probably means (wild speculation) that they are cutting corers in the name of shipping earlier. But don't quote me on that.

Intel and XMir

Posted Sep 16, 2013 9:32 UTC (Mon) by krake (guest, #55996) [Link] (1 responses)

This was my initial understanding as well.
However, when I asked about this on another site's comment section, someone pointed out that the xwayland branch of the driver contains a similar change:
http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/...

Hence the uncertainty whether this is a short time hack (and removed before merged) or whether it will stay that way for a longer time.

Intel and XMir

Posted Sep 16, 2013 15:58 UTC (Mon) by dgm (subscriber, #49227) [Link]

Interesting. Thanks for pointing this out.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds