Severe stuttering problem in game due to shader compilation
If you are experiencing “shader stutter” symptoms, possible causes include shader cache creation, cache regeneration after a driver or game update, etc. Please check in order starting from Step 1 ‘Play after shader pre-compilation is complete’.
First, check that this guide matches your problem
Do you have these symptoms?
- shader stutter
- Shader stuttering
- Lags whenever entering a new area
Common causes
- Shader cache being built
- Regenerate cache after driver or game update
How to fix
4 steps, 50 min–1 hr 10 min in total. The easiest checks come first, so stop as soon as the problem is fixed.
Many games pre-compile shaders on the menu screen after first launch or an update. Skipping this causes stutter in every area you visit for the first time.
- Launch the game and wait on the menu screen until the shader compilation or optimization progress indicator finishes.
- If the graphics settings have a shader pre-compilation option, turn it on. Its name and location vary by game.
- Go through the same area twice and see whether the stutter is less the second time.
What to check
If stutter drops the second time, it's likely shader compilation stutter and will improve as the cache builds up. If it keeps stuttering at the same spot every time, check the cache settings.
Did this step fix it?
If the shader cache is off or too small, already compiled shaders are rebuilt, so stutter keeps happening in the same places.
- On NVIDIA, in NVIDIA Control Panel → Manage 3D settings, set Shader Cache Size to the driver default or larger (for example 10GB).
- On AMD, check in AMD Software → Graphics that Shader Cache is on. The menu location can differ by driver version.
- Clearing or resetting the cache doesn't fix stutter; it makes the cache build up from scratch, so don't do it unless there is another problem.
What to check
After enabling or enlarging the cache, go through the same area twice; if stutter drops, keep it that way. If nothing changes, check Steam Shader Pre-Caching.
Did this step fix it?
Steam can download shader caches already built for the same GPU and driver combination, reducing compilation on first play (only for supported games).
- Find Shader Pre-Caching in Steam settings and turn it on. Its location can vary by Steam version.
- If a shader cache download is pending for the game in your library, wait for it to finish before launching.
What to check
If first-time stutter drops after the download, it's working. If the game isn't supported, build up the cache by playing as in step 1.
Did this step fix it?
When the graphics driver or the game updates, the existing shader cache becomes invalid and is rebuilt. Changing the driver again then makes the cache start over from scratch.
- If it's right after an update, finish pre-compilation as in step 1 and play a few sessions so the cache can rebuild.
- Don't keep changing drivers because of the stutter.
- If it's clearly worse than before the update even after several sessions, then roll back to the previous driver once and compare.
What to check
If it lessens the more you play, it's the normal rebuild process. If the previous driver is clearly better, stay on that version until the next driver release.
Did this step fix it?
Frequently asked questions
Related problems
If the symptoms do not match exactly, please check the issue below.