Patreon Logo Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal Logo PayPal. You can also buy games using our partner links for GOG and Humble Store.
Latest Comments by awesam
Steam Beta adds Vulkan shader processing
30 May 2020 at 7:29 pm UTC Likes: 2

Quoting: catbox_fugue
Quoting: rkfgEdit: oh well, it says it right there, lol:
i dont know the benefit of using precompiled shaders honestly
and this makes me even more happy i disabled it.

steam needs to give the option to both
A) use precompiled shaders
and
B) OPT OUT of uploading/sharing
Have you noticed that some games may run at a high framerate like 100fps but then suddenly tank to 1fps for a second for no obvious reason? Well, that stutter/frame drop is often because your computer is doing shader compilation.

So what "shader pre-caching" option does, is that it shares the compiled shaders with Steam users. If anyone has previously played the game with the same GPU and driver version. Instead of your own computer having to compile the shaders while you are playing the game (there will be stutter/fps will tank while it is doing it), it will just use the precompiled downloaded shaders. Think of it like downloading pre-compiled software, instead of compiling everything yourself.

In my opinion, it is a bad idea to disable that option, even with a Threadripper CPU the stutter while playing a game during shader compilation is noticeable. But this highly depends on the game though, it is usually only in AA-AAA games this makes a noticeable difference.

I understand your concern not wanting to upload/share anything, I don't want either with my subpar broadband. The problem is just that if there was an option to opt-out, everyone would do it. This is a community feature basically, it only works if everyone using the feature shares. Think of it like torrents, you can't download anything if no one else is uploading :D

However, with that said, I think the new option to process shaders locally before running the game, should be possible to be enabled separately with the option to download/upload pre-compiled shaders. Maybe there is a technical reason why it is not, don't know :S:

Valve continues to improve Linux Vulkan Shader Pre-Caching
30 May 2020 at 6:59 pm UTC Likes: 1

Quoting: Guest
Quoting: AwesamLinux
Quoting: Guest
Quoting: 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/ [External Link]
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 :)
Maybe i'm missing something, but how can it knows in advance what shaders the game will need?
Do you have a source?
I don't understand how magic works myself and would like to see someone explain it in simple terms (Liam future article suggestion here :P )

But from my understanding, it uses Fossilize [External Link] to somehow explore/record/replay the pipelines without having to actually play the game. If one searches Fossilize you find only a couple of articles on GOL and Phoronix about it like this [External Link] for example.

I don't have better sources than that. But somehow it does work and is noticeable with certain games. Redout for example is so fast-paced it is easy to spot any stutter. With the background processing enabled the game is smooth on the very first run :)

Valve continues to improve Linux Vulkan Shader Pre-Caching
30 May 2020 at 4:58 pm UTC

I solved the issue with the background shader processing stalling at 0%, by uninstalling Steam and nuking the whole ".steam" folder the shadercache folder at where I have the Steam library. Then reinstalled Steam and the processing went without issues.

So the results are in, the TOP 10 games with the largest shader caches I currently have installed are:

261MB TEKKEN 7
204MB RESIDENT EVIL 2
198MB The LEGO NINJAGO Movie Video Game
176MB Street Fighter V
141MB Prey
131MB Vampyr
129MB A Plague Tale: Innocence
106MB SOULCALIBUR VI
89MB Planet Coaster
83MB Redout: Enhanced Edition

Not surprising to see TEKKEN 7 up there as it was a stutter fest :P

Valve continues to improve Linux Vulkan Shader Pre-Caching
30 May 2020 at 1:56 pm UTC Likes: 1

Quoting: Guest
Quoting: 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/ [External Link]
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 :)

Valve continues to improve Linux Vulkan Shader Pre-Caching
30 May 2020 at 1:31 pm UTC

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 [External Link]. 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?

Steam Beta adds Vulkan shader processing
29 May 2020 at 3:07 pm UTC

@tuubi I guess that is to be expected. Not a big deal but it takes a while with lots of games installed. So I will probably switch to using Mesa drivers that don't update daily :P

Steam Beta adds Vulkan shader processing
28 May 2020 at 9:25 pm UTC

Very exciting stuff, this will really help out with many recent AAA games. If I update the GPU drivers does it need to process all the shaders again?

Half-Life: Alyx now available on Linux with Vulkan
16 May 2020 at 10:39 am UTC

I had no interest in VR until seeing gameplay videos of Half-Life Alyx, because the shooting parts of it reminded me of classic on-rails light gun shooters. The appeal to me is aiming like a gun with a controller. Seriously I love classic light gun games like House of the Dead, Time Crisis, Space Gun, Mad Dog McCree, and Duck Hunt. A good on-rails VR shooter would have a lot of appeal to me.

I just duck²god this and looks I'm not the first one to have thought of this. I have to do some further research on if the index controllers can be used with emulators for old light-gun games, perhaps some people here already tried it? :)

Brilliant 2D racer 'Bloody Rally Show' has a big permanent price drop
23 Mar 2020 at 6:24 pm UTC

The game has had many updates since release, so for those that have not played it in a while may want to check it out again too :)

Steam Play Proton 5.0-5 is out with updated OpenVR, Vulkan and fixes
22 Mar 2020 at 1:51 am UTC

Quoting: iskaputt
Quoting: BoldosWonder when Doom: Eternal PROTON fix will come :D
If it is anything like DOOM (2016), then we'll probably have to wait some weeks for the DRM to be cracked and hopefully id patching it out.

To be honest though, I don't know anything about the situation of the new title.
Bethesda accidentally shipped DOOM Eternal together with an executable that did not have the Denuvo DRM protection, so they already did the job themselves. So at this point, they might just as well officially remove the DRM :D