Recently, users often encounter errors such as D3D11 CreateDeviceAndSwapChain Failed, “Failed to initialize DirectX 11”, “The program cannot be started because the d3dx11.dll file is missing from the computer” and the like. This happens more often in Windows 7, but under some conditions, you may encounter a problem in Windows 10.
As you can see from the error text, the problem is the initialization of DirectX 11, or rather, Direct3D 11, for which the d3d11.dll file is responsible. At the same time, despite the fact that, using the instructions on the Internet, you could already look into dxdiag and see that DX 11 (or even DirectX 12) is installed, the problem may persist. This guide contains details on how to fix the D3D11 CreateDeviceAndSwapChain Failed or d3dx11.dll error.
Bug Fix D3D11
The cause of the error in question may be various factors, the most common of which
- Your video card does not support DirectX 11 (at the same time, by pressing Win + R and entering dxdiag, you can see there that version 11 or version 12 is installed. However, this does not mean that there is support for this version from the side of the video card - only that the files of this version are installed on the computer).
- The latest original drivers are not installed on the video card - at the same time, novice users often try to update the drivers using the "Update" button in the device manager, this is the wrong method: the message that the "Driver does not need to be updated" usually means little with this method.
- The necessary updates for Windows 7 are not installed, which can lead to the fact that even with DX11, the d3d11.dll file and a supported video card, games like Dishonored 2 continue to report an error.
The first two points are interconnected and can be found equally among users of Windows 7 and Windows 10.
The correct procedure for error handling in this case will be:
- Manually download the original video card drivers from the official sites of AMD, NVIDIA or Intel (see, for example, How to install NVIDIA drivers in Windows 10 ) and install them.
- Go to dxdiag (Win + R keys, enter dxdiag and press Enter), open the “Display” tab and in the “Drivers” section pay attention to the “DDI for Direct3D” field. For values 11.1 and higher, D3D11 errors should not appear. For smaller ones, it is most likely a matter of the lack of support from the video card or its drivers. Or, in the case of Windows 7, in the absence of the necessary platform update, about which - further.
You can also see the separately installed and supported hardware version of DirectX in third-party programs, for example, in AIDA64 (see How to find out the version of DirectX on a computer ).
In Windows 7, D3D11 and DirectX 11 initialization errors when launching modern games may appear even when the necessary drivers are installed and the video card is not from the old ones. Correct the situation as follows.
How to download D3D11.dll for Windows 7
In Windows 7, the default may not be the d3d11.dll file, and in those images where it is present, it may not work with new games, causing D3D11 initialization errors.
It can be downloaded and installed (or updated if it is already on the computer) from the official Microsoft website as part of updates released for 7 matches. I do not recommend downloading this file separately from some third-party sites (or taking it from another computer), it is unlikely that this will fix d3d11.dll errors when starting games.
- For proper installation, you must download the Update for the Windows 7 platform (for Windows 7 SP1) - https://www.microsoft.com/en-us/download/details.aspx?id=36805 .
- After downloading the file, run it, and confirm the installation of update KB2670838.
Upon completion of the installation and after restarting the computer, the library in question will be in the desired location (C: \ Windows \ System32 \), and errors due to the fact that d3d11.dll is either absent on the computer or D3D11 CreateDeviceAndSwapChain Failed will not appear (provided that you have fairly modern equipment).