Error Codes Wiki

DirectX Runtime Error — DXGI_ERROR_DEVICE_REMOVED and Device Hung

Errorruntime

About DirectX Runtime Error

Fix DirectX runtime errors including DXGI_ERROR_DEVICE_REMOVED and DXGI_ERROR_DEVICE_HUNG causing game crashes and graphics application failures. This guide covers everything you need to know about this topic, including common causes, step-by-step solutions, and answers to frequently asked questions.

Here are the key things to understand: DXGI_ERROR_DEVICE_REMOVED (0x887A0005) means the GPU was physically removed or its driver crashed. DXGI_ERROR_DEVICE_HUNG (0x887A0006) means the GPU took too long to complete a command. These errors typically crash the game/application with no recovery option. Overclocked GPUs are more likely to trigger device removed errors under stress. Windows 10/11 has a Timeout Detection and Recovery (TDR) mechanism that resets the GPU after 2 seconds of unresponsiveness. Understanding these fundamentals will help you diagnose and resolve this issue more effectively.

The most common reasons this occurs include: GPU driver crash or bug under high graphics workload. GPU overclocked beyond stable limits. Overheating GPU causing thermal throttling or hardware errors. Insufficient power delivery to GPU (PSU wattage or PCIe power cable issue). Outdated or corrupted GPU drivers. Identifying the root cause is the first step toward finding the right solution.

To resolve this, follow these recommended steps: Update GPU drivers to the latest version using GeForce Experience (NVIDIA) or Adrenalin (AMD). Perform a clean driver install: use DDU (Display Driver Uninstaller) in Safe Mode, then reinstall. Remove any GPU overclock: reset to stock clocks using MSI Afterburner or manufacturer software. Monitor GPU temperature: use HWMonitor or GPU-Z and ensure temps stay below 85°C under load. Increase TDR timeout: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers > TdrDelay = 8 (DWORD). Lower in-game graphics settings to reduce GPU workload. If these steps do not resolve the issue, consider consulting additional resources or a qualified professional.

This article is part of our Windows Error Codes collection on Error Codes Wiki. We provide comprehensive, up-to-date information to help you find solutions quickly.

Quick Answer

What is TDR and should I increase the timeout?

TDR (Timeout Detection and Recovery) resets the GPU if it is unresponsive for 2 seconds. Increasing TdrDelay is a workaround, not a fix. Address the underlying driver or hardware issue.

Overview

Fix DirectX runtime errors including DXGI_ERROR_DEVICE_REMOVED and DXGI_ERROR_DEVICE_HUNG causing game crashes and graphics application failures.

Key Details

  • DXGI_ERROR_DEVICE_REMOVED (0x887A0005) means the GPU was physically removed or its driver crashed
  • DXGI_ERROR_DEVICE_HUNG (0x887A0006) means the GPU took too long to complete a command
  • These errors typically crash the game/application with no recovery option
  • Overclocked GPUs are more likely to trigger device removed errors under stress
  • Windows 10/11 has a Timeout Detection and Recovery (TDR) mechanism that resets the GPU after 2 seconds of unresponsiveness

Common Causes

  • GPU driver crash or bug under high graphics workload
  • GPU overclocked beyond stable limits
  • Overheating GPU causing thermal throttling or hardware errors
  • Insufficient power delivery to GPU (PSU wattage or PCIe power cable issue)
  • Outdated or corrupted GPU drivers

Steps

  1. 1Update GPU drivers to the latest version using GeForce Experience (NVIDIA) or Adrenalin (AMD)
  2. 2Perform a clean driver install: use DDU (Display Driver Uninstaller) in Safe Mode, then reinstall
  3. 3Remove any GPU overclock: reset to stock clocks using MSI Afterburner or manufacturer software
  4. 4Monitor GPU temperature: use HWMonitor or GPU-Z and ensure temps stay below 85°C under load
  5. 5Increase TDR timeout: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers > TdrDelay = 8 (DWORD)
  6. 6Lower in-game graphics settings to reduce GPU workload

Tags

directxdxgidevice-removedgpu-crashgaming

Related Items

More in Runtime

Frequently Asked Questions

TDR (Timeout Detection and Recovery) resets the GPU if it is unresponsive for 2 seconds. Increasing TdrDelay is a workaround, not a fix. Address the underlying driver or hardware issue.