Getting RenderingAPIException after Windows 10 update.

Discussion area about developing with Ogre2 branches (2.1, 2.2 and beyond)
Post Reply
aymar
Greenskin
Posts: 145
Joined: Fri Jun 12, 2015 6:53 pm
Location: Florianopolis, Brazil
x 16

Getting RenderingAPIException after Windows 10 update.

Post by aymar »

After updating my PC to Windows 10 I'm getting the following exception/crash:

OGRE EXCEPTION(-2147024882:RenderingAPIException): Error calling Map: infoQ exceptions are turned off in D3D11HardwareBuffer::lockImpl at ..\..\..\RenderSystems\Direct3D11\src\OgreD3D11HardwareBuffer.cpp (line 178)

Does anyone know what might be causing this?

User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 4211
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 802
Contact:

Re: Getting RenderingAPIException after Windows 10 update.

Post by dark_sylinc »

No, I have no idea but compiling as debug would enable the infoQ exceptions which might give you more insight of what's going on.

aymar
Greenskin
Posts: 145
Joined: Fri Jun 12, 2015 6:53 pm
Location: Florianopolis, Brazil
x 16

Re: Getting RenderingAPIException after Windows 10 update.

Post by aymar »

Unfortunately I'm not being able to run it in debug, it crashes in OgreRoot constructor, I've detailed this issue here:

http://www.ogre3d.org/forums/viewtopic.php?f=25&t=83965

User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 4211
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 802
Contact:

Re: Getting RenderingAPIException after Windows 10 update.

Post by dark_sylinc »

Ugh. There is an option in the configurator named "Information Queue Exceptions Bottom Level".
It defaults to "No information queue exceptions"

Set it to "Error" and try again then check what it says, and then "Warning" to see if there's something more helpful.

aymar
Greenskin
Posts: 145
Joined: Fri Jun 12, 2015 6:53 pm
Location: Florianopolis, Brazil
x 16

Re: Getting RenderingAPIException after Windows 10 update.

Post by aymar »

I did it, and I got this:

OGRE EXCEPTION(-2147024882:RenderingAPIException): Error calling Map: hr = 0x8007000E
in D3D11HardwareBuffer::lockImpl at ..\..\..\RenderSystems\Direct3D11\src\OgreD3D11HardwareBuffer.cpp (line 178)

Which is the error code to OUTOFMEMORY. But that's strange, since this machine clearly has memory (both RAM and GPU, 16 GB RAM, R9 280 GPU) and the app runs in much simpler machines. Also, it started crashing with this error right after Windows 10 update.

I'm trying to uninstall the video driver and do a fresh install to see if it works.

User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 4211
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 802
Contact:

Re: Getting RenderingAPIException after Windows 10 update.

Post by dark_sylinc »

Yeah, definitely something fishy going with some driver or even the OS itself. GPU driver likely.

Does this happen with the Samples provided too? Or just your app? Also GPU-Z allows you to monitor GPU Memory used. May give worth a shot.

Post Reply