Usuário com melhor resposta

Swapchain not created with feature level 9_3 or below

Pergunta

I have setup a project for a directx metro app, but when i run it with directx 10.1 hardware on a lower feature level (9_1), it will just crash after i create the swapchain. The console just has 1 simple message "D3D11: Removing Device." I am using an AMD
Radeon HD 6570 with WDDM 1.2 driver. The game works fine in other feature levels (10 and above)

I also tried running 3 samples from microsoft, and forcing the feature level to 9_1. They all show the same message (Device removed). Also when i try it on an actual DX9 device it will just crash. Other games such as cut the rope do seem to work fine (allthough
laggish)

Anyone know what i did wrong with creating my swapchain?

terça-feira, 3 de abril de 2012 13:03

Respostas

I did indeed use the reference driver to fix the warnings directx would spill out (mostly index buffers not being 16bit). Next was running the game in release mode and forcing directx to spill out all logs by using 'dxcpl.exe'.

Than it would crash on creating shaders, apparently not all shaders were using the correct version when compiling (should be 4.0 level 9_1). After fixing that the game would run and it would display 2d images perfectly fine. 3D and 2d mixed was still a big
problem.

Turns out the fix for that is, is to enable the depth buffer before rendering (i was calling 'present' with the depthbuffer disabled).

Todas as Respostas

I did indeed use the reference driver to fix the warnings directx would spill out (mostly index buffers not being 16bit). Next was running the game in release mode and forcing directx to spill out all logs by using 'dxcpl.exe'.

Than it would crash on creating shaders, apparently not all shaders were using the correct version when compiling (should be 4.0 level 9_1). After fixing that the game would run and it would display 2d images perfectly fine. 3D and 2d mixed was still a big
problem.

Turns out the fix for that is, is to enable the depth buffer before rendering (i was calling 'present' with the depthbuffer disabled).