Author Topic: Direct3D8: Crash.... OpenGL: Black screen  (Read 2351 times)

0 Members and 1 Guest are viewing this topic.

Offline Aspa

  • 25
Direct3D8: Crash.... OpenGL: Black screen
I'm runnning the 640x480 HotU version, haven't got any of the other vp's yet.  I have the 3.5.6 media vp.

I'm running on 2.4Ghz, 512Mb ram, Geforce 4 MX. Latest drivers.

In Direct3D8 mode, everything runs fine until I try loading the mission after "The Place of Chariots", where it loads, then crashes directly to desktop, no debug message or anything.

In OpenGL, everything works fine, I even get to start the mission, but everything is completely black all the time, even in the main hall and when choosing pilot. If i alt-tab out, I see a flicker of what's on the screen before it changes resolution and jumps back to windows.

I've tried with four different 3.5.5 builds, and with all kinds of different twiddling in settings. (both in FS2 and in graphic cards settings) All have the same results.

Can anyone help?

[edit1]
I ran a debug build and got this:

Assert: bpp == 8
File: E:\Languages\Visual Studio Projects\Visual C++\fs2_open\code\graphics\GrD3DBmpman.cpp
Line: 899

Call stack:
------------------------------------------------------------------
    d3d_lock_and_set_internal_texture()    d3d_tcache_set_internal()    d3d_tcache_set()    gr_d3d_preload()    bm_d3d_page_in_stop()    level_page_in()    freespace_mission_load_stuff()    game_start_mission()    game_enter_state()    gameseq_set_state()    game_process_event()    gameseq_process_events()    WinMainSub()    WinMain()    WinMainCRTStartup()------------------------------------------------------------------

[/edit1]
« Last Edit: November 19, 2003, 03:55:52 am by 1483 »

 

Offline RandomTiger

  • Senior Member
  • 211
Direct3D8: Crash.... OpenGL: Black screen
Thats my function its messing up in.
Are you using standard fs2 data?
What flags are you using when you run it?

 

Offline Aspa

  • 25
Direct3D8: Crash.... OpenGL: Black screen
-htl  -t32  -fov 1.2 -fps

I've tried with combinations of those flags, with and without the 3.5.6 media vp.

 

Offline RandomTiger

  • Senior Member
  • 211
Direct3D8: Crash.... OpenGL: Black screen
Dont use -t32 and tell me what happens with both OGL and D3D

 

Offline Aspa

  • 25
Direct3D8: Crash.... OpenGL: Black screen
Running 11_18_2003_fs2_open_d.exe

-htl flag ON, -t32 flag OFF


When loading any mission Direct3D8 gives me error:
Error: Out of memory.  Try closing down other applications, increasing your
virtual memory size, or installing more physical RAM.

File:E:\Languages\Visual Studio Projects\Visual C++\fs2_open\code\GlobalIncs\WinDebug.cpp
Line: 1161

Call stack:
------------------------------------------------------------------
    anim_load()    cmd_brief_ani_wave_init()    cmd_brief_init()    game_enter_state()    gameseq_set_state()    game_process_event()    gameseq_process_events()    WinMainSub()    WinMain()    WinMainCRTStartup()    kernel32.dll 77e814c7()
------------------------------------------------------------------



OpenGL still has black screen, but after loading any mission I get this error:
Assert: instance->frame_num >= 0 && instance->frame_num < instance->parent->total_frames
File: E:\Languages\Visual Studio Projects\Visual C++\fs2_open\code\Anim\AnimPlay.cpp
Line: 605

Call stack:
------------------------------------------------------------------
    anim_render_all()    cmd_brief_do_frame()    game_do_state()    gameseq_process_events()    WinMainSub()    WinMain()    WinMainCRTStartup()    kernel32.dll 77e814c7()
------------------------------------------------------------------
« Last Edit: November 19, 2003, 08:29:58 pm by 1483 »

 

Offline RandomTiger

  • Senior Member
  • 211
Direct3D8: Crash.... OpenGL: Black screen
If both DX8 and OGL mess up then theres a good change there is something wrong with your game data.

 

Offline Fry_Day

  • 28
Direct3D8: Crash.... OpenGL: Black screen
don't run OpenGL with the -htl flag. It isn't done yet.

 

Offline RandomTiger

  • Senior Member
  • 211
Direct3D8: Crash.... OpenGL: Black screen
Thats goes for HTL as well really.
Whats HotU version?
Could you give me a link for that please?
I'll try to replicate the problem on my system.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Direct3D8: Crash.... OpenGL: Black screen
How have you not heard of the Home of the Underdogs version of FS2?

Anyway there's a great big flashing animgif link in my FAQ to it :D
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

  

Offline RandomTiger

  • Senior Member
  • 211
Direct3D8: Crash.... OpenGL: Black screen
Sadly I dont have time to really find out about anything other than code when I'm here.

karajorma could you give me an e-mail regarding your gamma problem, I dont remember getting feeback after I made the -no_set_gamma flag.