Don't want to see articles from a certain category? When logged in, go to your User Settings and adjust your feed in the Content Preferences section where you can block tags!
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 checked 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. You can also follow my personal adventures on Bluesky.
See more from me
The comments on this article are closed.
All posts need to follow our rules. For users logged in: please hit the Report Flag icon on any post that breaks the rules or contains illegal / harmful content. Guest readers can email us for any issues.
24 comments Subscribe
Page: 1/2»
  Go to:

dubigrasu 26 Jul 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 26 Jul 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 26 Jul 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.

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 26 Jul 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.

Why should this cause problems?

If you change video driver, the old cache should become invalid, get deleted and replaced.
Pecisk 26 Jul 2017
Also flatpak support is important.
Pecisk 26 Jul 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.

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 26 Jul 2017
Individual 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 26 Jul 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 26 Jul 2017
Can the shader cache shorten the everlasting startup of Deus Ex Manking Devided ?
dubigrasu 26 Jul 2017
Can 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).
dubigrasu 26 Jul 2017
[quote=DamonLinuxPL]
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...
Yes, many games were having the same problem, but it was painfully obvious on these two games because they were using "an insane amount of shaders" (Leszek own words).
For example, after initial launch I have only a 11MB cache for Borderlands, but 52MB for Painkiller and 104MB for Deadfall.


Last edited by dubigrasu on 26 Jul 2017 at 3:12 pm UTC
AskQuestionsLater 26 Jul 2017
Last time (the only time!) I started Deus Ex: Mankind Divided it took over 10 minutes (AMD FX8350, GeForce 1060) before getting to the menu. I played for 20 minutes and it crashed. So I started up Rocket League in less than 10 seconds and played that...
linuxjacques 26 Jul 2017
The beta from yesterday does not start on my Fedora 25 system.

Starting it from the command line shows a segfault and then uploading the crash dump to ... somewhere.

Not sure what's the best way to recover.
Vash63 26 Jul 2017
View PC info
  • Supporter
The beta from yesterday does not start on my Fedora 25 system.

Starting it from the command line shows a segfault and then uploading the crash dump to ... somewhere.

Not sure what's the best way to recover.

This is probably: https://github.com/ValveSoftware/steam-for-linux/issues/5099

Just remove the config.vdf file and make sure not to save your password until that bug is closed.
linuxjacques 26 Jul 2017
The beta from yesterday does not start on my Fedora 25 system.

Starting it from the command line shows a segfault and then uploading the crash dump to ... somewhere.

Not sure what's the best way to recover.

This is probably: https://github.com/ValveSoftware/steam-for-linux/issues/5099

Just remove the config.vdf file and make sure not to save your password until that bug is closed.

Thanks! That must be it. I'll try this when I get home.
LinuxGamesTV 26 Jul 2017
The beta from yesterday does not start on my Fedora 25 system.

Starting it from the command line shows a segfault and then uploading the crash dump to ... somewhere.

Not sure what's the best way to recover.

This is probably: https://github.com/ValveSoftware/steam-for-linux/issues/5099

Just remove the config.vdf file and make sure not to save your password until that bug is closed.

I have the same problem on opensuse Tumbleweed and remove the config.vdf file and make sure not to save your password don't works. I must delete the Steam folder and don't opt in the beta again.

I'm on Nvidia Driver 381.22, maybe i must update the driver.


Last edited by LinuxGamesTV on 26 Jul 2017 at 11:01 pm UTC
Seil0 27 Jul 2017
View PC info
  • Supporter Plus
The beta from yesterday does not start on my Fedora 25 system.

Starting it from the command line shows a segfault and then uploading the crash dump to ... somewhere.

Not sure what's the best way to recover.

This is probably: https://github.com/ValveSoftware/steam-for-linux/issues/5099

Just remove the config.vdf file and make sure not to save your password until that bug is closed.

I have the same problem on opensuse Tumbleweed and remove the config.vdf file and make sure not to save your password don't works. I must delete the Steam folder and don't opt in the beta again.

I'm on Nvidia Driver 381.22, maybe i must update the driver.
I had the same problem on tumbleweed, starting steam with STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 fixed the issue for me.
Xpander 27 Jul 2017
Last time (the only time!) I started Deus Ex: Mankind Divided it took over 10 minutes (AMD FX8350, GeForce 1060) before getting to the menu. I played for 20 minutes and it crashed. So I started up Rocket League in less than 10 seconds and played that...

woow 10 min is pretty insane, but yeah it took me 4 min to compile the shaders when there was game update or driver update on the first run. second run was much faster with 20 sec only. Dying Light has one also, but not that long, about 2 min on the first run
LinuxGamesTV 27 Jul 2017
...
...

...

I had the same problem on tumbleweed, starting steam with STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 fixed the issue for me.

Ok i will try it.

[Edit]

Ok this will work. Thx.

[/Edit]


Last edited by LinuxGamesTV on 27 Jul 2017 at 12:48 pm UTC
BlackBloodRum 27 Jul 2017
  • Supporter Plus
Well, that was a fun update!

Updated my Fedora 26 (last updated a week or so prior to full release) and poof steam dead.

Thankfully running this worked:
$ export STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0
$ steam

Thanks for the tip guys!
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.
Buy Games
Buy games with our affiliate / partner links: