• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.
  • The forums have been upgraded with support for dark mode. By default it will follow the setting on your system/browser. You may override it by scrolling to the end of the page and clicking the gears icon.

Latest Steam Client Beta Introduces Shader Pre-Caching for Games

Raevenlord

News Editor
Joined
Aug 12, 2016
Messages
3,755 (1.17/day)
Location
Portugal
System Name The Ryzening
Processor AMD Ryzen 9 5900X
Motherboard MSI X570 MAG TOMAHAWK
Cooling Lian Li Galahad 360mm AIO
Memory 32 GB G.Skill Trident Z F4-3733 (4x 8 GB)
Video Card(s) Gigabyte RTX 3070 Ti
Storage Boot: Transcend MTE220S 2TB, Kintson A2000 1TB, Seagate Firewolf Pro 14 TB
Display(s) Acer Nitro VG270UP (1440p 144 Hz IPS)
Case Lian Li O11DX Dynamic White
Audio Device(s) iFi Audio Zen DAC
Power Supply Seasonic Focus+ 750 W
Mouse Cooler Master Masterkeys Lite L
Keyboard Cooler Master Masterkeys Lite L
Software Windows 10 x64
The latest update for the Steam software brought with it an important new addition for the quality of life of gamers under the Linux or Windows suns everywhere: persistent shader caches for games. In the latest change-log, users are treated to the following message: "New feature: Shader Pre-Caching. Whenever possible, depending on hardware and driver support, Steam can download pre-compiled shaders for your specific video card. This reduces load times and in-game stuttering during the first few launches of OpenGL- and Vulkan-based games on supported hardware. This feature may use a small amount of additional bandwidth as Steam uploads and analyzes a shader usage report after each run of the game. The feature can be disabled via a new entry in the Settings dialog.

Under Steam Settings, you'll find a new Shader Pre-Caching item. The description reads as follows: "Shader Pre-Caching allows Steam to download pre-compiled GPU shaders matching your system configuration. This allows Vulkan and OpenGL games to load faster and improve framerate stability during gameplay. If enabled, Steam will collect shaders from your system when needed. Enabling this feature may slightly increase disk and bandwidth usage."





There's also a handy counter for you to know exactly how many MB are being used by the Shader Pre-Caching feature. If you have a capped bandwidth internet service, however, you'd do well to pay particular attention to this feature, lest it eats through your available data cap. However, users should be met with decreased loading times, and a more stable framerate as instances where shaders must be loaded in new areas will be reduced. All in all, it's always better to actually have the option to enable this feature than not having it altogether.

Shader Pre-Caching is nothing new, and is even part of Microsoft's DX12 specification. However, it would seem that this Windows feature was missing enough code for OpenGL and Vulkan games that Steam decided to take the matter into their own hands through this baking-in in the Steam client. At the same time, with DX12 games dwindling in number and becoming few and far between with sometimes questionable games over their previous incarnations, the Steam Shader Pre-Caching stands to pick up the shader cache slack in older API's.



View at TechPowerUp Main Site
 
Don't NVIDIA and AMD both do shader caching already?
 
Don't NVIDIA and AMD both do shader caching already?
Raven is just late to the party - shader pre-load has been in the Steam beta since at least november. This is Steam allowing you to download pre-compiled shaders so that the first game start is fast and smooth.
 
how is this superior/different to whats in the AMD and NV drivers?
 
Raven is just late to the party - shader pre-load has been in the Steam beta since at least november. This is Steam allowing you to download pre-compiled shaders so that the first game start is fast and smooth.

But it's literally only on the first start. It's why it's called shader cache. It generates shaders on first run and saves them for later. Is that single first run really that problematic?
 
But it's literally only on the first start. It's why it's called shader cache. It generates shaders on first run and saves them for later. Is that single first run really that problematic?

Shaders are not part of the code that you write for your graphics generating program. Shaders are written and stored into external files and are read and loaded into the program's memory at a specific point. This read from disk and write to memory operation is typically pretty time consuming but you can't avoid this. They also have to be compiled the first time (traditionally), this where the time saving takes place.
 
Last edited:
I can not find offline installers for Steam, Firefox, Spotify! It doesn't find my limited 4G internet and updates AddOns . And some games don't open whit no internet!
 
just when im trying to find some breath of the wild new shader caches '__'
 
"Latest Steam Client Beta"

Capture.PNG


My Steam just updated and I see this new "Shader Pre-Caching" option, I didn't sign up for Steam Beta though....
 
just quit pubg and got the update that offers the shader cache, so its definitely in the stable build for everyone now
 
Just opened steam and it seems to be in stable build indeed
1513257485082.png
 
only for openGL and vulkan, it seems
 
This is not going to affect performance during gaming, any game which compiles shaders during rendering would be fatally flawed and suffer terrible performance.

As several have already mentioned, both AMD and Nvidia employ a shader cache, so this feature would only be relevant for drivers like Mesa and Intel(?). What a waste…
 
This is not going to affect performance during gaming, any game which compiles shaders during rendering would be fatally flawed and suffer terrible performance.

As several have already mentioned, both AMD and Nvidia employ a shader cache, so this feature would only be relevant for drivers like Mesa and Intel(?). What a waste…


Both NV and AMD generally only STORE the cache once built to improve future performance, this downloads the cache so its already built and first time performance is as good as can be. Its like when Physx precooks a lot of the rendering and other stuff, but without the performance hit for non-NV users.
 
Both NV and AMD generally only STORE the cache once built to improve future performance, this downloads the cache so its already built and first time performance is as good as can be. Its like when Physx precooks a lot of the rendering and other stuff, but without the performance hit for non-NV users.
The shader cache doesn't impact performance, just loading times.
 
This looks more like a change geared towards steam on linux.
 
This looks more like a change geared towards steam on linux.

completely agreed on that, they made it for linux/steamOS (maybe VR related?) and just ported it to windows as an afterthrought
 
completely agreed on that, they made it for linux/steamOS (maybe VR related?) and just ported it to windows as an afterthrought
If you already have the profiles setup for linux, why not use them in windows. Steam is already setup for it. Maybe it will help some edge case player who had bad performance and didn't know why.
 
Back
Top