Looks like hardware. Could be heat or a power issue.
For heat: take the cover off, remove all dust inside, see if all fans run and use a ventilator to blow fresh air in. If it's OK now, you know the cause.
For power: try a new PSU.
Hi,
My computer occasionally crashes during gaming sessions (perhaps once every several hours) with a solid green screen. Eventually the monitor turns off and I can't recover it; need to just power down pc by holding power button and start again. It seems to happen at random - can't reproduce it at will. Tried different monitors and hdmi cables, latest GPU drivers but still the same issue. Sometimes it happens after several hours of the same game, sometimes within a few minutes. I honestly don't know what the trigger is.
Any thoughts on what might be going on? I'd didn't post all system info but let me know what might be needed to diagnose this. Windows 10 pc.
Thanks in advance!

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic