Errors

DXGI_ERROR_DEVICE_HUNG? Find whether it's the tune, driver, or game

Short answerDXGI_ERROR_DEVICE_HUNG (0x887A0006) means the graphics device stopped responding, Windows reset it, and the game lost the device it was rendering with — so the game closed. Where it happens decides the fix:
  • Every 3D game, since overclocking or undervolting — an unstable tune. Return clocks to stock first.
  • Every game, since a driver update — the driver. Clean-install it from the card maker's site, or roll back.
  • One game only — that game's files. Verify them in Steam or Epic, then test its heaviest scene.
Don't raise TdrDelay to make the error go away. That only makes each freeze last longer.

The game freezes, drops to the desktop, and leaves a box behind: DXGI_ERROR_DEVICE_HUNG, sometimes with Unreal Engine is exiting due to D3D device being lost. The code looks like the game's fault. It usually is not.

It means the graphics card stopped answering and Windows reset it. Three quick tests show whether the cause is a tune, the driver, or one game's files. All three are read-only questions; none of them changes the PC.

Do it by hand below, or let Noah read this PC's event logs and installed software first (more at the end).

What DXGI_ERROR_DEVICE_HUNG means

DXGI (DirectX Graphics Infrastructure) is the part of Windows a game talks to when it draws on the graphics card. Microsoft defines DXGI_ERROR_DEVICE_HUNG (0x887A0006) as the application's device failing due to badly formed commands sent by the application. On a gaming PC, the common real-world trigger is the graphics driver hanging until Windows resets the card, which leaves the game with a device it can no longer use.

Behind the code sits TDR (Timeout Detection and Recovery): when the card takes longer than expected, Windows resets the graphics path so the system stays responsive. The desktop survives that reset. The game usually cannot, so it closes and shows this error.

A sibling code, DXGI_ERROR_DEVICE_REMOVED (0x887A0005), is documented as the card being physically removed or a driver upgrade occurring; the game experiences it the same way, as a device that is suddenly gone. The same tests below apply to both. Neither code says why the card stopped answering.

First, find out how far it reaches

Three questions narrow it down before you change anything.

  1. Does every 3D game crash this way, or only one title?
  2. Did it start after overclocking or undervolting the card, or after a driver update?
  3. Is Event ID 4101 logged at the crash time? Open Event Viewer → Windows Logs → System and look for a Display warning at that minute.

A 4101 at crash time confirms the driver hung and Windows reset it — the tune and driver sections apply. No 4101, with only one game failing, points at that game's files first. If the screen goes black, the fans run at full speed, and only the power button works, that is a different fault; see the related black-screen page.

NoahNoah reads the System log around each crash and lists the 4101 entries it finds, then lists the installed software and versions. An empty result does not prove nothing failed, because a hard hang can end before Windows writes the event. Noah cannot see the game's shaders — the small programs that draw its effects — or its engine state, and it cannot measure GPU temperature or power draw. Run this check on your PC →

An overclock or undervolt is unstable

Every game crashes, and the crashes started after clocks or voltages changed.

This is the classic DEVICE_HUNG trigger. A tune that holds on the desktop can fail in a heavy scene, where the card holds high clocks for minutes. System memory counts too: XMP (Intel) and EXPO (AMD) run memory at its rated speed instead of the board's slower default, and an unstable profile can surface as a graphics crash.

Fixreturn every tune to stock — GPU clocks and voltage, and memory to its default — then replay the exact scene that crashed. If it runs clean, bring the tune back in small steps until the crash returns. The last step changed is the cause.

The driver is damaged or buggy

Every game crashes, and the first crash landed right after a driver update.

A driver update replaces the very software TDR caught hanging. A damaged install, from an interrupted update, looks the same. When the timing lines up, treat the driver as the suspect before the hardware.

Fixdownload the current driver from your card maker's site — NVIDIA, AMD, or Intel — run the installer, and choose its clean-install option (on NVIDIA, Custom (Advanced) then Perform a clean installation). Restart, then replay the crashing scene.

If it started right after an update and the same version clean-installed changes nothing, roll back. In Device Manager → Display adapters, open the card's Properties → Driver tab and choose Roll Back Driver if it is offered.

