Patch Play GuideSettings, decoded and calculated

Guide · stutter

Shader compilation stutter after an update: what to do

Reviewed November 24, 20267 min readHow we check pages

The game ran smoothly yesterday. After an update it hitches every time you turn a corner or an explosion goes off – and then, a few minutes later, it is fine again. That pattern almost always means shader compilation: the game is building the small GPU programs it needs for your specific graphics card and driver, and an update threw away the old ones.

What shaders are, and why they are compiled on your PC

Shaders are the small programs that run on the graphics card to calculate the color of surfaces, light, shadows and effects. A large game uses thousands of combinations of them. With modern graphics interfaces such as DirectX 12 and Vulkan, shaders are combined with GPU state into so-called pipeline state objects, and these have to be compiled into machine code for your exact graphics card and driver version.

Consoles have one fixed hardware configuration, so developers can ship the compiled shaders with the game. PCs come in countless combinations of graphics cards and drivers, so compilation usually happens on your machine – either up front in a “compiling shaders” step, or on the fly the first time a material or effect appears on screen. When it happens on the fly, the frame has to wait for the compiler, and you see a hitch.

Why updates bring the stutter back

Compiled shaders are stored in a cache on your drive so that they can be reused next time. That cache is tied to the game’s shader code and to the graphics driver. When either changes, old entries no longer match:

What usually invalidates the shader cache
EventEffect on the cacheWhat you notice
Game update that changes shaders or materialsAffected shaders must be compiled againStutter in areas and effects you had already seen
Graphics driver updateDriver cache usually rebuiltStutter in every game for the first sessions
Changing graphics settings or upscalerNew shader variants may be neededShort stutter after the change
Moving to a new GPUCache rebuilt completelyStutter everywhere at first
Clearing the cache manuallyEverything compiled againStutter returns until rebuilt

This is why a patch can seem to make a game “run worse” for an evening, and then the problem disappears. Judging performance in the first minutes after an update – or after a driver update – mostly measures the compiler, not the game.

How to recognize shader stutter

Frame-time graph: spikes when new effects first appear in the first run, almost flat on the second run through the same area FRAME TIME (ms) – ILLUSTRATION first runsecond run new effectnew area
Typical pattern: sharp spikes the first time something appears, much smaller ones the second time. Stutter that repeats in the same places every run has a different cause.
  • It happens the first time you see an area, an enemy type or an effect – and much less the second time.
  • It started right after a game or driver update, or after changing settings.
  • The average frame rate is fine; individual frames take much longer (the frame-time graph shows spikes).
  • It gets better over a session, and better again in the next one.

Stutter that returns in the same places on every run is more likely asset streaming, full video memory or a CPU spike – the Bottleneck Finder separates these cases.

The two-pass test: tell shader stutter from the other kinds

Shader stutter has one property no other stutter shares: it happens once per effect and then stops, because the compiled result is cached. That makes it testable. Walk the same short route twice in a row after an update, without restarting the game in between, and compare where the hitches fall.

Reading the two passes
What you seeMost likely causeWhat to do
Hitches in pass 1, clearly fewer or none in pass 2Shader compilation: the first pass filled the cacheNothing – keep playing; judge performance from pass 2 on
Hitches at the same spots in both passesAsset streaming or loading at fixed points in the levelCheck the storage drive and background downloads; lower view distance one step
Hitches grow during a session and textures turn blurryVideo memory is fullLower texture quality one step and restart the game
Hitches at random places in both passesBackground tasks or uneven frame pacingClose overlays and recorders one at a time; try a frame cap
Hitches return after every restart of the gameThe cache is not kept, or it is rebuilt every timeCheck free space on the drive and whether the driver’s shader cache is enabled

If you record the passes with a capture tool, the 1% low is the number that shows the pattern: it is dragged down by the long frames of pass 1 and recovers in pass 2, while the average barely moves. PresentMon, an open-source capture tool from Intel that several overlays use, writes the time between two frames as MsBetweenPresents – a compilation hitch is a single very large value in that column. Note the 1% low of two or three first passes and of the repeat passes and compare them.

