my mainboard has dx11 but my gpu has dx12

Solution
Your main board has nothing it goes by what the game supports.
Your processor might have DX 11 on the built in video. When you add a video card then the card takes over.