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

Valve Funds Glassy Mesa Development For Better Driver Performance

Gaming

Published on 07 June 2014 07:59 PM EDT
Written by Michael Larabel in Gaming
52 Comments

Valve has funded work by LunarG on a project codenamed "Glassy Mesa" to deliver potential performance improvements on the open-source Mesa graphics driver stack.

Glassy Mesa is an experimental project using LunarGLASS for plugging LLVM into Mesa for shader compilation and run-time improvements. LunarGLASS originated back in 2010 as using LLVM IR as the base intermediate representation for the shader and kernel compiler stack. LunarGLASS has performance potential via taking advantage of LLVM's many optimization passes.

In its modern form, LunarGLASS is using the Glslang front-end and the LLVM compiler with additional modifications for making LLVM a worthwhile approach for shader compilation. This code replaces Mesa's existing parser and middl-end optimization layer. This "Glassy Mesa" approach allows any Mesa back-end that can take Mesa GLSL IR as input as beneficial to this technology, with the main driver under the microscope being Intel's i965 DRI driver and most testing being done form Haswell hardware.

In terms of the current state of Glassy Mesa, "Glassy Mesa has progressed to the point of running a trace from the game Left 4 Dead 2. Two different frames from this trace were 'randomly' chosen and integrated into a looping APITrace run to allow for FPS measurements on i965 Haswell. These measurements showed 15% and 22% decreases in frame time for the Glassy stack over the Classic stack, with the most complex frame showing the most improvement. Static cycle times gathered from the scheduler for all L4D2 shaders for both the Glassy and Classic stacks corroborate the improvements seen. While these results are by no means conclusive, they do suggest that this approach is promising and further development and study would be worthwhile."

Valve Funds Glassy Mesa Development For Better Driver Performance


The current state of the Glassy Mesa Git branch is still deemed a ways from being functionally complete and fully performant. Glassy Mesa has been worked on by one employee of LunarG for the past ten weeks via work contracted by Valve Software.

While this code is still under development and its ultimate fate is unknown (LunarG has told me Valve doesn't know yet whether it will ultimately ship with SteamOS or Steam Machines, etc), the code is available via this Valve Software SteamOS Mesa branch. More information on the LLVM-based Glassy Mesa can be found via LunarG.com and this fresh slide deck.

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. RunAbove: A POWER8 Compute Cloud With Offerings Up To 176 Threads
  2. 6-Way Ubuntu 14.10 Linux Desktop Benchmarks
  3. Ubuntu 14.10 XMir System Compositor Benchmarks
  4. Btrfs RAID HDD Testing On Ubuntu Linux 14.10
Latest Linux News
  1. openSUSE Factory & Tumbleweed Are Merging
  2. More Fedora Delays: Fedora 21 Beta Slips
  3. Mono Brings C# To The Unreal Engine 4
  4. Coreboot Now Has Support For Intel Broadwell Hardware
  5. Enlightenment's EFL 1.12 Alpha Has Evas GL-DRM Engine, OpenGL ES 1.1 Support
  6. GTK+ Lands Experimental Backend For Mir Display Server
  7. Ubuntu 14.10 Officially Released
  8. Mesa 10.4 Might Re-Enable HyperZ For R600g/RadeonSI
  9. Intel GVT-g GPU Virtualization Moves Closer
  10. GTK+ 3.16 To Bring Several New Features
Latest Forum Discussions
  1. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. Linux hacker compares Solaris kernel code:
  4. HOPE: The Ease Of Python With The Speed Of C++
  5. Advertisements On Phoronix
  6. Users/Developers Threatening Fork Of Debian GNU/Linux
  7. AMD Releases UVD Video Decode Support For R600 GPUs
  8. Proof that strlcpy is un-needed