[Linux?] Vulkan Shaders after EVERY update, don't generate in background and take a while regardless of patch size

BloodyIron

Member
I'm rocking Ubuntu Desktop 24.04, Ryzen 5800x, and an nVidia 4070.

Every time (no exception) Deadlock gets updated, no matter the size, I have to compile Vulkan Shaders at game launch. This doesn't seem to matter based on size of the patch, as even the smallest patches seem to trigger this. This is pretty annoying, and I bet there's room for efficiency improvement in Vulkan Shader Caching in each patch, as in maybe shaders are being cached that are redundant vs the previous patch.

But not only that, there's plenty of times when Deadlock will update while I'm doing things (which I want) but the Shaders will not cache in the background (despite STEAM being set to do that). So when I launch Deadlock (despite it being updated maybe hours ago) I have to compile the shaders _yet again_, when most of the time this should have already happened for me.

Now, I know it's a bit out-of-scope for this forum, but if we also had more STEAM controls for shader caching, that I think would be great too. As in, maybe a setting for "always generate shader cache after every update, immediately" (as opposed to waiting for the computer to be idle or other such logic), and maybe some settings for how much CPU gets used when doing background shader compiling (more or less, sometimes I would want it to use more CPU to complete faster, or sometimes I want less, or other people may have their own preferences too).

Anyways, this is more really about the Vulkan Shader Caching process for Deadlock probably benefiting from tuning. If there's anything I can do for testing, additional feedback, or other ways I can help with this, please let me know! I am a Linux IT vet/SME, so I bring a lot to the table.

Thanks!
 
If you are using GE-Proton, try switchin to regular one. I still get vulkan shaders every so often but not every game start and they no longer take 20 minutes
 
Yeah update today requiring I render shaders again, so far I'm at 70% after about 5 minutes of rendering... Why wasn't this compiling in the background again? I've been using this computer for about an hour and not doing gaming (working on other stuff). So the shaders really should have been crunching in the background. :(
 
Just disable shader cache in Steam settings. It's not needed
Steam -> Settings -> Downloads -> Shader Pre-Caching -> uncheck both options
 
Another day, another probably 5-10 minutes or so of shader compiling when launching the game... instead of when my computer was idling literally the whole night. 🤦
 
No. I need it for all the other games I play, that's an absurd recommendation to make. >:|
Need it for all other games? All games I've played in the last year I've not needed that setting to be on. In fact most games I've played lately works better without it, I say in the last year since it was about a year ago I got the suggestion to turn it off.
Games I've played lately:
  • Fallout 76
  • ASKA
  • Baldur's Gate 3
  • Deadlock
  • Diablo IV
  • The First Descendant
  • Icarus
  • Last Epoch
  • Nightingale
  • Once Human
  • Overwatch 2
  • Palia
  • Palworld
  • Pax Dei
  • V Rising
  • Conan Exiles
  • Counter Strike 2
  • Enshrouded
  • Warhammer 40k: Darktide
and more
 
Need it for all other games? All games I've played in the last year I've not needed that setting to be on. In fact most games I've played lately works better without it, I say in the last year since it was about a year ago I got the suggestion to turn it off.
Games I've played lately:
  • Fallout 76
  • ASKA
  • Baldur's Gate 3
  • Deadlock
  • Diablo IV
  • The First Descendant
  • Icarus
  • Last Epoch
  • Nightingale
  • Once Human
  • Overwatch 2
  • Palia
  • Palworld
  • Pax Dei
  • V Rising
  • Conan Exiles
  • Counter Strike 2
  • Enshrouded
  • Warhammer 40k: Darktide
and more

You're not going to convince me to turn it off. Please stop trying to convince me to turn off pre-compiling of shaders. I'm not interested and I know what I'm talking about for my case. You're not helping.
 
Why use a thing that should really be deprecated, or that Might only be needed for very low-end cards?
Stop harassing me on this. I am not turning it off. There are still games that benefit from it, and this thread isn't about proving that. It is about bringing attention to a completely different problem. You're completely derailing this thread, and I just want you to stop. Do I need to get vulgar for you to actually listen to me wanting you to stop?
 
WOOT latest update seems to have resulted in shaders compiling fully in the background! Thanks VALVe! :D I saw my computer processing them earlier while I was doing other things. Just launched the game and it came up immediately, no need to process shaders at launch >:D Yay!
 
Back
Top