So, as in the title my monitors will randomly go black and the gpu goes into emergencey mode(fans at 100%). After I restart the pc everything is fine. I built this pc in november and at back then I had to RMA the psu, and after that it worked fine for 2 months, so I doubt it's a hardware issue. It seems like for some reason the mobo loses connection to the gpu for a moment. The only thing that could be a clue that I found was that I have a lot of OpenGLDriver ran out of memory warnings in event logger.
pc specs:
cpu:amd ryzen 7 7700x
psu: corsair rm850x
gpu: gigabyte gaming oc 4070 ti super
mobo: gigabyte b650 eagle
ram: Kingston Fury Beast, DDR5, 32 GB, 5200MHz, CL36
ssd: SSD WD WDS100T3B0E 1TB
pc specs:
cpu:amd ryzen 7 7700x
psu: corsair rm850x
gpu: gigabyte gaming oc 4070 ti super
mobo: gigabyte b650 eagle
ram: Kingston Fury Beast, DDR5, 32 GB, 5200MHz, CL36
ssd: SSD WD WDS100T3B0E 1TB