DirectX function GetDeviceRemovedReason failed with dxgi_error_device_hung Battlefield

Published: 14:03, 23 November 2021

AltChar

Battlefield 2042 - How to fix DirectX function error?

One of the most common issues in Battlefield 2042 on PC right now is DirectX "GetDeviceRemovedReason" crashing error that happens on both AMD and Nvidia GPUs.

The DirectX function "GetDeviceRemovedReason" in Battlefield 2042 happens mostly to AMD GPU owners but in some instances, Nvidia GPU owners are not safe either. Though, it is worth mentioning that this seems to be an AMD hardware related issue as people with Intel CPU and Nvidia GPU are not experiencing the crashing. 

Before you try to fix the issue, keep in mind that these solutions below work only for some players, meaning that there is no common fix that is almost certain to work. You will likely need to wait for AMD and DICE to release a new update, that will hopefully, fix the problem for most players.

Potential fixes for "GetDeviceRemovedReason" crashing in Battlefield 2042

  • Clean install your display drivers using DDU
  • Download latest drivers: AMD | Nvidia
  • Try undervolting your GPU using Radeon Software or MSI Afterburner
  • Update BIOS and disable XMP
  • Disable overlays (Origin, Steam, Discord) and monitoring software

AltChar

Battlefield 2042

As we already mentioned, these fixes are not certain to help you with the crashing but it's still worth trying as some players reported that disabling XMP helped them as well as updating their drivers to the latest version. 

Hopefully, a fix for these issues will be released in the coming days so you can enjoy Battlefield 2042's other bugs without any crashes. 

Battlefield 2042

  • EA
  • Shooters
  • Battlefield 2042
  • DICE

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.

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.

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.

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.

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

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.

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

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.

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.

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.

Toplist

Neuester Beitrag

Stichworte