NoahNoah lists the software installed on the PC, including the graphics driver package and its version, so an update can be dated against the first crash. Noah has no built-in way to install or roll back a graphics driver; that step stays with you and the maker's installer. Run this check on your PC →

Only one game crashes

Other 3D games run clean. One title fails, often in the same scene.

When only one game loses the device, suspect its own files — a damaged shader cache or a half-applied patch — before the card. Verifying replaces damaged files without a full reinstall.

Fixin Steam, right-click the game, choose Properties → Installed Files → Verify integrity of game files. In the Epic Games Launcher, click the game's … menu, choose Manage, then Verify. Then replay the crashing scene. As a test, cap the game's frame rate (frames drawn per second) for one run. A crash that stops at the lower load points back at tune, heat, or power.

Heat and power still apply when the crash needs a long session. Watch the GPU temperature overlay — the on-screen readout from your card maker's app — during the scene. Reseat the GPU power cables with the PC off and unplugged if it runs hot or browns out.

Every game still fails

Stock clocks, a clean driver, and verified files — and the error survives.

Repair Windows' own files. DISM supplies good copies of system files, and SFC (System File Checker) uses them to replace damaged ones. Microsoft says to run DISM before SFC.

Fixtype cmd in the Search box, right-click Command Prompt, and choose Run as administrator. Then run these one at a time:

Administrator: Command Prompt
C:\Windows\System32> DISM.exe /Online /Cleanup-image /Restorehealth

Run in the administrator Command Prompt. It can take several minutes. Wait until it reports the operation completed successfully.

Administrator: Command Prompt
C:\Windows\System32> sfc /scannow

Run after DISM finishes. Don't close the window until verification reaches 100%. Then restart and test again.

NoahNoah has no built-in DISM or SFC repair. It can read the System log again afterwards, so a repeat 4101 after the repair is visible instead of guessed.

What to avoid

  • Raising TdrDelay in the registry — Windows' database of system and program settings. Microsoft documents those keys for testing and debugging. A longer timeout only stretches each freeze before the reset; the hang survives.
  • Downloading a "fixed" game file or driver from a forum or driver site. Those copies come from unknown sources. Verify files in the launcher and get drivers from the card maker.
  • Reinstalling Windows on the first DEVICE_HUNG. Stock clocks, a clean driver, and a file verify answer most cases, and each takes minutes.
Try Noah free

Back in the game, not the crash dialog.

Just tell Noah what's wrong:

My game keeps crashing with DXGI_ERROR_DEVICE_HUNG.
Check my PC freeSigned Windows .msiRead-only firstOnly with your OKFirst fix free

Already have Noah? Open it on this problem →

Frequently asked questions

What does DXGI_ERROR_DEVICE_HUNG mean?

Microsoft defines DXGI_ERROR_DEVICE_HUNG (0x887A0006) as the application's device failing due to badly formed commands. On gaming PCs the common trigger is the graphics driver hanging until Windows resets it (Timeout Detection and Recovery). The game loses the device it was rendering with and closes. The code does not say why the card hung.

How do I fix DXGI_ERROR_DEVICE_HUNG?

Test first: every game or one game, and whether a tune or driver update came first. Return overclocks to stock, clean-install the driver from the card maker, and verify the game files in Steam or Epic. Run DISM then SFC only when every game still fails.

Why does Unreal Engine say the D3D device was lost?

That message is the engine's version of the same event: Windows reset the graphics device (DXGI_ERROR_DEVICE_HUNG or DEVICE_REMOVED), and the engine could not keep rendering. The cause sits below the game — a tune, the driver, heat, or that game's files.

Should I increase TdrDelay for DXGI_ERROR_DEVICE_HUNG?

No. Microsoft documents the TDR registry keys for testing and debugging. Raising TdrDelay waits longer before Windows resets the card, so each freeze lasts longer and the cause survives. Fix the tune, driver, or game files instead.

Is DXGI_ERROR_DEVICE_HUNG a hardware failure?

Not on this evidence alone. The common causes are an unstable overclock or memory profile, a damaged or buggy driver, and one game's damaged files. Only suspect the card after stock clocks, a clean driver install, and a file verify all fail.

Commands in this guide are standard, read-only Windows diagnostics unless noted; anything that changes your system is called out. When in doubt, create a Windows System Restore point first.