Your game was running, then it froze or dropped to the desktop behind an error box naming DXGI_ERROR_DEVICE_REMOVED and the code 0x887A0005. In plain terms, the game lost contact with your graphics card in the middle of a session. The graphics driver crashed, Windows reset it, or the card stopped responding, and the game could not carry on without it, so it closed instead of recovering.
This is not one game’s private error code. It is a standard DirectX error that can appear in many DirectX games, which is why the fixes below are game-agnostic: work through them in order, from the driver outward, and check the game again after each one before moving on.
As an Amazon Associate we earn from qualifying purchases
What This Error Actually Means
Microsoft’s own documentation for the DXGI error codes defines DXGI_ERROR_DEVICE_REMOVED, value 0x887A0005, like this: the video card has been physically removed from the system, or a driver upgrade for the video card has occurred. Read that second half carefully, because it is the half that matters for players. Despite the alarming name, your graphics card almost never leaves the slot. Anything that makes the graphics device vanish from the game’s point of view produces this same code: a driver being replaced, a driver crashing and restarting, or Windows resetting the card after it stopped responding.
Microsoft also documents a follow-up step built into DirectX: after this error, an application can ask for the specific reason the device was removed, through a function called GetDeviceRemovedReason. The possible answers include the device hanging because the driver stopped responding, the device being reset, or an internal driver error. Some games print that second, more specific code in the error message or save it in a crash log, and it is worth noting down or screenshotting before you start changing things, because it helps separate a driver problem from a game problem.
One Windows safety feature sits behind many of these cases. Windows watches the graphics card through a mechanism called Timeout Detection and Recovery: if the GPU takes too long to finish work and stops responding, Windows resets the driver to recover the desktop instead of letting the whole PC lock up. That rescue is good for Windows, but the running game experiences it as the device being pulled away, and it reports DXGI_ERROR_DEVICE_REMOVED.
In practice, the causes fall into three families. The first is a driver problem: a corrupted installation, or a driver version that does not get along with one particular game. The second is GPU instability: a card that is overheating, running clocks it cannot quite sustain, or not being fed power cleanly can stop responding under load, in general terms. The third is a game bug, where one scene, setting, or shader pushes the driver into a state it cannot handle. The steps below are ordered to rule out the first two families before you conclude the third one is to blame.
The Fixes, Step by Step
Change one thing at a time and return to the game after each step. If you change five settings at once and the error stops, you will never know which change mattered, and the problem may come back with the next driver or game update.
1. Clean-Install the Graphics Driver
A normal driver update installs over the top of the old one, and leftover files or settings from a damaged installation come along for the ride. Both GPU makers build a cleaner option into their own installers, and this is the single most productive step for this error. On an NVIDIA card, download the current driver from NVIDIA, run the installer, choose the Custom (Advanced) installation option, and tick the box labelled Perform a clean installation before continuing. On an AMD card, download the current package from AMD’s drivers and support page, and in the installer’s Additional Options, select Factory Reset, which removes the previous AMD software before installing. AMD also offers a separate Cleanup Utility for installations that will not uninstall normally. Whichever brand you use, restart the PC when the installer finishes, even if it does not insist.
2. Install Pending Windows Updates
Open Settings, go to Windows Update, and use Check for updates to install everything waiting, including any optional driver or platform updates offered there, then restart. This sounds too basic to matter, but the error’s own definition includes a driver upgrade changing the device state, and a half-finished update cycle can leave the graphics stack in exactly that in-between condition. Letting Windows finish what it has started, and rebooting so every component loads fresh, removes a whole category of one-off device-removed errors before you touch anything else.
3. Verify the Game’s Files
A damaged game file can send the driver a broken instruction and trigger the same crash as a hardware fault, so rule the installation out early. On Steam, restart the PC, open your Library, right-click the game, choose Properties, open the Installed Files tab, and click Verify integrity of game files. Steam then checks the installation and automatically replaces files that are missing or do not match; Steam notes that a file or two failing to verify can be normal when they are local configuration files, and those can be ignored. Other launchers offer an equivalent repair or verify option in the game’s settings page. Let the process finish completely before launching the game again.
4. Lower the Graphics Load as a Test
Open the affected game’s graphics settings and reduce the strain in the heaviest categories: turn ray tracing off if it is on, drop texture and shadow quality a notch, and lower the resolution or render scale if the game offers one. Treat this as a diagnostic, not a surrender. If the error disappears at reduced settings and returns when you raise them again, you have learned something real: the card or driver is failing under a specific heavy load, which points you at the stability steps below rather than at the game files. Change one category at a time where you can, so you can identify which feature the crash follows.
5. Remove Overclocks and Tuning Profiles
If you overclock your graphics card, or run it with a custom voltage or fan profile from tuning software, return everything to the card’s default settings and play again. Also check whether a tuning profile is being applied automatically at startup, since a forgotten profile can survive a driver reinstall. This step needs one careful note: a small number of cards, including some models sold with a factory overclock, can be marginally unstable in one demanding game while appearing fine everywhere else. If the error only happens in a single title, slightly lowering the GPU clock in the maker’s own tuning software is a reasonable way to check whether borderline clocks are the trigger; frame it as a test, and keep notes on what you changed.
6. Check Temperatures and Power Connections
A card that overheats or loses clean power under load can stop responding, and Windows will report the aftermath as a removed device. Watch the GPU temperature while the game runs, using the performance overlay in the NVIDIA app or AMD Software, and compare it with how the card behaves in your other games; a card that only runs unusually hot in one situation, with fans barely spinning, suggests a cooling or fan-curve problem rather than a dead card. Then, with the PC shut down and unplugged, confirm the graphics card is fully seated in its slot and that its power connectors are pushed home until they click. Do this once, carefully, rather than repeatedly reseating hardware.
7. Disable Overlays and Capture Tools
Overlay software hooks into the game while it renders, and that extra layer is a long-standing source of device errors. Turn off the in-game overlays you use, one group at a time: the NVIDIA overlay, the Steam overlay (found in the game’s Properties in Steam), Discord’s overlay, and the Xbox Game Bar, along with any third-party recording or monitoring tools that draw on screen. Play the problem scene again with them off. If the error stops, re-enable them one at a time across separate sessions until the crash returns, and you will know which guest the game cannot tolerate.
8. Try the Other DirectX Version, If the Game Offers One
Some games officially let you choose between DirectX 11 and DirectX 12, either in the graphics settings, in the launcher’s game settings, or through a launch option the developer documents. If yours does, switch to the other version and play the same section again. This is a legitimate split in the road: an error that only occurs on the DirectX 12 path points at that rendering path and the driver built for it, while an error that follows you to DirectX 11 points back at the driver, the card, or the installation. Not every game offers the choice, and there is no supported way to force it where the developer has not provided one.
9. Reinstall the Game as a Last Resort
If the error survives a clean driver, verified files, reduced settings, stock clocks, and disabled overlays, uninstall the game completely and install it fresh, ideally letting the launcher download the current build rather than restoring an old backup. This clears out damaged configuration and shader data that file verification can leave in place because it only checks the files the launcher manages. Save this step for last because it costs the most time and download data, and because in many cases the earlier steps, especially the clean driver install, will already have settled it.
How to Tell If It Worked
Do not judge a fix by launching the game and standing in a menu. Go back to the exact place that produced the error: the same level, race, fight, or cutscene, at the same settings you intend to keep, and play through it. Then play through it again. Device-removed errors are often tied to one demanding scene, so a fix only counts when the original trigger no longer triggers anything, across a full session rather than a few minutes.
Keep a short note of what you changed and in what order, including the driver version you installed. If the error returns after the next game patch or driver release, that note tells you whether you are looking at a recurrence of the same cause or a new one. If the crash now happens in several unrelated games as well as the original one, the balance of evidence shifts away from a single game’s bug and toward the driver or the card, and that is the point where the GPU maker support channels become the right next stop.
Common Mistakes
- Editing the TDR registry values, such as TdrLevel or TdrDelay, copied from a forum post. Microsoft documents those keys for graphics driver developers to use during our research and debugging, and states that end users should not manipulate them. Raising a timeout does not repair whatever made the GPU stop responding; it hides the symptom, and it can turn a recoverable driver reset into a longer, harder hang.
- Assuming the graphics card is dead. The error name sounds like hardware failure, but the documented definition covers driver events, and most cases resolve in software. Treat hardware as the conclusion only after the driver and game steps change nothing and other games fail the same way.
- Updating the driver over the top and calling it a reinstall. Without the clean installation or factory reset option, the damaged parts of the old installation can remain, and you learn nothing from the attempt.
- Changing many settings at once. If the crash stops, you cannot say why, and if it continues, you cannot say what to undo. One change, one check, then the next change.
- Ignoring the game’s own patches. When an error appears right after a game update, or only in one scene, the developer may already have fixed it. Check for a game update before you start dismantling your driver setup.
Frequently Asked Questions
Does DXGI_ERROR_DEVICE_REMOVED mean my graphics card is dying?
Usually not. Microsoft’s definition of the code covers the card being physically removed or a driver upgrade occurring, and in everyday cases the trigger is a driver crash, a Windows driver reset, or a game pushing the driver into a hang. Hardware moves up the suspect list only when clean drivers change nothing and several games fail in the same way.
Why does the error happen in only one game?
Because that game is the one stressing the weak point. A particular scene, setting, or shader in one title can expose a driver flaw or a marginally unstable card that everything else tolerates. A single-game pattern points first at the driver version and that game’s settings and patches, which is why the fix order starts there instead of with hardware.
Should I raise the TdrDelay registry value to stop the resets?
No. Microsoft’s documentation describes the TDR registry keys as tools for driver developers during our research and debugging, and says end users should not manipulate them. A longer timeout does not fix the underlying hang; it only makes Windows wait longer before recovering, and can leave you staring at a frozen screen instead of a recoverable crash.
The error appeared right after a driver update. What should I do?
Treat the timing as the clue. Install the next driver release using the clean installation or factory reset option described above, since a fresh copy of a newer driver resolves most update-related cases. If the error began with one specific driver version and persists, the GPU maker’s support site is the place to check for a known issue with your card and that game.