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.

Latest Linux Hardware Reviews
  1. Mini-Box M350: A Simple, Affordable Mini-ITX Case
  2. Overclocking The AMD AM1 Athlon & Sempron APUs
  3. AMD Athlon 5350 / 5150 & Sempron 3850 / 2650
  4. Upgraded Kernel & Mesa Yield A Big Boost For Athlon R3 Graphics
Latest Linux Articles
  1. AMD OpenCL Performance With AM1 Kabini APUs
  2. A Quick Look At GCC 4.9 vs. LLVM Clang 3.5
  3. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
  4. AMD Athlon's R3 Graphics: RadeonSI Gallium3D vs. Catalyst
Latest Linux News
  1. R600 Gallium3D Disables LLVM Back-End By Default
  2. Fedora 21 Gets GNOME 3.12, PHP 5.6, Mono 3.4
  3. Fedora Workstation Is Making Me Quite Excited
  4. Maynard: A Lightweight Wayland Desktop
  5. Chromium Browser Going Through Growing Pains In Ubuntu 14.04
  6. KDE 4.13 Is Being Released Today With New Features
  7. Trying Out Radeon R9 290 Graphics On Open-Source
  8. Intel Broadwell GT3 Graphics Have Dual BSD Rings
  9. Early Linux 3.15 Benchmarks Of Intel Core i7 + Radeon
  10. Red Hat Releases Its RHEL 7 Release Candidate
  11. New Features Coming To Xubuntu 14.04 LTS
  12. NVIDIA Officially Releases CUDA 6
Latest Forum Discussions
  1. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  2. After Jack Keane, RuseSoft will briing Ankh 3 to Linux through Desura
  3. Change installation destination from home directory
  4. Updated and Optimized Ubuntu Free Graphics Drivers
  5. The GNOME Foundation Is Running Short On Money
  6. Bye bye BSD, Hello Linux: A Sys Admin's Story
  7. New tool for undervolt/overclock AMD K8L and K10 processors
  8. How to enable opengl 3.3 on r9 270?