edit: Problem literally fixed itself, if anyone in the future comes across this problem good luck lol.
So I'm having trouble installing tf2. Its a fresh tf2 install on a new hard-drive. When I launch tf2 it starts the microsoft dx installer for tf2. Says step 1 of 1 complete, it shows that I'm in game in my steam library, but after about two seconds it shows that I'm out of game. I have tried different dxlevels in my launch options, but to no avail. I have tried verifying my game cache multiple times, but again no luck. This is what the error looks like in event viewer;
Show Content
https://cdn.discordapp.com/attachments/439990517116305419/614284579351560192/mmc_2019-08-22_22-25-56.jpg
https://cdn.discordapp.com/attachments/439990517116305419/614284588562382849/mmc_2019-08-22_22-25-33.jpg
https://cdn.discordapp.com/attachments/439990517116305419/614284569310396447/mmc_2019-08-22_22-26-44.jpg
https://cdn.discordapp.com/attachments/439990517116305419/614284558011072542/mmc_2019-08-22_22-27-04.jpg
https://cdn.discordapp.com/attachments/439990517116305419/614284599585013780/2019-08-22_22-25-16.jpg
https://cdn.discordapp.com/attachments/439990517116305419/614284588562382849/mmc_2019-08-22_22-25-33.jpg
https://cdn.discordapp.com/attachments/439990517116305419/614284569310396447/mmc_2019-08-22_22-26-44.jpg
https://cdn.discordapp.com/attachments/439990517116305419/614284558011072542/mmc_2019-08-22_22-27-04.jpg
https://cdn.discordapp.com/attachments/439990517116305419/614284599585013780/2019-08-22_22-25-16.jpg
There was a report from event viewer, this is the notepad file;
Show Content
Any suggestions are helpful.