This is How I fixed Crashes and Improved Performance For Age of Empires 2 Definitive

Instead of relating the story of fixing crashes, freezes, black screen and significantly improving performance for Age of Empires 2 DE in a long boring text…

I will attempt to relate my experience/solutions in small little sections to save time and avoid boredom.

Without further redo…

Two months ago, I was one of the last users to receive a beta key for AoE2 DE. But anyhow I installed the game and ran it – I was so excited to test it out.

main menu of age of empires 2 definitive

I immediately jumped into the single player to test…and here we go.. freezing and crashing within 15 mins of the game. Besides I couldn’t help noticing that my audio was a bit choppier from moment to another.

In a nutshell, These are the issues I came across repeatedly:

  • Game crashed after 5 – 15 mins
  • Blackscreen then my audio is not working anymore (had to restart pc to fix)
  • Choppy sound at random moments and sometimes for the entire gameplay
  • Random frame drops and freezes
  • Game takes 2 – 3 minutes to run

 

I tried the benchmark tool and I got an average score of 580 & 600ish out of 1000 even after lowering the settings.

 

I was very depressed and annoyed by that horrible experience so I started thinking and talking to myself…

Me: “I didn’t format my computer HDD hard drive since 2012.. My graphics card is GT630M which is a medium requirement and my cpu is 8 cores. So could it be my HDD hard drive?”

 

Switching to SSD Hard drive

SSD Vs HDD

I went to the hardware store and purchased an SSD hard drive “Samsung EVO 860 1 TB” ($200 cost). I asked the guy there to have it installed in my laptop as well as renewing my cpu thermal paste ($5 cost me) and dust removal for my cpu ($5).

After the upgrade the computer turned into a turbo fast machine. I installed AoE2 DE through steam.

I run the game and the surprise happened..

 

The game took less than 10 seconds to get to the main menu. I stood up and shoved my fist through the air: “F*** yeah!!!!”

I never thought an SSD would bring about so much speed improvement into my average pc. At that very moment I felt hope and then the first thing I was tempted to do is to run the benchmark tool.. Guess the results?

I got 1100/1000. Yes It’s 1100 out of 1000 no spelling mistakes!! with medium graphics not low profile. Remember in my old HDD I got 580/1000 so that makes for 50% improvement.

Here is my benchmark score for Team games (I have chrome open which explains why 1059.3 not 1100):

improve benchmark score for age of empires 2 definitive

My benchmark score for age of empires 2 definitive after upgrading to SSD

Game Crashing and Freezing

I may have succeeded in bringing the game performance to a higher level BUT…. the crashes and freezes were often occurring in mysterious circumstances in which I had to investigate further.

These are the remaining issues:

  • After 30 – 40 mins: Blackscreen then my audio is not working anymore (had to restart pc to fix)
  • Choppy sound at random moments and sometimes for the entire gameplay
  • 2 out 15 games I crashed

 

Change Power Settings

I quickly changed my power plan to High Performance by pressing Windows Key + R to bring up the “RUN” command then type in:

powercfg.cpl

high performance power plan for aoe2 de

Then Select “High Performance Plan”

 

Fix Crashes, Black-Screen & Choppy Audio

THIS IS THE BIGGEST AND MOST IMPORTANT SECTION IN THIS GUIDE!

It’s 95% likely that the crashes and freezes would be long gone after this section.

Fix for Crashing, Freezing and Blackscreen/Audio issues

It is funny how the crashing, blackscreen and audio were so related and linked with each other. If the game does not crash the sound is gone or the game crashes and the sound is not gone.

So basically, it does not take a genius to come to that conclusion.

 

Coming to how I fixed all that…

I used two programs:

DPC Latency Checker

LatencyMon

I closed all applications and every window on my desktop before I ran the tests.

 

Diagnosing with DPC Latency

I ran DPC Latency Checker, pressed start button to check my audio latency for about 2 minutes then I saw

