How to Fix DirectX Error in Divinity Original Sin 2?
The DirectX error in Divinity Original Sin 2 might occur due to wrong game configurations or corrupt/conflicting applications. The wrong game configurations might range from incompatible FPS counts to corrupt game graphics. The DOS2 game crashes with the DirectX error, either at the game launch or during the gameplay. There are many variants of the error message on the game but the following is the main one:
There can be many causes due to which DOS2 might show the DirectX error but the following can be easily marked as the most common ones:
- Outdated or Corrupt Graphics Driver: If the graphics driver of your system is outdated or corrupt, it may not let the game properly execute its graphics, resulting in the issue at hand.
- Interference from the Conflicting Applications: You may encounter the DirectX error on Divinity Original Sin 2 if any of the other applications (like Nvidia GeForce Experience) on the system is hindering the execution of the game’s graphics.
- Mismatch Between the Game’s FPS and System Resolution: If the DOS2’s FPS does not match the system’s resolution, then that can glitch out the system’s graphics modules, causing the issue.
- Corrupt Game or System Files: If the game or system files are corrupt, then that could result in the DirectX error as the game may fail to access the essential files for the execution of its graphics modules.
1. Update the System’s Drivers to the Latest Build
You may encounter the DirectX error on Divinity Original Sin 2 if the system’s drivers (especially, graphics and sound drivers) are outdated as it may make these drivers incompatible with the game. Here, updating the system’s drivers to the latest build may solve the problem.
- Update the PC’s Windows to the latest build (as many OEMs prefer to use Windows updates to propagate the latest versions of the drivers of their products) and check if that resolves the DirectX issue.
- If not, check if updating the system’s drivers to the latest build clears the DirectX error. If you have an OEM utility like Dell Support Assist, updating through that app should be preferred.
If that did not work and you recently shuffled the devices on the system’s ports (like a USB hard drive switched from one port to another port), then check if reverting the devices to their previous ports solves the problem. If the issue persists, check if booting the system with bare minimums clears the DirectX error. If you have a game controller, check if playing the DOS2 through the game controller solves the problem.
2. Disable Microsoft’s Game Mode
Microsoft has inducted Game Mode into its Windows OS to enhance the gameplay on a client device. If the enhancement mechanism of the Game Mode is glitching out the graphics processing capabilities of the DOS2 game, then you will encounter this error. In this scenario, disabling Microsoft’s Game Mode on your system may solve the problem.
- Click Windows, type, and open Game Mode Settings.
- Now disable Game Mode by toggling its switch to the off position and then relaunch the Steam client (if opened).
- Then open Divinity Original Sin 2 and check if its DirectX error is cleared.
3. Re-launch the Divinity Original Sin 2 as Administrator
If the Divinity Original Sin 2 game cannot access the protected system files which are essential for the game’s operation due to the non-availability of administrative rights, then that may result in the DirectX error at hand. Moreover, the corrupt installation of the DirectX can also cause the issue at hand. In this case, launching the Divinity Original Sin 2 as administrator and reinstalling the DirectX may solve the problem.
- Right-click Windows and select Run.
- Now head to the following path in the installation directory of Divinity Original Sin 2 (where C is the system drive):
C:\Program Files (x86)\Steam\steamapps\common\Divinity Original Sin 2\_CommonRedist\DirectX\Jun2010
- Now right-click on the DXSETUP file and select Run as Administrator.
- Then let it reinstall and afterward, check if the DirectX error is cleared from the game.
- If not, head to the following path in the installation directory of the Divinity Original Sin 2:
C:\Program Files (x86)\Steam\steamapps\common\Divinity Original Sin 2\bin
- Now right-click on EoCApp.exe and select Run as Administrator.
- Then check if the DirectX error of the Divinity Original Sin 2 is cleared.
- If not, check if removing all the game mods resolves the issue. If so, then you may add back your mods one by one to find the problematic one.
4. Disable G-Sync in the Graphics Utility
G-Sync is the graphics technology used to match the GPU’s refresh rate with the display’s refresh rate to avoid tearing the game’s display on the screen. Regardless of its usefulness, sometimes, the G-Sync technology may hinder the graphic rendering of Divinity Original Sin 2 on your PC, resulting in the DirectX error. Here, disabling G Sync in the graphics utility may resolve the error at hand.
- Exit the Divinity Original Sin 2 game and close its launcher.
- Then, from the system tray, launch the NVIDIA control panel, and in the left pane of the window, expand the Display tab.
- Then head to the Set-up G-Sync tab and in the window’s right pane, untick the checkbox of Enable G-Sync.
- Now apply the changes made and launch Divinity Original Sin 2 to check if its DirectX error is cleared.
5. Disable Full-Screen Optimization of the Game and Launch it in the Compatibility Mode
If your system is trying to optimize the game during the full-screen mode or if the game is not compatible with the latest OS update, then that may lead to the DirectX error of DSO2 as the game’s graphics execution is hindered. In this scenario, disabling Full-Screen Optimization of the game or launching the game in compatibility mode may solve the problem.
- Launch the Steam client and select the Divinity Original Sin 2.
- Now open its Properties and head to the Local Files tab.
- Afterward, click on Browse Local Files and wait till the File Explorer is launched showing the installation directory of DOS2.
- Then right-click on the EoCapp.exe and select Properties.
- Now checkmark Disable Full-Screen Optimization and click on Apply.
- Then launch Divinity Original Sin 2 and check if it is working normally.
- If not, head to the Compatibility tab of the EoCapp.exe Properties and checkmark Run This Program in the Compatibility Mode.
- Now set the Compatibility Mode to Windows 7 and apply the changes made.
- Now relaunch Divinity Original Sin 2 and check if it is clear of the DirectX error.
- If that did not work, right-click Windows and select Run.
- Then steer to the following:
%userprofile%/Documents/Larian Studios/Divinity Original Sin 2 Definitive Edition
- Now open graphicSettings.lsx with the Notepad and find Fullscreen.
- Then set its value to 0 and find FakeFullScreen.
- Now set its value to 1 and close the Notepad after saving the changes.
- Then launch Divinity Original Sin 2 and check if its DirectX issue is resolved.
- If that fails, check if launching the DOS2 game in the windowed mode resolves the issue.
6. Disable Keyboard Lighting Effects for the Game
If you are using a keyboard with lighting effects (like a Razer keyboard) and the effects are enabled for DOS2, then that can cause the issue at hand if the game fails to properly handle the input signal from the keyboard with lighting effects. Here, disabling keyboard lighting effects may clear the DirectX error. For illustration, we will discuss the process for a Razor lighting keyboard through the Razer Synapse app.
- Launch the Razer Synapse app and head to the games tab or Chroma apps.
- Now select Divinity Original Sin 2 and disable the custom effects of the keyboard or you may disable the feature for all the apps by disabling Chroma apps.
- Then launch DOS2 and check if its DirectX error is cleared.
7. Perform Clean Boot of the System and Uninstall the Conflicting Applications
If a 3rd party application is interfering with the game’s modules and not letting the game properly execute its graphics, then that may lead to the DirectX error. In this scenario, performing a clean boot of the system and uninstalling the conflicting applications may solve the problem.
- Perform a clean boot of the system and check if Divinity Original Sin 2 works fine.
- If so, then you may enable back (one by one) the processes/services/applications disabled during the clean boot to find out the problematic one. Once found, you may uninstall it (if not essential) or keep it disabled during the system’s startup.
The following applications are reported ones to cause the DirectX error on Divinity Original Sin 2:
- Razer SDK
- Razer Synapse
- Nvidia software or Nvidia GeForce Experience
- Twitch Desktop, OBS, Shadow Play (any overlay application)
If you have any of these or similar applications installed on your system, then uninstalling it may resolve the DirectX issue. For illustration, we will discuss the process for the Nvidia GeForce Experience.
- Right-click Windows and select Apps & Features.
- Now expand the options of Nvidia GeForce Experience and select Uninstall.
- Then confirm to uninstall GeForce Experience and afterward, follow the prompts on your screen to complete the uninstallation.
- Once done, restart your PC and upon restart, check if the DirectX error of Divinity Original Sin 2 is cleared.
8. Match the Game’s FPS and The System’s Resolution
If there is a mismatch between your game’s FPS and the system’s resolution, then that may glitch out the game’s graphics output and thus result in the DirectX error. Here, matching the game’s FPS and the system’s resolution may solve the problem.
- Launch the DOS2 game settings and set the Frame Cap to 60 FPS.
- Now open the game and check if it has started to work fine.
- If not, right-click on the system’s desktop and open its Display Settings.
- Now set Display Resolution to a bit lower (e.g., if 4k, then switch to 2k ratio) and check if the game’s DirectX error is cleared.
- If the issue persists, check if setting the system’s refresh rate to 60 Hz resolves the issue.
- If the issue is still there and you are using a second monitor, check if disconnecting the second monitor solves the problem.
- If that did not work and the issue is occurring in multiplayer, make sure both systems are set to the same resolution (like 1920 X 1200), and then check if the game is working fine.
- If not, check if disabling game ultra, using double-buffering of V-Sync (instead of triple buffering), and setting the game’s frame cap same as the refresh rate of your monitor resolves the issue.
9. Enable AMD Chill
Chill is an AMD Radeon feature that saves power of the GPU by regulating the framerate of your in-game character i.e., if the in-game movement drops, the AMD Chill feature decreases the framerate of the game. We’ve seen cases where enabling this feature solves the DirectX issue.
- Launch the AMD Radeon software and head to its Settings.
- Now note down the Chill Hotkey (the default is F11) and then launch the DOS2 game.
- Then press the Chill Hotkey to enable the AMD Chill feature and afterward, check if Divinity Original Sin 2 is clear of the DirectX error.
10. Delete the Game’s Graphics File to Launch it With the Default Configurations
If the game’s graphics file of Divinity Original Sin 2 is corrupt, then that may cause a hindrance in the execution of the game’s graphics, leading to the DirectX error under discussion. In such a case, deleting the game’s graphics file may solve the problem as the game will be launched with the default configurations.
- Exit the Divinity Original Sin 2 game and close its launcher. Now make sure to forcefully close all the related processes in the system’s Task Manager.
- Then right-click Windows and open Run.
- Now steer to the following path:
%userprofile%/Documents/Larian Studios/Divinity Original Sin 2 Definitive Edition
- Now delete the graphicSettings.lsx file and launch Divinity Original Sin 2 to check if its DirectX problem is solved.
- If not, backup the Divinity Original Sin 2 Definitive Folder to another location and then delete the Definitive Folder from the Larian Studios directory.
- Now launch Divinity Original Sin 2 and check if it is clear of the DirectX error.
- If that did not work, check if the classic version of dDOS2 works fine.
- If the issue persists, check if clearing the Shaders Cache of the game resolves the issue.
11. Verify Integrity of the Game Files of the Divinity Original Sin 2
If the essential game files of Divinity Original Sin 2 are corrupt, then that may lead to the DirectX error as, due to this corruption, the game may fail to access the DirectX modules of the OS. In such a case, verifying the game files of Divinity Original Sin 2 may clear the DirectX issue.
- Launch the Steam client and head to the Steam Library.
- Now select Divinity Original Sin 2 and expand its Options.
- Then click on Properties and head to the Local Files tab.
- Now select Verify Integrity of Game Files and then confirm to start the verification process.
- Then wait till the game’s files are verified and afterward, re-launch the Steam client.
- Now open the Divinity Original Sin 2 game and check if it is operating fine without showing any DirectX error.
- If not, check if deleting the old saves (just leave the most current ones) of the game resolves the issue.
12. Reinstall C++ Redistributable Packages and Repair the .Net Framework Installation
Divinity Original Sin 2 may show the DirectX error if the installations of the C++ Redistributable Packages or .Net Framework are corrupt as these are essential for the game’s operation. In this case, reinstalling the C++ Redistributable Packages and repairing the .Net Framework installation may solve the DirectX issue.
- Right-click Windows and open Apps & Features. Then note down the C++ Redistributable Packages installed on your system as you may need to reinstall them.
- Now expand any of the installations of C++ Redistributable Packages and select Uninstall.
- Then confirm to uninstall the C++ Redistributable and follow the prompts on the screen to complete the process.
- Now uninstall all the C++ Redistributable Packages and then restart your system.
- Upon restart, download and install the latest C++ Redistributable Package (currently, Visual C++ Redistributable 2022).
- Then restart your PC and upon restart, check if the DirectX error of the Divinity Original Sin 2 is cleared.
- If the issue persists, check if re-installing all (one by one with a restart in-between) the C++ Redistributable Packages (uninstalled earlier) clears the error.
- If not, download the .Net Framework Repair Tool from the official Microsoft website and launch it as administrator.
- Then follow the prompts on the screen to complete the process and once done, restart the PC.
- Upon restart, launch Divinity Original Sin 2 and check if its DirectX issue is resolved.
13. Reinstall the Graphics Driver
Divinity Original Sin 2 (or DOS2) might give this error if the graphics driver of your system is corrupt and as a result, the game cannot execute the DirectX-related modules. In this case, reinstalling the graphics driver of your system may clear the DirectX problem.
- Firstly, download the latest version of your graphics driver from the OEM website (like Dell or Nvidia).
- Then right-click Windows and select Device Manager.
- Now, in the Device Manager window, expand Display Adapters and right-click on your graphics device.
- Then select Uninstall Device and tick the checkbox of Attempt to Remove the Driver of This Device.
- Now click on Uninstall and once done, right-click Windows and select Apps & Features.
- Then expand the options of the OEM graphics utility (like GeForce Experience) and click on Uninstall.
- Then follow the prompts on the screen to uninstall the utility and afterward, restart your system.
- Upon restart, let the Windows install a generic driver for your graphics device (if it tries to), and afterward, launch Divinity Original Sin 2 to check if its DirectX issue is resolved.
- If not, launch the downloaded latest graphics driver from the OEM as administrator and follow the prompts on the screen to install the driver but opt out to install the driver only (do not forget to checkmark the checkbox to perform a clean installation).
- Once done, restart the PC, and upon restart, launch Divinity Original Sin 2 to check if it is operating fine.
- If that fails, boot the system into the Safe Mode and uninstall the graphics driver by using a graphics uninstallation utility (like DDU).
- Then boot the system into the normal mode and install the latest graphics driver by OEM.
- Now restart the PC and upon restart, check if the DirectX error of Divinity Original Sin 2 is cleared.
- If the issue persists, check if using an older version of the graphics driver clears the DirectX error.
14. Edit the System’s Registry to Disable TDR
Timeout Detection and Recovery (TDR) is the Windows feature to recover your system’s graphics and show a functional desktop if the driver does not respond within the time. You may encounter the DirectX error at hand if your graphics driver takes more than what the Windows OS is configured to wait and thus re-initializes the graphics driver to your desktop. Here, editing the system’s registry to disable TDR may solve the problem. Keep in mind that if the system hangs up when TDR is disabled, you may have to forcefully restart the system.
Warning:
Advance at your own risk and with extreme caution as editing the system’s registry is a skillful job and if not done properly, you may cause undying damage to your PC and data.
- Click Windows and search for Registry Editor.
- Now right-click on it and select Run as Administrator.
- Then navigate to the following path:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\GraphicsDrivers
- Now, in the left pane, right-click on GraphicsDrivers and select New>> DWORD (32-bit) Value.
- Then enter the name of the key as TdrLevel and double-click on it.
- Now set its value to 0 and close the Registry Editor.
- Then restart the system and upon restart, launch DOS2 to check if its DirectX issue is cleared.
15. Perform SFC and DISM Scans of the System
If the essential OS files are corrupt, then that may not let the Divinity Original Sin 2 access the DirectX modules on the system and thus cause the error at hand. Here, performing SFC and DISM scans of the system may solve the problem.
- Perform an SFC Scan of the system through the Command Prompt and wait till the process completes. It can take some time to complete so try it in your free time like overnight.
- Once completed, restart your system, and upon restart, launch Divinity Original Sin 2 to check if its DirectX issue is cleared.
- If not, check if performing a DISM scan (make sure the system is connected to the Internet) of the system clears the DirectX error.
16. Underclock Your GPU
If you have overclocked your GPU or the GPU is factory overclocked, then that could cause the DirectX issue under discussion as an overclocked GPU can easily glitch out the graphics modules of Divinity Original Sin 2 to the system. Here, underclocking your GPU or reverting it to the stock values may solve the problem.
Warning:
Advance with utmost care and at your own risk as overclocking or underclocking a GPU is a skillful task and if not done properly, you may cause everlasting damage to your GPU and system.
- Firstly, download and install an overclocking utility like MSI Afterburner.
- Then launch the utility as an administrator and use it to revert your GPU clocks to their defaults to check if that clears the error.
- If the issue persists, check if underclocking the frequency of your GPU a bit like 100 MHz to check if that resolves the issue.
- If not, check if lowering the Core Clock and Memory clock by 100 (like -100) solves the problem.
- If that did not work, check if setting the GPU clock to 915MHz and the Memory clock to 1050 MHz clears the issue.
- If the issue is still there, check if setting the power limit of GPU to 95% clears the DirectX error.
17. Create a New Administrator User Profile on the Windows PC
Divinity Original Sin 2 may show the DirectX error if your user profile of the Windows system is corrupt as the game may fail to access essential OS modules (especially, those related to DirectX). In this case, creating a new administrator user profile on the Windows PC may solve the DirectX problem.
- Create a new user account with administrator privileges on the Windows system and log out of the current account.
- Then log into the new account and open the Steam client.
- Now launch Divinity Original Sin 2 and hopefully, it will be clear of the DirectX error. If so, then you may have to perform the tedious task of moving your data from the old account to the new one.
If that did not work, you may reset your PC while keeping data, apps, and settings to clear the DOS2 DirectX error. If that did not work, then make sure all the system RAMs are working fine (by using one stick at a time). If the issue persists, then a failing graphics card can also cause the issue and you may want to check if the card is working fine.