Lots of people have encountered the following error while playing the game:
Battlefield 4 DirectX error
DirectX function “GetDeviceRemovedReason” failed with DXGI_ERROR_DEVICE_HUNG(“The application’s device failed due to badly formed commands sent by the application. This is an design-time issue that should be investigated and fixed.”). [The message concludes with the name of your graphics card and the number of the driver]
This error can happen any time, from a few seconds in, to minutes after opening the game, regardless of settings, and only seems to crash Battlefield 4. Fortunately there are a few ways to get around this, which we will describe below.
Fix #1: Install Visual C++ Redistributable for Visual Studio 2012 Update 4
A quick fix you could try which has worked for a lot of people. Simply follow this link and install the Visual C++ Redistributable for Visual Studio 2012 Update 4. Download the file named VSU_4\vcredist_x64.exe and then double-click it to run the installation.
What this does is it installs runtime components that are required to run C++ applications built with Visual Studio 2012. This is a relatively simple and harmless thing to do, and some people have reported it was helpful, so it’s probably a good idea to try this out first.
Fix#2: Run a clean boot on your PC or Mac
Running a clear boot means that you restart your computer without all the background programs, just the essential Microsoft services. This will allow you to run the game on its own and see if another program is responsible for the crash. Here’s how you do this:
On a Windows PC:
- Hold down [Windows] + [R] to open a prompt window.
- Type msconfig in the prompt window, then click OK. You should see the System Configuration dialog box.
- Click on the General tab.
- Click the Selective startup option.
- Uncheck the Load startup items box.
- Open the Services tab.
- Check the Hide all Microsoft services option you see in the bottom-left part of the tab. This will allow you to keep all the essential programs Windows needs to function.
- Click the Disable all button.
- Restart your computer when prompted.
On a Mac computer:
- Make sure Auto Login is Off.
- Go to System preferences in the Apple menu.
- Open the Users and groups panel.
- Click the lock at the bottom corner and, if necessary, enter your password.
- Click on Login Options, find Automatic Login, and select Off (this can be turned back on after the clean boot process is complete).
- After logging in, go to the Apple menu and restart.
- Once you’ve done that, type your username and password, without immediately hitting Enter.
- Hold down the Shift key as you click the login button.
- You user account will now load without additional start-up items or applications. Release Shift after your icons and desktop disappear.
If you can now play the game without the crash occurring, more likely than not one of the programs you’ve disabled was responsible for the issue. Try to find out which one (through trial and error, maybe beginning with some of the more recent programs you’ve installed just before the issue began) and then reinstall it or remove it altogether.
Fix#3: Downclock you graphics card
Overclocking is a way of making your microprocessor run faster than the speed it was optimally designed for. Sometimes the graphics card is overclocked by default, in which case it might be causing problems without you even knowing it. There are a number of ways to downclock your processor, but one of the easiest is by using the (free) EVGA Precision software.
Simply go to this link and register (for free) and then download and install the software (you will be asked for your graphics card’s manufacturer and series). After that, you’ll see something like this:
The white arrow shows the clock speed of your graphics card. You should find the standard clock speed of your card (look for that information on the manufacturer’s website) and if that figure is lower than what the software is telling you the speed currently is, use the GPU Clock Offset slider to bring that figure down.
We hope the fixes outlined in this post have been helpful and have allowed you to enjoy Battlefield 4 without the game crashing on you. If you are aware of other solution to the problem, please let us know in the comments.