Intel's Glamor Architecture Is Becoming Glamorous

Posted by Michael Larabel on December 13, 2011

Zhigang Gong of Intel China has published a new Linux patch today that enables the rest of the Glamor acceleration architecture functions to be used by the Intel X.Org driver. Glamor is a new means of accelerating 2D over OpenGL for the DDX driver.

Glamor has been a side project of some developers for several months now. Originally it was intended that Glamor would be part of the X.Org Server, but then later it was re-engineered so that Glamor will be its own standalone library that the DDX drivers can tap into if they wish to offer this acceleration method.

In November Intel driver patches for Glamor were published, but they didn't hook into all of the Glamor rendering functions for doing 2D over OpenGL.

Being published today is a new patch that takes advantage of all of Glamor for xf86-video-intel.

From the Intel mailing list, "This commit enable all the rest glamor rendering functions. Tested with latest glamor master branch, can pass rendercheck."

Using Glamor requires building the Glamor library from Git and then patching the xf86-video-intel driver. The last time I tried using Intel Glamor was last month, but the driver ended up producing a segmentation fault. I'll try again in the next few days to see how things go.

Patches for using Glamor in the Radeon or Nouveau drivers (or any other X.Org driver) haven't been published. However, at least the Radeon/Nouveau drivers have Gallium3D support (where as Intel is still living in a classic Mesa DRI driver world) and can take advantage of the generic Xorg state tracker as a generic DDX driver that leverages KMS and does provide similar 2D acceleration support over via the 3D engine.

In related news, coming up in the next few hours I'll be putting out new performance numbers of the Intel SNA acceleration architecture.

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. NVIDIA Driver Soon Likely To Support EGL, Mir
  2. OpenMandriva Goes Into Alpha Form, Russian-Based
  3. NVIDIA Brings Their Linux Driver To ARM
  4. D Language Still Showing Promise, Advancements
  5. Planetary Annihilation Released For Linux Gamers
  6. Gentoo Starts Work On KDE-Wayland Support
  7. NVIDIA To License Its Kepler GPU Technology
  8. KDE's KWin Made Lots Of Progress In 4.11
  9. Ubuntu Announces Carrier Advisory Group
  10. Qt 5.1 Release Candidate 1 Has Arrived
  11. In-Fighting Continues Over Mir On Non-Unity Ubuntu
Latest Forum Talk
  1. D Language Still Showing Promise, Advancements
  2. NVIDIA Brings Their Linux Driver To ARM
  3. NVIDIA Driver Soon Likely To Support EGL, Mir
  4. Gentoo Starts Work On KDE-Wayland Support
  5. OpenMandriva Goes Into Alpha Form, Russian-Based
  6. Planetary Annihilation Released For Linux Gamers
  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