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

you are viewing a single comment's thread
view the rest of the comments
[-] 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.

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

Linux Gaming

26854 readers
176 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