Page 1 of 1

video_driver = direct3d9 causes game to crash [Solved]

PostPosted: Thu Jun 06, 2013 23:10
by markbe
Windows 8, Minetest 0.4.7

Game opens OK in OpenGL but has usual Windows performance issue of 7fps

When "video_driver = direct3d9" is added to minetest.conf the game crashes after selecting your world. This happens in single player and server modes

Nothing of usefulness appears on the error log

PostPosted: Thu Jun 06, 2013 23:27
by Inocudom
Most Windows builds don't have Direct X compatibility. If you want to be able to use Direct X, you must use builds made by either xyz (I don't think he makes builds anymore) or Fess (his builds are only 64-bit and he is having trouble making them these days.)

PostPosted: Thu Jun 06, 2013 23:29
by PilzAdam
Inocudom wrote:Most Windows builds don't have Direct X compatibility. If you want to be able to use Direct X, you must use builds made by either xyz (I don't think he makes builds anymore) or Fess (his builds are only 64-bit and he is having trouble making them these days.)

xyz does the official release builds. And I guess markbe uses them.

PostPosted: Thu Jun 06, 2013 23:30
by markbe
the previous version (0.4.6) worked without resorting to "unofficial" build. Was it compiled differently?

PostPosted: Thu Jun 06, 2013 23:34
by markbe
Yes, I used the official build
PilzAdam wrote:
Inocudom wrote:Most Windows builds don't have Direct X compatibility. If you want to be able to use Direct X, you must use builds made by either xyz (I don't think he makes builds anymore) or Fess (his builds are only 64-bit and he is having trouble making them these days.)

xyz does the official release builds. And I guess markbe uses them.

PostPosted: Fri Jun 07, 2013 06:39
by markbe
Just in case, I tried the following:
- disabled all downloaded mods - no change
- re-downloaded the ZIP in case there was some corruption - no change
- created new Minetest world and started game using that - no change
- created new Minimal world and started game using that - no change

I'm going to have a go at compiling it myself but that's a bit of a learning curve :-)

PostPosted: Fri Jun 07, 2013 07:58
by Calinou
markbe wrote:Game opens OK in OpenGL but has usual Windows performance issue of 7fps


If you have 7 FPS, you might as well blame your hardware or your setup (did you press "R" to toggle full viewing range?).

There is no "usual Windows performance issue".

PostPosted: Fri Jun 07, 2013 11:28
by xyz
markbe wrote:Windows 8, Minetest 0.4.7

Game opens OK in OpenGL but has usual Windows performance issue of 7fps

When "video_driver = direct3d9" is added to minetest.conf the game crashes after selecting your world. This happens in single player and server modes

Nothing of usefulness appears on the error log

I've fixed it, try redownloading the official build http://minetest.ru/builds/minetest-0.4.7.zip

PostPosted: Fri Jun 07, 2013 22:23
by markbe
Calinou wrote:
markbe wrote:Game opens OK in OpenGL but has usual Windows performance issue of 7fps


If you have 7 FPS, you might as well blame your hardware or your setup (did you press "R" to toggle full viewing range?).

There is no "usual Windows performance issue".


Sorry ... to be fair, I should have said "My usual OpenGL performance issue" .... My hardware works best with Direct X.

Yes, I am aware of the full-range toggle ... I use that sparingly (usually when I get lost and want to find a recognizable landmark) :-)

PostPosted: Fri Jun 07, 2013 22:31
by markbe
xyz wrote:
markbe wrote:Windows 8, Minetest 0.4.7

Game opens OK in OpenGL but has usual Windows performance issue of 7fps

When "video_driver = direct3d9" is added to minetest.conf the game crashes after selecting your world. This happens in single player and server modes

Nothing of usefulness appears on the error log

I've fixed it, try redownloading the official build http://minetest.ru/builds/minetest-0.4.7.zip


Thanks! That's sorted it ... Direct X now works. Most grateful