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. ROCCAT LUA: A Linux-Friendly Gaming Mouse
  2. Cheetah Mounts: The Affordable Way To Put Your TV On The Wall
  3. Scythe Mugen MAX
  4. Intel Core i7 5960X Haswell-E On Linux
Latest Linux Articles
  1. Preview: Radeon Gallium3D Performance For CS:GO On Linux
  2. XWayland Linux Gaming Performance With GNOME Wayland On Fedora 21
  3. EXT4/Btrfs/XFS/F2FS Benchmarks On Linux 3.17
  4. Fedora 21 Alpha First Impressions: It's Great
Latest Linux News
  1. Operating System U Fails To Live Up To Its Goals
  2. AMD Catalyst 14.9 Officially Released For Linux
  3. Nouveau Memory Re-Clocking Comes For More NVIDIA GPUs
  4. NVIDIA Suggests Explicit Synchronization For Nouveau
  5. Adobe Brings Streaming Photoshop To Chromebooks
  6. OverlayFS Proposed For The Linux 3.18 Kernel
  7. NVIDIA To Issue An Update On Their Support Of Mir & Wayland
  8. NVIDIA Is Still Working On The New Linux OpenGL ABI
  9. Intel Haswell HD Graphics With CS:GO On Linux
  10. The Most Dominating Linux Stories Of Q3'2014
Latest Forum Discussions
  1. New AMD Catalyst drivers out today
  2. NVIDIA Alerts Nouveau: They're Starting To Sign/Validate GPU Firmware Images
  3. Updated and Optimized Ubuntu Free Graphics Drivers
  4. Take the Steam Survey results with a grain of salt. It is flawed.
  5. FSF Issues Statement On Shellshock Bash Vulnerability
  6. AMD Wants To Know What's Wrong With Catalyst
  7. New Group Calls For Boycotting Systemd
  8. Counter-Strike: Global Offensive NVIDIA/AMD Benchmarks On Linux