Home  >  Article  >  How to fix DirectX errors on Windows 11

How to fix DirectX errors on Windows 11

PHPz
PHPzforward
2023-04-30 13:01:0623426browse

DirectX is arguably one of the most important software libraries for Windows 11. It is a series of application programming interfaces, or APIs, that are used to handle tasks for different types of media on Windows computers.

In other words, it improves the performance of audio and video hardware and its components.

It can greatly improve the experience of video playback and gaming by taking full advantage of graphics fidelity and sound quality. DirectX is essential for professionals working in media production, visual design, and more.

There are many different kinds of APIs in DirectX, all of which are designed to do specific things. Direct3D in particular is one of the most important and popular of all DirectX APIs. It is heavily used in game development for Windows and Xbox consoles.

Why do DirectX errors occur?

In general, DirectX updates automatically so there are rarely any issues, but sometimes you will encounter the odd moment of an error. Sometimes your driver isn't up to date, or something glitches or something breaks in the process.

There are many reasons why DirectX may not work for you. This tutorial will show you various ways to fix DirectX errors, such as updating to the latest version and performing a system restore.

Upgrading to the latest version is important to resolve runtime issues plaguing video games.

如何修复 Windows 11 上的 DirectX 错误

#Valorant is a popular free video game and many players have pointed out recurring issues with DirectX, namely the Runtime API. Because of the pervasive nature of this problem, it's important to point it out.

Before fixing DirectX, you need to check what version of DirectX you have. The latest version of DirectX is 12, native to many Windows 11 devices. An outdated version may be the cause of your problems.

How to fix DirectX errors on Windows 11?

1. Check the DirectX version

  1. Click the magnifying glass icon on the bottom taskbar to bring up the search bar. 如何修复 Windows 11 上的 DirectX 错误
  2. Type dxdiag and click on the first entry you see to run the DirectX Diagnostic Tool. 如何修复 Windows 11 上的 DirectX 错误
  3. Under the System tab, you will see the version of DirectX installed on your computer. 如何修复 Windows 11 上的 DirectX 错误
  4. As you can see in this example, this computer has DirectX 12. If you don't have this version or DirectX 12 Ultimate installed, we recommend downloading the latest version from Microsoft.

2. Download the latest version of DirectX

  1. On your preferred search engine, search for Download DirectX 12 and click on the first entry you see. This will automatically start the download. 如何修复 Windows 11 上的 DirectX 错误
  2. You will download the dxwebsetup.exe file. Click to open the file. 如何修复 Windows 11 上的 DirectX 错误
  3. A small window will appear asking if you want to make changes. Select Yes. 如何修复 Windows 11 上的 DirectX 错误
  4. An installation wizard will appear to guide you. Select I accept the agreement. 如何修复 Windows 11 上的 DirectX 错误
  5. Click Next in the next window. You can also choose to install the Bing Bar. It is recommended that you deselect this option to save space on your computer. 如何修复 Windows 11 上的 DirectX 错误
  6. At this point, DirectX 12 will begin downloading and installing. 如何修复 Windows 11 上的 DirectX 错误
  7. InstallationAfter completion, click Finish. 如何修复 Windows 11 上的 DirectX 错误
  8. For good measure, go back to the DirectX Diagnostic Tool and double the version.

3. Check for Windows Updates

  1. Click the "Start" button and select the "Settings" icon. 如何修复 Windows 11 上的 DirectX 错误
  2. Click Windows Update on the left. 如何修复 Windows 11 上的 DirectX 错误
  3. Select Check for Updates to let Windows 11 download and install any updates, including drivers. 如何修复 Windows 11 上的 DirectX 错误

4. Install optional updates

  1. Some driver updates may be considered optional updates by Windows 11. If you are still experiencing DirectX issues, download the optional update by clicking Windows Update in the Settings menu. 如何修复 Windows 11 上的 DirectX 错误
  2. Select Advanced options. 如何修复 Windows 11 上的 DirectX 错误
  3. Under Other Options, select Optional Updates. 如何修复 Windows 11 上的 DirectX 错误
  4. In the next window, click the Driver Updates drop-down menu and select the optional updates to install. 如何修复 Windows 11 上的 DirectX 错误
  5. Then select the blue Download and Install button. 如何修复 Windows 11 上的 DirectX 错误
Upgrading to DirectX 12 will resolve runtime issues plaguing Valorant players.

