X.Org Server

From Wikipedia, the free encyclopedia
  (Redirected from KDrive)
Jump to: navigation, search
X.Org Server
X.Org Server logo
Developer(s) X.Org Foundation
Initial release 6 April 2004; 11 years ago (2004-04-06)[1]
Stable release 1.17.2 / 16 June 2015; 3 months ago (2015-06-16)[2]
Written in C
Operating system Cross-platform
Size 3.7 MiB[3]
Available in English
Type Display server
License MIT License
Website www.x.org

X.Org Server refers to the free and open source implementation of the X Window System stewarded by the X.Org Foundation that includes not only the display server but also the client libraries (like Xlib and XCB), developer and user tools, and the rest of the components required to run an entire X Window System architecture.

The services with which the X.Org Foundation supports X Server include the packaging of the releases; certification (for a fee); evaluation of improvements to the code; developing the web site, and handling the distribution of monetary donations.[citation needed] The releases are coded, documented, and packaged by global developers.[clarification needed]

Software architecture[edit]

The X.Org Server implements the server side of the X Window System core protocol and extensions to it. Implementations of the client side of the protocol are available e.g. in the form of Xlib and XCB. Version 1.16.0 integrates support for systemd-based launching and management which improved boot performance and reliability.[4]

Input stack
With version 1.16 the X.Org Server obtained support for the libinput library in form of a wrapper called xf86-input-libinput.[5] At the XDC 2015 in Toronto, libratbag was introduced, a generic library to support configurable mice.[6][7] xserver-xorg-input-joystick is the input module for the X.Org server to handle classical joysticks/gamepads. It is not meant for playing games under X, but to control the cursor with a joystick/gamepad. There was a representation at XDC2012 in Nürnberg.[8] xorg-input-joystick has been around for a while now.[9]
Graphics device drivers
For historical reasons the X.Org Server still contains graphics device drivers supporting some form of 2D rendering acceleration.
Device Independent X (DIX)
The Device Independent X (DIX) is the part of the 2D graphics device driver, which is not specific to any hardware.
Device Dependent X (DDX)
The Device Dependent X (DDX) is the part of the 2D graphics device driver, which is hardware specific. AMD's proprietary Catalyst includes such an extra device driver, just for the X.Org Server, additionally to the actual kernel blobs and user space device driver. So does Nvidia's proprietary driver package. The available free and open-source graphics device drivers all maintain such a DDX additionally to the DRM kernel part and the user-space driver in Mesa 3D.
A high-level architecture overview, showing Glamor's role
Glamor is a generic 2D acceleration driver for the X server that works translating the X render primitives to OpenGL operations, taking advantage of any existing 3D OpenGL drivers, proprietary and open-source.[10] The ultimate goal of GLAMOR is to obsolete and replace all the DDX, the device dependent X drivers, and acceleration architectures for them (like XAA, EXA, UXA or SNA) by a single hardware independent 2D driver, avoiding the need to write X 2D specific drivers for every supported graphic chipset.[11][12][13] Glamor requires a 3D driver with shader support.[14]
Glamor performance tuning was accepted for Google Summer of Code 2014.[15] Glamor supports Xephyr and DRI3,[16] and can boost some operations by 700–800%.[17] Since its mainlining into version 1.16 of the X.Org Server, development on Glamor was continued and patches for the upcoming 1.17 release were published early.[18]
XWayland is a series of patches over the X.Org server codebase that implements an X server running upon the Wayland protocol. The patches are developed and maintained by the Wayland developers for compatibility of X11 applications during the transition to Wayland,[19] and was mainlined in version 1.16 of the X.Org Server.[4]
XQuartz is a series of patches from Apple Inc. to integrate support for the X11 protocol into their Quartz Compositor, in a similar way to how XWayland integrates X11 into Wayland compositors.
There is a device driver for the X.Org Server called Xspice. It supports the QXL framebuffer device and includes a wrapper script[20] which makes it possible to launch an X.Org Server whose display is exported via the SPICE protocol. This enables use of SPICE in a remote desktop environment, without requiring KVM virtualization.
Xephyr is an X-on-X implementation. Since version 1.16.0, Xephyr serves as the primary development environment for the new 2D acceleration subsystem (Glamor), permitting rapid development and testing on a single machine.[4]


