I've recently built a new gaming pc and have been experiencing problems with running games at high settings and/or unlimited fps. When I play Fortnite with competitive settings (everything low except viewing distanced on maxed and unlimited fps) my pc powers off and turns on right away after 5 min of playing. I've monitored how hot my GPU (78c max) and CPU (54c max) before this happens to see if its a heat issue. Also, other games I've had problems with Call of Duty warzone, Tera, Warframe, League of Legends. The odd thing about Tera is when loading up the game my screen freezes for 30 sec then shows the blue portal screen with 30-60 fps then the pc does the restart thing mentioned at the beginning, for warzone I can play solos no problem but when I try playing any other mode (squads, trio, duo) pc crashes when I find a game and it starts loading in the game (sometimes before or after I see the loading screen). I do have my parts oc but I've tested if this happens with or without oc (no oc with CPU, GPU, and XMP off). I've done some benchmarking software to test each of my parts (except HDD used smart for that no problems) and haven't noticed anything out of the ordinary but I'm willing to try multiple things to help solve the problem. I've left a list of my parts below and if you have any more question lmk.
specs:
CPU: Intel Core i9-9900K 3.6 GHz 8-Core Processor (5ghz all)
CPU Cooler: NZXT KRAKEN Z63 98.17 CFM Liquid CPU Cooler
Motherboard: Gigabyte Z390 AORUS MASTER ATX LGA1151 Motherboard
Memory: G.Skill Trident Z 32 GB (2 x 16 GB) DDR4-3200 CL14 Memory (xmp)
Storage: Toshiba X300 6 TB 3.5" 7200RPM Internal Hard Drive
Video Card: EVGA GeForce RTX 2080 Ti 11 GB Black Video Card
Case: NZXT H510i ATX Mid Tower Case
Power Supply: NZXT HALE90 V2 1200 W 80+ Gold Certified Fully Modular ATX Power Supply
Operating System: Windows 10, 64 Bit, Pro Edition (build 1904)
Monitor: Samsung SE790C
Edit: bios f11c, version 2004 windows
problem was bad driver