5. Using Device Manager

  1. Right-click the "Start" button.
  2. Select Device Manager and open the tool. 如何修复 Windows 11 上的 DirectX 错误
  3. Determine which driver to update.For example, this tutorial will choose to update the driver for your computer's processor. 如何修复 Windows 11 上的 DirectX 错误
  4. Click the arrow to expand. 如何修复 Windows 11 上的 DirectX 错误
  5. Select the driver you want to update and right-click on it. Then select Update Driver. 如何修复 Windows 11 上的 DirectX 错误
  6. A wizard will appear giving you options on how to update the driver. It is recommended that you select Automatically search for drivers. 如何修复 Windows 11 上的 DirectX 错误
  7. If an update is found, Windows 11 will automatically download and install it. If there are no updates, you will see this screen. 如何修复 Windows 11 上的 DirectX 错误
  8. After the driver is successfully updated, select Close. 如何修复 Windows 11 上的 DirectX 错误

If that doesn't work, we recommend you try this site, which will scan your PC for missing or outdated drivers and prompt you to update them.

6. Disable third-party applications and startup services

  1. Press the Ctrl Alt Del key on your keyboard.
  2. Click Task Manager to open the Task Manager window. 如何修复 Windows 11 上的 DirectX 错误
  3. Click on the "Startup" tab and switch. 如何修复 Windows 11 上的 DirectX 错误
  4. In the Startup tab, you'll find a list of all the applications and services that run as soon as you turn on your computer. These applications may slow down your computer and conflict with other applications. 如何修复 Windows 11 上的 DirectX 错误
  5. Right-click the service and select Disable. 如何修复 Windows 11 上的 DirectX 错误
  6. Check if DirectX is now valid. If yes, then the app or service you disabled is the culprit.
  7. If you want further control and wider activation of startup services, open the search bar and enter System Configuration.
  8. Select the first entry you see. 如何修复 Windows 11 上的 DirectX 错误
  9. Go to the " Services" tab and you will see all the background services currently running on your PC. 如何修复 Windows 11 上的 DirectX 错误
  10. Check the Hide all Microsoft services checkbox to remove them. 如何修复 Windows 11 上的 DirectX 错误
  11. Select Disable All to shut down all these processes. This is not permanent as you can go back and re-enable them. 如何修复 Windows 11 上的 DirectX 错误
  12. Click the Apply button. 如何修复 Windows 11 上的 DirectX 错误
  13. Restart your PC and see if DirectX works. If so, one of these services is causing the problem.
  14. It is recommended that you enable them one by one so that you can find the problematic app.

7. Run Command Prompt

  1. In the search bar, enter command prompt.
  2. Select Run as administrator. 如何修复 Windows 11 上的 DirectX 错误
  3. Enter the command sfc /scannow to run System File Checker.
  4. System File Check will scan Windows 11 and verify every file. This will take some time. 如何修复 Windows 11 上的 DirectX 错误
  5. After the scan is complete, all your system files will be checked and repaired. 如何修复 Windows 11 上的 DirectX 错误

8. Perform system restore

  1. Press Windows key R to bring up the Run dialog box.
  2. In the dialog box, type rstruit, and then press Enter to open the System Restore Wizard. 如何修复 Windows 11 上的 DirectX 错误
  3. Click Next in the System Restore Wizard. 如何修复 Windows 11 上的 DirectX 错误
  4. The next window will display the currently available restore points. Select a restore point and click Next. 如何修复 Windows 11 上的 DirectX 错误
  5. Click Finish and your computer will be restored to the point where DirectX was working or before the problem started occurring. 如何修复 Windows 11 上的 DirectX 错误
Please note that restoring the system should be a last resort. This process will delete any content created or added after that restore point.

Are there any other issues I should know about with DirectX or WINdows 11?

Like any operating system, Windows 11 is constantly being fixed. Just recently, patch KB5008215 came out, which fixed file browser crashes, lag issues, and even added a new emoji, Clippy.

A few other DirectX bugs are plaguing some games. For example, League of Legends suffered from a DirectX bug earlier in 2021. FIFA 2021 also suffers from the same issue caused by corrupted game files.

如何修复 Windows 11 上的 DirectX 错误

It's important to make sure your Windows 11 stays healthy and doesn't have any corrupt files or malware slowing everything down. Therefore, it is recommended that you download PC Health Check to test your system and ensure it remains healthy.

The above is the detailed content of How to fix DirectX errors on Windows 11. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete