# DXGI_ERROR_DEVICE_REMOVED and DXGI_ERROR_DEVICE_HUNG

> Markdown version of https://stella.sh/how/pc-gaming/dxgi-error-device-removed for agents and LLMs.
> Game crashing with DXGI_ERROR_DEVICE_REMOVED or DXGI_ERROR_DEVICE_HUNG? Stella (stella.sh) finds why your graphics card drops out and steadies it.

Both errors mean Windows lost contact with your graphics card for a moment and reset it, so the game died. Stella (stella.sh) checks the driver, clock speeds, temperatures and power settings, then fixes whichever one is slipping.

## What you get

- Windows' own reset log read to find the cause
- Clock speeds set to what your card holds
- Windows given longer to wait on a busy card

## Ask Stella

> Apex Legends crashes every few games with DXGI_ERROR_DEVICE_HUNG. RX 7800 XT. Find what's wrong and fix it.

## An example chat

**You:** Apex Legends crashes every few games with DXGI_ERROR_DEVICE_HUNG. RX 7800 XT. Find what's wrong and fix it.

**Stella:** On it. Reading Windows' log of graphics card resets.

*Stella works on: Fixing DXGI_ERROR_DEVICE_HUNG in Apex*
- Card reset four times this week
- Each time near 88°C hot spot
- Easing the clock and fan curve
- Giving Windows longer to wait

**Stella:** Fixed. The card was running hot and briefly stalled, so Windows reset it. Clocks are a little lower, fans ramp earlier, and Windows waits longer before resetting. Apex should hold through long sessions now.

Works on Windows.

## Questions

**What's the difference between DEVICE_REMOVED and DEVICE_HUNG?**
DEVICE_HUNG means the card stopped responding. DEVICE_REMOVED is what the game sees afterwards, once Windows has reset the card.

**Can a power supply cause DXGI_ERROR_DEVICE_REMOVED?**
Yes. A weak or split cable can make the card drop out under load. Stella spots that pattern in the logs and tells you.

**Is Stella free?**
Yes. Free with the ChatGPT, Claude or Gemini plan you already have.

## By hand

1. Clean install the driver with DDU.
2. Lower the core clock by 50 to 100 MHz in MSI Afterburner or AMD Adrenalin and test.
3. Raise TdrDelay to 8 in the registry under HKLM\System\CurrentControlSet\Control\GraphicsDrivers.

## Related

- [DirectX encountered an unrecoverable error](https://stella.sh/how/pc-gaming/directx-encountered-an-unrecoverable-error.md)
- [Undervolt your GPU to run cooler and quieter](https://stella.sh/how/pc-gaming/undervolt-gpu.md)
- [PC overheating when playing games](https://stella.sh/how/pc-gaming/pc-overheating-when-gaming.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT, Claude or Gemini plan you already have.
