The New X.Org Server Driver API Is Coming

Written by Michael Larabel in X.Org on 14 May 2012 at 04:13 PM EDT. 16 Comments
X.ORG
The new driver API for the X.Org Server that would finally allow for the X.Org stack to better compete with modern desktop drivers on Windows and Mac OS X, may actually see the light of day, prior to the Wayland push.

For some time David Airlie has been working on a new driver API for the xorg-server to handle various shortcomings of the current driver architecture. Namely, David wants X.Org to be able to handle:

- GPU offloading in conjunction with DMA-BUF PRIME. This would be like modern NVIDIA Optimus and a step closer to CrossFire/SLI-like support.

- USB device hot-plugging for the X.Org Server.

- GPU switching between two drivers for an active X.Org Server session.

More technical details about this DDX driver API re-design that has been going on for months can be found on David's blog.

When the push does change, all of the X.Org drivers will need to be updated to take advantage of the API... The Intel / Nouveau / Radeon support will likely be there on time, but some of the more obscure drivers may take a while. Or it might just be the time to put the vintage/obscure GPU hardware support out to the pasture, seeing as it took nearly three years for one driver to be updated with support for modern X.Org Server compatibility and months of time for other drivers. Though there are defines within the code to allow for API compatibility with the old design.

Or by the time all of this work lands, more people will be then looking at migrating to Wayland... It's unclear at this point when the work will actually land as if it will make the X.Org Server 1.13 merge window for release in September, since right now the latest patches have yet to be reviewed. Keith Packard did mention, "Yeah, no love for X server API changes this year."

The latest patches, which represent the first part of this work, can be found on the mailing list.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week