1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

New XWayland API Proposed For Better Performance

Wayland

Published on 17 October 2013 01:00 AM EDT
Written by Michael Larabel in Wayland
18 Comments

A new XWayland API has been proposed for helping the X.Org drivers implement the ScheduleSwap event and for providing an efficient implementation of async swaps. The new interfaces for XWayland can avoid copies and thus provide real-world performance improvements.

Axel Davy has proposed the new extensions to the XWayland code in the X.Org Server, which adds nearly 500 lines of new code. The new XWayland interfaces allow for manipulating frame/release events and to modify the buffers that are visible to the Wayland compositor. With the new code, it's possible to do an efficient implementation of async swapping and the ScheduleSwap and AsyncSwap support was tested on the GLAMOR-based Wayland DDX X.Org driver.

Axel shared that for Intel HD 4000 "Ivy Bridge" graphics with GLMark2 in one benchmark he saw the frame-rate go from 49 to 53 FPS after applying the patch. In another OpenGL benchmark the performance went from 397 to 645 frames per second by being able to avoid an additional copy of the buffer. The AsyncSwap code is also able to suppress tearing.

The new XWayland API can be found for now on the wayland-devel mailing list. Hopefully the XWayland support will still end up being merged for X.Org Server 1.15, which is due for release at year's end.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Articles & Reviews
  1. Khronos Group Announces Vulkan, OpenCL 2.1, SPIR-V
  2. Samsung 850 EVO SSD Linux Benchmarks
  3. Kubuntu 15.04 Is Turning Out Quite Nice, Good Way To Try Out The Latest KDE
  4. 5-Way Linux Distribution Comparison On The Core i3 NUC
  5. OCZ ARC 100 Linux SSD Benchmarks
  6. Lenovo ThinkPad X1 Carbon Works Great As A Linux Ultrabook
Latest Linux News
  1. The New Open-Source Linux Test Farm Is Almost Operational
  2. Samba 4.2 Brings Transparent File Compression & Clustering Support
  3. Mutter 3.15.91 Fixes Wayland Nested Compositor Mode, Pointer Constraining
  4. NVIDIA Opens Up CPU-Based PhysX Code
  5. SPIR-V In GCC Is Already Being Talked About
  6. Valve Launches SteamOS Sale, Confirms A Lot Of New Linux Games
  7. Ubuntu Cloud Switches Over To Using Systemd By Default
  8. Xfce 4.12 Might Make It For Fedora 22
  9. Pictures Of The Near Production Ready Ubuntu Tablet
  10. OpenVG Support Stripped From Gallium3D
Most Viewed News This Week
  1. The Tremendous Features Of Fedora 22
  2. Confirmed: Vulkan Is The Next-Gen Graphics API
  3. Xfce 4.12 Released After Nearly Three Years Of Work
  4. 8cc: A Small C11 Compiler
  5. LLVM 3.6 & Clang 3.6 Deliver More Features, Complete C++14 Support
  6. Unreal Engine Made Free By Epic Games
  7. ALSA 1.0.29 Released
  8. Canonical's Latest Demo Of Ubuntu Unity 8 Convergence In Action