Unix and Linux
The X.Org Server runs on many free-software Unix-like operating systems; most Linux distributions and BSD variants have adopted it. It is also the X server for the Solaris operating system.
Microsoft Windows
Cygwin/X, Cygwin's implementation of the X server for Microsoft Windows, uses the X.Org Server, as do VcXsrv[21] (Visual C++ X-server[22]) and Xming.
OS X versions prior to Mac OS X Leopard (10.5) shipped with an XFree86-based server, but 10.5's X server adopted the X.Org codebase.[23] Starting with OS X Mountain Lion, (10.7) X11 is not bundled in OS X; instead, it has to be installed from, for example, the open source XQuartz project.[24] As of version 2.7.4, X11.app/XQuartz does not expose support for high-resolution Retina displays to X11 apps, which run in pixel-doubled mode on high-resolution displays.


A display server, such as X.Org Server, implements the windowing system and serves its clients.

The modern X.Org Foundation came into being in 2004 when the body that oversaw X standards and published the official reference implementation joined forces with former XFree86 developers. X11R6.7.0, the first version of the X.Org Server, was forked from XFree86 4.4 RC2.[1] The immediate reason for the fork was a disagreement with the new license for the final release version of XFree86 4.4, but several disagreements among the contributors surfaced prior to the split. Many of the previous XFree86 developers have joined the X.Org Server project.

In 2005, a great effort was put in the modularization of the X.Org server source code,[25] resulting in a dual release by the end of the year. The X11R7.0.0 release added a new modular build system based on the GNU Autotools, while X11R6.9.0 release kept the old imake build system, both releases sharing the same codebase. Since then the X11R6.9 branch is maintained frozen and all the ongoing development is done to the modular (using GNU Autotools) branch. The new build system also brought the use of dlloader standard dynamic linker to load plugins and drivers, deprecating the old own method. As a consequence of the modularization, the X11 binaries were moving out of their own /usr/X11R6 subdirectory tree and into the global /usr tree on many Unix systems.

In June 2006, another effort was done to move the X.Org server source codebase from CVS to git.[26] Both efforts had the long-term goal of bringing new developers to the project. In the words of Alan Coopersmith:[27]

In the 7.1 release, the KDrive framework (a small implementation of X, written by Keith Packard, that was not based on XFree86 that X.Org developers used as a testing ground for new ideas, such as EXA) was integrated into the main codebase of X.Org server.

In 2008, the new DRI2, based on the kernel mode-setting (KMS) driver, replaced the old DRI. This change also set a major milestone in the X.Org server architecture, as the drivers were moved out from the server and user space (UMS) to the kernel space.

In 2013, the initial versions of DRI3 and Present extensions were written and coded by Keith Packard to provide a faster and tearing-free 2D rendering. By the end of the year 2013 the implementation of GLX was rewritten by Adam Jackson at Red Hat.[28]


Version Date X11 Release Main features
Old version, no longer supported: 1.0 21 December 2005[29] X11R7.0 (1.0.1) Initial modularized X server, EXA architecture
Old version, no longer supported: 1.1 22 May 2006[30] X11R7.1 (1.1.0) KDrive integration, AIGLX support[31]
Old version, no longer supported: 1.2 22 January 2007[32] X11R7.2 (1.2.0) Autoconfiguration, enhanced support for GL-based compositing managers[33]
Old version, no longer supported: 1.3 19 April 2007[34] RandR 1.2[35]
Old version, no longer supported: 1.4 6 September 2007[36] X11R7.3 Input hotplugging support[36][37]
Old version, no longer supported: 1.5 3 September 2008[38] X11R7.4 (1.5.1)
Old version, no longer supported: 1.6 25 February 2009[39] RandR 1.3, DRI2, XInput 1.5[40]
Old version, no longer supported: 1.7 1 October 2009[41] X11R7.5 (1.7.1) XInput 2.0, multi-pointer X[42][43]
Old version, no longer supported: 1.8 2 April 2010[44] xorg.conf.d, udev input handling[45]
Old version, no longer supported: 1.9 20 August 2010[46] X11R7.6 (1.9.3)
Old version, no longer supported: 1.10 25 February 2011[47] X Synchronization Fences[48]
Old version, no longer supported: 1.11 26 August 2011[49]
Old version, no longer supported: 1.12 4 March 2012[50] X11R7.7 (1.12.2) XInput 2.2 (including multi-touch support)[51]
Old version, no longer supported: 1.13 5 September 2012[52] New DDX driver API, DRI2 offload, RandR 1.4, OpenGL 3.x+ contexts, removing XAA[53]
Old version, no longer supported: 1.14 5 March 2013[54] XInput 2.3[55]
Old version, no longer supported: 1.15 27 December 2013[56] DRI3 and Present extensions[57][58]
Older version, yet still supported: 1.16 17 July 2014[59] XWayland DDX, GLAMOR acceleration, non-PCI devices support, systemd-logind support (rootless X)[59][60]
Current stable version: 1.17 4 February 2015[61] Generic DRM/KMS driver xf86-video-modesetting[62][63]
Future release: 1.18 N/A
Old version
Older version, still supported
Latest version
Latest preview version
Future release

