# 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 on other sites
Ugh. nevermind. I forgot Nvidia doesn't support dx10.1
Changing the featurelevel to D3D_FEATURE_LEVEL_10_0 worked..

##### Share on other sites
Hi,

i´m having the same problem, can you please tell me how our here i can write this code?

##### Share on other sites
Guns    150
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).