Some Windows users encounter Fatal DirectX Error Codes 2, 3, 4, 6, or 15 when playing games such as Just Cause 2. Due to this the game crashes or just refrains from launching. In this post, we will talk about all of those DirectX errors and see how one can resolve them.
Fatal Direct X error!
Result: 0x997A0002: DXGI_ERROR_NOT_FOUND
The game will now exit. Try starting the game with /failsafe if the problem persist.
Fatal DirectX error!
Result: 0x887A0001: DXGI_ERROR_INVALID_CALL
The game will now exit. Try starting the game with /failsafe if the problem persist
Fatal DirectX error! Code: 15
Result: 0x80070057: E_INVALIDARG
The game will now exit. Try starting the game with failsafe if the problem persist.
This guide is also applicable for other Fatal DirectX errors including Error Code 2 and 4.
Fatal DirectX Error Codes 2, 3, 4, 6, or 15
If you get Fatal DirectX Error Codes 2, 3, 4, 6, or 15, follow the solutions mentioned below.
- Make sure that your graphics card is compatible with DirectX 10
- Update Graphics Drivers and DirectX
- Uninstall and reinstall the latest version of the graphics card
- Change the launch option of the game
- Install or reinstall Visual C++ Redistributable for Visual Studio 2012 Update 4
- Verify the integrity of game files
- Reinstall the game
Let us talk about them in detail.
1] Make sure that your graphics card is compatible with DirectX 10
More often than not, users who have encountered this issue were running Just Cause 2 on a Graphics Card that does not support DirectX 10. In that case, you need to upgrade your GPU.
2] Update Graphics Drivers and DirectX
Sometimes, even though our Graphics Card does support DirectX 10 and the game in question, if its drivers are left untouched and are not updated frequently, it will become incompatible with the game. In order to update the Graphics Driver, follow any of the methods mentioned below.
- Install the latest version of the driver from the manufacturer’s website.
- Get a free driver update tool to keep all your drivers up-to-date.
- Install the latest version of the driver from Windows Optional and Driver Update.
Once your Graphic drivers are updated, it’s time to update DirectX. We can know the version of DirectX installed on our computer, using the DirectX Diagnostic Tool. To do the same, open Run, type DxDiag, and hit Enter. This should do the job for you.
3] Uninstall and reinstall the latest version of the graphics card
Next up, you need to uninstall the graphics card from Device Manager and then install the latest version of the same. We do this to ensure that the issue is not caused by to corrupted driver. In order to do the same, follow the steps mentioned below to do the same.
- Open Device Manager by Win + X > Device Manager.
- Next up, expand Display Adapter, right-click on the graphics driver, and select Uninstall Device.
- Click on Uninstall to confirm your action.
Your computer will go blank for a few seconds, but after that, it will install the generic driver. However, since we want to correct the driver, right-click on the Display Adapter from Device Manager and select Scan for hardware changes. This will install the correct driver, if the driver is still not installed, download the latest version of the driver from the manufacturer’s website.
4] Change the Launch Option for the game
You can change the launch option for the game in the Steam Client launcher. We will set the launch option such that it allows the game to bypass compatibility issues. You should do this regardless of the Fatal Direct X Error code you received. To do the same, follow the steps mentioned below.
- Open Steam and go to the Library.
- Now, right-click on the game that’s causing issues for you, and select Properties.
- In the Launch Options field, enter /dxadapter.
Close the settings, and reboot your computer. Finally, launch the game and check if the issue is resolved.
If you are not a Steam user, you can change the Launch Option from the properties of the game. To do the same, go to the location where your game is installed, right-click on its shortcut, and select Properties. Then, in the Shortcut tab, append /dxadapter=0 in the Target field.
5] Install or reinstall Visual C++ Redistributable for Visual Studio 2012 Update 4
If you get Fatal DirectX 4 you need to install Visual C++ Redistributable for Visual Studio 2012 Update 4, because that’s essentially what is asked of you as the error code signifies incompatibility between the DirectX and Visual Studio C++ Redistributable version. To do the same, go to microsoft.com, download and install the version mentioned there. In case, updating doesn’t work, we need to reinstall the app. To do the same, open Settings by Win + I, go to Apps > Installed apps, search for “Visual C++”, uninstall the latest version of Visual Studio C++, and then install the latest version of the same.
6] Verify the integrity of game files
The DirectX error can be caused if the game files themselves are corrupted. These game files are notorious for being corrupted; that’s why almost all modern-day launcher, including Steam and Epic Games, has given the option to verify the integrity of game files. It will scan the game files, and if they are corrupted or have some missing fragments, the needful remedy will be done. Hopefully, this will resolve the issue for you.
7] Reinstall the game
If nothing works, we need to reinstall the game as that would eliminate all possibilities of corrupted game files. Also, any particular package that was not installed in the first attempt will get installed this time.
How do I fix Fatal DirectX error?
The Fatal DirectX error can be easily resolved by updating the GPU drivers as well as DirectX. However, there are instances when one has to downgrade DirectX or make it compatible with it using some launch option. We have mentioned every single solution required to resolve the Fatal DirectX error earlier in this post.
What is DirectX error code 6 Just Cause 2?
The DirectX Error Code 6 in Just Cause 2 occurs when the DirectX receives an incorrect input parameter. In that case, we can change the launch option of the game and set it to /dxadapter to resolve the issue.
Read: Fix DirectX Error on Windows.