How to Fix DirectX Error 0X887A0005 in COD Black Ops 6?
DirectX Error 0x887A0005 in Black Ops 6 usually makes the game crash right after starting or during busy scenes, often without a clear reason. This error means your graphics card stopped working and was disconnected by Windows or the driver.
The main cause is a graphics card that is unstable or overclocked, but it can also happen because of bad drivers, conflicting software overlays, or broken DirectX files.
In this article, we will discuss different ways to solve this error.
1. Set the VRAM Target to 60
Limiting the VRAM target to 60 can help prevent your graphics card from being overloaded, which reduces the risk of crashes and DirectX errors.
- Open the Settings in your game and go to Graphics.
- Find the Quality section, and set the VRAM Scale Target to 60.
- After applying this setting, check if the problem is solved.
2. Reset BIOS Settings to Default (if applicable)
If you have overclocked your CPU, GPU, or RAM, these changes can sometimes cause instability, especially when running demanding games. Resetting your motherboard’s BIOS will clear any overclocking or custom settings, helping fix DirectX errors related to high performance.
Note: If you have overclocked your GPU using MSI Afterburner, open the app and reset the settings to default there as well.
- Turn off your computer completely.
- Turn it back on, and as soon as you see the manufacturer’s logo, press the F2, F12, or Delete key (usually shown on the logo screen) to enter the BIOS.
- Once in the BIOS menu, find the option to reset settings—usually listed as Reset Settings or Restore Defaults.
- After restoring defaults, restart your PC and see if the issue is resolved.
3. Configure Compatibility Settings
Adjusting compatibility settings may help, especially if your game has trouble running on the newest version of Windows. Running the game with these settings can bypass some issues from recent updates.
Here, we’ll set up Black Ops 6 to run without full-screen optimizations and with administrator privileges. This helps the game access the files and hardware it needs to run smoothly.
- Find where COD Black Ops 6 is installed, right-click the Black Ops 6 executable file, and choose Properties.
- Go to the Compatibility tab at the top. Check both Disable Full-screen Optimizations and Run this program as an administrator.
- Click Apply and then OK to save your changes.
- Launch the game and see if the problem is fixed.
4. Verify the Game Files
Sometimes, DirectX errors happen because some of the game files are missing or corrupted. Verifying the game files will scan and repair any damaged files, replacing them with fresh versions from the server.
- Open your game launcher—either Steam or battle.net.
- Go to Games or Library at the top.
- For Steam users: right-click Black Ops 6 and select Properties. For battle.net users: click the Gear Icon, select Scan and Repair, and then click Begin Scan.
- If you’re on Steam, select Installed Files on the left and click Verify integrity of game files.
- Once the process completes, see if the DirectX error still appears.
5. Downgrade Your Windows
If you’ve tried all the steps above and still experience the error, downgrading your version of Windows might fix the problem. Many users have found that going back to Windows 10 resolved the crashes, especially when running the game on older hardware.
Before you do this, try reinstalling the game to make sure no corrupted files are causing the DirectX Error 0x887A0005.
To learn how to downgrade to Windows 10, follow the instructions here.