Chosen Solution

I don’t have the same exact Model G5 5590, I got G5 5505 model, since I brought it I have had a black screen and a random shutdown then restart problem with my laptop. It happens often but some days I be playing games without having any trouble shouting for hours. It all takes one crash and boom. I took it to BestBuy which from where I brought it, they run hardware and software tests, and they found no errors, they couldn’t help much with that as they told me.I upgraded my RAM from 8gbs to 16gbs and I thought it may be the problem solver, but it’s the same problem, games crash and laptop restart.I checked on the drivers and everything, still the same problem, I know there is a solution for this, maybe I didn’t know how to fix it.Is there anything you can help with? Have you ever had problems like this and got solved?

It sounds like you bought a refurbished laptop. If you already upgraded the RAM, the fans are working, and the hardware/software/driver tests passed, the problem may be the CPU’s cooler. An overheating CPU can cause a thermal trip error that makes the PC restart unexpectedly. If the person who refurbished the laptop didn’t confirm that they placed the CPU cooler correctly (correct amount of paste, fully functional fan, etc.), I would ask Best Buy about that.