Clearing GPU Shader Cache
If you are experiencing graphical issues (e.g., flickering, crashes, or performance degradation), clearing the GPU shader cache can help resolve them.
This guide provides step-by-step instructions on how to clear the shader cache for NVIDIA, AMD, and Intel graphics cards.
Using Display Driver Uninstaller (DDU)
Section titled “Using Display Driver Uninstaller (DDU)”This method works on both AMD and NVIDIA graphics cards and is the easiest way to clear the shader cache.
Follow the instructions in our DDU guide to wipe the shader cache only. This will not remove your graphics drivers, but it will clear the shader cache.
Manually Clearing Shader Cache
Section titled “Manually Clearing Shader Cache”For NVIDIA Users
Section titled “For NVIDIA Users”- Disable Shader Cache:
- Right-click your desktop and open the NVIDIA Control Panel.
- Go to Manage 3D Settings > Global Settings.
- Find Shader Cache Size and set it to Disabled. Click Apply and restart your PC.
- Delete Shader Cache Folders:
- Press
Win + R, type%localappdata%, and press Enter. - Navigate to
NVIDIA>GLCacheand delete all folders inside. - Press
Win + R, type%localappdata%\..\LocalLow\NVIDIA\PerDriverVersion\DXCache, and press Enter. - Delete everything in the
DXCachefolder as well.
- Press
- Run Disk Cleanup:
- Press
Win + S, typeDisk Cleanup, and open it. - Select your system drive (usually C:), check DirectX Shader Cache, and click OK to clear it.
- Press
- Re-enable Shader Cache:
- Go back to the NVIDIA Control Panel and re-enable the shader cache by setting Shader Cache Size back to Driver Default (or Unlimited). Click Apply and restart your PC.
For AMD Users
Section titled “For AMD Users”- Open the AMD Radeon Software (
Alt + R). - Click on the Gaming tab, then select Graphics.
- Scroll to the bottom, expand the Advanced section, and click on Reset Shader Cache.
- Run Disk Cleanup:
- Press
Win + S, typeDisk Cleanup, and open it. - Select your system drive (usually C:), check DirectX Shader Cache, and click OK to clear it.
- Press
For Intel Users
Section titled “For Intel Users”- Delete Shader Cache Folders:
- Press
Win + R, type%userprofile%\AppData\LocalLow\Intel\ShaderCache, and press Enter. - Delete all folders and files inside the
ShaderCachedirectory.
- Press
- Run Disk Cleanup:
- Press
Win + S, typeDisk Cleanup, and open it. - Select your system drive (usually C:), check DirectX Shader Cache, and click OK to clear it.
- Press
Other potential fixes
Section titled “Other potential fixes”- Ray Tracing: If the game hangs on “Preparing Shaders”, try disabling ray tracing in the game’s graphics settings, as it can cause shader compilation issues.
- Steam Shader Pre-Caching: If you are using Steam, try clearing the shader pre-cache by going to Settings > Shader Pre-Caching and deleting the shader cache for the specific game if listed.