Glamor Acceleration For The Intel X.Org Driver

Posted by Michael Larabel on November 11, 2011

Zhigang Gong of Intel has published patches this morning that integrate Glamor acceleration support into the xf86-video-intel DDX driver.

Glamor is the new project that provides OpenGL-based 2D acceleration for X.Org and was presented back in September and the server-side bits are set to be merged into the X.Org Server. Today's patches setup the bits in the xf86-video-intel driver to take advantage of Glamor for Intel hardware.

Glamor won't be the default means of acceleration in the Intel DDX driver, at least for now, but the support has to be toggled at build-time using an --enable-glamor switch. With the support for this GL-derived acceleration, it's enabled along the UXA paths and depends upon an EGL context.

Hooking in Glamor support to a DDX driver amounts to a few hundred lines of code, at least for xf86-video-intel. I haven't yet seen any similar Glamor integration patches for xf86-video-ati or xf86-video-nouveau yet.

It will be interesting to see how the Intel acceleration performs for the stock UXA acceleration, UXA with SNA (Sandy Bridge New Acceleration), and Glamor.

The three patches that introduce the Intel Glamor acceleration can be found on the intel-gfx mailing list. Obviously, a Glamor-ized X.Org Server is also required, which should be xorg-server 1.12+.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. LLVM 3.3 Officially Released
  2. LLVM/Clang Now Uses Loop Vectorizer At New Levels
  3. Intel GPU Driver Tries To Rip Out FBDEV Support
  4. Coreboot Doing AMD USB 3.0, Q35 QEMU Emulation
  5. VP9 Codec Now Enabled By Default In Chrome
  6. openSUSE 13.1 M2 Plays On PulseAudio 4.0
  7. Debian 7.1 Rounds In Some Bug-Fixes
  8. Min / Max FPS Comes To Test Results
  9. Google Pushes More Mesa / Gallium3D Patches
  10. The Phoronix Migration Is Fully Complete
  11. Linux 3.10-rc6 Kernel Brings In More Fixes
Latest Forum Talk
  1. Intel GPU Driver Tries To Rip Out FBDEV Support
  2. AMD Catalyst 13.6 Beta
  3. LLVM 3.3 Officially Released
  4. The Wayland Situation: Facts About X vs. Wayland
  5. VP9 Codec Now Enabled By Default In Chrome
  6. Gallium3D LLVMpipe Benchmarks From Intel Haswell
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite