Author Topic: Hey all! We have a lag problem!  (Read 2065 times)

0 Members and 1 Guest are viewing this topic.

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Hey all! We have a lag problem!
Hey all! We have a major lag problem!

I am doing project testing for Goober. However, after trying to run his mod, I'm encountering incredible lag in-mission. And we have no idea what's causing it. Here's all the essentials that I can think of:

1. I'm using wxLauncher 0.12.0-rc2.
2. FS2 Open 3.8.0 rc1 x64.
3. No Media VPs listed as a dependency in the .ini.
4. I've massively turned down the graphics. Like, everything shiny or nice is shut off, lowest possible settings. The game looks sickeningly bad, and no improvement. It runs just as slow this way as with everything turned up.
5. A certain hi-poly model was thought to be the culprit, but when those ships left the mission I still had the same lag.

Here's the FS2_open.log. This is after running the mod and playing the first mission for a minute.

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.7.4.20160704
Passed cmdline options:
  -missile_lighting
  -3dshockwave
  -cache_bitmaps
  -orbradar
  -rearm_timer
  -targetinfo
  -3dwarp
  -ship_choice_3d
  -weapon_choice_3d
  -warp_flash
  -snd_preload
  -mod scroll,mediavps_3.6.12
  -window
Building file index...
Found root pack 'C:\Games\Freespace 2\multi-mission-pack.vp' with a checksum of 0x377695e0
Found root pack 'C:\Games\Freespace 2\multi-voice-pack.vp' with a checksum of 0xd50e7442
Found root pack 'C:\Games\Freespace 2\Root_fs2.vp' with a checksum of 0xce10d76c
Found root pack 'C:\Games\Freespace 2\smarty_fs2.vp' with a checksum of 0xddeb3b1e
Found root pack 'C:\Games\Freespace 2\sparky_fs2.vp' with a checksum of 0x164fe65a
Found root pack 'C:\Games\Freespace 2\sparky_hi_fs2.vp' with a checksum of 0xa11d56f1
Found root pack 'C:\Games\Freespace 2\stu_fs2.vp' with a checksum of 0xd77da83a
Found root pack 'C:\Games\Freespace 2\tango1_fs2.vp' with a checksum of 0x4c25221e
Found root pack 'C:\Games\Freespace 2\tango2_fs2.vp' with a checksum of 0x86920b82
Found root pack 'C:\Games\Freespace 2\tango3_fs2.vp' with a checksum of 0x705e8d71
Found root pack 'C:\Games\Freespace 2\warble_fs2.vp' with a checksum of 0xd85c305d
Searching root 'C:\Games\Freespace 2\scroll\' ... 3155 files
Searching root 'C:\Games\Freespace 2\mediavps_3.6.12\' ... 0 files
Searching root 'C:\Games\Freespace 2\' ... 84 files
Searching root pack 'C:\Games\Freespace 2\multi-mission-pack.vp' ... 110 files
Searching root pack 'C:\Games\Freespace 2\multi-voice-pack.vp' ... 307 files
Searching root pack 'C:\Games\Freespace 2\Root_fs2.vp' ... 157 files
Searching root pack 'C:\Games\Freespace 2\smarty_fs2.vp' ... 10 files
Searching root pack 'C:\Games\Freespace 2\sparky_fs2.vp' ... 3027 files
Searching root pack 'C:\Games\Freespace 2\sparky_hi_fs2.vp' ... 1337 files
Searching root pack 'C:\Games\Freespace 2\stu_fs2.vp' ... 2355 files
Searching root pack 'C:\Games\Freespace 2\tango1_fs2.vp' ... 32 files
Searching root pack 'C:\Games\Freespace 2\tango2_fs2.vp' ... 15 files
Searching root pack 'C:\Games\Freespace 2\tango3_fs2.vp' ... 10 files
Searching root pack 'C:\Games\Freespace 2\warble_fs2.vp' ... 52 files
Found 14 roots and 10651 files.
Setting language to English
Game Settings Table: Using Standard Loops For SEXP Arguments
Game Settings Table: Using standard event chaining behavior
Game Settings Table: External shaders are DISABLED
Game Settings Table: Red-alert stats will be loaded for ships that arrive later in missions
Game Settings Table: Using Reversed Loops For SEXP Arguments
Initializing OpenAL...
  OpenAL Vendor     : Creative Labs Inc.
  OpenAL Renderer   : Software
  OpenAL Version    : 1.1

  Found extension "ALC_EXT_EFX".
