Author Topic: Performance issues (only FS-related)  (Read 1571 times)

0 Members and 1 Guest are viewing this topic.

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Performance issues (only FS-related)
I've been on a temporary comp for some weeks now, here are the specs:
- Pentium 4 2.8 GHz
- 768 RAM
- GeForce 5600 FX (drivers installed)
- Windows XP

All games run as much as they're expected from a build like this. Quake III, Return to Castle Wolfenstein run very smoothly, Wings3D is fine as well, and PCS can open and be used to inspect and edit FotG's supercrazy 12 MB .pof.

FreeSpace Open, however, constantly gives me between 2 and 4 FPS. No mediavps, no special FSO graphical flags. I even reduced some more settings in Options --> Graphics. I tried two missions for Scroll and one FS2 campaign mission (Surrender, Belisarius!). FotG doesn't even get as far as the pilot selection screen.

Any ideas?

Code: [Select]
==========================================================================
DEBUG SPEW: No debug_filter.cfg found, so only general, error, and warning
categories can be shown and no debug_filter.cfg info will be saved.
==========================================================================
FreeSpace 2 Open version: 3.6.13.7903
Passed cmdline options:
  -nomotiondebris
  -ballistic_gauge
  -dualscanlines
  -rearm_timer
  -targetinfo
  -ship_choice_3d
  -weapon_choice_3d
  -loadallweps
  -dis_weapons
  -fps
Building file index...
Found root pack 'D:\Games\FreeSpace 2\Root_fs2.vp' with a checksum of 0x747372cc
Found root pack 'D:\Games\FreeSpace 2\sparky_fs2.vp' with a checksum of 0x164fe65a
Found root pack 'D:\Games\FreeSpace 2\sparky_hi_fs2.vp' with a checksum of 0xa11d56f1
Found root pack 'D:\Games\FreeSpace 2\stu_fs2.vp' with a checksum of 0xd77da83a
Found root pack 'D:\Games\FreeSpace 2\warble_fs2.vp' with a checksum of 0xd85c305d
Searching root 'D:\Games\FreeSpace 2\' ... 71 files
Searching root pack 'D:\Games\FreeSpace 2\Root_fs2.vp' ... 157 files
Searching root pack 'D:\Games\FreeSpace 2\sparky_fs2.vp' ... 3027 files
Searching root pack 'D:\Games\FreeSpace 2\sparky_hi_fs2.vp' ... 1337 files
Searching root pack 'D:\Games\FreeSpace 2\stu_fs2.vp' ... 2355 files
Searching root pack 'D:\Games\FreeSpace 2\warble_fs2.vp' ... 52 files
Searching root 'e:\' ... 0 files
Found 7 roots and 6999 files.
AutoLang: Language auto-detection successful...
Setting language to English
Initializing OpenAL...

  ERROR: Unable to find suitable playback device!

... OpenAL failed to initialize!
Failed to init speech
Initializing OpenGL graphics device at 1024x768 with 32-bit color...
  Initializing WGL...
  Requested WGL Video values = R: 8, G: 8, B: 8, depth: 32, double-buffer: 1
  Actual WGL Video values    = R: 8, G: 8, B: 8, depth: 32, double-buffer: 1
  OpenGL Vendor    : NVIDIA Corporation
  OpenGL Renderer  : GeForce FX 5600/AGP/SSE2
  OpenGL Version   : 2.1.2

  Using extension "GL_EXT_fog_coord".
  Using extension "GL_ARB_multitexture".
  Using extension "GL_ARB_texture_env_add".
  Using extension "GL_ARB_texture_compression".
  Using extension "GL_EXT_texture_compression_s3tc".
  Using extension "GL_EXT_texture_filter_anisotropic".
  Using extension "GL_ARB_texture_env_combine".
  Using extension "GL_EXT_compiled_vertex_array".
  Using extension "GL_EXT_draw_range_elements".
  Using extension "GL_ARB_texture_mirrored_repeat".
  Unable to find extension "GL_ARB_texture_non_power_of_two".
  Using extension "GL_ARB_vertex_buffer_object".
  Using extension "GL_ARB_pixel_buffer_object".
  Using extension "GL_SGIS_generate_mipmap".
  Using extension "GL_EXT_framebuffer_object".
  Using extension "GL_ARB_texture_rectangle".
  Using extension "GL_EXT_bgra".
  Using extension "GL_ARB_texture_cube_map".
  Using extension "GL_EXT_texture_lod_bias".
  Using extension "GL_ARB_point_sprite".
  Using extension "GL_ARB_shading_language_100".
  Using extension "GL_ARB_shader_objects".
  Using extension "GL_ARB_vertex_shader".
  Using extension "GL_ARB_fragment_shader".
  Unable to find extension "GL_ATI_shader_texture_lod".
  Found special extension function "wglSwapIntervalEXT".

  Compiling shader: main-v.sdr (null-v.sdr), main-f.sdr (null-f.sdr)
  Compiling shader: main-v.sdr (l-v.sdr), main-f.sdr (lb-f.sdr)
  Compiling shader: main-v.sdr (b-v.sdr), main-f.sdr (b-f.sdr)
  Compiling shader: main-v.sdr (lf-v.sdr), main-f.sdr (lfb-f.sdr)
  Compiling shader: main-v.sdr (l-v.sdr), main-f.sdr (null-f.sdr)
  Compiling shader: main-v.sdr (la-v.sdr), main-f.sdr (la-f.sdr)
  Compiling shader: main-v.sdr (la-v.sdr), main-f.sdr (lba-f.sdr)
  Compiling shader: main-v.sdr (ba-v.sdr), main-f.sdr (ba-f.sdr)
  Compiling shader: main-v.sdr (lfa-v.sdr), main-f.sdr (lfba-f.sdr)
  Compiling shader: soft-v.sdr (soft-v.sdr), soft-f.sdr (soft-f.sdr)
Loading built-in default shader for: soft-v.sdr
Loading built-in default shader for: soft-f.sdr
  Compiling shader: soft-v.sdr (soft-v.sdr), soft-f.sdr (soft-f.sdr)
Loading built-in default shader for: soft-v.sdr
Loading built-in default shader for: soft-f.sdr

  Max texture units: 4 (16)
  Max elements vertices: 1048576
  Max elements indices: 1048576
  Max texture size: 4096x4096
  Max render buffer size: 4096x4096
  Can use compressed textures: YES
  Texture compression available: YES
  Post-processing enabled: NO
  Using bilinear texture filter.
  Using GLSL for model rendering.
  OpenGL Shader Version: 1.20 NVIDIA via Cg compiler
