109

Title. I always skip them and don't notice any detrimental effects at all. I used to let them run every time, but I don't want to wait 5 minutes for every patch update bug fix anymore

top 37 comments
sorted by: hot top controversial new old
[-] gegil@sopuli.xyz 74 points 1 week ago

Skipping vulkan shader compilation in steam will instead make shaders compile at runtime when game is running. You usually will not notice any issues, but if the game is grafically intensive and it suddenly has to load shaders which was not yet compiled, you will see the lags or stutters when they first appear. Also, depending on the hardware, game performace may be reduced while shaders are being compiled.

[-] Zarobi@aussie.zone 28 points 1 week ago

So basically, depending on the game, it's mostly fine to skip, but sometimes it's not, and if you have issues, try letting it compile?

[-] rtxn@lemmy.world 32 points 1 week ago* (last edited 1 week ago)

(edit) To be clear, I'm not an expert, and it's been at least a decade since I've had to work with shader programming. My knowledge could be completely outdated.


Important to note that what happens when you skip it is exactly what happens with most games when you run them outside Steam (unless the game itself precompiles its shaders on first launch).

When the graphics library (Vulkan, OpenGL, or DirectX) needs to load a shader, it first checks the shader cache (or pipeline cache in Vulkan's case) to see if it can find the compiled bytecode. If the bytecode exists (hit), it is loaded directly into VRAM, much like the machine code of an executable. If it doesn't (miss), the shader first has to be compiled from its source code into bytecode. This is a CPU-bound operation, which can introduce performance issues (stutters, freezes) and spike the CPU usage. After that, the resulting bytecode is stored in the cache.

Steam does the same, but preemptively. It scans the game files and compiles and caches any shaders it can find. The difference is only in the timing.

[-] ramble81@lemmy.zip 7 points 1 week ago

Pretty much. I was playing BotW on an emulator that was using Vulkan and as I ran into new areas, or new enemies appeared it would stutter as things were compiling (it also has a debug option to tell me when new shaders were being compiled so I knew that’s what it was). I eventually switched to pre-compile. It took about 10 minutes, but after that everything ran silky smooth.

[-] Screen_Shatter@lemmy.world 2 points 1 week ago

Thats my anecdotal experience, yes. God of War Ragnarok is nice enough to show it happening in the corner and it made it very apparent why I would get stuttering until it was mostly complete.

[-] klankin@piefed.ca 48 points 1 week ago* (last edited 1 week ago)

Theres a hidden option to make it multi core, which (on a machine like a threadripper) can insanely speed up the process.

edit: here's a fourm post describing how to

[-] sp3ctr4l@lemmy.dbzer0.com 6 points 1 week ago* (last edited 1 week ago)

Well holy shit I didn't know that existed!

Presumably they... don't have it GUI exposed because they don't want to give the average user the ability to potentially fully lock up their CPU and totally crash their PC?

[-] Zarobi@aussie.zone 6 points 1 week ago

Do you know where this option is?

[-] stringere@sh.itjust.works 12 points 1 week ago

Same instructions from the other link posted, different source: https://forum.zorin.com/t/speeding-up-steam-shader-processing/50008

1. Navigate to ~/.steam/steam (This should be a symlink to wherever your Steam install is located). If the folder has a steam.sh then it is the correct folder.
2. Make a file called steam_dev.cfg
3. In that file put: unShaderBackgroundProcessingThreads x
4. Replace X with the number of threads to use. (See below.)
5. Save the file and restart Steam if it was running.

For X, modern processors generally support two threads a core. If you're using a 4 core processor, you could have 8 simultaneous threads. if you're using an 8 core, 16, etc. You don't want to use that number for X though, or Steam may hog your CPU enough to make your system sluggish. The original poster recommends your max threads, minus 4 to 6. I'm using 10 out of 16 threads, personally.

As the Reddit thread notes, despite the name of the setting, it does work for foreground processing as well as background. One thing the thread doesn't warn about is that if you keep Steam open and a game updates, Steam may start working on these in the background, if you have background shader processing turned on. If you're doing CPU intensive work, you may want to close Steam or turn off background shader processing to keep Steam from monopolizing your CPU.

[-] thingsiplay@lemmy.ml 6 points 1 week ago

I always had 4 fossilize_replay processes running when Shaders where being compiled. So I assume the default value is 4. I've created this file with a value of 12 now, to see if this makes a difference. Thank you both of you for posting and also copying the instructions to preserve them.

[-] stringere@sh.itjust.works 2 points 1 week ago

Hope it helps!

[-] Kjell@lemmy.world 2 points 1 week ago

I tried it and it loads a lot faster, thanks!

[-] stringere@sh.itjust.works 2 points 1 week ago

Happy to hear it worked for you!

[-] klankin@piefed.ca 11 points 1 week ago

Whoops, yeah should have probably put a link in the main thing,

here's a fourm post describing how to

[-] Hamartiogonic@sopuli.xyz 6 points 1 week ago

I think mine was on by default. It maxes out the CPU for several seconds.

[-] LiveLM@lemmy.zip 1 points 1 week ago

Bruh, they need to make this a toggle in the settings

[-] skyline2@lemmy.dbzer0.com 31 points 1 week ago

There is an option in Steam to allow Vulkan shader compilation in the background when you start Steam. I do that, so most times they have already compiled by the time I go to start a game

[-] Zarobi@aussie.zone 5 points 1 week ago

I remember I had problems with that for some reason and turned it off, but I've forgotten what those problems were… I think it was lagging games by updating in the background or something

[-] prole 8 points 1 week ago

There is a setting to pause downloads while playing a game

[-] Zarobi@aussie.zone 5 points 1 week ago

I still had issues, even with that setting… Damn my terrible memory — why can I only remember that I had problems, not what the problems were? 😂

[-] Simon_Shitewood@lemmy.ml 5 points 1 week ago

Was it CPU use/overheating? Steam will use all available resources doing the shader compilation, so when I start steam it jumps to around 100% use for a few minutes while compiling the shaders - I can use other programs in that time, but they're noticeably more laggy.

[-] Fishcake 21 points 1 week ago

The CachyOS wiki gaming setup page (which is great even if you aren’t on CachyOS) recommends turning off shader pre-caching and increasing your maximum shader cache size if you’re using Proton-GE, Proton-EM, or Proton-CachyOS. Never had an issue other than the occasional small stutter when I enter a new area for the first time. https://wiki.cachyos.org/configuration/gaming/#pre-caching-shaders-with-proton-cachyos--ge-and--em

[-] PonyOfWar@pawb.social 11 points 1 week ago* (last edited 1 week ago)

Usually not, but for some games it takes ages and I do end up skipping them. For example with Deadlock it took like 30-45 minutes after every update. Started skipping it at some point and never noticed any difference in performance.

[-] CarbonIceDragon@pawb.social 8 points 1 week ago

Ive found games often dont start if I let it finish, and wont until I restart steam, but if I skip them ive noticed no detrimental effects. No idea why

[-] JelleWho@lemmy.world 6 points 1 week ago

For Enschouded it uses all cores before skipping, but only 2 when skipped. So I generally press launch and then set up everything else. And then press skip later when I'm ready to play

[-] stringere@sh.itjust.works 5 points 1 week ago

Every time now. Doesn't seem to matter.

[-] Hamartiogonic@sopuli.xyz 4 points 1 week ago

It’s a CPU thing. Most games tend to require lots of GPU and very little CPU. Compiling shaders during runtime is usually fine.

[-] stringere@sh.itjust.works 4 points 1 week ago

I used to let them complete but when I discovered the negligible difference I stopped. Crimson Desert helped cement that decision because Steam would compile them then the game would do sp after ot started.

[-] truthfultemporarily@feddit.org 5 points 1 week ago

Its fine as long as you don't blame the dev for the stuttering. 😄

[-] Zarobi@aussie.zone 0 points 1 week ago
[-] Canadian_Cabinet@lemmy.ca 5 points 1 week ago

That's funny because I always let it compile before playing. Maybe it's because the games I play dont get updates constantly but I really only see it when I play a game for the first time.

[-] shweddy@lemmy.world 5 points 1 week ago

I was just wondering this yesterday. I read that for some it takes up to an hour and that made me realize my 5 minute wait time wasn't so bad. I do skip every now and then and haven't noticed any detrimental effects.

[-] QuadratureSurfer@piefed.social 5 points 1 week ago

Definitely depends on the game. For something like StarCitizen, there's a small bar at the bottom when shaders are compiling for letting you know the status. There is a noticeable improvement in game performance once the shaders have completed compiling.

[-] K3can@lemmy.radio 3 points 1 week ago

Yep.

Never noticed a difference, myself.

[-] FoxAlive@lemmy.zip 3 points 1 week ago

Yes. If I don't sometimes the game gets studdery.

Also depends on the game, deadlock takes like 10 minutes to compile shaders for some reason. Other games I'm never going to notice a studder, or it doesnt matter gameplay wise so I'll skip and let it do it on the fly.

[-] 16mhz@lemmy.ml 2 points 1 week ago

I actually disable shader compilation in the settings, i dont notice a difference.

[-] mnemonicmonkeys@sh.itjust.works 1 points 1 week ago

I get the popup whenever I "start" Skyrim, which I have routing to Mod Organizer 2. Not having to wait 5 minutes would be great

this post was submitted on 14 Jul 2026
109 points (100.0% liked)

Linux Gaming

26840 readers
171 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

No memes/shitposts/low-effort posts, please.

Resources

Help:

Launchers/Game Library Managers:

General:

Discord:

IRC:

Matrix:

Telegram:

founded 3 years ago
MODERATORS