Steam for Linux

Steam for Linux

Meta Paradox Jun 29, 2024 @ 5:55pm
100% of my cpu compiling for hours in vulkan shader ache (everyday)
Do i really need to have shader cache? I dont find source to know exactly the difference to have on or off. If off means compile everything and lags sometimes beucase of that but just for the first time i 100% ok with that. can someone explain the difference to have on or off, or if have a option to use just in some games? (15gb download everyday i cant get it).

Sry but its been to much and thanks!
< >
Showing 1-5 of 5 comments
[GNU] Debian ☭ Jun 29, 2024 @ 6:15pm 
I use the shader's cache on (both things; to use it and to compile shaders when im not on
playing a game)...
To avoid using lots of cores/threads, there is a configuration for it...

On your steam folder (Check your distro... ...on debian, it is inside my home, in a dir called .steam/debian-installation/), create a file called:

steam_dev.cfg

Edit it and add the following line:

unShaderBackgroundProcessingThreads 8

Where 8 is the number of threads you want the compiling shaders to use... change it to fit your needs/your CPU... Mines' an old ass AMD Ryzen 9 3950X; i have 32 threads, so "just" 8 will not make my CPU go crazy.

About your question, on theory, if you pre-compiled your shaders, you'll have less stutterings while playing, cause you already compiled lots/all of 'em...

Specially useful on older gaming rigs, etc... Less time wasting resources while you are playing...

That's it; hope it helps you! <3
Last edited by [GNU] Debian ☭; Jun 29, 2024 @ 6:36pm
Meta Paradox Jun 29, 2024 @ 6:33pm 
Thx for the internet tips, so i have a very low budget CPU, so use less that i can its a good idea 8 (threads). 8 of 10 games compile fast and not give me headache later. but 2 of 10 games take hours and restart every day, has a problem with 15gb shader cache download. Its not the best option use so much of hard disk and internet on my actual scenario, out of this, its everything ok. Have a option to mark games to use and dont use (and dont download the cache without ask) its gonna be a good option.

For now i clear the cache and leave off.
Thiesen Jun 29, 2024 @ 11:00pm 
lol... my total shader cache is 12.69GB since April (when I switched to Linux Mint and installed Steam) and each download of shaders are like max 200MB and max like 5 per day...

What do you do to make the games compile for hours???

Oh... my /home is on its own seperate 4TB HDD... :-)

And btw... no stutters on anything...
Meta Paradox Jun 29, 2024 @ 11:07pm 
I dont have any stutters its normal, i have 23gb in total in less than 1 month. this 15gb its a update (not increase exaclty).
Warframe, A Hat in Time and Sekiro a games example that i played that take days to compile (warframe has a lot of forums relating exaclty this issue, and when finish , if restart pc need to redo all over again.

How i say before, its a case of some specific games.
Meta Paradox Jul 1, 2024 @ 1:03am 
Games like warframe its giant and compile for both DirectX
I have downloaded some games for test if i gonna use only Linux or dual boot in the beginning and for contribute in protonDB with tricks and other things for the test results.

But i still curious about how vulkan shader cache works, with someone know more about it or have a documentation its really gonna help me to get things done, its literally just shader cache or something to help the game be more "compatible"? I read a comment saying that some old videos and CGs only work with shader cache, but i cant confirm that yet.

For now 3 days without shader cache and without any problems.
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Jun 29, 2024 @ 5:55pm
Posts: 6