Show Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 18+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phoronix Premium.
Nouveau NVC0 Shader Disk Cache Lands For Speeding Up Game Load Times
Mark Menzynski who is part of the Red Hat crew working on the open-source Nouveau driver finally saw his shader disk caching patches merged.
This allows bypassing shaders from being recompiled on subsequent game/application loads if the shader cache keys match and the comparison test passes.
This leads to much faster load times - when Mark was testing a "bunch of shaders" it went from taking over three minutes to now just 23 seconds thanks to being able to avoiding the expensive recompilation process.
The code is enabled by default for the NVC0 driver in Mesa Git ahead of next quarter's Mesa 20.3 release. The other common Mesa drivers have been making use of this on-disk shader cache for some time to great success particularly for frequent Linux gamers.