Every article tag can be clicked to get a list of all articles in that category. Every article tag also has an RSS feed! You can customize an RSS feed too!
We do often include affiliate links to earn us some pennies. See more here.
An interesting SteamOS update just before and now it's time for the Steam Client Beta! Valve have been putting in the effort lately for sure.

Here's the relevant bits from the changelog for us:
  • Updated STEAM_RUNTIME_PREFER_HOST_LIBRARIES logic to still prefer Steam Runtime libraries if they are more recent than the host system
  • Updated Vulkan loader in Steam Runtime to version 1.0.54, which provides all the extensions currently needed for SteamVR
  • Added support for shader cache management on supported drivers (Mesa 17.1 and NVIDIA 381.26.08 or 384.59). Shader caches for games launched by Steam are placed in separate folders next to their Steam Library folder and are deleted when each game is uninstalled, or when switching drivers or graphics cards. Individual shaders are tracked and catalogued by the Steam servers in preparation for distributing pre-compiled shaders. This tracking can incur slight additional bandwidth use. The system can be disabled by setting the environment variable STEAM_ENABLE_SHADER_CACHE_MANAGEMENT=0

They also fixed an issue with the Steam client becoming sluggish, if it couldn't connect to their error and crash-reporting servers.

The new shader cache system they have sounds rather interesting for sure. A lot of games have a slightly longer loading time on the first run (or whenever you update your drivers) as they setup a shader cache. You can also experience lots of stuttering in games when entering a new area, as it builds it up. It sounds like now, Valve will ship pre-warmed shaders for games. Useful for SteamOS, since they generally control the driver versions and it could help loading time and performance on SteamOS directly. It doesn't just affect SteamOS though, since this is in the actual Steam client itself. I'm sure if I'm wrong on this, you will happily point it out in the comments. Article taken from GamingOnLinux.com.
Tags: Beta, Steam
24 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly. Find me on Mastodon.
See more from me
The comments on this article are closed.
25 comments
Page: 1/3»
  Go to:

dubigrasu Jul 26, 2017
The shader cache seems to be working pretty good. At least two games were suffering greatly from these long loading times; Deadfall Adventures and Painkiller.
You'll still need to build the shader cache at the very first launch, but this time the shader cache is kept and no longer deleted when you reboot.
Borderlands 2 seem to be also benefit from this.
M@GOid Jul 26, 2017
I hope they keep this behavior for SteamOS, because I believe it can cause problems on a conventional distro were users are costumed in changing video drivers all the time.
DamonLinuxPL Jul 26, 2017
Quoting: dubigrasuThe shader cache seems to be working pretty good. At least two games were suffering greatly from these long loading times; Deadfall Adventures and Painkiller.
You'll still need to build the shader cache at the very first launch, but this time the shader cache is kept and no longer deleted when you reboot.
Borderlands 2 seem to be also benefit from this.

Yes, I remember when Leszek Godlewski released Painkiller for Linux. In early loading time takes ages especialy on AMD GPU... on NVIDIA faster but still too long. After patch it load much faster but still longer than other games. First game launch even now takes much times. But this is not game issue but UE3... and AMD because compilation shaders on amd gpu in this tame is very hardly. Now should be better.

So good idea to have it.
Teal Jul 26, 2017
Quoting: M@GOidI hope they keep this behavior for SteamOS, because I believe it can cause problems on a conventional distro were users are costumed in changing video drivers all the time.

Why should this cause problems?

If you change video driver, the old cache should become invalid, get deleted and replaced.
Pecisk Jul 26, 2017
Also flatpak support is important.
Pecisk Jul 26, 2017
Quoting: M@GOidI hope they keep this behavior for SteamOS, because I believe it can cause problems on a conventional distro were users are costumed in changing video drivers all the time.

Cashing is done on per card basis, also when new driver comes, it is discarded.

Also people don't really change drivers that much.
Ardje Jul 26, 2017
QuoteIndividual shaders are tracked and catalogued by the Steam servers in preparation for distributing pre-compiled shaders.
Wow, they can actually go ahead an make the biggest distributed (shader) compiler (cache) on the world... Just hash and upload the hashes and binaries, and those with the highest matching scores can be used by others (to prevent foul play).
elmapul Jul 26, 2017
". Shader caches for games launched by Steam are placed in separate folders next to their Steam Library folder and are deleted when each game is uninstalled, or when switching drivers or graphics cards. Individual shaders are tracked and catalogued by the Steam servers in preparation for distributing pre-compiled shaders. This tracking can incur slight additional bandwidth use. The system can be disabled by setting the environment variable STEAM_ENABLE_SHADER_CACHE_MANAGEMENT=0"

Shader cache, in other words, once the game was loaded once, it will run (or load( faster the next time you play, right?

" Individual shaders are tracked and catalogued by the Steam servers in preparation for distributing pre-compiled shaders."
in other words, if someone already played the game on your video card , you will not need to run it once, to make it faster the next time, since someone already did that.

i got it right?
TheBard Jul 26, 2017
Can the shader cache shorten the everlasting startup of Deus Ex Manking Devided ?
dubigrasu Jul 26, 2017
Quoting: TheBardCan the shader cache shorten the everlasting startup of Deus Ex Manking Devided ?
For the very first launch, I doubt it. Feral was already using for their games a shader cache management of their own (ex: in .local/share/feral-interactive/Deus Ex Mankind Divided/driver-gl-shader-cache).
Interesting though, now is no longer used (as in gl-shader-cache is no longer created and the steam one used instead).
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.