Getting weird viewport flickering

The entire project keeps flickering.
I tried switching between raster and raytracing, tried removing UDS, reducing/increasing lumen quality, nothing has worked so far.
Please help.