... OpenGL init is complete!
Size of bitmap info = 742 KB
Size of bitmap extra info = 48 bytes
ANI cursorweb with size 24x24 (25.0% wasted)
GRAPHICS: Initializing default colors...
SCRIPTING: Beginning initialization sequence...
SCRIPTING: Beginning Lua initialization...
LUA: Opening LUA state...
LUA: Initializing base Lua libraries...
LUA: Beginning ADE initialization
ADE: Initializing enumeration constants...
ADE: Assigning Lua session...
SCRIPTING: Beginning main hook parse sequence....
Wokka!  Error opening file (scripting.tbl)!
TABLES: Unable to parse 'scripting.tbl'!  Error code = 5.
SCRIPTING: Inititialization complete.
SCRIPTING: Splash screen overrides checked
SCRIPTING: Splash hook has been run
SCRIPTING: Splash screen conditional hook has been run
Using high memory settings...
Wokka!  Error opening file (interface.tbl)!
WMCGUI: Unable to parse 'interface.tbl'!  Error code = 5.
Windows reported 16 joysticks, we found 0
Wokka!  Error opening file (armor.tbl)!
TABLES: Unable to parse 'armor.tbl'!  Error code = 5.
Weapon 'Hornet#Weak' requires the "player allowed" flag, but it's not listed!  Adding it by default.
Weapon 'Harpoon#Weak' requires the "player allowed" flag, but it's not listed!  Adding it by default.
ANI support1 with size 108x24 (25.0% wasted)
ANI damage1 with size 148x25 (21.9% wasted)
ANI wingman1 with size 71x53 (17.2% wasted)
ANI wingman2 with size 35x53 (17.2% wasted)
ANI wingman3 with size 14x53 (17.2% wasted)
ANI toggle1 with size 57x20 (37.5% wasted)
ANI head1 with size 164x132 (48.4% wasted)
ANI weapons1 with size 126x20 (37.5% wasted)
ANI objective1 with size 149x21 (34.4% wasted)
ANI netlag1 with size 29x30 (6.3% wasted)
ANI targhit1 with size 31x21 (34.4% wasted)
ANI time1 with size 47x23 (28.1% wasted)
ANI energy1 with size 12x41 (35.9% wasted)
ANI targetview1 with size 137x156 (39.1% wasted)
ANI targetview2 with size 4x96 (25.0% wasted)
ANI targetview3 with size 7x20 (37.5% wasted)
ANI 2_energy2 with size 86x96 (25.0% wasted)
ANI 2_reticle1 with size 40x24 (25.0% wasted)
ANI 2_leftarc with size 103x252 (1.6% wasted)
ANI 2_rightarc1 with size 103x252 (1.6% wasted)
ANI 2_toparc2 with size 35x24 (25.0% wasted)
ANI 2_toparc3 with size 41x29 (9.4% wasted)
ANI 2_lead1 with size 26x26 (18.8% wasted)
ANI 2_lock1 with size 56x53 (17.2% wasted)
ANI 2_lockspin with size 100x100 (21.9% wasted)
ANI 2_radar1 with size 209x170 (33.6% wasted)
loading animated cursor "cursor"
ANI cursor with size 24x24 (25.0% wasted)
TABLES => Unable to find 'colors.tbl'. Initialising colors with default values.
Ships.tbl is : INVALID!!!!
Weapons.tbl is : INVALID!!!!
cfile_init() took 492
TrackIR Init Failed - 1
Movie Error:  Unable to open 'intro' movie in any supported format.
Got event GS_EVENT_GAME_INIT (49) in state NOT A VALID STATE (0)
ANI cursor.ani with size 24x24 (25.0% wasted)
Got event GS_EVENT_QUIT_GAME (5) in state GS_STATE_INITIAL_PLAYER_SELECT (37)
Freeing all existing models...
... Log closed, Thu Dec 22 06:39:42 2011
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: Performance issues (only FS-related)
That 768 MB of RAM looks rather low.  One hypothesis that comes to mind is that FSO is thrashing because it needs to keep more data in memory than it has room for.  So the low FPS is because FSO is constantly unloading and loading data.

Does your hard disk show lots of activity when you're running FSO?  Are you able to test the RAM from your good computer in your temporary computer?

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Performance issues (only FS-related)
Hmm, have you tried starting the exe with -no_glsl? As far as I recall, the GeForce FX series is sort of known for their shader support being crap. In addition, can you post a log from one of those times where the exe failed to start up properly?

Oh, and I think you don't need to use -dis_weapons.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Re: Performance issues (only FS-related)
Hmm, have you tried starting the exe with -no_glsl? As far as I recall, the GeForce FX series is sort of known for their shader support being crap.

This worked. Great. Thanks.

Quote
In addition, can you post a log from one of those times where the exe failed to start up properly?

Code: [Select]
==========================================================================
DEBUG SPEW: No debug_filter.cfg found, so only general, error, and warning
categories can be shown and no debug_filter.cfg info will be saved.
==========================================================================
FreeSpace 2 Open version: 3.6.13
Passed cmdline options:
  -nomotiondebris
  -ballistic_gauge
  -dualscanlines
  -rearm_timer
  -targetinfo
  -ship_choice_3d
  -weapon_choice_3d
  -mod FotG
  -loadallweps
  -no_glsl
  -fps
