UI flickering @(UE5.0.1)

the only permanent solution that i found that also lets you use directx12 is attaching a second screen. for some laptop brands the screen is hardwired to run on the internal GPU, using an external screen solves this issue as it forces everything to run via dedicated GPU, i have the same PC as the OP and this solved it instantly