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:

How to Fix DirectX Error in Divinity Original Sin 2?
Divinity Original Sin 2 DirectX Error Fix

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.

  1. 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.
    Check for Windows Updates
  2. 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. 
    Update the Graphics Card Driver

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.

  1. Click Windows, type, and open Game Mode Settings.
    Open Game Mode Settings Through the Windows Start Menu
  2. Now disable Game Mode by toggling its switch to the off position and then relaunch the Steam client (if opened).
    Disable Game Mode in the Windows Settings
  3. 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.

  1. Right-click Windows and select Run
    Open the Run Command Box from the Quick Access Menu
  2. 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
  3. Now right-click on the DXSETUP file and select Run as Administrator.
    Launch DXSETUP from the Installation Directory of Divinity Original Sin 2
  4. Then let it reinstall and afterward, check if the DirectX error is cleared from the game.
  5. 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
  6. Now right-click on EoCApp.exe and select Run as Administrator.
    Launch EoCApp as Administrator
  7. Then check if the DirectX error of the Divinity Original Sin 2 is cleared.
  8. 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.

  1. Exit the Divinity Original Sin 2 game and close its launcher. 
  2. Then, from the system tray, launch the NVIDIA control panel, and in the left pane of the window, expand the Display tab. 
  3. Then head to the Set-up G-Sync tab and in the window’s right pane, untick the checkbox of Enable G-Sync.
    Disable G-Sync
  4. 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.

  1. Launch the Steam client and select the Divinity Original Sin 2.
  2. Now open its Properties and head to the Local Files tab.
  3. Afterward, click on Browse Local Files and wait till the File Explorer is launched showing the installation directory of DOS2.
    Click on Browse Local Files in the Local Files Tab of the DOS2
  4. Then right-click on the EoCapp.exe and select Properties.
  5. Now checkmark Disable Full-Screen Optimization and click on Apply.
  6. Then launch Divinity Original Sin 2 and check if it is working normally.
  7. If not, head to the Compatibility tab of the EoCapp.exe Properties and checkmark Run This Program in the Compatibility Mode.
    Disable Full-Screen Optimizations of EoCapp.exe and Set its Compatibility to Windows 7
  8. Now set the Compatibility Mode to Windows 7 and apply the changes made.
  9. Now relaunch Divinity Original Sin 2 and check if it is clear of the DirectX error.
  10. If that did not work, right-click Windows and select Run
  11. Then steer to the following:
    %userprofile%/Documents/Larian Studios/Divinity Original Sin 2 Definitive Edition
  12. Now open graphicSettings.lsx with the Notepad and find Fullscreen.
  13. Then set its value to 0 and find FakeFullScreen.
  14. Now set its value to 1 and close the Notepad after saving the changes.
  15. Then launch Divinity Original Sin 2 and check if its DirectX issue is resolved.
  16. If that fails, check if launching the DOS2 game in the windowed mode resolves the issue.
    Change the Display Mode of DOS2 to Windowed

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.

  1. Launch the Razer Synapse app and head to the games tab or Chroma apps.
    Disable Chroma Apps in Razer Synapses
  2. 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. 
  3. 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.

  1. Perform a clean boot of the system and check if Divinity Original Sin 2 works fine.
    Clean Boot the Windows 10 PC
  2. 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.

  1. Right-click Windows and select Apps & Features.
    Open Apps & Features
  2. Now expand the options of Nvidia GeForce Experience and select Uninstall.
    Uninstall Nvidia GeForce Experience
  3. Then confirm to uninstall GeForce Experience and afterward, follow the prompts on your screen to complete the uninstallation.
  4. 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.

  1. Launch the DOS2 game settings and set the Frame Cap to 60 FPS.
    Set the Frame Cap of Divinity Original Sin 2 to 60
  2. Now open the game and check if it has started to work fine.
  3. If not, right-click on the system’s desktop and open its Display Settings.
    Open Display Settings of Your System
  4. 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.
    Change the Display Resolution of Your System
  5. If the issue persists, check if setting the system’s refresh rate to 60 Hz resolves the issue.
    Change Refresh Rate of Your System
  6. If the issue is still there and you are using a second monitor, check if disconnecting the second monitor solves the problem.
  7. 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.
  8. 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. 

  1. Launch the AMD Radeon software and head to its Settings.
  2. Now note down the Chill Hotkey (the default is F11) and then launch the DOS2 game.
    Check the Chill Hotkey in AMD Radeon Settings
  3. 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.

  1. 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.
  2. Then right-click Windows and open Run
  3. Now steer to the following path:
    %userprofile%/Documents/Larian Studios/Divinity Original Sin 2 Definitive Edition
  4. Now delete the graphicSettings.lsx file and launch Divinity Original Sin 2 to check if its DirectX problem is solved.
  5. If not, backup the Divinity Original Sin 2 Definitive Folder to another location and then delete the Definitive Folder from the Larian Studios directory.
  6. Now launch Divinity Original Sin 2 and check if it is clear of the DirectX error.
  7. If that did not work, check if the classic version of dDOS2 works fine.
  8. 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.

  1. Launch the Steam client and head to the Steam Library.
  2. Now select Divinity Original Sin 2 and expand its Options.
  3. Then click on Properties and head to the Local Files tab.
  4. Now select Verify Integrity of Game Files and then confirm to start the verification process.
    Verify Integrity of Game Files of Divinity Original Sin 2
  5. Then wait till the game’s files are verified and afterward, re-launch the Steam client.
  6. Now open the Divinity Original Sin 2 game and check if it is operating fine without showing any DirectX error.
  7. 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.

  1. 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.
  2. Now expand any of the installations of C++ Redistributable Packages and select Uninstall.
    Uninstall Visual C++ Redistributable for Visual Studio 2015
  3. Then confirm to uninstall the C++ Redistributable and follow the prompts on the screen to complete the process.
  4. Now uninstall all the C++ Redistributable Packages and then restart your system.
  5. Upon restart, download and install the latest C++ Redistributable Package (currently, Visual C++ Redistributable 2022).
  6. Then restart your PC and upon restart, check if the DirectX error of the Divinity Original Sin 2 is cleared.
  7. 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. 
  8. If not, download the .Net Framework Repair Tool from the official Microsoft website and launch it as administrator.
    Download .Net Framework Repair Tool
  9. Then follow the prompts on the screen to complete the process and once done, restart the PC.
  10. 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.

  1. Firstly, download the latest version of your graphics driver from the OEM website (like Dell or Nvidia).
  2. Then right-click Windows and select Device Manager.
  3. Now, in the Device Manager window, expand Display Adapters and right-click on your graphics device.
  4. Then select Uninstall Device and tick the checkbox of Attempt to Remove the Driver of This Device.
    Uninstall Graphics Driver and Delete its Driver Software
  5. Now click on Uninstall and once done, right-click Windows and select Apps & Features.
  6. Then expand the options of the OEM graphics utility (like GeForce Experience) and click on Uninstall.
  7. Then follow the prompts on the screen to uninstall the utility and afterward, restart your system.
  8. 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.
  9. 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).
    Perform a Clean Installation of Nvidia
  10. Once done, restart the PC, and upon restart, launch Divinity Original Sin 2 to check if it is operating fine.
  11. If that fails, boot the system into the Safe Mode and uninstall the graphics driver by using a graphics uninstallation utility (like DDU).
  12. Then boot the system into the normal mode and install the latest graphics driver by OEM.
  13. Now restart the PC and upon restart, check if the DirectX error of Divinity Original Sin 2 is cleared.
  14. 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.

  1. Click Windows and search for Registry Editor.
  2. Now right-click on it and select Run as Administrator.
    Open Registry Editor as Administrator
  3. Then navigate to the following path:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\GraphicsDrivers
    Create a New DWORD (32-bit) Value Under the Graphics Driver Key
  4. Now, in the left pane, right-click on GraphicsDrivers and select New>> DWORD (32-bit) Value.
  5. Then enter the name of the key as TdrLevel and double-click on it.
    Set the Value of TdrLevel to Zero
  6. Now set its value to 0 and close the Registry Editor.
  7. 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.

  1. 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.
    Perform an SFC Scan
  2. Once completed, restart your system, and upon restart, launch Divinity Original Sin 2 to check if its DirectX issue is cleared.
  3. If not, check if performing a DISM scan (make sure the system is connected to the Internet) of the system clears the DirectX error.
    Use the DISM Command to RestoreHealth

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.

  1. Firstly, download and install an overclocking utility like MSI Afterburner.
    Download and Install MSI Afterburner
  2. 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.
  3. If the issue persists, check if underclocking the frequency of your GPU a bit like 100 MHz to check if that resolves the issue.
  4. If not, check if lowering the Core Clock and Memory clock by 100 (like -100) solves the problem.
  5. If that did not work, check if setting the GPU clock to 915MHz and the Memory clock to 1050 MHz clears the issue.
  6. 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.

  1. Create a new user account with administrator privileges on the Windows system and log out of the current account.
    Create a New User in Local Users and Groups
  2. Then log into the new account and open the Steam client. 
  3. 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.

ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.