Battlefield 1 DirectX function GetDeviceRemovedReason failed with DXGI_ERROR_DEVICE_HUNG

Sometimes when you’re launching a game on your Windows PC, your game might crash and give you an error. A common error for a game crashing on Windows is the DirectX function GetDeviceRemovedReason Failed error. If you're breathing heavily and on the verge of panicking, hold tight, we've got your back.

There are several ways to fix the error. Sometimes you might just need to restart the display driver or update your drivers, while in some cases you might need to reinstall the game. Let's get to troubleshooting the error, so you can kick back with your favorite game again.

1. Restart the Display Driver

You can restart your graphics driver using a simple keyboard shortcut. Press Win + Ctrl + Shift + B on your keyboard, and you should see your display blink a couple of times. Once your display is back to normal, you've successfully restarted the display driver.

If you didn't see your monitor blink, check if your Win key is enabled. If it's disabled, you'll need to enable the key. Press Fn + F6 might enable the key, but the combination might differ among manufacturers. In some cases, your Win key might not work for other reasons.

Try the shortcut again once you've enabled or fixed the Win key to restart the display driver and check if your game works fine now.

2. Update DirectX

To check the version of DirectX installed on your system, press Win + R, type dxdiag, and press Enter. Switch to the System tab, and you'll find the DirectX Version at the bottom.

directx version

The latest version is of DirectX is DirectX 12. Unfortunately, it can’t be downloaded and installed separately because a standalone package isn't available. You'll need to rely on Windows Update to upgrade to DirectX 12 if you're running an older version.

To update your DirectX, search the Start Menu for windows update and select the Best match.

Click on Check for updates and let Windows search for available updates. Once Windows completes checking, you'll be able to see a list of available updates. If you see DirectX in the list, go ahead and update it.

3. Update Display Drivers

Search for Device Manager in the Start Menu and select the Best match.

Doing this should launch the Device Manager. Search for Display adapters on the list of devices and select the tiny arrow to its left. You'll see a list of display adapters. Right-click on the display you're using and select Update driver.

updating the display driver

Select Search automatically for drivers if you want Windows to look for a driver and install it automatically. Give it some time to scan , and Windows will install the latest drivers, provided it finds them. However, in a lot of cases, it will just say that the latest drivers are already installed.

select automatic or manual update

In that case, you'd want to select the Browse my computer for drivers option and install the drivers manually. Note that you'll need installation files for the latest driver. So, you'll need to find the latest driver on the manufacturer's website.

4. Change the Power Mode for Better Performance

If you're on a laptop, you can change your computer's Power Mode to Best Performance to allow the game to use the resources it needs. Launch the Control Panel and navigate to Hardware and Sound > Power Options.

Look for High performance and select the radio button to its left.

changing power mode to high performance

Note that doing this will result in higher consumption of power, but it will also allow your computer to use all the resources it needs to run a game without being limited by the power supply.

5. Perform an SFC Scan

SFC (System File Checker) scans your system for missing or corrupt system files and replaces if it finds them. If your error is caused by a corrupt or missing system file, running an SFC scan should fix it.

Press Win + R, type cmd, and press Ctrl + Shift + Enter to launch CMD as an administrator.

Next, execute the following command:

sfc /scannow

running sfc scan to fix system files

Doing this will start the SFC scan. Let it complete and see if your game works fine now.

6. Edit the Registry

If you're still encountering the GetDeviceRemovedReason Failed error, you might want to consider tinkering with your registry settings. However, note that you should always back up your registry in case you mess something up inadvertently.

Press Win + R, type regedit, and press Enter.

Doing this will launch the Registry Editor. Navigate to the following directory by copy and pasting it into the address bar:

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers

Right-click on the empty space and select New > DWORD (32-bit) Value.

creating a dword value

Rename the DWORD as TdrLevel. Double-click on the DWORD and set Value data to 0 and click OK.

naming the dword as tdrlevel

7. Repair the Game You're Trying to Launch

Windows can often repair third-party apps installed on your PC. If nothing has worked so far, the repair option is worth a shot.

Press Win + I to launch the Settings app. Navigate to Apps > Apps & features. Search for the game and click on the three vertical dots next to its name. Then, select Advanced options.

Scroll down to the Reset section and select the Repair button.

repairing the game from settings

Windows will try and fix any errors you're encountering with the game and try to repair them automatically.

8. Clear App Data and Reinstall the Game

As a last resort, you might consider reinstalling your game. To uninstall the game, search for the game you want to uninstall in the Start Menu. Select the game from the search results and click on Uninstall from the right pane.

searching for the game in start menu

You will be prompted to confirm your uninstallation. Confirm it and let the process complete.

Once the uninstallation completes, press Win + R, type %appdata%, and press Enter.

Find a folder with the name of the game you just uninstalled. Select it and press Ctrl + Shift + Delete. Doing this will delete the game's app data and cache files.

Restart your PC and reinstall the game.

The Bottom Line for Fixing DirectX Errors

There could be several reasons for getting the DirectX Function GetDeviceRemovedReason Failed Error while launching a game on your Windows system. It's not a critical error, but can be annoying nonetheless, especially if you're in the weekend gaming mood.

This isn't the only DirectX error you might encounter. For instance, another common DirectX error is the COD Warzone DirectX Unrecoverable Error. However, in most cases, it's fairly easy to fix DirectX errors.