Unreal Engine is exiting due to D3D device being lost AGAIN AND AGAIN

I had this issue for a while, and the the only thing that 100% fixed it is disabling “multipane overlay” in the registry.
–Remember to RESTART your machine afterwards for the fix to work–

I originally found this fix here, which goes into more detail about what’s happening.

This is the page on Nvidia’s website where you can download the .reg registry file (mpo_disable.reg) along with another to restore it if needed.

The Nvidia page says it fixes another issue that I wasn’t experiencing, but disabling mpo fixed the D3D lost device issues. On another Nvidia forum page, someone else used the same fix to correct a weird youtube gpu bug as well, so it seems there are a lot of unrelated issues caused by the multipane overlay “feature”

In case the Nvidia link goes down or you don’t want to download the little .reg file, here’s what it contains:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Dwm]
"OverlayTestMode"=dword:00000005

–Remember to RESTART your machine afterwards for the fix to work–

You can either paste that into a text doc and rename the extension to .reg and run it or do it manually:

  • Run the “regedit” registry program
  • Navigate to “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Dwm”
  • Right click and create a new DWORD (32-bit) value
  • Name the entry “OverlayTestMode” and set its value to “5”
  • -Restart and it should be fixed-

It’s the only thing that worked. Changing Tdr delay values, altering power savings modes in windows or geforce experience, working unmaximized, etc. never fully fixed the issue. After that I never encountered that crash again.

1 Like