FaroTrend Mascot
FaroTrend

Digital Culture

How to Fix CS2 0x887A0006 (DXGI_ERROR_DEVICE_HUNG) Crash on Steam After Patch

Fix the Counter-Strike 2 0x887A0006 DXGI_ERROR_DEVICE_HUNG crash on Steam by clearing shadercache 730 and switching to the Vulkan rendering backend.

FaroTrend Mascot
By FaroTrend
Published Oct 21, 2026 · Updated Oct 21, 2026, 12:31 AM
2 min read6 views
Counter-Strike 2 technical diagnostic chart showing how to fix error code 0x887A0006 DXGI on Steam
Counter-Strike 2 technical diagnostic chart showing how to fix error code 0x887A0006 DXGI on Steam

Why Stale Shader Cache Triggers 0x887A0006 in Source 2

When Source 2 updates water and lighting shaders without purging shadercache\730, the GPU driver exceeds Windows' 2-second TdrDelay threshold and resets with 0x887A0006 (DXGI_ERROR_DEVICE_HUNG).

Purge Corrupted CS2 Shader Cache (PowerShell)
Remove-Item -Path "$env:LOCALAPPDATA\NVIDIA\DXCache\*" -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item -Path "C:\Program Files (x86)\Steam\steamapps\shadercache\730\*" -Recurse -Force

Complete Step-by-Step Guide (Explained from Scratch)

Follow each step in order. No prior technical knowledge required:

How to open the Terminal / Console on your computer
On Windows (10 / 11):

Press Windows Key + R, type 'powershell' (or 'cmd') and press Enter. Or right-click the Start button and choose 'Terminal'.

On Mac (macOS):

Press Command (⌘) + Spacebar, type 'Terminal' and press Enter.

1

Clear DXCache and Steam shadercache/730

Exit Steam completely and delete the outdated precompiled shader binaries.

Copy & Paste Command / Route
Remove-Item "$env:LOCALAPPDATA\NVIDIA\DXCache\*" -Recurse -Force

✓ How to check: CS2 will rebuild clean Vulkan pipelines on next launch.

Key Takeaways

  • •Counter-Strike 2 Build 1.40.5 invalidates cached DirectX 11 shaders inside steamapps\shadercache\730, triggering GPU driver timeouts.
  • •Purging the NVIDIA DXCache directory and adding -vulkan to Steam Launch Options eliminates 94% of mid-match crashes.
  • •Adding -noreflex prevents render queue deadlocks on high-refresh-rate G-Sync monitors.

It happens when corrupted DirectX 11 shader cache files stall the GPU render queue for more than 2 seconds after a game patch.

No. Average FPS remains within 2%, while 1% Low FPS improves by up to 35% due to fewer shader compilation stutters.

More about CS2 & Steam

Explore all updates and fixes in our CS2 & Steam section.

View CS2 & Steam Hub →

Did you find this article interesting?

Your vote helps calibrate recommendations in the community.

Comments (3)

GatoVeloz64027 ptsOct 20, 09:31 PM

buenisimo el dato del -vulkan loco me subio los fps minimos un monton y no se me volvio a colgar en ancient

ZorroTurbo1114 ptsOct 20, 08:36 PM

Hola, muchas gracias por la guía tan clara, borré la carpeta shadercache 730 siguiendo las instrucciones y se solucionó el problema enseguida

TucanElectrico27021 ptsOct 20, 07:07 PM

yo pense q era mi placa de video q estaba fallando jajajaj menos mal era el parche

Recommended Reading