Some PC gamers are reporting when they try to launch a game or while gaming on their Windows 11 or Windows 10 PC, the game crashes and throws the DirectX function GetDeviceRemovedReason failed with DXGI error message prompt. If you are experiencing a similar issue, then you have most certainly arrived at the right place! In this post, we provide the most suitable solutions to successfully fix this error.
When you encounter this issue, you’ll receive the full error message along the following similar lines;
DirectX function “GetDeviceRemovedReason” failed with DXGl_ERROR_DEVlCE_HUNG. GPU: ‘NVIDIA GeForce GTX 1650’. Driver 43648. This error is usually caused by the graphics driver crashing: try installing the latest drivers.
The error indicates the graphics driver crashed on your system. Unfortunately, as reported by most affected PC gamers, restarting the game doesn’t always solve the problem.
What is a DXGI error?
A DXGI error is associated with your graphics card and occurs when your graphics card stops working properly or loses connection with your computer. There are many reasons for DXGI error, like overclocking of GPU, GPU overheating, corrupted GPU driver, etc. Some users found that faulty RAM can also cause this error.
DirectX function GetDeviceRemovedReason failed with DXGI error
If the DirectX function GetDeviceRemovedReason failed with DXGI error has occurred on your Windows 11/10 gaming device, you can try our recommended solutions below in no particular order and see if that helps to resolve the issue.
- Restart display driver
- Run DirectX Diagnostic Tool (DxDiag)
- Install DirectX from within the Game’s root folder
- Update graphics driver
- Clean install NVIDIA graphics driver
- Modify GstRender settings
- Disable Variable Refresh Rate and Hardware-accelerated GPU Scheduling
- Disable overclocking
- Troubleshoot in Clean Boot state
- Uninstall and Reinstall the game
Let’s take a look at the description of the process involved concerning each of the listed solutions.
Before you try the solutions below, check for updates and install any available bits on your Windows 11/10 device and see if the error reappears when you attempt installing the printer. On the other hand, if the error started after a recent Windows update, you can perform System Restore or uninstall the update – but if you prefer not to do neither, you can then go ahead with the solutions below.
1] Restart display driver
You can begin troubleshooting to fix the DirectX function GetDeviceRemovedReason failed with DXGI error that occurred on your Windows 11/10 gaming device by simply restarting the display driver.
If this action wasn’t helpful, you can restart your PC and see if that helps. If not, you can try the next solution.
2] Run DirectX Diagnostic Tool (DxDiag)
If you’re having problems getting a game or movie to play properly on your Windows 11/10 device, the DirectX Diagnostic Tool can help you pinpoint the likely culprits.
3] Install DirectX from within the Game’s root folder
Most game works best when their own libraries are installed. So, to determine if this is the case here, you can Install the DirectX version from within the Game’s root folder and see if the issue in hand will be resolved.
Do the following:
- Locate and explore the game’s installation folder.
- Alternatively, right-click the game’s shortcut on Desktop or anywhere else and choose Open file location from the menu.
- In the game root folder, locate and open the directx folder.
- In the open folder, locate and open the folder named redlist.
- Now, double-click DXSETUP.exe to run the executable file.
- Follow the on-screen instructions to install DirectX.
- Restart PC once done.
On boot, check if the issue is resolved. Otherwise, see if installing the latest version of Visual C++ redistributable package and the latest version of DirectX from Microsoft helps or try the next solution.
4] Update the graphics driver
This solution requires you to update the graphics driver on your system and see if that helps. You can manually update drivers via Device Manager if you have already downloaded the .inf or .sys file for the driver, or update the driver via Command Prompt. You can as well get the driver updates on the Optional Updates section under Windows Update or you may also download the latest version of the driver from the manufacturer’s website or automatically update your drivers using any of the free Driver Update Software for Windows 11/10 PC.
However, if the latest drivers are installed, you can roll back the driver or download and install an earlier version of the driver.
If both updating and/or rolling back the driver didn’t work, you can uninstall the graphics driver, and then restart your PC – on boot, Windows will scan for hardware changes and automatically reinstall the generic driver for the display/video device which in some cases is sufficient enough for the graphics to function without issues.
5] Clean install NVIDIA graphics driver
To clean install the NVIDIA graphics driver on your Windows 11/10 computer, you first need to uninstall the graphics driver via Device Manager or alternatively use the Display Driver Uninstaller tool. Once done, you can then proceed with the clean install of the NVIDIA graphics driver as follows:
- Open the download page for NVIDIA drivers.
- Enter the required information including the NVIDIA driver and operating system in the boxes.
- Click on Search to see a list of NVIDIA drivers.
- Scroll down the list until you find the required driver.
- Select its name and click on the Download button.
- Open the downloaded driver on your computer and follow the on-screen instructions to install.
- Once you reach the Installation options screen, select the Custom (Advanced) option.
- Click on Next to see a list of installed components.
- Check the option to Perform a clean installation.
- Click Next button to install the driver.
Once the driver installation completes, check to see if the error still appears. If so, try the next solution.
6] Modify GstRender settings
Do the following:
- Press Windows key + E to open File Explorer.
- Navigate to Documents.
- Explore your game folder.
- Next, open the Settings folder.
- Now, open the PROFSAVE_profile file with Notepad or any other Text Editor.
- Locate the GstRender.Dx12Enabled command and change the value from 0 (zero) to 1.
- Save the file.
- Restart your game.
If this change causes additional issues, go back to PROFSAVE_profile and change the GstRender.Dx12Enabled command back to zero.
7] Disable Variable Refresh Rate and Hardware-accelerated GPU Scheduling
Try the next solution if the issue persists.
8] Disable overclocking
This solution requires you to stop overclocking your CPU. So, if you have overclocked your PC, you can simply reverse the change depending on the overclocking software in use. Generally, launch the software and look for the option to stop the overclocking. Once done, restart your computer and see if the issue is resolved. Otherwise, proceed with the next solution.
9] Troubleshoot in Clean Boot state
Background programs can sometimes interfere with the games you’re playing causing them to crash and consequently throw errors. So, be sure to close all the background programs that you don’t need while gaming – do that prior to launching your game. Likewise, unnecessary system and cache files, processes, services present or running on your computer can trigger this error. In this case, you can troubleshoot in Clean Boot State and see if the issue at hand is resolved. Otherwise, try the next solution.
10] Uninstall and Reinstall the game
If nothing has worked so far for you, you can uninstall the game (preferably, use third-party software uninstaller), clear the game AppData folder contents, reboot the PC, and then download and reinstall the latest version of the game on your Windows 11/10 PC.
To clear/delete the game AppData folder contents, do the following:
- Press Windows key + R to invoke the Run dialog.
- In the Run dialog box, type the environment variable below and hit Enter.
- At the location, find (you may need to show hidden files/folders) the problematic game folder.
- Right-click the folder and select Delete. Confirm any additional prompts.
- Exit File Explorer when done.
Any of these solutions should work for you!
What causes DXGI_ERROR_DEVICE_HUNG?
The DXGI_ERROR_DEVICE_HUNG error is a common problem that is typically associated with the DirectX configuration on your system. Generally, the error could be triggered due to Direct X problems, incorrect game settings, outdated drivers, RAM problems, overclocked CPU, and others.