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. Trying The Configurable 45 Watt TDP With AMD's A10-7800 / A6-7400K
  2. Sumo's Omni Gets Reloaded
  3. AMD A10-7800 & A6-7400K APUs Run Great On Linux
  4. Radeon Gallium3D Is Running Increasingly Well Against AMD's Catalyst Driver
Latest Linux Articles
  1. Open-Source Radeon Graphics Have Some Improvements On Linux 3.17
  2. CPUFreq Scaling Tests With AMD's Kaveri On Linux 3.16
  3. Enabling HyperZ Is Still An Easy Way For Faster RadeonSI Performance
  4. AMD Kaveri: Catalyst vs. RadeonSI Gallium3D On Linux
Latest Linux News
  1. GNOME 3.14 Beta Makes GLSL Optional, Supports Wayland Gesture/Touch Events
  2. KDE Software Compilation 4.14 Released
  3. The Many Things You Can Build With A Raspberry Pi
  4. AMD's Catalyst Linux Driver Preparing For A World Without An X Server?
  5. Khronos Publishes Its Slides About OpenGL-Next
  6. Qt5 Will Now Support LGPLv3 Modules
  7. Proposed: A Tainted Performance State For The Linux Kernel
  8. Systemd 216 Piles On More Features, Aims For New User-Space VT
  9. Mesa 10.2.6 Has Plenty Of OpenGL Driver Bug Fixes
  10. LXQt 0.8 Is Being Released Soon
Latest Forum Discussions
  1. Remote gui not accessible in Phoronix Test Suite 5.2
  2. The dangers of Linux kernel development
  3. Dead Island for Linux (?)
  4. Updated and Optimized Ubuntu Free Graphics Drivers
  5. AMD Offers Mantle For OpenGL-Next, Pushes Mantle To Workstations
  6. Next-Gen OpenGL To Be Announced Next Month
  7. OpenGL 4.5 Released With New Features
  8. Updated graphics drivers for Ubuntu 12.04 Precise LTS