I just a couple months ago purchased a Dell G5. I have played loads of games such as Rust, Apex legends, Counter Strike, Fortnite and others but for some reason PUBG and Rainbow Six Siege will just completely Freeze my computer to were I have to hard restart. I have an I7 cpu and a RTX 2060 GPU 16GB duel channel ram. Sometimes i can play on siege for 5 hours without a freeze sometimes i can play for 5 minutes. I can play Rust on high settings for 12 hours straight doesnt matter.. never had a single crash. As i said this a pretty new laptop i purchased i believe the beginning of march this year so i have no idea what to do. I have read alot of stuff trying to figure it out and i have checked the history logs and the only error i see is from me hard restarting it.
Do you have the tool "Dell Power Management Lite" installed or similar to "power" / "manager"...? https://www.dell.com/community/Inspiron/Inspiron-15-7577-keep-freezing/m-p/6132204/highlight/true#M26910
"This is quite self-explanatory: a Power management application. You can find that bastage app by searching your computer for an application with that name. Open that app. Now look what you have under "Battery setting". If you see "Adaptive" (which seemed to be the default option for me), at any cost, please switch it to "Primarily AC use". For reference, I left the 'Advanced charge' thingy off as it was. That's it, that's all. The computer behavior went from 'dying patient' to 'dashing leopard' in a heartbeat. No more freeze-ups, no more random power mode "