Compiling Shaders Crash

Hi guys,

I’m experiencing a crash when trying to compile more than ~2000 shaders at one time. I can quickly compile around that amount, but anything beyond that number will give me a bluescreen with the report of WHEA_UNCORRECTABLE_ERROR (which is the least helpful error message in the world). This is the only time my computer crashes, and my hardware is relatively new (and powerful), so I can’t figure out what the issue is. Sometimes I can compile more than 2000 shaders, but if I try to reach 2500 it will crash 100% of the time. This has been happening since 4.1, and I haven’t found any solutions yet on my own. Now that I have a new wave of content coming into one of my projects, I’m sitting here trying to break it into multiple maps so I can try to compile 65k shaders, 2k shaders at a time. I’d really just like a solution that doesn’t feel like a band-aid.

Here’s my specs:

Windows 8.1 Pro 64-bit (6.3, Build 9600)
Intel Core i7-4790K @ 4.00 Ghz (not overclocked) - Are you a human?
2x8GB Corsair DDR3 1866 RAM - Are you a human?
ASUS Maximus VII Hero motherboard - Are you a human?
NVidia GeForce GTX 680
The perforce repository + engine is located on a SSD with 90 gigs of space.

I don’t know if anyone else has had this issue, or if someone could at least tell me what might be affected most by shader compilation (CPU?), that’d be helpful.

My guess:
I used to have an older CPU model - the Intel Q6600 - that was bought in 2008. When compiling shaders it would also crash around the 2000 mark, but it would also go from ~90 degrees C to ~105 degrees C, then crash. It was old and running very hot, so it needed replaced. I was assuming that was the issue, but this new CPU will go from ~50 degrees C to ~100 degrees C during the time it takes to reach 2000 shaders, then Core Temp starts throwing warnings about it getting very hot right around crash time. I have a new case with 2x240 MM fans and 4x smaller fans, and excellent air flow. My CPU will push all 4 cores to 95% capacity while compiling shaders.

Am I just overheating my CPU when trying to compile shaders? Is there a software-based solution to try and calm down the CPU while doing this? I’m compiling roughly 2000 shaders per minute, and don’t mind at all if I have to compile slower if that means not crashing.

Thanks in advance!

Hey -

According to the Microsoft Developers site, the WHEA_UNCORRECTABLE_ERROR is a Hardware error, but I cannot determine specifically if it is an overheat issue. The Error will trigger to force a CPU shut down to save from data loss? With your information about the core temp raising, it would lead me to believe that this is the case. If that is the case I would be looking at the CPU fan itself and make sure that it is running as it should. It is expected that compiling shaders will raise CPU and GPU usage but not enough to cause an overheat issue.

The only thing I can suggest at this point is to really pay close attention to your CPU and internal fans and make sure that as your CPU and GPU processors are growing in use they should be running fast (or always running at a fast rate) and of course make sure that you have a clear air flow around your CPU.

Thank You

Eric Ketchum

Hey -

Can you let me know what model SSD you are using? Also try to uninstall the engine from your SSD and install on your HDD (if possible) and see if you still get this overheating issue.

Thank You

Eric Ketchum

Hey Eric,

Thanks for looking into this. I run my CPU fans at a constant max speed and the airflow seems to be fine. I downloaded a program that monitors the CPU temperature and throttles it back when the temperature reaches dangerous levels, and I ended up bluescreening even while running at 78 degrees C and 75% CPU power.

My SSD is a Crucial CT480M500SSD1 (Crucial M500 480GB CT480M500SSD1 Internal Solid State Drive (SSD) - Newegg.com)

I’m installing UE4 onto another drive now and will test it later tonight.

Hey -

Just touching base to see if once installed on the other drive if you still have the overheat issue?

Thank You

Eric Ketchum