Lots of people have encountered the different DirectX errors while playing the Battlefield 4 or Battlefield 1. DirectX Function errors can appear both at BF start, and in its process. In this guide, we’ll take a look at typical DirectX errors in different versions of Battlefield and possible solutions.
Battlefield 4 DirectX Error GetDeviceRemovedReason
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: 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#2: Downclock Your 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.
Battlefield 1 DirectX Function error
Errors of DirectX Function in Battlefield 1 can be related to different factors. Let’s analyze the most important of them.
Fix#1: Old GPU
Perhaps your GPU does not support the required version of DirectX. The successful installation of DirectX does not mean that a new version of the DX libraries will be used (the video chip simply cannot use them and when the game is trying to call a new DX function, an error occurs).
In the event that you own the old video card (Nvidia 600 or 700 series etc.), make sure that your graphics card supports DirectX 11 (or above).
Disabling DX12 in the game menu can also fix the problem. Press Esc, then go to the Options -> Video -> Advanced. Switch the option DX12 Enabled to Off.
Try to reduce the GPU settings in the Nvidia Control Panel.
Open Nvidia Control Panel and select Manage 3D Settings section. Set the following settings:
- Powermanagementmode — Prefer maximum performance;
- Threaded optimization — Off;
- Triple buffering — Off;
- Vertical sync— Off;
- Maximum pre-rendered frames — 3.
Try to uninstall the current version of DirectX and install the older version. Also you can try to update your video driver to the last version.
Also try to delete the entire contents of the folder C:\Users\%username%\Documents\Battlefield 1\settings.
Fix#2: Disable Origin Overlay
In some cases, the correct API graphical API may be interfered by the overlay of the Origin program, through which Battlefield 1 is launched. Try to disable the overlay:
- Run Origin, press first button in the top menu;
- In the list that appears, select the option App settings;
- In the opened menu switch to the Overlay tab;
- Set the option Enable in-game overlay to Off;
Please note that without an overlay, you will not be able to view the personal profiles of other players. All other options (invitation of friends to the squad and others) will be available without restrictions.
Fix#3: Repair Microsoft Visual C++ Libraries
Sometimes repairing of the Microsoft Visual C++ libraries might help. Go to Control panel -> Programs -> Programs and Features. In the list of installed aps find Microsoft Visual C++ 2012, 2013, 2015 Redistributable, right click on it and select Repair option.
Also you can use to repair original Microsoft Visual C++ Redistributable packages from the directory C:\Program Files (x86)\Origin Games\Battlefield 1\__Installer\vc.
Fix#4: GPU Overheating
There is an opinion that the overheating of one of the video card’s (VRM) components is caused by DirectX function errors, so a slight decrease in the frequency of the graphics chip and its voltage helps.
Fix#5: Windows updates
If you are facing with DirectX errors after installing Windows updates (upgrades), you can try to uninstall them, reboot your computer and check the Battlefield operation.
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.
- How to Connect to Exchange Online Using PowerShell? - September 26, 2020
- Configuring Live Migration in Hyper-V - September 26, 2020
- RDP Error: Remote Desktop Can’t Find the Computer - September 17, 2020