Try reinstalling the drivers for your Graphics Card to start. Looks like it's not being detected as every graphics card in the last 10 years supports DirectX 12. Any idea what your graphics card is? Anyway, you can get the most recent drivers from
TechPowerUp, see the links for AMD, Nvidia, and Intel at upper right under Latest GPU Drivers.