Computer crashing on videos

Aug 30, 2018
2
0
10
so my computer likes to automatically restart when I watch any video online for more than 30 minutes or I let it sit idle but I can play a game all day I'm unsure as to the problem I have just replaced every internal did a clean install 3 times just to ensure that wasn't a problem only internal that isn't new in the computer is the GPU which is 10 months old but holding back on replacing it if it isn't the problem I have tried to disable automatic restart on system failure which results in computer freezing I've also monitored temperatures to eliminate that ran a ram diagnostic I'm not the most intelligent with computers but I have done all I can think of .
computer specs :
PSU = evga 1000w
Motherboard = gigabyte ab350m ds3h
CPU = amd ryzen 5 2600x
ram = Patriot Viper 16gb ddr4 1 stick
HDD = seagate firecuda 1tb
SSD = Seagate 512 gb
GPU = Zotac geforce gtx 1050 ti
 
Aug 30, 2018
2
0
10
hmm never thought of monitoring GPU temp but yes I monitor my CPU temp it runs 35 on normal up to a peak of 52 and my GPU is up to date with GeForce experience app / got a gpu monitor program temp was 31 degrees load was 16% when comp restarted