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

Modern Intel Gallium3D Driver Proposed For Mainline

Mesa

Published on 16 April 2013 01:52 PM EDT
Written by Michael Larabel in Mesa
8 Comments

Early this morning I delivered benchmarks of the new Intel Gallium3D driver developed by a LunarG employee. Coincidentally, hours later, the developer has proposed merging this Gallium3D graphics driver for Sandy Bridge and Ivy Bridge hardware into mainline Mesa.

The "i965g-next" driver was started late last year and continues to be frequently worked on by Chia-I Wu. Checking in on it recently, there still was fresh Git activity, I decided to run some benchmarks comparing it to Intel's official Mesa "classic" DRI driver. The DRI driver is still a ways faster than this experimental driver.

To much surprise, Chia-I Wu has proposed merging the driver into mainline Mesa in "a day or two."

He's also re-based his driver atop Mesa master and cleaned-up the history, which implements the i965 Gallium3D hardware driver and Winsys over 24 patches. In terms of the Ivy Bridge "Gen7" support he says it's working but stencil buffer support is missing. He's also fixed up tons of bugs so that Piglit is able to pass 7999 of 8428 test cases. Unfortunately, his compiler back-end going from TGSI to the Intel instruction set is still "messy, missing some features, and non-optimizing."

In response to the proposed merging, Matt Turner wrote: "My only objection is over adding a driver that is explicitly a toy, the confusion it will cause users, and the developer time it will waste. It wasn't uncommon for a user to waste a nontrivial amount of someone's time in #intel-gfx only to discover that they were trying to use the (old) i965g driver that no one maintained. I think everything Marek said was correct. If you could extend Gallium to consume GLSL IR it might actually be an interesting project."

Intel's Kenneth Graunke also made similar comments within our forums. "If I had to hazard a guess [about the performance difference between the Gallium3D driver and i965 classic], I'd say it's because of the shader compiler backend. Note that it's TGSI-based and named "toy compiler": https://github.com/olvaffe/mesa/tree...rs/i965/shader Now that Gallium supports both TGSI and LLVM IR (i.e. more than one kind), it probably wouldn't be too hard to add support for GLSL IR and drop in the classic driver's compiler backend. Less than a week, I'd imagine."

Intel's Ian Romanick is also in similar standing about merging this alternative Intel open-source Linux graphics driver. "I agree. People had this problem with r300c vs r300g and i915 vs i915g. I'm not interested in reliving that."

Hopefully Chia-I Wu decides to at least optionally hook in support for the i965 Gallium3D driver to handle GLSL IR so it could be used in conjunction with Intel's classic Mesa shader compiler, which would indeed be very interesting for performance and comparison purposes. Regardless, this proposal is simply about merging the i965g driver and not about making it the default over the i965 classic Mesa driver, which is out of the question for the foreseeable future.

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 Linux Hardware Reviews
  1. The Power Consumption & Efficiency Of Open-Source GPU Drivers
  2. AMD R600g/RadeonSI Performance On Linux 3.16 With Mesa 10.3-devel
  3. Intel Pentium G3258 On Linux
  4. SilverStone Precision PS10
Latest Linux Articles
  1. Nouveau vs. Radeon vs. Intel Tests On Linux 3.16, Mesa 10.3-devel
  2. KVM Benchmarks On Ubuntu 14.10
  3. X.Org Server 1.16 Officially Released With Terrific Features
  4. Ubuntu With Linux 3.16 Smashes OS X 10.9.4 On The MacBook Air
Latest Linux News
  1. Debian 8.0 Jessie Is Settling For Linux 3.16
  2. Meson: A Next-Gen Build System Showing Promise
  3. Linux 3.16-rc7 Calms Things Down For The Linux 3.16 Kernel
  4. Open-Source AMD Users Report Hawaii GPU Acceleration Is Working
  5. Linus Torvalds On GCC 4.9: Pure & Utter Crap
  6. Cauldron 2014: GCC & LLVM Will Look To Collaborate More
  7. GCC Receives ACM Programming Languages Software Award
  8. KDE 4.14 Beta 3 Released
  9. A New Video Has Us Real Excited About The New UT For Linux
  10. CoreOS Experiences Its First Stable Release
Latest Forum Discussions
  1. ASRock AM1H-ITX: One Of The Best AM1 Mini-ITX Motherboards
  2. Debian + radeonsi
  3. Open-source drivers on ATI R7 260X
  4. Updated and Optimized Ubuntu Free Graphics Drivers
  5. Table test
  6. How To Setup Radeon DPM On Ubuntu Linux
  7. New build, first Linux PC, what could go wrong? ;)
  8. AMD "Hawaii" Open-Source GPU Acceleration Still Not Working Right