PC 游戏玩家报告了一个问题,即在他们的 Windows 11 或 Windows 10 计算机上玩任何游戏时,他们遇到错误,导致游戏突然结束。随后的错误提示指示DXGI_ERROR_DEVICE_REMOVED。在这篇文章中,我们为这个问题提供了最充分的解决方案。
什么是 DirectX 错误?
您在 Windows PC 上可能遇到的DirectX 错误与(DirectX error)DirectX有关,通常表明您的 PC 遇到了DirectX 故障(DirectX failure)。如果您收到此类错误消息,要解决此问题,请确保您的系统上安装了最新版本的DirectX。
DXGI_ERROR_DEVICE_REMOVED 错误
如果您遇到此DXGI_ERROR_DEVICE_REMOVED 问题,您可以尝试以下我们推荐的解决方案(不分先后顺序),看看是否有助于解决问题。
- 重新启动图形适配器驱动程序
- 更新显卡驱动
- 手动安装/更新 DirectX
- (Troubleshoot)使用DirectX 诊断工具(DirectX Diagnostic Tool)( DxDiag )进行故障排除
- 修改注册表
- 关闭影子游戏
- 禁用抗锯齿功能
让我们看一下关于列出的每个解决方案所涉及的过程的描述。
1]重新启动图形适配器驱动程序
由于此DXGI_ERROR_DEVICE_REMOVED问题可能是由 Windows 11/10 上的graphics/video card driver crashing引起的,您只需重新启动显卡驱动程序(restart the graphics adapter driver)即可。如果这不是严重或致命的驱动程序问题,那么此操作将使您启动并运行;否则,请继续以下解决方案。
2]更新图形驱动程序
此解决方案要求您更新显卡驱动程序。您可以通过设备管理器(Device Manager)手动更新图形驱动程序(update your graphics drivers manually),也可以在Windows Update下(Windows Update)的可选更新(get the driver updates on the Optional Updates)部分获取驱动程序更新。您也可以 从显卡硬件制造商的网站下载最新版本的驱动程序。(download the latest version of the driver)
如果更新驱动程序没有帮助,您可以使用 Display Driver Uninstaller 完全卸载显卡驱动程序(uninstall the graphics driver using Display Driver Uninstaller),然后下载最新版本的驱动程序并将其安装到您的 Windows PC 上。
3]手动安装/更新DirectX
此解决方案需要您手动 下载并安装 DirectX(download and install DirectX),看看是否有助于解决问题。您还可以更新Windows PC 上运行的DirectX的当前版本。(DirectX)如果问题未解决,请继续执行下一个解决方案。
4]使用DirectX 诊断工具(DirectX Diagnostic Tool)( DxDiag )进行故障排除(Troubleshoot)
此解决方案要求您使用DirectX 诊断工具 (DxDiag)(DirectX Diagnostic Tool (DxDiag))解决由视频游戏引起的DirectX问题。
5]修改注册表
由于这是注册表操作,建议您备份注册表(back up the registry) 或 创建系统还原点作为必要的预防措施。完成后,您可以执行以下操作:
- 按Windows key + R调用“运行”对话框。
- 在“运行”对话框中,键入regedit并按 Enter 以打开注册表编辑器(open Registry Editor)。
- 导航或跳转到下面的注册表项路径:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers
- 在该位置,右键单击右侧窗格中的空白区域,然后选择新建(New)> DWORD(32 位)值(DWORD (32-bit) Value) 以创建注册表项,然后将该项重命名为TdrLevel 并按 Enter。
TdrLevel指定恢复的初始级别。默认是在超时时恢复,由值3表示。默认值为2秒。TDR 是Timeout Detection and Recovery的首字母缩写词,它是(Timeout Detection and Recovery)Windows操作系统 的一项功能,可检测显卡的响应问题,并通过重置显卡恢复到功能正常的桌面。
- 双击(Double-click)新条目以编辑其属性。
- 在值(V)数据(alue data)字段中输入0 。
- 单击确定(OK)或按 Enter 保存更改。
您现在可以退出注册表编辑器(Registry Editor)并重新启动您的 PC。在启动时检查问题是否已解决。如果没有继续下一个解决方案。
6]关闭皮影戏
大多数受影响的用户都在他们的Windows计算机 上安装了NVIDIA显卡——NVIDIA Shadow play 用于在支持的系统上捕获游戏中的画面。
此解决方案要求您关闭影子(Shadow)游戏。就是这样:
- 按 Windows 键,然后键入geforce experience。
- 从搜索结果中选择GeForce Experience 。
- 在GeForce Experience窗口中,转到常规(General) 选项卡。
- 现在,将IN-OVER OVERLAY(IN-OVER OVERLAY)的按钮切换到Off。
- 退出 GeForce Experience 窗口。
检查问题是否已解决。如果没有,请尝试下一个解决方案。
7]禁用抗锯齿功能
要在Windows PC 的(Windows)NVIDIA控制面板中禁用抗锯齿功能,请执行以下操作:
- 打开NVIDIA 控制面板(NVIDIA control panel)。
- 在控制面板中,单击左侧窗格中的管理 3D 设置。(Manage 3D settings)
- 单击全局设置(Global settings)。
- 接下来,单击Antialiasing-FXAA功能并将其设置为Off。
- 对所有其他列出的抗锯齿(Antialiasing)功能重复此操作。
- 完成后单击应用(Apply)。
- 退出 NVIDIA 控制面板。
- 重启电脑。
希望(Hope)这些解决方案中的任何一个都适合您。
如何修复DXGI_ERROR_DEVICE_HUNG?
在 Windows 11/10 PC 上玩游戏时遇到错误DXGI_ERROR_DEVICE_HUNG,这很可能是由于显卡超频以获得更高性能。其他原因(例如过时的驱动程序或系统文件故障)也可能触发此错误。您可以尝试许多修复程序,包括更新图形适配器驱动程序、手动安装/更新DirectX到最新版本。
Fix DXGI_ERROR_DEVICE_REMOVED on Windows 11/10 PC
PC gamers are reportіng thе issue whereby whіle playing any gаme on their Windows 11 or Wіndows 10 сomputer thеy encounter an errоr which causes the game in play tо end abruptly. The ensuing error prompt indicates DXGI_ERROR_DEVICE_REMOVED. In this post, we provide the most adequate solutions to this issue.
What is a DirectX error?
A DirectX error that you may encounter on your Windows PC is related to DirectX, and generally indicates your PC has experienced a DirectX failure. If you receive such error message, to resolve the issue, make sure you have the latest version of DirectX installed on your system.
DXGI_ERROR_DEVICE_REMOVED error
If you’re faced with this DXGI_ERROR_DEVICE_REMOVED issue, you can try our recommended solutions below in no particular order and see if that helps to resolve the issue.
- Restart graphics adapter driver
- Update graphics driver
- Manually install/update DirectX
- Troubleshoot using DirectX Diagnostic Tool (DxDiag)
- Modify the registry
- Turn off Shadow play
- Disable Anti-Aliasing feature
Let’s take a look at the description of the process involved concerning each of the listed solutions.
1] Restart graphics adapter driver
Since this DXGI_ERROR_DEVICE_REMOVED issue can be caused by the graphics/video card driver crashing on your Windows 11/10, you can simply restart the graphics adapter driver. If it’s not a serious or fatal driver issue, then this action will get you up and running; otherwise, continue with the solutions below.
2] Update the graphics driver
This solution requires you to update your graphics card drivers. You can either update your graphics drivers manually via the Device Manager, or you can get the driver updates on the Optional Updates section under Windows Update. You may also download the latest version of the driver from the video card hardware manufacturer’s website.
If updating the drivers didn’t help, you can completely uninstall the graphics driver using Display Driver Uninstaller, and then download the latest version of the driver and install it on your Windows PC.
3] Manually install/update DirectX
This solution requires you manually download and install DirectX and see if that helps to resolve the issue. You may also update the current version of DirectX running on your Windows PC. Proceed with the next solution if the issue is unresolved.
4] Troubleshoot using DirectX Diagnostic Tool (DxDiag)
This solution requires you to troubleshoot the DirectX issue caused by the video game using the DirectX Diagnostic Tool (DxDiag).
5] Modify the registry
Since this is a registry operation, it is recommended that you back up the registry or create a system restore point as necessary precautionary measures. Once done, you can proceed as follows:
- Press Windows key + R to invoke the Run dialog.
- In the Run dialog box, type regedit and hit Enter to open Registry Editor.
- Navigate or jump to the registry key path below:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers
- At the location, right-click on the blank space on the right pane and then select New > DWORD (32-bit) Value to create the registry key and then rename the key as TdrLevel and hit Enter.
TdrLevel specifies the initial level of recovery. The default is to recover on timeout, which is represented by value 3. The default value is 2 seconds. TDR is the acronym for Timeout Detection and Recovery – a feature of the Windows operating system which detects response problems from a graphics card, and recovers to a functional desktop by resetting the card.
- Double-click on the new entry to edit its properties.
- Input 0 in the Value data field.
- Click OK or hit Enter to save the change.
You can now exit Registry Editor and restart your PC. On boot check if the issue is resolved. If not continue with the next solution.
6] Turn off Shadow play
Most of the affected users have NVIDIA graphics cards installed on their Windows computers – NVIDIA Shadow play is used to capture in-game footage on supported systems.
This solution requires you to turn off Shadow play. Here’s how:
- Press the Windows key, then type geforce experience.
- Select GeForce Experience from the search result.
- In the GeForce Experience window, go to the General tab.
- Now, toggle the button for IN-OVER OVERLAY to Off.
- Exit the GeForce Experience window.
Check if the issue is resolved. If not, try the next solution.
7] Disable Anti-Aliasing feature
To disable Anti-Aliasing feature in NVIDIA control panel on your Windows PC, do the following:
- Open NVIDIA control panel.
- In the control panel, click on Manage 3D settings on the left pane.
- Click on Global settings.
- Next, click on the Antialiasing-FXAA feature and set it to Off.
- Repeat for all other listed Antialiasing features.
- Click Apply when done.
- Exit NVIDIA control panel.
- Restart PC.
Hope any of these solutions work for you.
How do I fix DXGI_ERROR_DEVICE_HUNG?
While gaming on your Windows 11/10 PC and you encounter the error DXGI_ERROR_DEVICE_HUNG, it’s most likely due to overclocked graphics cards for higher performance. Other reasons like outdated drivers or malfunctioned system files can also trigger this error. There are a number of fixes you can try, including updating your graphics adapter drivers, manually installing/updating DirectX to the latest version.