See also[edit]


  1. ^ a b "X.Org Foundation releases X Window System X11R6.7". Linux Weekly News. 7 April 2004. Retrieved 2012-04-04. 
  2. ^ Packard, Keith. "[ANNOUNCE] xorg-server 1.17.1". X.org. Retrieved 11 February 2015. 
  3. ^ "Debian X.Org Server Package in sid". 
  4. ^ a b c "ANNOUNCE: xorg-server 1.16.0". freedesktop.org. 17 July 2014. 
  5. ^ "libinput - a common input stack for Wayland compositors and X.Org drivers". 
  6. ^ "Introduction of libratbag". 
  7. ^ "How to debug a broken input device?". 
  8. ^ "XDC2012: xorg-input-joystick" (PDF) (pdf). 
  9. ^ "Debian package "xserver-xorg-input-joystick"". 
  10. ^ "What is Glamor?". FreeDesktop.org. Retrieved 10 February 2014. 
  11. ^ Anholt, Eric. "Building 2D rendering acceleration with OpenGL". linux.conf.au. Retrieved 10 February 2014. 
  12. ^ Packard, Keith. "Brief Glamor Hacks". Retrieved 7 March 2014. 
  13. ^ "Adam Jackson - GLX rewrite". 24 September 2013. Retrieved 2014-03-23. 
  14. ^ "Radeon Feature Matrix". freedesktop.org. 
  15. ^ "Glamor Performance Tuning". 
  16. ^ "GLAMOR Xephyr & DRI3 Support Called For Pulling". Phoronix. 5 March 2014. 
  17. ^ "GLAMOR Patch Bomb Can Boost Some Operations By 700~800%". Phoronix. 13 March 2014. 
  18. ^ "glamor changes for 1.17". 17 July 2014. 
  19. ^ "X Clients under Wayland (XWayland)". Wayland Project. Retrieved 10 February 2014. 
  20. ^ "XSpice README". Cgit.freedesktop.org. Retrieved 2013-10-25. 
  21. ^ "VcXsrv Windows X Server". Sourceforge.net. Retrieved 2014-04-28. 
  22. ^ "VcXsrv Windows X Server". SourceForge.net. Retrieved 2013-06-23. Windows X-server based on the xorg git sources (like xming or cygwin's xwin), but compiled with Visual C++ 2010. 
  23. ^ Re: Xorg in Leopard?, From: Ben Byer, Date: 29 June 2007, Apple Mailing Lists
  24. ^ Slivka, Eric (17 February 2012). "Apple Removes X11 in OS X Mountain Lion, Shifts Support to Open Source XQuartz". MacRumors. Retrieved 23 February 2012. 
  25. ^ "X.Org Foundation Modularization Working Group". X.Org Foundation. Retrieved 6 February 2014. 
  26. ^ Høgsberg, Kristian. "Doing git migration now". Retrieved 6 February 2014. 
  27. ^ Coopersmith, Alan. "Some times it’s a book sprint, other times it’s a marathon". Retrieved 6 February 2014. 
  28. ^ "The X.Org Server's GLX Is Being Rewritten". 26 October 2013. 
  29. ^ "X11R6.9 and X11R7.0 Officially Released". X.org. Retrieved 7 February 2015. 
  30. ^ Jackson, Adam. "[ANNOUNCE] xorg-server 1.1.0". X.org. Retrieved 7 February 2015. 
  31. ^ "Summary of new features in X11R7.1". X.org. Retrieved 7 February 2015. 
  32. ^ Jackson, Adam. "[ANNOUNCE] xserver 1.2.0". X.org. Retrieved 7 February 2015. 
  33. ^ "X11R7.2 Release". X.org. Retrieved 7 February 2015. 
  34. ^ Packard, Keith. "[ANNOUNCE] xorg-server again". X.org. Retrieved 7 February 2015. 
  35. ^ Packard, Keith. "[ANNOUNCE] xorg-server (X server 1.3 RC1)". X.org. Retrieved 7 February 2015. 
  36. ^ a b Anholt, Eric. "[ANNOUNCE] xorg-server 1.4". X.org. Retrieved 7 February 2015. 
  37. ^ "X server version 1.4 release plans". X.org. Retrieved 7 February 2015. 
  38. ^ Jackson, Adam. "[ANNOUNCE] xserver 1.5.0". X.org. Retrieved 7 February 2015. 
  39. ^ Packard, Keith. "[ANNOUNCE] xorg-server 1.6.0". X.org. Retrieved 7 February 2015. 
  40. ^ "Server 1.6 branch". X.org. Retrieved 7 February 2015. 
  41. ^ Hutterer, Peter. "[ANNOUNCE] xorg-server 1.7.0". X.org. Retrieved 7 February 2015. 
  42. ^ "Server 1.7 branch". X.org. Retrieved 7 February 2015. 
  43. ^ Larabel, Michael. "X Server 1.7 Released With XI2/MPX Glory". Phoronix. Retrieved 7 February 2015. 
  44. ^ Packard, Keith. "[ANNOUNCE] xorg-server 1.8.0". X.org. Retrieved 7 February 2015. 
  45. ^ Larabel, Michael. "X.Org Server 1.8.0 Is Here". Phoronix. Retrieved 7 February 2015. 
  46. ^ Packard, Keith. "[ANNOUNCE] xorg-server 1.9.0". X.org. Retrieved 7 February 2015. 
  47. ^ Packard, Keith. "[ANNOUNCE] xorg-server 1.10.0". X.org. Retrieved 7 February 2015. 
  48. ^ Larabel, Michael. "That Was Quick, X Server 1.10 Officially Released". Phoronix. Retrieved 8 February 2015. 
  49. ^ Packard, Keith. "[ANNOUNCE] xorg-server 1.11.0". X.org. Retrieved 7 February 2015. 
  50. ^ Packard, Keith. "[ANNOUNCE] xorg-server 1.12.0". X.org. Retrieved 7 February 2015. 
  51. ^ Larabel, Michael. "X.Org Server 1.12 Released With Multi-Touch". Phoronix. Retrieved 8 February 2015. 
  52. ^ Packard, Keith. "[ANNOUNCE] xorg-server 1.13.0". X.org. Retrieved 7 February 2015. 
  53. ^ Larabel, Michael. "X.Org Server 1.13 Released With Massive Changes". Phoronix. Retrieved 8 February 2015. 
  54. ^ Packard, Keith. "[ANNOUNCE] xorg-server 1.14.0". X.org. Retrieved 7 February 2015. 
  55. ^ Packard, Keith. "[ANNOUNCE] xorg-server (1.14 RC1)". X.org. Retrieved 9 February 2015. 
  56. ^ Packard, Keith. "[ANNOUNCE] xorg-server 1.15.0". X.org. Retrieved 7 February 2015. 
  57. ^ Packard, Keith. "[ANNOUNCE] xorg-server". X.org. Retrieved 9 February 2015. 
  58. ^ Larabel, Michael. "X.Org Server 1.15 Release Has Several New Features". Phoronix. Retrieved 9 February 2015. 
  59. ^ a b Packard, Keith. "[ANNOUNCE] xorg-server 1.16.0". X.org. Retrieved 7 February 2015. 
  60. ^ Larabel, Michael. "X.Org Server 1.16 Officially Released With Terrific Features". Phoronix. Retrieved 9 February 2015. 
  61. ^ Packard, Keith. "[ANNOUNCE] xorg-server 1.17.0". X.org. Retrieved 7 February 2015. 
  62. ^ Packard, Keith. "[ANNOUNCE] xorg-server". X.org. Retrieved 9 February 2015. 
  63. ^ Larabel, Michael. "X.Org Server 1.17 Officially Released". Phoronix. Retrieved 9 February 2015. 

External links[edit]