Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home » Windows

8 Ways to Fix DXGI_ERROR_DEVICE_HUNG Error

Bishwo TamliBy Bishwo TamliSeptember 10, 2022
dxgi_error_device_hung

DXGI_ERROR_DEVICE_HUNG is one of the many error codes returned by the DXGI function. This error is common while gaming, especially if it is a graphically demanding game. It is categorized by improper instructions sent by the application, which results in DXGI Error.

Many gamers have faced this error during gameplay, causing it to freeze their games. They would then have to force restart the game to reload it.

As this is an issue with the DirectX Graphics Infrastructure (DXGI), most of the fixes revolve around updating your DirectX or GPU driver.

Table of Contents

  • How to Fix DXGI_ERROR_DEVICE_HUNG?
    • Reinstall Graphics Card Driver
    • Clear DirectX Shader Cache
    • Only Use Dedicated GPU
    • Check Your RAM Module
    • Turn Off Overclocking
    • Edit Registry Files
    • Update Windows
    • Reinstall Application

How to Fix DXGI_ERROR_DEVICE_HUNG?

There are several methods to fix this particular DXGI error, and not all of them may work for you. Depending on the cause of the issue, you may want to cycle through the fixes to determine which one works for you.

Before you begin, you might want to lower your graphics settings to see if it solves the issue.

Here are the possible fixes for this specific DXGI error code.

Reinstall Graphics Card Driver

The graphics card, also known as GPU, is essential computer hardware. The graphics card is used for rendering computer displays, but it mostly shines when rendering video game graphics.

However, the more demanding a game is, the more it pushes the limit of your GPU. If your graphics card driver fails at critical times, you can get DXGI errors.

So, reinstalling the GPU drivers will ensure a good working copy of the driver to be installed.

Here’s how you can reinstall it.

  1. Press Windows + R shortcut key to open the Run utility.
  2. Open Device Manager by entering devmgmt.msc
    devmgmt msc device-manager-run-command
  3. Navigate to Display adapters and right-click your graphics card driver.
  4. Choose Uninstall driver and confirm.
    uninstall nvidia driver
  5. Download the latest version of your GPU driver from the official manufacturer’s website.
  6. Run the setup file.
  7. Follow the prompts.

You can also use the open source software, Display Driver Uninstaller, to completely uninstall a display driver and its registry and user files. This ensures that none of the previous corrupt files are present in the reinstalled driver.

Clear DirectX Shader Cache

Clearing your DirectX shader cache can help with several DirectX errors. The DXGI error is the direct result of DirectX not working properly. It can be because the DirectX cache may have been corrupted.

Furthermore, if the DirectX cache is too large, you may even see a slight increase in performance after clearing it.

So, you can try clearing your DirectX cache to resolve this issue.

  1. Access the start menu and launch Settings.
  2. Click the System tab and select Storage option.
  3. Tap on the Temporary files menu.
    storage temporary files
  4. Select DirectX Shader Cache and click on Remove files.
    clear directx cache

Only Use Dedicated GPU

Only using dedicated GPU for gaming has also fixed this issue for many who have faced the DXGI error. While this method varies from PC to PC, here’s an example of how you can enable this setting from the NVIDIA control panel.

  1. Right-click on the desktop and choose NVIDIA control panel.
  2. Go to Manage 3D settings in the new window.
  3. Under Global Settings in the right panel, locate OpenGL rendering GPU.
  4. Click on it and choose your GPU from the dropdown menu.
    opengl geforce
  5. Exit NVIDIA control panel.

Check Your RAM Module

Another cause for this specific error could be a problem with your main system memory. The RAM is essential for running games, and demanding games stress the computer’s RAM.

Using the built-in Windows Memory Diagnostic Tool, you can check if your RAM is working fine. If it does find some error, you may need to replace your RAM.

Follow the steps below to check your RAM.

  1. Press Windows key + R key to open Run dialog box.
  2. Enter mdsched.exe to open Windows Memory Diagnostic Tool.
  3. Choose the Restart now and check for problems option.
    restart-and-check-for-problem
  4. After your PC restarts, it will start scanning your RAM. The results will be displayed after another restart.

Windows Memory Diagnostic Tool only performs a surface-level scan of your RAM. You can use powerful third-party applications like Memtest86+ to perform a deeper level scan if you like. 

Furthermore, if you have enabled XMP, you may want to turn it off and see if it fixes this DXGI error. XMP is an overclocking profile but for the RAM.

