Sign in to follow this  
70780533

D3D11: Removing Device

Recommended Posts

70780533    128
hi, when porting my game frome [b]Windows 8 Store App[/b] to [b]WindowsPhone 8[/b], I encounter a error:
D3D11: Removing Device.
First-chance exception at 0x77BD277C in TaskHost.exe: Microsoft C++ exception: _com_error at memory location 0x0148DB64.
First-chance exception at 0x77BD277C in TaskHost.exe: Microsoft C++ exception: _com_error at memory location 0x0148DFA0.
First-chance exception at 0x77BD277C in TaskHost.exe: Microsoft C++ exception: _com_error at memory location 0x0148E0DC.
First-chance exception at 0x77BD277C in TaskHost.exe: Microsoft C++ exception: _com_error at memory location 0x0148DB64.
First-chance exception at 0x77BD277C in TaskHost.exe: Microsoft C++ exception: _com_error at memory location 0x0148DFA0.
First-chance exception at 0x77BD277C in TaskHost.exe: Microsoft C++ exception: _com_error at memory location 0x0148E0DC.
First-chance exception at 0x77BD277C in TaskHost.exe: Microsoft C++ exception: _com_error at memory location 0x0148DB64.
First-chance exception at 0x77BD277C in TaskHost.exe: Microsoft C++ exception: _com_error at memory location 0x0148DFA0.
First-chance exception at 0x77BD277C in TaskHost.exe: Microsoft C++ exception: _com_error at memory location 0x0148E0DC.
First-chance exception at 0x77BD277C in TaskHost.exe: Microsoft C++ exception: _com_error at memory location 0x0148DB64.
First-chance exception at 0x77BD277C in TaskHost.exe: Microsoft C++ exception: _com_error at memory location 0x0148DFA0.
First-chance exception at 0x77BD277C in TaskHost.exe: Microsoft C++ exception: _com_error at memory location 0x0148E0DC.
First-chance exception at 0x77BD277C in TaskHost.exe: Microsoft C++ exception: _com_error at memory location 0x0148DB64.
First-chance exception at 0x77BD277C in TaskHost.exe: Microsoft C++ exception: _com_error at memory location 0x0148DFA0.
First-chance exception at 0x77BD277C in TaskHost.exe: Microsoft C++ exception: _com_error at memory location 0x0148E0DC.
First-chance exception at 0x77BD277C in TaskHost.exe: Microsoft C++ exception: _com_error at memory location 0x0148DA34.
First-chance exception at 0x77BD277C in TaskHost.exe: Microsoft C++ exception: _com_error at memory location 0x0148DF2C.
First-chance exception at 0x77BD277C in TaskHost.exe: Microsoft C++ exception: Platform::COMException ^ at memory location 0x0148E008. HRESULT:0x887A0005

Call [b]GetDeviceRemovedReason()[/b], the return value is[b] DXGI_ERROR_DEVICE_REMOVED[/b]
besides, I use [b]Windows Phone 8 emulator[/b].

Share this post


Link to post
Share on other sites
MJP    19755
This generally means that the display driver crashed or hung, and you got a TDR. This can be from something simple, like a draw call with a shader that uses a shader with a really long loop that takes so long that the drive times out. Or it might be from a bug in the driver itself. Or it could even be something in the emulator. The best advice I can give is to start removing bits of code until you can narrow it down further.

Share this post


Link to post
Share on other sites
70780533    128
thank you for your reply, MJP.
This error occurs when game init, ID3D11Device create many render states, textures, and shaders and all this is done in one game update. The error occurs some times at creating render states, some times at creating textures.

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