UE5 menus stop working (flicker or close immediately) after an hour of use

I tried everything.

I have the latest drivers, latest windows 11, everything is up to date and it keeps happening. Also an issue in ue5.1.

Switching to an older driver doesn’t matter anymore as nvidia posted a workaround but that didn’t work for me.