Roman Reiner
Roman Reiner

Reputation: 1109

IDXGIFactory::EnumAdapters() does not return any adapters

I'm developing an DirectX11 application. During initialization I enumerate the available graphics adapters as described here.

Now, for one of our customers the number of available adapters appears to be zero: EnumAdapters(0, &pAdapter) already returns DXGI_ERROR_NOT_FOUND.

How is this possible? Shouldn't there always be at least one graphics adapter available? The computer has a graphics card with newest drivers installed and the display is working.

Note: Our application actually uses SharpDX but the procedure is the same. The failing equivalent is GetAdapterCount() returning 0.

Upvotes: 5

Views: 2713

Answers (2)

Chuck Walbourn
Chuck Walbourn

Reputation: 221

Note that with Windows 8.x you would get the "Microsoft Basic Renderer" adapter in 'safe-mode', which is essentially WARP + a legacy VGA output driver. See this post for some implications.

Upvotes: 3

Roman Reiner
Roman Reiner

Reputation: 1109

I'll answer my own question:

As it turned out this problem occurred when our customer tried to run our application in safe-mode because of another unrelated problem. In safe-mode the graphics driver isn't loaded and hence there would not be any adapters.

Upvotes: 5

Related Questions