Desktop automatically turns off

Nov 13, 2018
11
0
10
Hello everyone,
My desktop suddenly turns off while playing league of legends. However, after I tried to turn it on, there was only Desktop which turned on and the monitor was still saying " monitor going to sleep" for a couple of times that ive tried. After 1 hour later, i could turn everything on, however, if i play game again, it will automatically turn off.
Is there any solution to solve this issue?

my setup:
AMD RYZEN 7 1700 8-Core
MSI B350 TOMAHAWK AM4 AMD B350
Team T-Force Night Hawk RGB 16GB
Rosewill Hive Series 550W Modular Gaming Power Supply
EVGA GeForce GTX 1060
SSD samsung 860 550gb