Posted  by  admin

How To Check Directx Version On Windows 7

  1. How To Check Directx Version
  2. How To Check Directx Version On Windows 7 Download

I am running Windows 7. When I use DxDiag, it shows the version as 11.

To check which DirectX version is installed on your computer, follow the steps bellow: Open DirectX diagnostic tool by clicking the Start button and then type “dxdiag” on the search box. To do that: If you have Windows 7, Vista, XP: Press 'Start' menu button. In the 'Search' box type 'dxdiag' and then press 'Enter'. Log into your account. Your username. Your password.

When I use Visual Studio 2012 which can access Windows API, it can run the code with feature level D3D_FEATURE_LEVEL_11_1

So I agot confused, what is the exact version of my DirectX version?

Adam LeeAdam Lee
8,80435 gold badges105 silver badges185 bronze badges

4 Answers

There are a number of confounding factors at work here, so let's take them one at a time:

  1. DXDIAG is part of the OS along with the DirectX Runtime but is also manually updated for that string, so it is often less than detailed/accurate about reporting 'DirectX' version. For Windows Vista SP1 it doesn't say 'DirectX 10.1' and says 'DirectX 10'. Similarly, with both Windows 8 and Windows 7 SP 1 + KB2670838 installed it still says 'DirectX 11' and not 'DirectX 11.1'. On Windows 8.1 it still says 'DirectX 11' and not 'DirectX 11.2'. In short, DXDIAG is not your best option for technical details like this. You could try using the latest version of dxcapsviewer in the Windows 8.1 SDK which is a bit more sophisticated in how it check things, but still needs manually updating over time so it currently says nothing about Windows 10 features like DX 11.3 or DX 12.
  2. If you pass NULL for pFeatureLevels to D3DCreateDevice even on Windows 8.x, you will still not get D3D_FEATURE_LEVEL_11_1. This is for backcompat reasons and ensures the behavior doesn't change where NULL gets you 9.1 - 11.0. You have to manually list the 11.1 value in the array to get it--assuming the system+driver combo actually supports it. Note that if you do include 11.1 in the array, the call will fail with E_INVALIDARG on Windows Vista SP2, Windows 7 RTM, or Windows 7 SP1 without KB2670838.
  3. Windows 7 SP1 + KB2670838 provides the DirectX 11.1 API, but does not support D3D_FEATURE_LEVEL_11_1 or any of the new optional hardware features because it doesn't include support for the new WDDM 1.2 driver model. You have to be using Windows 8 or later to get D3D_FEATURE_LEVEL_11_1 with a WDDM 1.2 driver and appropriate hardware. See MSDN

In general, the proper way to handle all this for Windows desktop applications is:

Then to detect support for Direct3D 11.1, you see if you can obtain the Direct3D 11.1 interfaces:

Don't make assumptions based on Direct3D Feature Level what version of DirectX is installed or vice-versa.

  • Windows 8 Store apps can assume that DirectX 11.1 is present, but can't assume any particular Direct3D Feature Level (although 9.1 is the minimum you'll ever see).
  • Windows 8.1 Store apps can assume DirectX 11.2 is present, but again can't assume anything about Direct3D Feature Level.
  • Windows phone 8.0 apps can assume DirectX 11.0 is present and the devices only support 9.3.
  • Windows phone 8.1 apps can assume DirectX 11.1 is present and the devices only support 9.3.
  • Xbox One apps can assume DirectX 11.1 is present. Exclusive apps can assume FL 11.1 is present. Shared apps have to use FL 10.0.
How To Check Directx Version On Windows 7

See this post for details on the various nuances of device creation and DirectX 11.x version detection.

See this post and this one for important notes about DirectX 11.1 on Windows 7.

Chuck WalbournChuck WalbournHow to check directx version on windows 7 windows 10
21.3k1 gold badge29 silver badges50 bronze badges

DXDIAG: Even after applying KB 2670838 to Windows 7 SP1, DXDIAG will still report it as 'DirectX 11'.

When in doubt, I would suggest relying on the feature level returned from CreateDevice (et al) to be correct.

MuertoExcobitoMuertoExcobito
7,2262 gold badges20 silver badges51 bronze badges

A feature level is a well defined set of GPU functionality.

How To Check Directx Version

Your DirectX version is 11, but depending on your hardware (GPU) you might get feature level 11_1. If your friend down the street has Windows 8.1 and a supporting graphics card, they might have 11.2 features.

How To Check Directx Version On Windows 7 Download

Although from what it sounds like, you have at least some 11.1 features available to you.

KymikoLocoKymikoLoco

As said before: Run dxdiag -> go to display -> check driver model. If you have WDDM 1.3 than DirectX 11.2 is installed in your system, if you have WDDM 1.2 than you have DirectX 11.1.

Niki4Niki4

Not the answer you're looking for? Browse other questions tagged directxdirectx-11 or ask your own question.