What helps

  • Let precompilation finish. If the game shows a “compiling shaders” step or progress bar in the menu, wait for it. Skipping it moves the work into gameplay.
  • Give it time. Play calmly through the first areas after an update before judging performance. Re-test afterwards with the 10-minute routine.
  • Keep the game on an SSD. Cache reads and asset loading are slower on hard drives, which makes hitches worse.
  • On Steam and Steam Deck, leave Shader Pre-Caching enabled in the Steam settings; for supported games, Steam can download precompiled shader data for your configuration.
  • Avoid driver updates right before an important session – install them when you have time for the cache to rebuild.
  • Check the driver’s shader cache size setting if your driver offers one; a cache that is too small can evict entries and compile them again.

New in 2026: NVIDIA Auto Shader Compilation

Since March 31, 2026 the NVIDIA app offers a beta feature aimed at the driver-update half of the problem. NVIDIA describes Auto Shader Compilation as rebuilding DirectX 12 shaders while the system is idle, “reducing the frequency of game runtime compilation after driver updates”. It is off by default; you switch it on in the NVIDIA app under Graphics → Global Settings → Shader Cache, where “Compile Now” (behind the three dots) starts the rebuild immediately instead of waiting for idle time. NVIDIA names GeForce Game Ready Driver 595.97 WHQL or newer as a requirement.

What Auto Shader Compilation covers, according to NVIDIA
SituationCovered?NVIDIA’s wording or the consequence
Shaders of a game you have played, after a driver updateYesRebuilt while the system is idle, or on demand with “Compile Now”
A game downloaded for the first timeNo“You must still generate shaders in-game”
A game update that changes its shadersNot describedNVIDIA describes the feature for driver updates only
DirectX 11 or Vulkan gamesNot describedNVIDIA names DirectX 12 shaders
AMD or Intel graphics, consolesNoA feature of the NVIDIA app

So the feature shortens the stuttery first session after a driver update; after a game update, the advice above still applies. Because it is a beta, check NVIDIA’s release notes for changes before relying on it.

What does not help

Lowering graphics settings rarely removes shader stutter – the compiler still has to build the shaders that are needed, and different settings can even require new variants. Clearing the shader cache “to fix stutter” usually makes things worse for a while, because everything has to be compiled again; do it only when a specific guide for a specific problem (for example a corrupted cache after a crash) recommends it.

A faster processor does shorten each compile, because compilation is CPU work, but it does not remove the pattern. The real fix is on the developer side: precompiling all needed shaders during loading. Many updates mention exactly this. The Patch Decoder puts such lines in the “Shaders & loading” category, and a tilde (~) on “shaders are rebuilt” is your cue to expect a stuttery first session.

Consoles and handhelds

On PS5, Xbox and Switch 2, shaders are typically compiled for the fixed hardware and shipped with the game, so post-update shader stutter is much less common than on PC. On the Steam Deck the situation is in between: it is one hardware configuration, which is what makes downloadable precompiled shader data from Steam effective there. Windows handheld PCs behave like any other PC.

Frequently asked questions

Why does my game stutter after an update and then get better?

The update or a new driver invalidated the shader cache. The game compiles shaders again the first time each effect appears; once they are cached, the stutter fades.

Should I delete the shader cache to fix stutter?

Usually not. Deleting it forces everything to be compiled again. Only clear it when a fix for a specific problem, such as a corrupted cache, tells you to.

Do graphics settings affect shader stutter?

Only a little. Lower settings do not remove compilation, and changing settings can even require new shader variants.

Does an SSD fix shader stutter?

It does not stop compilation, but it speeds up cache and asset loading, so hitches are shorter. Modern games generally expect an SSD.

Sources

Sources without a link are named so you can find the current version yourself; vendor pages move often. We summarize in our own words and never copy patch notes.

Change log

  • First published.
  • Two-pass test with a decision table added; link to the Settings Test Log.
  • Section added on NVIDIA Auto Shader Compilation (NVIDIA app beta since March 31, 2026): what it covers and what not, from NVIDIA’s announcement.