How to Fix DirectX Error 0X887A0005 in COD Black Ops 6?
The DirectX Error 0x887A0005 occurs when a game attempts to use more VRAM than the system can handle, causing it to crash immediately. Many users have reported that Call of Duty appears to read VRAM usage incorrectly, as the metrics overlay shows different usage than the game itself. Other factors that contribute to this issue include outdated drivers, corrupted game files, and overclocked CPU, GPU, or RAM.
By following the solutions below, you can reduce VRAM usage and eliminate any factors leading to this issue. Now, let’s look at the solutions to this problem.
1. Set the VRAM Target to 60
Setting the VRAM target to 60 will limit VRAM usage, which can help prevent GPU overloading and reduce the likelihood of crashes and DirectX errors.
- Open the Settings and navigate to Graphics.
- Under Quality, set the VRAM Scale Target to 60.
- Once done, this should resolve the issue.
2. Reset BIOS Settings to Default (if applicable)
If you use overclock settings on your GPU/CPU/RAM, they might be causing instability during high-intensity tasks. Resetting the motherboard BIOS settings will remove overclock settings and custom configurations, which will resolve DirectX errors when the game demands high performance.
Additional Note: If you have overclocked your GPU using MSI Afterburner, open it and reset the overclock settings to default.
- To reset the motherboard BIOS settings, first, turn off your computer completely.
- Then, turn it back on. As soon as the manufacturer’s logo appears on the screen, start pressing the F2, F12, or Delete key. If you’re unsure which key to press, it is usually displayed on the logo screen.
- Once you’ve accessed the BIOS settings, press the key to reset the settings or select Reset Settings or Restore Defaults to reset the BIOS.
- Once done, boot your Windows and see if the issue is fixed.
3. Configure Compatibility Settings
Configuring the compatibility settings includes multiple options that allow the game to run under conditions better suited to older systems. This can be helpful in cases where the game does not run with the latest Windows compatibility settings.
In this case, we will configure Black Ops 6 to run without full-screen optimizations and with administrator privileges. This will allow the game to run in full-screen mode while in windowed view and access the files and components it requires to run properly.
- Open the directory where COD Black Ops 6 is installed, then right-click the Black Ops 6 executable file and select Properties.
- Go to Compatibility from the top, tick Disable Full-screen Optimizations, and Run this program as an administrator.
- Once done, click Apply and then OK to save the settings.
- Afterwards, check if the issue is resolved.
4. Verify the Game Files
DirectX errors can also be caused by corruption in the game files. Verifying the game files restores any corruption by identifying and replacing the affected files from the server. Therefore, if there is corruption in the game files, verifying them can resolve the issue.
- Open the launcher, whether it is Steam or battle.net.
- Go to Games or Library from the top.
- Then, right-click Black Ops 6 and select Properties if you have the game on Steam. Otherwise, click the Gear Icon, select Scan and Repair, and click Begin Scan to proceed.
- For Steam Users, select Installed Files from the left and click Verify the integrity of game files.
- Once done, verify if the DirectX error is resolved.
5. Downgrade Your Windows
If you are still facing the issue after following the previous steps, downgrading Windows may be the only option. Many users have reported that reverting to Windows 10 resolved the crashing issue, as it bypasses compatibility problems, allowing the game to run more smoothly compared to Windows 11.
Before doing so, we recommend you reinstall the game first, as this may replace the corrupted files that are causing the DirectX error 0x887A0005.
To downgrade to Windows 10, follow the steps here.