Games crashing after 5-20min

Jun 26, 2018
7
0
10
I bought pc 2 days ago installed win10 and every thing works fine just some games crash after 5–20 min for ex(Hitman,Bf1) other games like csgo and wot did same until i reinstalled windows.Now they work just fine and if i put low settings on hitman i get more play time i tried many fixes like disable all services and i played hitman 40min until crash i also tried installing drivers old new clean install and Windows Memory tool,sfc /scannow noting works also first day i was getting a lot bsod (***VIDEO SCHEDULER INTERNAL ERROR***) but that stoped after reinstalling windows.temperatures are 50/60max for cpu and gpu.also i found out that my vega 11 is not showing under display adapters.nothing overclocked
spec:ryzen 5 2400g,1050ti,8gb ddr4,1tb power supply 400w