[1.10.7] D3D9 Device entered lost state after ctrl-alt-del

Problems building or running the engine, queries about how to use features etc.
Post Reply
Whisperd130
Halfling
Posts: 77
Joined: Wed Feb 01, 2017 4:02 pm
x 1

[1.10.7] D3D9 Device entered lost state after ctrl-alt-del

Post by Whisperd130 »

Hello,
I use OGRE 1.10.7 in windows7. I have using Visual Studio 2015 to built it up. After I built up SampleBrowser and run it.
I call the ctrl-alt-del and then SampleBrowser crash with error:

ogre.log

Code: Select all

23:06:42: D3D9 Device 0x[03CBFD20] entered lost state
23:06:42: ItemIdentityException: Cannot find buffer binding for index 0 in VertexBufferBinding::unsetBinding at F:\OGRE-samples\ogre-1.10.7\OgreMain\src\OgreHardwareVertexBuffer.cpp (line 769)
I think it has wrong in DX, but I'm not sure what should I do to fix it.

Is anyone have any ideas?

Thank you.
Whisperd130
Halfling
Posts: 77
Joined: Wed Feb 01, 2017 4:02 pm
x 1

Re: [1.10.7] D3D9 Device entered lost state after ctrl-alt-del

Post by Whisperd130 »

These days I search the Forums and Google and found some similar problems.
But I don't get solution in there.

Does anyone get an idea for this?
Thank you.
Whisperd130
Halfling
Posts: 77
Joined: Wed Feb 01, 2017 4:02 pm
x 1

Re: [1.10.7] D3D9 Device entered lost state after ctrl-alt-del

Post by Whisperd130 »

A long time after last reply.

I have try to update the version to 1.11.6 but it still crash when D3D9 Device 0x[XXXXXXXX] entered lost state.

Image

This crash in almost all the version I have try to. It from 1.10.7 to 1.11.6.
Maybe the reason is which DXSDK I have used? I'm not sure.
Hope someone can give me any ideas.

Richard.
paroj
OGRE Team Member
OGRE Team Member
Posts: 1995
Joined: Sun Mar 30, 2014 2:51 pm
x 1075
Contact:

Re: [1.10.7] D3D9 Device entered lost state after ctrl-alt-del

Post by paroj »

Ogre cannot fully recover a device lost on D3D9, so your best chances are to avoid that.
Try toggling D3D9Ex and resource creation policy to find what works best.

Also see https://github.com/OGRECave/ogre/issues/710 for some references
Post Reply