monitor turns black, pc still running

thee_other_me

Prominent
Feb 10, 2018
1
0
510
Hi, recently I bought a pc from independent parts,and lately it started either freezing with monitor signal turning off or just restarting.
my build is the following:
CPU ryzen 5 1600
M/B asrock AB350M Pro4
PSU Corsair VS550
Kingston HyperX 8gb 2133mhz
GPU XFX R9 270X black double dissipation
case aerocool QS-240
Windows 10 home premium

I looked for answers with same problem but no definitive answer.The weird is that it does that whether I play heavy games or just browsing the internet,even when pc is idle, and the crash/restart varies from hours to minutes intervals...Any help would be appreciated...