Jump to content
  • Advertisement
Sign in to follow this  
laiyierjiangsu

How to find the dxgi version of directx in pc?

This topic is 631 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

 
Hi, guys ,
 
    In a PC with win7 sp1 installed but no Windows6.1-KB2670838-x64.msu installed, we successfully created SwapChain but got a notification that Gamelib created it failed.
  I have used CreateDXGIFactory1 to create idxfactory1 ,and enum adapters ,created3ddevice , but when I createswapchain ,I have encountered this error as follows, the picture can not be upload .
 But If I changed the api CreateDXGIFactory1 to CreateDXGIFactory, it create swapchain succefully. Does anybody encounter this problem as me?
 
 

 

Share this post


Link to post
Share on other sites
Advertisement

That's the DXGI_ERROR_INVALID_CALL error. There should be a debug message telling you specifically what parameters you have wrong.

When I change CreateDXGIFactory1 to CreateDXGIFactory, there is no error. The only thing that bug me is a questiong that How can I make a decision between CreateDXGIFactory1  and CreateDXGIFactory.

Tks!


Could you post the code from the adapter enumeration until the swap chain creation?

The code is easy ,I have used the wrong api.

Tks! I want to know is that why mircrosoft offer two api for CreateDXGIFactory which really bothers me.

Share this post


Link to post
Share on other sites

On Windows Vista and Windows 7 without the Platform Update (2670838), DXGI 1.0 only enumerates GPUs with monitors attached. DXGI 1.1 enumerates all GPUs, including those that don't have monitors attached.

On Windows 7 with the Platform Update and newer, both APIs enumerate adapters in the same way. At least, I think that the enumeration convergence ended up going down to Windows 7, but that may have only been Windows 8.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!