Building file index...
Found root pack 'D:\Games\FreeSpace 2\Root_fs2.vp' with a checksum of 0x747372cc
Found root pack 'D:\Games\FreeSpace 2\sparky_fs2.vp' with a checksum of 0x164fe65a
Found root pack 'D:\Games\FreeSpace 2\sparky_hi_fs2.vp' with a checksum of 0xa11d56f1
Found root pack 'D:\Games\FreeSpace 2\stu_fs2.vp' with a checksum of 0xd77da83a
Found root pack 'D:\Games\FreeSpace 2\warble_fs2.vp' with a checksum of 0xd85c305d
Searching root 'D:\Games\FreeSpace 2\FotG\' ... 3574 files
Searching root 'D:\Games\FreeSpace 2\' ... 75 files
Searching root pack 'D:\Games\FreeSpace 2\Root_fs2.vp' ... 157 files
Searching root pack 'D:\Games\FreeSpace 2\sparky_fs2.vp' ... 3027 files
Searching root pack 'D:\Games\FreeSpace 2\sparky_hi_fs2.vp' ... 1337 files
Searching root pack 'D:\Games\FreeSpace 2\stu_fs2.vp' ... 2355 files
Searching root pack 'D:\Games\FreeSpace 2\warble_fs2.vp' ... 52 files
Searching root 'e:\' ... 0 files
Found 8 roots and 10577 files.
ERROR: Unknown Language Checksum: -1162327434
Using default language settings...
Setting language to English
Initializing OpenAL...

  ERROR: Unable to find suitable playback device!

... OpenAL failed to initialize!
Failed to init speech
Initializing OpenGL graphics device at 1024x768 with 32-bit color...
  Initializing WGL...
  Requested WGL Video values = R: 8, G: 8, B: 8, depth: 32, double-buffer: 1
  Actual WGL Video values    = R: 8, G: 8, B: 8, depth: 32, double-buffer: 1
  OpenGL Vendor    : NVIDIA Corporation
  OpenGL Renderer  : GeForce FX 5600/AGP/SSE2
  OpenGL Version   : 2.1.2

  Using extension "GL_EXT_fog_coord".
  Using extension "GL_ARB_multitexture".
  Using extension "GL_ARB_texture_env_add".
  Using extension "GL_ARB_texture_compression".
  Using extension "GL_EXT_texture_compression_s3tc".
  Using extension "GL_EXT_texture_filter_anisotropic".
  Using extension "GL_ARB_texture_env_combine".
  Using extension "GL_EXT_compiled_vertex_array".
  Using extension "GL_EXT_draw_range_elements".
  Using extension "GL_ARB_texture_mirrored_repeat".
  Unable to find extension "GL_ARB_texture_non_power_of_two".
  Using extension "GL_ARB_vertex_buffer_object".
  Using extension "GL_ARB_pixel_buffer_object".
  Using extension "GL_SGIS_generate_mipmap".
  Using extension "GL_EXT_framebuffer_object".
  Using extension "GL_ARB_texture_rectangle".
  Using extension "GL_EXT_bgra".
  Using extension "GL_ARB_texture_cube_map".
  Using extension "GL_EXT_texture_lod_bias".
  Using extension "GL_ARB_point_sprite".
  Using extension "GL_ARB_shading_language_100".
  Using extension "GL_ARB_shader_objects".
  Using extension "GL_ARB_vertex_shader".
  Using extension "GL_ARB_fragment_shader".
  Unable to find extension "GL_ATI_shader_texture_lod".
  Found special extension function "wglSwapIntervalEXT".

  Max texture units: 4 (2)
  Max elements vertices: 1048576
  Max elements indices: 1048576
  Max texture size: 4096x4096
  Max render buffer size: 4096x4096
  Can use compressed textures: YES
  Texture compression available: YES
  Post-processing enabled: NO
  Using bilinear texture filter.
... OpenGL init is complete!
Size of bitmap info = 742 KB
Size of bitmap extra info = 48 bytes
ANI cursorweb with size 24x24 (25.0% wasted)
GRAPHICS: Initializing default colors...
SCRIPTING: Beginning initialization sequence...
SCRIPTING: Beginning Lua initialization...
LUA: Opening LUA state...
LUA: Initializing base Lua libraries...
LUA: Beginning ADE initialization
ADE: Initializing enumeration constants...
ADE: Assigning Lua session...
SCRIPTING: Beginning main hook parse sequence....
Oh noes!!  File is empty! (scripting.tbl)!
TABLES: Unable to parse 'scripting.tbl'!  Error code = 5.
TBM  =>  Starting parse of 'turrets-sct.tbm' ...
TBM  =>  Starting parse of 's-foils-sct.tbm' ...
TBM  =>  Starting parse of 'hyperspace-sct.tbm' ...
TBM  =>  Starting parse of 'hyperspace-exit-sct.tbm' ...
TBM  =>  Starting parse of 'glowmap_flicker-sct.tbm' ...
TBM  =>  Starting parse of 'falcon-guns-sct.tbm' ...
SCRIPTING: Inititialization complete.
SCRIPTING: Splash screen overrides checked
SCRIPTING: Splash hook has been run
SCRIPTING: Splash screen conditional hook has been run
Using high memory settings...
Wokka!  Error opening file (interface.tbl)!
WMCGUI: Unable to parse 'interface.tbl'!  Error code = 5.
Windows reported 16 joysticks, we found 0
WARNING: Unrecognized parameter in ai_profiles: $no warp camera:   YES

#End
€ multiplayer: NO
BMPMAN: Found EFF (protonhit.eff) with 52 frames at 30 fps.
BMPMAN: Found EFF (flashhit.eff) with 14 frames at 15 fps.
BMPMAN: Found EFF (null.eff) with 1 frames at 10 fps.
BMPMAN: Found EFF (shield-hit.eff) with 9 frames at 30 fps.
TBM  =>  Starting parse of 'fotgtypes-obt.tbm' ...
TBM  =>  Starting parse of 'hyperspace-shp.tbm' ...
TBM  =>  Starting parse of 'newhud-hdg.tbm' ...
ANI 2_support1 with size 173x39 (39.1% wasted)
ANI 2_damage1 with size 237x40 (37.5% wasted)
ANI 2_wingman1 with size 114x86 (32.8% wasted)
ANI 2_wingman2 with size 57x86 (32.8% wasted)
ANI 2_wingman3 with size 23x86 (32.8% wasted)
ANI 2_toggle1 with size 76x38 (40.6% wasted)
ANI 2_directives1 with size 256x20 (37.5% wasted)
ANI 2_weapons1 with size 202x33 (48.4% wasted)
ANI 2_weapons2 with size 221x19 (40.6% wasted)
ANI 2_weapons4 with size 221x19 (40.6% wasted)
ANI 2_objectives1 with size 237x34 (46.9% wasted)
ANI 2_messages1 with size 256x20 (37.5% wasted)
ANI 2_messages2 with size 256x17 (46.9% wasted)
ANI 2_escort1 with size 239x21 (34.4% wasted)
ANI 2_escort2 with size 239x19 (40.6% wasted)
ANI 2_escort3 with size 239x22 (31.3% wasted)
ANI 2_energy1 with size 20x66 (48.4% wasted)
ANI 2_targetview1 with size 219x250 (2.3% wasted)
ANI 2_targetview2 with size 8x154 (39.8% wasted)
ANI 2_radar1 with size 209x170 (33.6% wasted)
ANI 2_energy2 with size 86x96 (25.0% wasted)
ANI 2_reticle1 with size 40x24 (25.0% wasted)
ANI targhit1 with size 31x21 (34.4% wasted)
ANI 2_leftarc with size 103x252 (1.6% wasted)
ANI 2_rightarc1 with size 103x252 (1.6% wasted)
ANI 2_toparc2 with size 76x38 (40.6% wasted)
ANI 2_toparc3 with size 76x38 (40.6% wasted)
ANI 2_netlag1 with size 47x48 (25.0% wasted)
ANI 2_lead1 with size 26x26 (18.8% wasted)
ANI 2_lock1 with size 56x53 (17.2% wasted)
ANI 2_lockspin with size 100x100 (21.9% wasted)
ANI 2_time1 with size 256x20 (37.5% wasted)
ANI 2_kills1 with size 130x25 (21.9% wasted)
TBM  =>  Starting parse of 'custom-hdg.tbm' ...
BMPMAN: Found EFF (Asteroid.eff) with 15 frames at 30 fps.
loading animated cursor "cursor"
TABLES => Starting parse of 'colors.tbl'...
'$Blue:' has been redefined.
'$Bright Blue:' has been redefined.
'$Green:' has been redefined.
'$Bright Green:' has been redefined.
'$Black:' has been redefined.
'$Grey:' has been redefined.
'$Silver:' has been redefined.
'$White:' has been redefined.
'$Bright White:' has been redefined.
'$Violet Gray:' has been redefined.
'$Violet:' has been redefined.
'$Dim Red:' has been redefined.
'$Red:' has been redefined.
'$Bright Red:' has been redefined.
'$Pink:' has been redefined.
'$Light Pink:' has been redefined.
'$Yellow:' has been redefined.
'$Bright Yellow:' has been redefined.
'$UI Light Green:' has been redefined.
'$UI Green:' has been redefined.
'$UI Light Pink:' has been redefined.
'$UI Pink:' has been redefined.
Loading model 'hyperspace-tunnel.pof'
IBX: Found a good IBX to read for 'hyperspace-tunnel.pof'.
IBX-DEBUG => POF checksum: 0x38a1b3e0, IBX checksum: 0xe96682eb -- "hyperspace-tunnel.pof"
Loading model 'hyperspace-stars.pof'
IBX: Found a good IBX to read for 'hyperspace-stars.pof'.
IBX-DEBUG => POF checksum: 0xd85bf76f, IBX checksum: 0x52016a4a -- "hyperspace-stars.pof"
Loading model 'hyperspace-stars-in.pof'
IBX: Found a good IBX to read for 'hyperspace-stars-in.pof'.
IBX-DEBUG => POF checksum: 0x788c334b, IBX checksum: 0xb62eb342 -- "hyperspace-stars-in.pof"
Loading model 'hyperspace-bg.pof'
IBX: Found a good IBX to read for 'hyperspace-bg.pof'.
IBX-DEBUG => POF checksum: 0x0ee7bc7f, IBX checksum: 0xb4506584 -- "hyperspace-bg.pof"
OpenGL: Created 16x16 FBO!
Ships.tbl is : INVALID!!!!
Weapons.tbl is : INVALID!!!!
cfile_init() took 523
TrackIR Init Failed - 1
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

  

Offline Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Minecraft
    • Steam
    • Twitter
    • ModDB Feature
Re: Performance issues (only FS-related)
Try running with "No Sound"?

I'm assuming OpenAL is installed, or there would be a different issues (maybe?) but the fact that it can't find a device to initialize is rather interesting.
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!
Talk with the community on Discord
"If you can keep a level head in all this confusion, you just don't understand the situation"

¤[D+¬>

[08/01 16:53:11] <sigtau> EveningTea: I have decided that I am a 32-bit registerkin.  Pronouns are eax, ebx, ecx, edx.
[08/01 16:53:31] <EveningTea> dhauidahh
[08/01 16:53:32] <EveningTea> sak
[08/01 16:53:40] * EveningTea froths at the mouth
[08/01 16:53:40] <sigtau> i broke him, boys