Turn Off Overclocking

If you’ve enabled GPU overclocking, you can try disabling it to see if it fixes the issue. Overclocking pushes your GPU over the recommended limit set by the manufacturer for better performance.

However, it causes a serious drain on your GPU and can cause various errors. The DXGI errors can also stem from overclocking GPUs.

There are different tools with which you can overclock your GPU, and it is recommended that you disable it from the same tool. 

Furthermore, most big GPU manufacturers have dedicated software for overclocking the GPU. You can easily disable this process from there.

However, here’s how you can disable this function directly from the BIOS.

  1. Restart your computer.
  2. As soon as it turns on, repeatedly press the Del key to open the BIOS menu. (The key to open BIOS may vary depending on your motherboard. Check with your hardware manufacturer to get the corresponding key.)
  3. Press F2 to view in classic mode and navigate to the M.I.T. tab using arrow keys.
  4. Choose Advanced Frequency Settings, select CPU Clock Ratio.
    bios cpu overclock
  5. Modify it to Auto.
  6. Hit F10 to save and exit BIOS.

Note: The above method is for the Gigabyte BIOS menu, and some steps may vary depending on your motherboard BIOS.

Edit Registry Files

You can disable TDR from the Registry Editor to fix this DXGI error. The TDR (timeout Detection and Recover) is a system process that determines if the graphics card is unresponsive. While this is an important system process, it can give false positives to cause the DXGI error.

However, disabling TDR may cause your computer to experience freezes, so you should consider it before applying it.

Follow the steps below.

  1. Launch the Run utility by pressing Windows + R hotkey.
  2. Open Registry Editor by entering regedit
    run-command-of-regedit
  3. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers
  4. Right-click on the empty area, select New, and choose DWORD value. (If there is already a TdrLevel entry, jump to step 6.)
    new dword value tlderlevel
  5. Name the new value as TdrLevel.
  6. Double-click the TdrLevel entry and change Hexadecimal value on Base section to 0 and click OK.
    tdrlevel value 0
  7. Exit Registry Editor and restart your PC.

Update Windows

Windows updates can also help solve the DXGI error. If your previous Windows update was improperly installed or had some bugs and errors, updating it will clear the problem. It also brings various new updates like driver updates and DirectX updates.

It is always recommended to update your Windows build to the latest. Follow the steps below to update your Windows OS.

  1. Press Windows + I shortcut key to launch Settings.
  2. Navigate to Update & Security and choose Check for updates.
    check-for-updates
  3. Download and Install any new updates if there are any.

Reinstall Application

If the DXGI_ERROR_DEVICE_HUNG error shows up in only one application or game, you can consider reinstalling it to resolve the issue. If there are any problems with the application itself, a reinstall will help sort it out.

Here’s how you can reinstall the application.

  1. Launch Settings by pressing Windows + I hotkey.
  2. Choose Apps from the options.
  3. Locate the application you want to reinstall and click on it.
  4. Select Uninstall and confirm.
    uninstall program
  5. After uninstalling, download the application and install it again.

If the fixes on this list don’t work for you, it may be a hardware issue with your GPU. You may need to perform physical repair or replacement to solve this error if it is a hardware problem.

fix
Bishwo Tamli

I'm a tech enthusiast, and I've always been troubleshooting errors by myself for years. I also like keeping up to date with the latest technology and gadgets.

Related Posts

how to download and use rufus

How to Download and Use Rufus

September 28, 2023
how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 27, 2023
what happens if you turn off your computer during an update

What Happens if You Turn Off Your Computer During an Update?

September 18, 2023
How to Disable Integrated Graphics

How to Disable Integrated Graphics?

September 16, 2023
System Restore Stuck

How To Fix Windows Stuck on System Restore

September 16, 2023
startup-repair-couldn't-repair-your-pc

How To Fix “Startup Repair Couldn’t Repair Your PC”

September 13, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
motherboard form factors

Motherboard Types: ATX, Micro ATX, and Mini ITX Explained

September 28, 2023
how to download and use rufus

How to Download and Use Rufus

September 28, 2023
how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 27, 2023
You may also like
printer-not-printing

How to Fix a Printer That’s Not Printing

September 26, 2023
Share Location With Friends and Family

Share Location With Friends and Family (iPhone and Android)

September 18, 2023
how-to-print-without-a-printer

How to Print Without a Printer

September 18, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.