DirectX 12 is Laggy and Stuttering? Here are the Best Ways to Fix it

You can also try using DirectX 11 instead

Reading time icon 4 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

How to fix DirectX 12 if it's laggy

Experiencing lag and stuttering in your DirectX 12 games can be incredibly frustrating, especially when you’re in the middle of an intense gaming session. Here are some practical solutions to help you fix these issues and improve your gaming performance.

How do I fix lag and stuttering in DirectX 12?

1. Disable Control Flow Guard (CFG)

  1. Click on the Start menu and type Exploit protection in the search bar, then press Enter.
  2. In the window that appears, click on Program settings.
  3. Click on Add program to customize and then select Choose exact file path.
  4. Navigate to the folder where your game is installed, select the DX12 executable (.exe) file, and click Open.
  5. Scroll down to Control Flow Guard, check the box for Override system settings, and set it to Off.
  6. Click Apply, then restart your computer.

Disabling the Control Flow Guard for the game’s executable can alleviate stuttering issues by reducing the overhead caused by runtime checks, allowing the game to run smoother. This has been a common recommendation across multiple forums and has shown positive results for many users.

2. Delete Shader Cache

  1. Press the Windows key + I to open Settings.
  2. Navigate to System > Storage.
  3. Click on your main drive (usually C:) or the drive where your game is installed.
  4. Scroll down and find Temporary files.
  5. Check the box for DirectX Shader Cache and click Remove files.

Deleting the shader cache helps to remove any potentially corrupted shader files, forcing the game to rebuild them, which can reduce stuttering caused by shader compilation issues.

3. Set DPI Scaling to Application Controlled

  1. Right-click the game’s executable file and select Properties.
  2. Go to the Compatibility tab.
  3. Check the box for Override high DPI scaling behavior, and under Scaling performed by, choose Application.
  4. Click Apply and OK.

This setting ensures that the game controls its own DPI scaling, which can sometimes resolve stuttering issues related to display scaling mismatches.

4. Disable Windows Defender and Firewall for the Game

  1. Open the Start menu and type Windows Security and press Enter.
  2. Click on Virus & threat protection.
  3. Click on Manage settings under Virus & threat protection settings.
  4. Scroll down to Exclusions and click on Add or remove exclusions.
  5. Add the game folder and its executable to the exclusions list.
  6. Open Firewall & network protection, click Allow an app through firewall and ensure your game is allowed.

Adding the game to the exclusions in Windows Security can prevent security checks from interfering with game performance, which can sometimes cause stuttering issues.

5. Disable DWM for Full-Screen Games (for experienced users)

  1. Press Windows key + R, type regedit, and press Enter.
  2. Navigate to the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\DWM
  3. Right-click on the right pane, select New > DWORD (32-bit) Value, name it DisableDWM, and set its value to 1.
  4. Restart your computer.

DWM (Desktop Window Manager) can sometimes cause performance issues with full-screen games. Disabling it can reduce input latency and stuttering, but it may affect other system functionalities.

6. Downclock GPU

  1. Download and install MSI Afterburner.
  2. Open MSI Afterburner and locate the core clock speed slider.
  3. Reduce the core clock by 100 MHz and click Apply.
  4. Test the game. If the stuttering persists, reduce further in increments of 25 MHz until stable.

Some GPUs may run more stably at lower clock speeds, especially if the CPU and GPU are mismatched in performance or if the GPU is overheating. Downclocking the GPU can help stabilize performance.

7. Use RTSS to cap the FPS

  1. Download and install RivaTuner Statistics Server (RTSS).
  2. Open RTSS and add your game’s executable to the list.
  3. Set the framerate limit to match your monitor’s refresh rate (e.g., 60, 120, 144 FPS).
  4. Save and close RTSS, then start your game.

Capping your FPS with RTSS can help manage the game’s frame pacing and reduce stuttering caused by fluctuating frame rates, providing a smoother gaming experience.

By following these steps, DirectX 12 shouldn’t be laggy or causing stuttering in games. There is also a way to reinstall DirectX 12 if it got corrupted. You might also check if your graphics card is DirectX 12 compatible or DirectX 9 compatible.

To keep your system running smoothly, regularly update your drivers and clear out temporary files. Did you managed to fix the DirectX 12 lag and stuttering? Let us know in the comments below.

More about the topics: DirectX, gaming