You are not using OpenAL Soft. Disabling enhanced sound.

  Sample rate: 44100 (44100)
  EFX version: 1.0
  Max auxiliary sends: 1
  Playback device: Generic Software on Speaker/HP (Realtek High Definition Audio)
  Capture device: Microphone (Realtek High Defini
... OpenAL successfully initialized!
Initializing OpenGL graphics device at 1024x768 with 32-bit color...
  Initializing WGL...
  Requested WGL Video values = R: 8, G: 8, B: 8, depth: 24, stencil: 8, double-buffer: 1
  Actual WGL Video values    = R: 8, G: 8, B: 8, depth: 24, stencil: 8, double-buffer: 1
  OpenGL Vendor    : ATI Technologies Inc.
  OpenGL Renderer  : AMD Radeon(TM) R4 Graphics
  OpenGL Version   : 4.5.14008 Compatibility Profile Context 21.19.137.1

  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".
  Using 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".
  Using extension "GL_ARB_shader_texture_lod".
  Using extension "GL_ARB_texture_float".
  Using extension "GL_ARB_draw_elements_base_vertex".
  Using extension "GL_EXT_framebuffer_blit".
  Using extension "GL_EXT_geometry_shader4".
  Using extension "GL_EXT_texture_array".
  Using extension "GL_ARB_uniform_buffer_object".
  Using extension "GL_EXT_transform_feedback".
  Using extension "GL_ARB_draw_instanced".
  Using extension "GL_ARB_texture_buffer_object".
  Found special extension function "wglSwapIntervalEXT".

Compiling new shader:
Particle Effects
   Loading built-in default shader for: effect-v.sdr
   Loading built-in default shader for: effect-particle-f.sdr
Shader Variant Features:
Compiling new shader:
Particle Effects
   Loading built-in default shader for: effect-v.sdr
   Loading built-in default shader for: effect-particle-f.sdr
   Loading built-in default shader for: effect-screen-g.sdr
Shader Variant Features:
Geometry shader point-based particles
Compiling new shader:
Distortion Effects
   Loading built-in default shader for: effect-distort-v.sdr
   Loading built-in default shader for: effect-distort-f.sdr
Shader Variant Features:
Compiling new shader:
Deferred Lighting
   Loading built-in default shader for: deferred-v.sdr
   Loading built-in default shader for: deferred-f.sdr
Shader Variant Features:
Compiling new shader:
Clear Deferred Lighting Buffer
   Loading built-in default shader for: deferred-clear-v.sdr
   Loading built-in default shader for: deferred-clear-f.sdr
Shader Variant Features:

  Max texture units: 8 (32)
  Max client texture states: 8 (16)
  Max elements vertices: 2147483647
  Max elements indices: 2147483647
  Max texture size: 16384x16384
  Max render buffer size: 16384x16384
  Can use compressed textures: YES
  Texture compression available: YES
  Post-processing enabled: NO
  Using trilinear texture filter.
  OpenGL Shader Version: 4.50
... OpenGL init is complete!
Size of bitmap info = 797 KB
Size of bitmap extra info = 52 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 message = Failed to open file.
TBM  =>  Starting parse of 'tag_turret-sct.tbm' ...
TBM  =>  Starting parse of 'tag_system-sct.tbm' ...
TBM  =>  Starting parse of 'status-sct.tbm' ...
TBM  =>  Starting parse of 'shipsaveload-sct.tbm' ...
TBM  =>  Starting parse of 'helios-sct.tbm' ...
TBM  =>  Starting parse of 'enemy-distance-sct.tbm' ...
TBM  =>  Starting parse of 'branch-sct.tbm' ...
TBM  =>  Starting parse of 'axui-sct.tbm' ...
TBM  =>  Starting parse of 'acquire_lock-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 message = Failed to open file.
Windows reported 16 joysticks, we found 0
Current soundtrack set to -1 in event_music_reset_choices
TBM  =>  Starting parse of 'the_dragon_cometh-mus.tbm' ...
TBM  =>  Starting parse of 'scroll_old-mus.tbm' ...
TBM  =>  Starting parse of 'holy_war-mus.tbm' ...
TBM  =>  Starting parse of 'fiction-mus.tbm' ...
TBM  =>  Starting parse of 'epic-age-mus.tbm' ...
TBM  =>  Starting parse of 'before_the_dawn-mus.tbm' ...
Wokka!  Error opening file (armor.tbl)!
TABLES: Unable to parse 'armor.tbl'!  Error message = Failed to open file.
TBM  =>  Starting parse of 'scroll-aip.tbm' ...
BMPMAN: Found EFF (capflash.eff) with 40 frames at 10 fps.
ANI Lamprey_Impact with size 80x80 (37.5% wasted)
TBM  =>  Starting parse of 'scroll_effects-wep.tbm' ...
TBM  =>  Starting parse of 'sbombs-wep.tbm' ...
TBM  =>  Starting parse of 'Akon-wep.tbm' ...
NOTE: weapon-cleanup is removing 1 stale beam sections, out of 1 original, from 'SathStarNuke'.
NOTE: weapon-cleanup is removing 1 stale beam sections, out of 1 original, from 'BFSathSbspcRift'.
NOTE: weapon-cleanup is removing 1 stale beam sections, out of 1 original, from 'SSathSbspcRift'.
BMPMAN: Found EFF (phidflame.eff) with 30 frames at 15 fps.
TBM  =>  Starting parse of 'scroll-radar-shp.tbm' ...

So, um... anybody have any idea what's going on? Both Goober and I are pretty confused.
« Last Edit: June 05, 2017, 06:13:01 pm by PVD_Hope »

 

Offline Novachen

  • 29
  • The one and only capella supernova
    • Twitter
Re: Hey all! We have a lag problem!
Have you tried it with disabled Deferred Lightning?

And because of
Code: [Select]
  Found extension "ALC_EXT_EFX".
You are not using OpenAL Soft. Disabling enhanced sound.

You should uncheck the "Enable EFX" box... or install OpenAL Soft instead of the Creative one.
Female FreeSpace 2 pilot since 1999.
Former Global moderator in the German FreeSpace Galaxy Forum.
Developer of NTP - A Multi-Language Translation Library Interface, which allows to play FreeSpace in YOUR Language.

Is one of my releases broken or not working? Please send a PM here, on Discord at @novachen or on Twitter @NovachenFS2, a public tweet or write a reply in my own release threads here on HLP, because these are the only threads i am still participating in.

 

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Re: Hey all! We have a lag problem!
We did try that, thanks. It was no good. :(

 

Offline Admiral Nelson

  • Resurrecter of Campaigns
  • 211
  • The GTA expects that every man will do his duty.
Re: Hey all! We have a lag problem!
Scroll had an issue ages ago in which the Phidias drone's engine sound was set to a sound index mapped to a beam warm up sound.  This lagged it like crazy as it tried to play that long sound overandoverandoverandover...... Might want to be sure that that issue has not returned.
If a man consults whether he is to fight, when he has the power in his own hands, it is certain that his opinion is against fighting.

 

Offline m!m

  • 211
Re: Hey all! We have a lag problem!
The log provided in the first post was not created by FSO 3.8 but by 3.7.4. Please use the 3.8 RC1 and reupload the log.

 

Offline JSRNerdo

  • [`_`]/
  • 29
  • Gone!
Re: Hey all! We have a lag problem!
Also can you fire up your performance monitor and check if it's CPU or GPU thanks
Former Inferno lead, BTA fredder-ish and DE fredder. Driven out by ordinary fascists the_e, aesaar and general battuta. Will return if they're ever removed.

 

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Re: Hey all! We have a lag problem!
The log provided in the first post was not created by FSO 3.8 but by 3.7.4. Please use the 3.8 RC1 and reupload the log.

It was?

I thought I was using the debug build of 3.8.0. Doesn't the debug build automatically remake the log?

 

Offline m!m

  • 211
Re: Hey all! We have a lag problem!
The location of the log file has changed. New instructions can be found here.

 

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Re: Hey all! We have a lag problem!
The location of the log file has changed. New instructions can be found here.

Oh hey, thanks a bunch!


 

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Re: Hey all! We have a lag problem!
Hey all, we solved the problem! (Sort of)

Turns out it was the sounds.tbl. With that removed, the mod runs great.

The whole log file is way to big for this post, but the bulk of it is one huge block of just this error:

Code: [Select]
SOUND ==> Could not open wave file SathRift_up.wav for streaming. Reason: File not found with any known extension.


I'd say that's the source of our lag?
« Last Edit: June 06, 2017, 09:49:51 am by PVD_Hope »

 

Offline Admiral Nelson

  • Resurrecter of Campaigns
  • 211
  • The GTA expects that every man will do his duty.
Re: Hey all! We have a lag problem!
Scroll had an issue ages ago in which the Phidias drone's engine sound was set to a sound index mapped to a beam warm up sound.  This lagged it like crazy as it tried to play that long sound overandoverandoverandover...... Might want to be sure that that issue has not returned.

Did you check the Phidias sound entry against sounds.tbl?
If a man consults whether he is to fight, when he has the power in his own hands, it is certain that his opinion is against fighting.

 

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Re: Hey all! We have a lag problem!
Scroll had an issue ages ago in which the Phidias drone's engine sound was set to a sound index mapped to a beam warm up sound.  This lagged it like crazy as it tried to play that long sound overandoverandoverandover...... Might want to be sure that that issue has not returned.

Did you check the Phidias sound entry against sounds.tbl?

Will do, but I think it's something else. See my post above.

 

Offline Admiral Nelson

  • Resurrecter of Campaigns
  • 211
  • The GTA expects that every man will do his duty.
Re: Hey all! We have a lag problem!
Yes, but IIRC that is the sound file which is mapped to the Phidias's engines, instead of a normal engine noise.
If a man consults whether he is to fight, when he has the power in his own hands, it is certain that his opinion is against fighting.

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: Hey all! We have a lag problem!
The Phidias entry should be fixed.  But it was your mention of it that made me wonder if there were any other similar errors, leading me to suggest to PVD_Hope that he temporarily delete sounds.tbl.  Looks like there are.

 

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Re: Hey all! We have a lag problem!
Hey guys, thanks for all the help! That's one of the best things about this community - people take time to help.  :yes:  :D

We're going to get the sounds.tbl errors fixed, so this issue is closed.