Having the same issue… Reinstalled nvidia studio drivers and tried multiple engine versions. New project will flicker black, freeze, and crash when trying to do anything important. Then get a GPU D3D device being lost error. Do not have any issues with blender or any other program or game… Last time I used unreal back in 4.20 I did not have these issues. Same computer and hardware. The engine is currently unusable in this state. Last thing to try is to reinstall Windows 10.