Steam Ironing Out Shader Pre-Caching For Helping Game Load Times, Stuttering

Written by Michael Larabel in Valve on 30 May 2020 at 06:29 AM EDT. 16 Comments
VALVE
Valve developers have been working on Vulkan shader pre-caching with their latest Steam client betas to help in allowing Vulkan/SPIR-V shaders to compile ahead of time, letting them be pre-cached on disk to allow for quicker game load times and any stuttering for games that otherwise would be compiling the shaders on-demand during gameplay, especially under Steam Play.

This Vulkan shader pre-caching is the culmination of other Linux graphics infrastructure work they have been engaged on in recent months with their Fossilize project and RADV secure compile support.

This shader pre-caching is an opt-in feature in the latest betas as it will spin up the extra work ahead of time. With the latest beta released on Friday now is threaded cache handling for the NVIDIA proprietary graphics driver, the Vulkan pipeline processing that happens in the background will now default to using a quarter of the logical CPU cores (thread count) by default, the priority of the tasks has been lowered, and the Vulkan API version updated.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week