Sign in to follow this  
MadrMan

D3D11 DXGI_ERROR_UNSUPPORTED

Recommended Posts

Hello, I've made a small D3D11 app which works fine for me, but when other people try to run it they seem to get DXGI_ERROR_UNSUPPORTED on D3D11CreateDeviceAndSwapChain Any idea as to what can cause this? They have fully updated drivers, feb 2010 dx redist, both nvidia, and one of them is on vista sp2 (with platform update) and the other on win7, and both have dx10 capable gpus Making a device with these parameters:
sd.BufferCount = 1;
sd.BufferDesc.Width = 800;
sd.BufferDesc.Height = 600;
sd.BufferDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM;
sd.BufferDesc.RefreshRate.Numerator = 60;
sd.BufferDesc.RefreshRate.Denominator = 1;
sd.BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT;
sd.OutputWindow = (hwnd here);
sd.SampleDesc.Count = 1;
sd.SampleDesc.Quality = 0;
sd.Windowed = TRUE;

featureLevel = D3D_FEATURE_LEVEL_10_1;
driverType = D3D_DRIVER_TYPE_HARDWARE;

Share this post


Link to post
Share on other sites
[quote name='MadrMan' timestamp='1268311135' post='4617156']
Ugh. nevermind. I forgot Nvidia doesn't support dx10.1
Changing the featurelevel to D3D_FEATURE_LEVEL_10_0 worked..
[/quote]

You need 10.1 hardware to run on 10.1 feature level (which 10.0 hardware is not capable of).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this