I have an Alienware m14xR1 laptop with an external monitor connected via HDMI port, so I’m working with two displays. I have been developing a C++ UE4 project (currently on UE 4.19.1) with this setup for almost a year now with no issues. A few days ago I logged in to my computer (I think Windows 10 updated itself and restarted the machine) and started getting a crash that I could use some help with. What happens is that when I open my project in the editor, as soon as the editor window shows up on the screen I instantly get a crash related to D3D11.
What is interesting is that it appears be caused by putting any UE4 window in my main laptop display. When I run without the external monitor connected, the crash occurs. When I run with ONLY the display on the external monitor, the crash does not occur. If I run with multiple displays, the crash happens as soon as any editor window is dragged over to the main laptop display.
I have attached the log file, call stack (obtained in the Visual Studio debugger), and my dxdiag info.
I’m not really sure what the problem is. I thought it might have to do with the NVidia card not being used for windows in the main laptop display. I have made sure my NVidia drivers are up to date, and I also set the preferred graphics processor to be the high-performance NVIDIA processor in NVidia Control Panel’s global 3D settings. Also, the NVidia GPU Activity shows UE4Editor.exe when I run my project. I did noticed that NVidia Control Panel does not seem to recognize my laptop’s main screen which is curious - it only shows the external Dell monitor.
One more thing I tried to do was to open a brand new project with UE 4.19.2 through the Epic Games launcher, but as soon as the editor loading screen gets to 100% and goes away my entire computer freezes and I have to do a hard reset.