DPC Latency Checker diagnosing on windows 10

OMG…. Do you see those Red bars? Briefly.. they are audio latency spikes that potentially trigger all the three issues together: Blackscreen, Sound not working and crashing.

 

Thankfully I have fixed this issue before for a friend that had nearly the same thing in league of legends game.

So without hesitation I ran my “Device Manager” by pressing Windows key + R to bring up the “RUN” command again and typed in:

devmgmt.msc

I disabled the following items:

  • System devices > [x] High precision event timer (Right Click > Disable)
  • Bluetooth > [x] Intel® Wireless Bluetooth (Right Click > Disable)
  • Cameras > [x] Any laptop integrated webcam (Right Click > Disable)
  • Network adapters > disabled all I adapters I do not use and since I use an external wifi card this is What I ended up doing (read below for a detailed explanation).

device manager disable devices to improve latency and performance

Which network adapters to disable and the one to keep enabled?

Again press Windows key + R then type this in:

ncpa.cpl
disabling network adapters we don't need

The picture above reveals that i’m using “802.11n USB Wireless LAN Card” so now I can disable the rest of the network adapters (the same image shows that i disabled the rest of the adapters.

(I will run DPC Latency checker test and show the results right after LatencyMon diagnose)

 

Diagnosing with LatencyMon

This tool is perfect to find out the execution time for drivers in other words how responsive are your drivers with your system.

So I ran LatencyMon and slapped that green play button

running latencymon

After 30 seconds… I switched to the Drivers tab to see what’s up then once again… OMG…

LatencyMon fixing nvidia latency ndis.sys

LatencyMon and fixing nvidia ndis.sys latency problem

Ndis.sys is 1.9 which is nearly 2 ms seconds and that’s an absolute huge delay. It took me nearly an hour to find the culprit. Continue reading…

 

Uninstalling MalwareBytes

This has reduced Ndis.sys from 1.9 ms to 0.9ms so this step is 100% valuable.

Although Malwarebytes was not running in my machine at all but only installed… I did a research and a lot of people pointed fingers to uninstalling Malwarebytes and antiviruses.

I don’t use any antiviruses so I uninstalled Malwarebytes completely from my machine anyway. And that my friends immediately showed a -1 ms improvement which is a big deal.

If you don’t have Malwarebytes I advise you to temporarily uninstall any antivirus such as: AVAST, AVG, MCAFE, BITDEFENDER, etc.

Only got Windows Defender? In that case you just have to disable it using Defender control tool

 

Uninstalling Nvidia 3D Vision & Physics Software

Go to the search bar and type in: Add or remove programs

add remove programs windows 10

Type in there “Nvidia” as show below

Uninstalling Nvidia 3D Vision & Physics Software

As you can see in the image I only have “Nvidia Graphics Driver”. I have already uninstalled “Nvidia 3D Vision” and “Nvidia Physics Software”. The pinpoint here is to only keep “Nvidia Graphics Driver” installed while uninstalling the rest because you may find others so just uninstall them all. They are only additional/optional components that happen to slow down your GPU.

 

Test Results for DPC Latency & LatencyMon

After uninstalling Malwarebytes and Nvidia additional components as described above I was impressed with DPC Latency test:

DPC Latency test results after the tweaking

DPC Latency test results after the tweaking

Then LatencyMon test showed mind-blowing improvement for ndis.sys that dropped from 1.9 ms to 0.2 ms which is a magnificent improvement.

latencymon test results after the tweaking

latencymon test results after the tweaking

 

Additionally I would like to bring to your attention to a sound tweak trick that reduces the latency even more.

Once again press Windows key + R and type in:

mmsys.cpl

 

Select whatever playback device is set to default and has a check mark then click properties button.

sound settings tweaking playback devices

Go to enhancements tab and disable all enhancements

disable sound enhancements which greatly helps with game performance

Then go to Advanced Tab and select “16 bit, 44100 Hz (CD Quality)”

reduce sound quality profile to CD quality

Repeat the same steps for your microphone device or other sound devices.

You may ask why do we opt for CD quality profile? Simply because that profile employs less Hz which is an add to your overall system resource consumption.

Disable Monitor Audio

Your Laptop is connected to a monitor screen?

laptop plugged into monitor

Nvidia users are concerned with this. Because of “Nvidia High Definition Audio”, your graphics card is doing extra work and consuming more graphics memory. Only if your graphics card is medium power you must disable Nvidia High Definition Audio which by itself disables your monitor audio.

nvidia high definition audio disable it

Double check the sound settings to make sure your monitor audio is no longer detected. This way your graphics card will spike less (spikes often trigger crashes and BSOD)

Reducing your resolution a bit contributes significantly into reducing the resource usage and input lag therefore less occurring spikes. 

Bonus Tips

While my issues have been fixed without these bonus tips, I feel urged to share them because I use them myself for most of my steam games.

Launch Commands

I have written a post a few weeks ago about Launch commands in AoE2 DE (https://ageofnotes.com/tutorials/getting-started-with-age-of-empires-2-definitive-edition/#Launch_Commands) in case you have issues such as horizontal blacklines or sound blaster issues. You’ll find there the many commands to put into usage.

AoE2 DE Commands

Anyhow I would recommend ‘NoStartup’ launch command to skip the intro videos in case the game loads slow for you.

Disable Hardware Acceleration For Browsers

Disabling hardware acceleration will not only fix mouse input lag ingame but also release some free resources on your GPU and RAM.

To disable hardware acceleration on your navigator such as Chrome

Go to the top right hand side of chrome window you’ll see a three dots icon (menu) press that:

chrome menu settings

Search “hardware” then check off Use hardware acceleration when available

chrome disable hardware acceleration

If you use other browsers such as Brave, Opera or Firefox try the same procedure.

Update Your Drivers

I can not emphasize how crucial is to keep your drivers updated. A few months ago I purchased an external wifi card and plugged directly into my computer without installing the drivers then I started getting random BSOD errors (Blue Screen) at random days until I checked my event viewer to find error logs related to my wifi card.

It instantly hit me that I did not install any drivers so I installed my drivers then afterwards downloaded Driver Booster just to double check my drivers are up to date.

 

Conclusion

Indeed the switch to SSD was the biggest performance improvement however some of the issues remained until I started investigating and figured out that malwarebytes along with unnecessary components have been hindering windows from delivering the perfect performance.

My recommendation to you is to keep your drivers updated especially when introducing a new device into your system such as an external usb wifi. Avoid Avast and AVG as they do impact your system severely but you can use better antivirus such as Comodo Internet Security (Free) or Kaspersky Free these two are perfect for gaming.

I hope this guide was helpful to you and let me know in the comment section if you have any issues with any version of age of empires 2.

9
Leave a Reply

avatar
5 Comment threads
4 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
6 Comment authors
GregSteinAlexisMoNGerman GranadosdigitalJE5U5 Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Ivan Milani
Guest
Ivan Milani

thanks for your effort GregStein

digitalJE5U5
Guest
digitalJE5U5

Thanks for putting this together.

German Granados
Guest
German Granados

Great job, thank you very much, my game went from 700 to 1130, I don’t know why but Access, Xbox beta and Microsoft teams didn’t work anymore, which I don’t care because I can play ranked games now!

MoN
Guest
MoN

Thank you so much for this. It fixed my issues!

Alexis
Guest
Alexis

I wish to share my experience here and maybe help some people. I had crashes on AoE2 DE on a regular basis, usually 25-30 min into a game, but not always. I am using a external screen plugged to my laptop through a docking station. And that seems to be where the issue came from. I didn’t have these crashes before I used an external screen, and plugging my screen directly to the laptop fixed the issue, is also fixed crashes on other games.