Question Mainboard VGA red light, blackscreen but sometimes able to get signal?

Jul 2, 2023
2
0
10
Hello! First up my PC specs are :
Ryzen 5 5600
VEGA 56 gigabyte
Gigabyte aorus ultra gaming x470
2x 8GB 3200mhz ddr4 ram
500gb samsung evo 970, 250gb sata ssd, 2TB HDD that I took out..
600W PSU
I got 2 monitors connected usually, HDMI and DP 1.4

So last night my PC randomly restarted when I was playing a game, I saw that the rgb in my pc reset as if it tries to start up.
The red led on the mainboard switched a few times from cpu to dram and after 3 times to vga. I had a blackscreen for the whole process and it continued to be a blackscreen. I was able to boot into windows 11 tho, because I heard the windows 11 sign in sound in my headphones.
I restarted again, reconnecting the monitor cables to my gpu and it worked for about 2mins before restarting and going into black screen again.
I then reseated the gpu, tried again and nothing. Using a different dp port on my gpu and nothing. Only using hdmi and nothing. I also tried to use the different pcie slot I had on my mainboard but nothing happened, in all of those scenarios it stayed with the red vga light but boots into windows 11.
I then tried to boot without gpu connecting my hdmi to my mainboard, and ofc it was a blsckscreen as my cpu doesnt have a integrated gpu.
So I put my gpu back in and tried again and it WORKED for about 10mins before restarting and blackscreening, in that time I updated my gpu driver in hopes that it would fix it but no.
I then took out a HDD that has been someone faulty before and acting up, started the pc and it worked for about 1h. I tried to benchmark my gpu with furmark and it worked for 20mins, 100% gpu usage and stable at 57C. I closed the benchmark to start a different benchmark and it restarted again and black screened.
I now am out of ideas and have no idea how to fix this, I recently changed the thermal paste on my gpu (about 3 weeks ago) and everything was working perfectly.
Could this be a mainboard issue or a gpu issue?