How to Fix the “Failed to Create D3D Device” Error in Counter-Strike 2

Abhimannu Das
Updated On: 
<div class="paragraphs"><p>How to Fix the “Failed to Create D3D Device” Error in Counter-Strike 2</p></div>
How to Fix the “Failed to Create D3D Device” Error in Counter-Strike 2


The Failed to Create D3D Device Error in Counter-Strike 2 is caused by graphics driver issues in most cases.
The error can also be triggered by hardware issues or incompatible launch options.

The “Failed to Create D3D Device” error in Counter-Strike 2 (CS2) can be triggered by a number of issues ranging from corrupt graphics drivers to incompatible launch options. While the issue can be caused by hardware problems, it is unlikely and you should try out our solutions that try to address the software side of things. Here are some tips that can help you resolve the Failed to Create D3D Device error in Counter-Strike 2.

“Failed to Create D3D Device” Error Fixes for Counter-Strike 2

Remove Launch Options

Remove any launch options. To do this, right-click on CS2 in your Steam library, select "Properties", and then click on the "Set Launch Options" button. Delete any text in the field and click "OK".

Update graphics drivers

AMD Users

  1. Visit the AMD Driver and Support page:

  2. Click the DOWNLOAD NOW button to begin downloading the AMD Driver Auto-detect tool.

  3. Once the download is complete, run the file from the save location.

  4. When prompted, click Install to begin the setup process.

  5. Click Next until the update completes for your graphics driver.

AMD Drivers Update


  1. Search for NVIDIA GeForce Experience in the Start menu.

  2. Click on the first result.

  3. Click on Drivers.

  4. Click on Check for Updates or Update.

  5. Wait for the download to complete and click on Install.

  6. Click on Next until the installation is complete.

NVIDIA Drivers Update

Edit Registry Files

The engine error is sometimes caused by missing registry values.

  • Right-click on your desktop

  • Hover on New and click on “Text Document”

  • Rename the file to fix.reg

  • Right-click and click on Edit

  • Add the following code to the file

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers] “TdrDelay”=hex(b):08,00,00,00,00,00,00,00

  • After you are done pasting the text, save the file and exit the text editor.

  • Double click on the saved file and click on “Yes”

  • Restart your computer

Other Fixes

  1. Lower your video settings. Try launching CS2 with the lowest possible video settings. If the game launches successfully, you can gradually increase the settings until you find a balance between performance and quality.

  2. Try running CS2 in windowed mode. To do this, launch CS2 and then press Alt+Enter.

  3. Update your DirectX runtime. You can download the latest DirectX runtime from Microsoft's website.

Published On: 
author profile picture
Abhimannu is a PC esports writer at AFK Gaming. With over seven years of experience in esports journalism, he has worked on a myriad of games and their ecosystems including Valorant, Overwatch and Apex Legends.