Valve's got a new shader compiler for AMD GPUs ready for testing
Valve's "open-source graphics group" has been working on an alternative to the LLVM shader compiler currently used by all free graphics drivers. Their ACO shader compiler, specific to AMD hardware, has now reached a level of performance, stability and maturity where Valve feels comfortable asking for public feedback and testing.
Linux's dwindling market-share on Steam has in no way discouraged it's owner Valve from investing millions in the Linux ecosystem. Their alternative shader-compiler code-named ACO, specific to AMD GPUs, is one fruit of that effort.
Why would they do this?
The Low Level Virtual Machine (LLVM) Mesa is currently using for shader compilation was written with an entirely different purposes in mind. It is a huge project with a massive code-base and that projects goals that are not graphics-related. That Mesa uses LLVM for shader compilation has more to do with the fact that LLVM is there and capable of doing it than it has to do with it's performance compiling shaders and the compiled shaders performance.
A very long blog-post written by Valve asset Pierre-Loup A. Griffais tells the tale of how Valve's "open-source graphics group" decided to write their own shader compiler with only gaming in mind to see how that would compare with the current LLVM solution. The source code is now publicly available at Microsoft Github.
The numbers Valve shared indicate that shader compile times are almost halved compared to LLVM. In game performance on the other hand is barely faster. Put differently, you will get faster game loading times and 2 more frames per second.
Valve's posted some a message about it's ACO shader compiler on the Mesa mailing list titled "ACO: A New Compiler Backend for RADV". There is a long way from that to actual inclusion in the Mesa driver Linux distributions ship. It will take time but it will happen:
"We'd like to upstream ACO as experimental driver option to ease development synchronization, get more feedback, but ultimately also to give access to the performance enhancements we achieved."
Valve's looking for testers
steamcommunity.com has detailed ACO testing instructions for Ubuntu and something called "arch".
published 2019-07-04 - last edited 2019-07-04
Latest Gaming News
- Warzone 2100 3.3 released with better graphics and high resolution monitor support
- Drift Into Eternity now available for Linux on Steam
- Linux Steam market share is on the rise
- New Steam Clients Available with Faster Game Downloads
- Wine 4.12 released with Support for Plug and Play devices drivers and Multi-Monitor Setups
Latest News Headlines
- Firefox will do monthly releases starting next year
- Richard Stallman has resigned from his position as president of the Free Software Foundation
- Linux Kernel 5.3 is released
- Linux Kernel 5.3 rc8 is released and 5.3 final is coming soon