DirectX Error (6068) or (6065)

Fix 'DirectX Error' in Call of Duty: Modern Warfare 2 (2022)

Quick answer: update your GPU driver using DDU, then disable GPU memory saver in Windows. Here's why it happens and how to fix it.

Quick Answer

If you're in a hurry: download Display Driver Uninstaller (DDU), boot into Safe Mode, wipe your current GPU driver completely, then install the latest driver from NVIDIA or AMD fresh. After that, go to Windows Settings > System > Display > Graphics > Default graphics settings and turn off 'Hardware-accelerated GPU scheduling'. Restart the game. 9 times out of 10, that nails it.

Why This Error Happens

I've seen this exact error on maybe two dozen machines now. The DirectX error in Modern Warfare 2 (2022) — codes 6068 or 6065 — isn't a random crash. It's the game's engine hitting a wall where the GPU can't keep up with the rendering demands. Usually it's driver corruption from a dirty upgrade, where Windows Update or GeForce Experience overlapped old driver files. Other times it's that GPU memory saver feature in Windows 11 that messes with how the game allocates VRAM. Had a client last month whose entire print queue died because of a corrupted driver stack — same principle here, but with pixels instead of paper.

The error pops up most often during heavy combat scenes or when loading into a new map. The engine tries to allocate memory, the driver glitches, and boom — DirectX fatal error. The official fix from Activision is vague, so I'm giving you the real one.

Step-by-Step Fix

  1. Download Display Driver Uninstaller (DDU) from guru3d.com. Get the portable version — no install needed.
  2. Boot into Safe Mode. Hold Shift while clicking Restart in Windows. Then go to Troubleshoot > Advanced options > Startup Settings > Restart. Press 4 for Safe Mode.
  3. Run DDU in Safe Mode. Select your GPU vendor (NVIDIA or AMD) from the dropdown, then click 'Clean and restart'. This wipes every scrap of the old driver — no leftovers.
  4. After reboot, install the latest driver. Download it directly from NVIDIA or AMD's site — not from Windows Update. For NVIDIA, get the Game Ready Driver. For AMD, get the Adrenalin edition.
  5. Disable GPU memory saver. Go to Windows Settings > System > Display > Graphics > Default graphics settings. Turn off 'Hardware-accelerated GPU scheduling'. This stops Windows from stealing VRAM from the game.
  6. Launch Modern Warfare 2. It should boot without the error. If you still get the crash, skip to the alternative fixes below.

Alternative Fixes (If the Main One Fails)

Roll Back to an Older Driver

Sometimes the latest driver is the problem — especially NVIDIA's hotfix drivers. Had a client last week where the 552.22 driver caused constant 6065 errors. Rolling back to 551.86 fixed it. Download an older driver from NVIDIA's driver archive or AMD's previous driver page. Use DDU again to clean the current one, then install the older version.

Increase Virtual Memory (Page File)

Modern Warfare 2 is a memory hog. If your system RAM is 16GB or less, the game might run out of virtual memory. Press Win + R, type sysdm.cpl, go to Advanced tab > Performance > Settings > Advanced > Virtual memory > Change. Uncheck 'Automatically manage...', set custom size to 1.5x your RAM (e.g., 24576 MB for 16GB) for both initial and max. Restart.

Disable Overlays

Discord, GeForce Experience, and MSI Afterburner overlays can trigger the error. Turn them all off. In Discord: User Settings > Overlay > Enable in-game overlay — turn off. In GeForce Experience: Settings > General > In-game overlay — turn off.

Verify Game Files

Corrupted game files can cause this too. In Battle.net, click the game icon, then the gear icon > Scan and Repair. Let it run. It takes 10-15 minutes, but I've seen it fix the error when everything else failed.

Prevention Tip

Never let Windows Update or GeForce Experience auto-update your GPU driver. Always do a clean install using DDU every time you update — takes 15 minutes, saves you hours of troubleshooting. Also keep your Windows version at the latest stable (not Insider builds). The combination of a clean driver and disabled GPU memory saver has kept this error away on all my clients' machines for months.

Related Errors in Software – Games & Drivers
0x887A0006 DirectX 12 Error '0x887A0006' Fix in Black Ops 6 "Your Windows license expires soon" fix for gaming PCs DLL Not Found Fix 'DLL Not Found' Errors When Launching Games (2025) Runtime Error! / Microsoft Visual C++ Runtime Library Fix the 'Microsoft Visual C++ Runtime Error' in Games Fast

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.