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. MSI X99S SLI PLUS On Linux
  2. NVIDIA GeForce GTX 970 Offers Great Linux Performance
  3. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  4. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
Latest Linux Articles
  1. Open-Source Radeon 2D Performance Is Better With Ubuntu 14.10
  2. RunAbove: A POWER8 Compute Cloud With Offerings Up To 176 Threads
  3. 6-Way Ubuntu 14.10 Linux Desktop Benchmarks
  4. Ubuntu 14.10 XMir System Compositor Benchmarks
Latest Linux News
  1. Dead Island GOTY Now Available On Linux/SteamOS
  2. Ubuntu 14.04 In The Power8 Cloud From RunAbove
  3. KDE With Theoretical Client-Side Decorations, Windows 10 Influence
  4. Sandusky Lee: Great Cabinets For Storing All Your Computer Gear
  5. Fedora 21 Beta & Final Release Slip Further
  6. Mesa 10.3.2 Has A Couple Bug-Fixes
  7. RadeonSI/R600g HyperZ Support Gets Turned Back On
  8. openSUSE Factory & Tumbleweed Are Merging
  9. More Fedora Delays: Fedora 21 Beta Slips
  10. Mono Brings C# To The Unreal Engine 4
Latest Forum Discussions
  1. Updated and Optimized Ubuntu Free Graphics Drivers
  2. HOPE: The Ease Of Python With The Speed Of C++
  3. Use Ubuntu MATE 14.10 Make it an official distro.
  4. Users/Developers Threatening Fork Of Debian GNU/Linux
  5. Debian Is Back To Discussing Init Systems, Freedom of Choice
  6. AMD Radeon VDPAU Video Performance With Gallium3D
  7. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release
  8. Linux hacker compares Solaris kernel code: