TSE Demo Bug..Maybe help "Failed to initialize DirectX" Error
by James Keir · in Torque Game Engine · 07/08/2004 (8:09 am) · 13 replies
Hey Guys,
When i start the TSE demo its immediately goes fullscreen in a dos window and then it gives and error "Failed to initialize Direct3D! make sure you have DirectX 9 installed...." And i have DirectX 9b and Useing a ATI randon 9200 with Caltilyt 4.6... After some investigation i right clicked the EXE(Or shortcut) and had it start in windowed mode.. ran the program and voila it work with out any problems... is there a reason why this happens? and this may help other ppl having the same problem..
--James
When i start the TSE demo its immediately goes fullscreen in a dos window and then it gives and error "Failed to initialize Direct3D! make sure you have DirectX 9 installed...." And i have DirectX 9b and Useing a ATI randon 9200 with Caltilyt 4.6... After some investigation i right clicked the EXE(Or shortcut) and had it start in windowed mode.. ran the program and voila it work with out any problems... is there a reason why this happens? and this may help other ppl having the same problem..
--James
#2
07/08/2004 (8:33 am)
Well, if you're running 9d, it's probably a very early beta release, so I wouldn't be surprised if it had weird bugs. 9c isn't even out of beta yet... But sure, post some console logs.
#3
I dont think its resolution of monitor.. because if I alt enter the screen fast enought it will work fine(i think cuz its in windowed mode after the ALT+ENTER). in the console log (will post full log l8r today) the end line is "Video int:"(meaning video initilizion i think). I hope that helps. i will get a full console log ASAP.
--James
07/08/2004 (11:56 am)
Opps its Direct9b.. the stable release.I dont think its resolution of monitor.. because if I alt enter the screen fast enought it will work fine(i think cuz its in windowed mode after the ALT+ENTER). in the console log (will post full log l8r today) the end line is "Video int:"(meaning video initilizion i think). I hope that helps. i will get a full console log ASAP.
--James
#4
Processor Init:
AMD Athlon, ~1.53 Ghz
(timed at roughly 1.53 Ghz)
FPU detected
MMX detected
3DNow detected
Math Init:
Installing Standard C extensions
Installing Assembly extensions
Installing FPU extensions
Installing MMX extensions
Installing 3DNow extensions
Initializing platform...
Input Init:
DirectInput not enabled.
Creating GFXDevice...
Done
--------- Loading MODS ---------
Loading compiled script common/main.cs.
Missing file: common/defaults.cs!
Loading compiled script demo/main.cs.
demo/main.cs (0): Unable to find function loadDir
Loading compiled script demo/client/defaults.cs.
Loading compiled script demo/server/defaults.cs.
Loading compiled script demo/client/prefs.cs.
Loading compiled script demo/server/prefs.cs.
--------- Parsing Arguments ---------
--------- Initializing MOD: Common ---------
Loading compiled script common/client/canvas.cs.
Loading compiled script common/client/audio.cs.
--------- Initializing MOD: Torque Demo ---------
Loading compiled script demo/client/init.cs.
Loading compiled script demo/server/init.cs.
Loading compiled script demo/data/init.cs.
Loading compiled script demo/data/terrains/highplains/propertyMap.cs.
Loading compiled script demo/data/materialMap.cs.
--------- Initializing MOD: Torque Demo Server ---------
Loading compiled script common/server/audio.cs.
Loading compiled script common/server/server.cs.
Loading compiled script common/server/message.cs.
Loading compiled script common/server/commands.cs.
Loading compiled script common/server/missionInfo.cs.
Loading compiled script common/server/missionLoad.cs.
Loading compiled script common/server/missionDownload.cs.
Loading compiled script common/server/clientConnection.cs.
Loading compiled script common/server/kickban.cs.
Loading compiled script common/server/game.cs.
Loading compiled script demo/server/scripts/commands.cs.
Loading compiled script demo/server/scripts/centerPrint.cs.
Loading compiled script demo/server/scripts/game.cs.
--------- Initializing MOD: Torque Demo Client ---------
Loading compiled script demo/client/ui/customProfiles.cs.
Loading compiled script common/client/message.cs.
Loading compiled script common/client/mission.cs.
Loading compiled script common/client/missionDownload.cs.
Loading compiled script common/client/actionMap.cs.
Loading compiled script common/editor/editor.cs.
Loading compiled script common/client/scriptDoc.cs.
Video Init:
Direct 3D device found
There is the full log
--James
07/08/2004 (12:53 pm)
//-------------------------- 7/8/2004 -- 17:00:59 -----Processor Init:
AMD Athlon, ~1.53 Ghz
(timed at roughly 1.53 Ghz)
FPU detected
MMX detected
3DNow detected
Math Init:
Installing Standard C extensions
Installing Assembly extensions
Installing FPU extensions
Installing MMX extensions
Installing 3DNow extensions
Initializing platform...
Input Init:
DirectInput not enabled.
Creating GFXDevice...
Done
--------- Loading MODS ---------
Loading compiled script common/main.cs.
Missing file: common/defaults.cs!
Loading compiled script demo/main.cs.
demo/main.cs (0): Unable to find function loadDir
Loading compiled script demo/client/defaults.cs.
Loading compiled script demo/server/defaults.cs.
Loading compiled script demo/client/prefs.cs.
Loading compiled script demo/server/prefs.cs.
--------- Parsing Arguments ---------
--------- Initializing MOD: Common ---------
Loading compiled script common/client/canvas.cs.
Loading compiled script common/client/audio.cs.
--------- Initializing MOD: Torque Demo ---------
Loading compiled script demo/client/init.cs.
Loading compiled script demo/server/init.cs.
Loading compiled script demo/data/init.cs.
Loading compiled script demo/data/terrains/highplains/propertyMap.cs.
Loading compiled script demo/data/materialMap.cs.
--------- Initializing MOD: Torque Demo Server ---------
Loading compiled script common/server/audio.cs.
Loading compiled script common/server/server.cs.
Loading compiled script common/server/message.cs.
Loading compiled script common/server/commands.cs.
Loading compiled script common/server/missionInfo.cs.
Loading compiled script common/server/missionLoad.cs.
Loading compiled script common/server/missionDownload.cs.
Loading compiled script common/server/clientConnection.cs.
Loading compiled script common/server/kickban.cs.
Loading compiled script common/server/game.cs.
Loading compiled script demo/server/scripts/commands.cs.
Loading compiled script demo/server/scripts/centerPrint.cs.
Loading compiled script demo/server/scripts/game.cs.
--------- Initializing MOD: Torque Demo Client ---------
Loading compiled script demo/client/ui/customProfiles.cs.
Loading compiled script common/client/message.cs.
Loading compiled script common/client/mission.cs.
Loading compiled script common/client/missionDownload.cs.
Loading compiled script common/client/actionMap.cs.
Loading compiled script common/editor/editor.cs.
Loading compiled script common/client/scriptDoc.cs.
Video Init:
Direct 3D device found
There is the full log
--James
#5
07/08/2004 (1:00 pm)
Interesting. It never outputs the card profiling stuff. What happens if you run the most recent TSE HEAD?
#6
I dont own TSE. I just downloaded the compiled Demo version. Im not sure way it has a problem when the dos window goes full screen off the bat. Like i said it works when the dos window is in windowed mode. Werid eh?. Maybe in the dos window it does change the resolution when full screen to something TSE cant handle or maybe my video card. The error message states to make sure DirectX9 is installed and the Video card is able to handle pixel shader 1.2.
--James
07/08/2004 (1:37 pm)
@BenI dont own TSE. I just downloaded the compiled Demo version. Im not sure way it has a problem when the dos window goes full screen off the bat. Like i said it works when the dos window is in windowed mode. Werid eh?. Maybe in the dos window it does change the resolution when full screen to something TSE cant handle or maybe my video card. The error message states to make sure DirectX9 is installed and the Video card is able to handle pixel shader 1.2.
--James
#7
07/08/2004 (3:00 pm)
Hmm... Mysterious. The dos window shouldn't be doing anything except sitting there, quietly.
#8
Can you reproduce this?.. You can by right clicking the shortcut.. click properties...under the the option tabs set display options to full screen... save changes and try to run TSE Demo using the shortcut.
--James
07/08/2004 (3:08 pm)
@Ben Can you reproduce this?.. You can by right clicking the shortcut.. click properties...under the the option tabs set display options to full screen... save changes and try to run TSE Demo using the shortcut.
--James
#9
07/08/2004 (7:59 pm)
Ah, so it doesn't happen unless you make the dos window run full screen?
#10
That is Correct.. Were you able to reproduce this on your computer?
--James
07/09/2004 (6:05 am)
@BenThat is Correct.. Were you able to reproduce this on your computer?
--James
#11
07/09/2004 (7:52 am)
My home computer can't run TSE, so I haven't tried. However, because the dos window is meant as a debugging aid, I think I'm going to file this bug as "won't fix". It may be some weird interaction of a full screen dos window or it may be something trivial but either way the best fix is to not do that and make sure you ship with the dos window turned off. :)
#12
Sounds good to me..=) Just thought i'd put it out there and maybe other ppl that are having the same problem maybe this can fix it.
thx again
--qbvbsite
07/09/2004 (8:02 am)
@BenSounds good to me..=) Just thought i'd put it out there and maybe other ppl that are having the same problem maybe this can fix it.
thx again
--qbvbsite
#13
07/09/2004 (2:11 pm)
I appreciate that you posted the problem. It's good to be aware of this stuff...
Torque Owner Marcelo Oliveira
Try to leave your resolution at 640x480 to see if it works.
In either case, you can post the first (initialization part) console.log to help diagnose of the problem.