Support us on Patreon to keep GamingOnLinux alive. This ensures we have no timed articles and no paywalls. Just good, fresh content! Alternatively, you can donate through PayPal, Flattr, Liberapay or Buy us a Coffee. You can also buy games using our partner links for GOG and Humble Store.

Valve continues to improve Linux Vulkan Shader Pre-Caching

By - | Views: 24,920

Recently we wrote about a new feature for Linux in the Steam Client Beta, where Steam can now sort out Vulkan shaders before running a game. With the latest build, it gets better.

The idea of it, as a brief reminder, is to prepare all the shaders needed for Vulkan games while you download and / or before you hit Play. This would help to stop constant stuttering seen in some games on Linux, mostly from running Windows games in the Proton compatibility layer, as native / supported Linux games would usually do it themselves. Just another way Valve are trying to get Linux gaming on Steam in all forms into tip-top shape.

Here's what's changed in the latest Steam Beta:

Linux Shader Pre-Caching

  • Added support for merging NVIDIA per-thread cache files after processing new Vulkan pipelines and after a game exits
  • Adjusted core count of background Vulkan pipeline processing to a quarter of logical cores by default
  • Changed processing tasks to idle priority
  • Updated Vulkan layer API version

Want to try out the latest Steam Beta? Go into Settings on Steam and it's on the first section you see:


Steam will then restart to do the update.

Will be great when this is rolled out to everyone, as it's a very clever way to get around the Proton shader stuttering issue using the open source Fossilize library and Vulkan layer.

Article taken from GamingOnLinux.com.
Tags: Beta, Steam, Update, Vulkan
47 Likes, Who?
We do often include affiliate links to earn us some pennies. We are currently affiliated with GOG, Humble Store and Paradox Interactive. See more here.
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.
See more from me
44 comments
Page: 1/5»
  Go to:

Lolo01 30 May
View PC info
  • Supporter Plus
I appreciate Steam's effort to improve the playing experience with Proton, even though I haven't seen any difference so far.
Has anyone noticed any improvements?
dpanter 30 May
Far from every title will benefit. You'll have to try something which suffered greatly, games like Warframe, Quake Champions, Path Of Exile to name a few.
I've heard reports of significant improvements in some cases. :)
I have seen substantial benefits in Remnants of the Ashes. You can see from mangohud that frame latency is consistent mostly now.

Before that, i used to have massive spikes in game due to shaders.


Last edited by cxpher@gmail.com on 30 May 2020 at 12:25 pm UTC
Brisse 30 May
Oh yes, I've noticed improvements, but as with most things YMMV.
Is this new feature of the Linux Steam client the answer to my question linked below?

https://www.reddit.com/r/linux_gaming/comments/gpnhr5/stuttering_due_to_shader_compilation_why_not_just/
Blaster-PR 30 May
in monster hunter world there is a big improvement on the first install
AwesamLinux 30 May
Anyone else having problems with the background processing getting stuck at 0% processing shaders with certain games?

I believe I triggered the issue by uninstalling a few games before the background process had completed all of them. I reported that on Valves github. As it kept trying to process an uninstalled game.

But now I think there is more to this than that, the background process is now stuck at 0% processing a game that I had not uninstalled. And uninstalling/reinstalling/launching the game makes no difference.

Is there some kind of queue for the background process that can be reset, so that it starts again from fresh? Or any ideas what is causing this?
Desperalaw 30 May
I really want to thank Valve for their efforts concerning Linux gaming.
Also, this new shader pre-caching/pre-compiling helped removing the stuttering I had in GTA IV, making the game smoother with DXVK.
kokoko3k 30 May
Laboratoryo_ni_NeilIs this new feature of the Linux Steam client the answer to my question linked below?

https://www.reddit.com/r/linux_gaming/comments/gpnhr5/stuttering_due_to_shader_compilation_why_not_just/
Nope.
It downloads precompiled shaders, but it does not precompile.
AwesamLinux 30 May
kokoko3k
Laboratoryo_ni_NeilIs this new feature of the Linux Steam client the answer to my question linked below?

https://www.reddit.com/r/linux_gaming/comments/gpnhr5/stuttering_due_to_shader_compilation_why_not_just/
Nope.
It downloads precompiled shaders, but it does not precompile.

There is a new "allow background processing of Vulkan shaders" option, that when enabled does appear to precompile :)
While you're here, please consider supporting GamingOnLinux on Patreon, Liberapay or Paypal. We have no adverts, no paywalls, no timed exclusive articles. Just 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!

You need to Register and Login to comment, submit articles and more.


Or login with...