Feral Heart

Help & Guidance => Member Made Tutorials => Miscellaneous Tutorials => Topic started by: KovuLKD on May 18, 2011, 03:50:04 am

Title: OGRE EXCEPTION(3:RenderingAPIEException): Failed to create Direct3D9 Device: Not
Post by: KovuLKD on May 18, 2011, 03:50:04 am
This is a solution to an Ogre Exceptions thread, for the second exception:
Link to thread (http://feral-heart.com/index.php?option=com_jfusion&Itemid=2&lang=en&jfile=index.php&topic=2296.0)


-x-

If you get this error:

Quote
OGRE EXCEPTION(3:RenderingAPIEException): Failed to create Direct3D9 Device: Not available in D3D9RenderWindows::createD3DResources at c:\Orgre_161_tag\RenderSystems\Driect3D9\src\OgreD3DRenderWindow.ccp (line 597)

Here is a way to fix it:

- click Start, then Run (or press windows key + R on your keyboard)
- type dxdiag, press Enter
- a window should pop up
- click the Display tab
- under DirectX Features, you should see an Enable button
- click the Enable button
- if a popup appears, click OK
- click Exit

Here's a screen of what to click:
(http://img.photobucket.com/albums/v210/KovuLKD/Run_dxdiag.png)
(http://img.photobucket.com/albums/v210/KovuLKD/DirectX_Diagnostic_Tool.png)

Now running the game in Direct3D should work.

FAQ:
Why doesn't everyone else have to do this to get FH to work?
Most people should have "DirectX Direct Draw Acceleration" enabled by default. For some reason, yours isn't. So enabling it fixes said Ogre Exception.

I get a similar Ogre Exception 3, but it's slightly different. Will this fix it?
This fix works for:
OGRE EXCEPTION(3:RenderingAPIEException): Failed to create Direct3D9 Device: Not available
If yours is something else other than "Not available", then this fix may not work, but it's still worth a try.

Why did the chicken cross the road?
Because it wanted to cross over. Into the light.
Title: Re: OGRE EXCEPTION(3:RenderingAPIEException): Failed to create Direct3D9 Device: Not
Post by: Ruby1234 on May 18, 2011, 03:53:12 am
Lol at the last one Kov. xD
But thanks for this, I'm sure it'll be helpful! :D
Title: Re: OGRE EXCEPTION(3:RenderingAPIEException): Failed to create Direct3D9 Device: Not
Post by: Rak$ha on May 20, 2011, 12:15:01 am
xD
Title: Re: OGRE EXCEPTION(3:RenderingAPIEException): Failed to create Direct3D9 Device: Not
Post by: GemWolf on May 20, 2011, 12:23:19 am
Why did the chicken cross the road?
Because it wanted to cross over. Into the light.

 The answer at last!! xD
Lol, thanks for the thread, Kov. I'm sure it'll be quite helpful. x3
Title: Re: OGRE EXCEPTION(3:RenderingAPIEException): Failed to create Direct3D9 Device: Not
Post by: silver_wolf on May 25, 2011, 06:11:20 am
i have got a totally different ogre exception. mine says
' OGRE EXCEPTION(7:InternalErrorException):
media/overlays/overlay1/Default.fho.dll - error whilst opening archive:
 Unknown error. in ZipArchive::checkZzipError at
c:\Ogre_161_tag\OgreMain\src\OgreZip.cpp (line 259) '


HELP! WHATS WRONG WITH IT?! it was working fine a few minutes ago!!! D:
Title: Re: OGRE EXCEPTION(3:RenderingAPIEException): Failed to create Direct3D9 Device: Not
Post by: Sessko on June 05, 2011, 11:40:19 am
I cant connect at all.... it's very irritating.
It says: "Connecting to front server" > "Connection failed"  OR "Connecting to front server" > "Could not connect to front server"
Title: Re: OGRE EXCEPTION(3:RenderingAPIEException): Failed to create Direct3D9 Device: Not
Post by: Eian on June 06, 2011, 01:58:27 am
um It says it's "Not Available" and there's no enable button!!! help?  :'(
Title: Re: OGRE EXCEPTION(3:RenderingAPIEException): Failed to create Direct3D9 Device: Not
Post by: -Chase- on June 19, 2011, 01:46:17 am
this is the legit Kovu? :D
Title: Re: OGRE EXCEPTION(3:RenderingAPIEException): Failed to create Direct3D9 Device: Not
Post by: Delay on June 21, 2011, 06:48:32 am
Quote from: KovuLKD
Why did the chicken cross the road?
Because it wanted to cross over. Into the light.
Golden.

Very useful Koof
Title: Re: OGRE EXCEPTION(3:RenderingAPIEException): Failed to create Direct3D9 Device: Not
Post by: grayAnimus on August 10, 2011, 09:06:51 pm
um It says it's "Not Available" and there's no enable button!!! help?  :'(
Same.
Title: Re: OGRE EXCEPTION(3:RenderingAPIEException): Failed to create Direct3D9 Device: Not
Post by: Nathacha2260 on August 13, 2011, 12:13:47 am
My> display <'m outta enable, then as I did not click ... the image looks ...>>

file:///C:/Documents%20and%20Settings/Usu%E1rio/Meus%20documentos/Minhas%20imagens/helo.bmp