Steam for Linux

Steam for Linux

rado84 Aug 11, 2024 @ 7:12am
How do you force a game to recompile its shaders?
Preferably without deleting the whole compatdata? I found shader_cache in the prefix but deleting that didn't make the game recompile the shaders. There's some annoying graphical stuttering since the latest game update, so I wanna force it to recreate the shaders in the hopes that this will fix the stuttering.
< >
Showing 1-9 of 9 comments
DonMcK Aug 11, 2024 @ 7:36am 
Which game?
raystevens73 Aug 11, 2024 @ 7:43am 
Go to properties for the game and under updates I think that's the right one you will find the number for the game you are looking for. Then go to Your Steam Library install location and find the SHADERCACHE folder, just delete the numbered folder there for said game as there are many different cache files in different folders.
Under Steam setting in DOWNLOADS make sure the PRE-CACHE and ALLOW VULCAN DOWNLOADS are turned on.
rado84 Aug 11, 2024 @ 8:41am 
Originally posted by raystevens73:
Go to properties for the game and under updates I think that's the right one you will find the number for the game you are looking for. Then go to Your Steam Library install location and find the SHADERCACHE folder, just delete the numbered folder there for said game as there are many different cache files in different folders.
Under Steam setting in DOWNLOADS make sure the PRE-CACHE and ALLOW VULCAN DOWNLOADS are turned on.
In this path: "/compatdata/444200/pfx/drive_c/users/steamuser/AppData/Local/wotblitz/DAVAProject/shader_cache" there are no numbered folders, only numbered bin files. I looked into all possible directories and I couldn't find a single numbered directory, these bin files are the only things named with random numbers and characters.

https://i.imgur.com/fCksejU.png
lonesh33p Aug 11, 2024 @ 8:57am 
At this point, those in the know (not me!) will probably want to know whether you have shader pre-cache enabled in Steam Settings / Downloads. I don't know anything, but I suspect the steam location is different from that of your graphics driver.
Last edited by lonesh33p; Aug 11, 2024 @ 3:10pm
DonMcK Aug 11, 2024 @ 9:32am 
Have you got a folder under steamapps called something like shadercache?
raystevens73 Aug 11, 2024 @ 12:42pm 
Originally posted by rado84:
Originally posted by raystevens73:
Go to properties for the game and under updates I think that's the right one you will find the number for the game you are looking for. Then go to Your Steam Library install location and find the SHADERCACHE folder, just delete the numbered folder there for said game as there are many different cache files in different folders.
Under Steam setting in DOWNLOADS make sure the PRE-CACHE and ALLOW VULCAN DOWNLOADS are turned on.
In this path: "/compatdata/444200/pfx/drive_c/users/steamuser/AppData/Local/wotblitz/DAVAProject/shader_cache" there are no numbered folders, only numbered bin files. I looked into all possible directories and I couldn't find a single numbered directory, these bin files are the only things named with random numbers and characters.

https://i.imgur.com/fCksejU.png
It should not be in the COMPDATA folder, It should be in the STEAMAPPS in the place you find the compdata folder.
rado84 Aug 11, 2024 @ 1:25pm 
If I uninstall that same game and remove its compatdata directory and then some day I decide to install it again, it compiles its shaders from scratch. That's why I thought the shaders were in the prefix (compatdata).
I found shadercache in steamapps and deleted, I'll see now what happens when I run it.

Edit: nope, deleting that in steamapps nor deleting the shader cache in the prefix forced it to recompile the shaders.

F__k it, I give up! Tomorrow I'm going to another country on vacation, I'll deal with this BS when I come back.
Last edited by rado84; Aug 11, 2024 @ 1:27pm
Hi, did you find a solution ? I have deleted the shadercache folder but it does not work. Steam still thinks it has shaders.
placespell Feb 14 @ 11:17pm 
Originally posted by SaladCesar:
Hi, did you find a solution ? I have deleted the shadercache folder but it does not work. Steam still thinks it has shaders.
settings-downloads-disable shader cache and exit steam. after that open steam then enable shader cache, steam will re-cache games installed in your library
< >
Showing 1-9 of 9 comments
Per page: 1530 50