Unreal Engine Edition Black Screen

Hello I’m having issues with Unreal Engine editor, I get black screens after the time limited of two to five minutes, when it start and then when i click on the taskbar it goes back to the normal screen i can see everything, when i click on the program it goes back to being black screen. This is a problem right now for me. I’ve talk to the nvidia and to point all my drives are updated and working. Just main problem is unreal engine editor that give me the black screen. nothing else give the issues at all.

Both version of unreal engine 4 and 5
gives theses issues
which is I use 4.27.2
and the other one is 5.3.2
I just want to get this fix fast.