GZDoom startup error IDirect3D9 CreateDevice failed

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: GZDoom startup error IDirect3D9 CreateDevice failed

Re: GZDoom startup error IDirect3D9 CreateDevice failed

by ZDUser » Thu Oct 22, 2020 12:45 pm

Yeah, I noticed moving the config file out of there to run from scratch makes it work. Possibly something got corrupted in the ini. Though it taking long to load might be hardware issue (and might also be related/caused the problem with the ini?).

Re: GZDoom startup error IDirect3D9 CreateDevice failed

by Apeirogon » Thu Oct 22, 2020 11:14 am

Did you try to turn it off and on?
Gzdoom sometimes corrupt/eat its ini file. Backup it and then delete it.

Re: GZDoom startup error IDirect3D9 CreateDevice failed

by ZDUser » Thu Oct 22, 2020 10:58 am

I'm not sure if these are all what you're looking for, apologies. Let me know if you need more settings info:

Preferred Rendering API: OpenGL
Render Mode: Doom Software Renderer
Force Aspect Ratio: 4:3
Forced Ratio Style: Stretch
Resolution Scale: Normal
Scale Factor: 1.00
Vertical Sync: Off
Rendering Interpolation: On

Re: GZDoom startup error IDirect3D9 CreateDevice failed

by Graf Zahl » Thu Oct 22, 2020 12:21 am

Direct3D 9 indicates the pure software renderer, the shader cache won't even come into play there.
What's your render config?

Re: GZDoom startup error IDirect3D9 CreateDevice failed

by ZDUser » Thu Oct 22, 2020 12:20 am

I'll see if it persists going into tomorrow.

Re: GZDoom startup error IDirect3D9 CreateDevice failed

by Rachael » Wed Oct 21, 2020 11:41 pm

Really? That seems like a bug, to me.

GZDoom should detect that you have an Intel card and build a shader cache upon every start up.

Re: GZDoom startup error IDirect3D9 CreateDevice failed

by ZDUser » Wed Oct 21, 2020 11:34 pm

Tried a few times, still about 20 seconds to get to the main menu. Not sure why this is; at least the crash is fixed and it actually works so far, though.

Thanks!

Re: GZDoom startup error IDirect3D9 CreateDevice failed

by Rachael » Wed Oct 21, 2020 11:29 pm

It had to rebuild the shader cache - it should be faster with subsequent startups.

Re: GZDoom startup error IDirect3D9 CreateDevice failed

by ZDUser » Wed Oct 21, 2020 11:15 pm

It starts up now. The window was completely flat and I had to resize it, then choose a more suitable resolution. On startups now, though, it takes a little over 20 seconds before the main menu appears.

Re: GZDoom startup error IDirect3D9 CreateDevice failed

by Rachael » Wed Oct 21, 2020 11:01 pm

Try "gzdoom -iwad <whatever> +vid_preferbackend 0" to reset to OpenGL mode.

Re: GZDoom startup error IDirect3D9 CreateDevice failed

by ZDUser » Wed Oct 21, 2020 9:45 pm

Trying to add the MSInfo, but it says Request entity too large
Attachments
DxDiag.txt
(26.05 KiB) Downloaded 89 times

GZDoom startup error IDirect3D9 CreateDevice failed

by ZDUser » Wed Oct 21, 2020 9:42 pm

GZDoom stopped working on my computer after having no problems for about 5 months. It happened abruptly while in regular Doom II, while idling in the pause menu, crashing with the error "IDirect3D9 CreateDevice failed". Now it doesn't even start up, and that error shows up.

I have the latest GZDoom, and only play the regular Doom games (and Heretic and Hexen).
I'll attach the dxdiag and msinfo

Top