PC restart randomly while gaming

radikuss

Prominent
Feb 17, 2017
1
0
510
Hello.
I've been searching through all forums and didnt found the solution yet.so my pc always restarting while playing ANY games but it worked perfectly if isnt used for gaming such as surfing web,watching film,etc my pc work perfectly fine

mobo:Gigabyte ga78lmt
CPU:amd fx 6300
HSF:deepcool gammax 400
RAM:2x4gb kingston hyperx
VGA:nvidia asus strix gtx 960 4gb
HDD:seagate 1tb + WD blue 1 tb
UPS:600v i forgot the brand
PSU:Corsair cx500
Other:LG 1080p monitor,gaming mouse+keyboard+ 2 120mm fans

my pc is less than 2 years old,most forums said that either its the PSU or overheating problems,is that correct?
another thing some says that try playing games without UPS,Ive tried it but it still restarting

is it enough 500w psu to power my rig?

if its because the PSU,can I ask for recommendation?

Corsair CX 550 M
Silverstone ST60F-ES 600w
FSP Hyper M 600 W
SEASONIC S12II520

Corsair VS 650
SILVERSTONE ST60F-ESB
ENERMAX MAXPRO 600W
ENERMAX LEPA MX F1 650W MODULAR

IN WIN POWER MAN 550W
HIGH POWER 550W

Raidmax Cobra Power 600W
Corsair VS 550
Xigmatek X-calibre XCP A600
Enermax LEPA MX F1 550 W Modular
EVGA 500W

Enlight 500W black silver
ENERMAX NAXN 500W
FSP Hexa+ 500W

sorry for messy thread,ur answers will be very appreciated thank you guys