This sounds more like the usual heat issue. But let's make it clear that some search for "a solution" but really are asking for a solution they can deal with or is "a sure thing."
The sure thing is your friend looking it over for the usual issues.
Other sure things are a repair counter or a new PC. Which we try to avoid.
The specs really don't reveal much to where the issue is.
Try a simple test:
1. Remove case cover.
2. Point a fan at the open PC.
3. Test.
hello my friend built me a computer about 2 years ago. Ive had no problems what so ever. But 3 days ago, when ever im playing a game it will log me out. The screen goes black and then takes me to the login screen. Ive searched everywhere for a solution. Keep in mind im very bad with computers lol. Any help would be much appreciated
my specs are
Radeon Software Version - 19.9.2
Radeon Software Edition - Adrenalin 2019
Graphics Chipset - AMD Radeon R9 200 Series
Memory Size - 3072 MB
Memory Type - GDDR5
Core Clock - 1000 MHz
Windows Version - Windows 10 (64 bit)
System Memory - 8 GB
CPU Type - Intel(R) Core(TM) i5-4430 CPU @ 3.00GHz

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic