Error code 0x887a0005 is a DirectX error that appears when a game or application loses access to the graphics device, often crashing to the desktop with a message like “DXGI_ERROR_DEVICE_REMOVED.” This usually means the GPU driver stopped responding or the hardware was reset, and the fix typically involves updating or reinstalling drivers, disabling overclocking, or adjusting power settings. Below is a detailed breakdown of what causes this error and the exact steps to resolve it.
What Does 0x887a0005 Mean?
The hexadecimal code 0x887a0005 corresponds to DXGI_ERROR_DEVICE_REMOVED in Microsoft’s DirectX Graphics Infrastructure (DXGI). When a game calls a DirectX function and the graphics device is no longer available, the application receives this error. The most common scenario: your GPU driver crashes and Windows resets the video card, so the game loses its connection to the hardware. This can happen for a few seconds (screen goes black then recovers) or permanently, forcing you to close the game.
This error is not a virus or a sign of failing hardware in most cases. It is a protective mechanism: Windows detects that the GPU stopped responding (often due to a driver bug, overheating, or an unstable overclock) and restarts the graphics stack. The game, unaware of the reset, throws 0x887a0005.
Primary Causes
- Outdated or corrupted GPU drivers – The most frequent cause. New games often require newer driver versions.
- Overclocking instability – Both GPU and CPU overclocks can cause the graphics device to hang.
- Power supply issues – Insufficient or failing PSU can cause voltage drops that reset the GPU.
- Overheating – High temperatures force the GPU to throttle or shut down.
- Windows power management – Aggressive power saving can cut power to the PCIe slot.
- Corrupted game files or DirectX installation – Missing or broken shaders or runtime files.
Fix 1: Update or Reinstall GPU Drivers
- Press Win + X and select Device Manager.
- Expand Display adapters, right-click your GPU, and choose Uninstall device. Check “Delete the driver software for this device” if available.
- Restart your PC. Windows will install a basic driver.
- Download the latest driver from your GPU manufacturer’s website (NVIDIA, AMD, or Intel). Use the auto-detect tool if unsure which model you have.
- Install the driver with a Clean Install option (NVIDIA) or Factory Reset (AMD) to remove old settings.
- Reboot and test the game.
If the error persists, try an older driver version—sometimes the latest driver has a regression. Use a tool like Display Driver Uninstaller (DDU) in Safe Mode for a thorough removal.
Fix 2: Disable Overclocking and Check Temperatures
If you overclocked your GPU or CPU, revert to stock clocks. Use MSI Afterburner or your motherboard’s BIOS to set everything to default. Also, monitor temperatures with tools like HWiNFO64. If your GPU exceeds 90°C under load, improve case airflow, clean dust filters, or replace thermal paste if the card is old.
For CPU overclocking, an unstable memory controller (e.g., XMP profile) can also cause GPU resets. Disable XMP in BIOS and test. If the error goes away, your RAM overclock was the culprit.
Fix 3: Adjust Power Management Settings
Windows can aggressively power down your GPU to save energy. To prevent that:
- Open Control Panel > Power Options.
- Click Change plan settings next to your active plan, then Change advanced power settings.
- Set PCI Express > Link State Power Management to Off.
- In the NVIDIA Control Panel (or AMD Radeon Software), set Power management mode to Prefer Maximum Performance.
Also, in Windows Settings > System > Power & sleep, choose High performance plan if available.
Fix 4: Verify Game Files and DirectX
Corrupted game files can trigger the error. In Steam, right-click the game > Properties > Local Files > Verify Integrity of Game Files. For other launchers (Epic, Battle.net), look for a similar “Verify” or “Repair” option.
To reinstall DirectX runtime:
- Download the DirectX End-User Runtime Web Installer from Microsoft’s official site.
- Run it and follow the prompts. It will replace missing or corrupted DLLs.
- Reboot.
Also, ensure your Windows is up to date (Settings > Update & Security > Windows Update).
Fix 5: Hardware Troubleshooting
If software fixes fail, the issue may be hardware-related:
- Reseat the GPU – Power off, remove the card, and reinsert it firmly into the PCIe slot. Ensure the power cables are connected securely.
- Test with a different PSU – If you have a spare, or a friend’s, see if the error persists. A failing PSU can cause random resets.
- Try another PCIe slot – If your motherboard has multiple x16 slots, move the GPU to another one.
- Check for BIOS updates – Motherboard manufacturers often fix PCIe stability issues with new BIOS versions.
If the error only occurs in one specific game, it may be a game-specific bug—check the game’s forums for known issues and workarounds.
Frequently Asked Questions
Is 0x887a0005 a sign of a dying GPU?
Not necessarily. It is more often a driver or software issue. However, if the error occurs frequently and you have already tried driver reinstalls and disabled overclocking, it could indicate a hardware fault. Test with another GPU if possible, or run a stress test like FurMark to see if the card crashes under load.
Why does the error happen only in certain games?
Different games use different DirectX features and have varying demands. A game that pushes your GPU harder may expose a driver bug or an unstable overclock that lighter games don’t trigger. Also, some games have known compatibility issues with specific driver versions.
Can a faulty HDMI/DisplayPort cable cause this error?
Yes, a damaged or loose cable can cause the display to drop, which may lead to a GPU reset and the error. Try a different cable or port to rule this out.
Should I update my BIOS to fix this?
It can help if the issue is related to PCIe stability or power delivery. Check your motherboard manufacturer’s website for BIOS updates and release notes. Only update if the notes mention fixes for GPU or PCIe issues.
Will reinstalling Windows fix the error?
As a last resort, yes. A clean Windows installation removes any corrupted system files or driver conflicts. But try all the above steps first—reinstalling Windows is time-consuming and may not help if the hardware is faulty.
Does this error occur on laptops?
Yes, laptops can also get 0x887a0005, especially when the dedicated GPU switches to the integrated one. Ensure you have the latest drivers from the laptop manufacturer’s website (not just the GPU vendor) and set the game to use the high-performance GPU in the graphics settings.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Gmail Gemini Privacy: Data Access & Limit Settings
- Fix Outlook Inbox Corruption with DISM in Windows
- How to Set Up Apple Pay on iPhone
- How to Choose a Refurbished iPhone With Years of Support
- Voice Dictation in Google Docs: How to Use It
- Turn Off Message Notifications on Mac