This is the situation. The other day my pc is working perfectly fine, and just yesterday I just woke up and turn my pc on, opening programs, and suddenly the screen froze and I can't move the mouse cursor, I can't even do the ctrl + alt +del. So in my response, I restart my pc just by holding the power button maybe it will solve the problem but after waiting for a minute the monitor didn't display anything and did not boot up. the fans is spinning and the cooler also spinning but I noticed that the VGA EZ debug light is on so I tried to search for the problem. I have tried resetting the bios by shorting the CMOS and it boots up but after a minute it freezes again and the VGA debug light is on. after that, they suggest reseating the ram and changing the slot but still, it boots up but freezes. I also cleaned the GPU and changed the thermal paste, cleaning the heat sink and fans, but it also doesn't work. What works for me was, when I unplugged the GPU out of my motherboard and just use the onboard graphics Display port socket it works perfectly, it did not freeze at all. And to check if my GPU is still working, I plugged it into my brother's PC, and to my surprise, It works perfectly, the system also recognizes the GPU, and it can also play games with no problems. I'm confused about what could be the problem and I don't want to spend money yet not until I can't narrow down the technical problem. I'm also thinking of borrowing a working GPU if it works on my system so that I can identify more what's the cause. Any suggestions and help to try are highly appreciated.
PC Specs
CPU: Intel i3-8100
GPU: ROG Radeon RX570
Motherboard: MSI B360M Mortar
RAM: Crucial Ballistix RGB DDR4-3200
PC Specs
CPU: Intel i3-8100
GPU: ROG Radeon RX570
Motherboard: MSI B360M Mortar
RAM: Crucial Ballistix RGB DDR4-3200