Download

Tutorial: MEGA High-Res UE4 Screenshots without Crashing

Hey guys, I just wrote a little tutorial on my indie game development blog but since I have literally zero readers yet I’ll post it here as well so that it might be of some use to someone.

High-Res UE4 Screenshots without Crash
**One of the great things about GPU rendering is how insanely fast you can render high resolution renders. While rendering things like lightmaps with GI is still time-consuming and resource-hungry, the actual 3d rendering is near resolution-independent. Do you want to render at 4 times your usual resolution for a print? As long as you have an extra spare couple of seconds, you’re in luck!
**
Unlike most engines, in UE4 (Unreal Engine 4) taking a high-res screenshots needs neither custom code, plug-ins or even memorizing command-line syntax. Simply use Epic’s provided ‘High Resolution Screenshots Tool’.

There is only one little problem…

Al thought the tool is programmed flawlessly (as is the case with all of Epic’s tools), you may run into a problem from another source. With hardware accelerated 3d being primarily developed for realtime graphics, your graphics card assumes you desire to run a smooth frame-rate. When your ridiculously detailed screenshot is taking forever to render, your graphics card assumes a bug and terminate the process.

Al though 2 seconds may be an eternity in a world of 60 fps gaming, it’s nothing for rendering still images. Coming from CPU offline rendering where a single image render can be an overnight process, 2 or even 100 seconds is less than it takes me to go fill my cup of water.

Luckily I found there is a way to tell your well-meaning computer to take a chill-pill. To bump up its default panic mode threshold of 2 seconds into whatever value you desire. After setting mine to a glorious 40 seconds, I can now save screenshots at an arousing 15360 by 8640 pixels (including buffer visualization targets). I find this to be the ultimate resolution as it down-samples perfectly into 8k (my ideal editing resolution).

Regedit Fix to Take High Resolutions Screenshots

Warning! The following is a hacky regedit fix which may break your computer. Under no circumstances should you listen to any of my regedit advice no matter how awesome.

  1. Navigate to the following folder in your regedit: “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers”
  2. Create (or modify) a key of type “DWORD (32-bit)” name “TdrDelay” with a value of 40 as ‘Hexadecimal’ value.
  3. Reboot your computer.

Congratulations, you’ve now told your computer to wait a full 40 seconds before freaking out about a seemingly never-ending frame render. Your life as you know it will never be the same!

Ooops I didn’t notice there’s a whole tutorials section of the forum, sorry.

Tried this but still crashes UE4. GPU memory running out maybe? GPU is 980 Ti.

Thank you ever so much Niberspace, works like a charm!

or, you know… just use Ansel :wink:

I’ve added an update now in the post that VRAM is also relevant. Once the VRAM runs out it will crash. I didn’t notice it because I had lots of VRAM and a small scene, but since then I’ve come across large scene with huge lightmaps and noticed the problem of running out of VRAM.

So there is a big ol warning that says this can break your computer? Is this a real risk? I have a $1200 gpu and don’t want to risk breaking it but really need to take these super high res screenshots! Does anybody know how risky this method is?

It’s not going to destroy your card, if it hits the memory limit the program will crash