2025-08-02 09:55 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002347Spring engineGeneralpublic2011-02-26 15:54
Reporterluckywaldo7 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionno change required 
Product Version0.82.7+git 
Target VersionFixed in Version 
Summary0002347: (master) Low fps until metal view is activated.
DescriptionI experience between 10-14 fps with nothing but a commander on screen, but if I activate metal map view it jumps instantly to 60. With the latest build from git today.
Additional InformationInfolog attached, particularly in case you need hardware infos.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • txt file icon infolog.txt (11,451 bytes) 2011-02-15 03:04 -
    LogOutput initialized.
    Spring 0.82+.4.0
    Build date/time: Jan 24 2011 19:40:09
    Available log subsystems: CollisionVolume, unit, VFS-detail, VFS, ArchiveScanner, Sound
    Enabled log subsystems: Sound
    Enable or disable log subsystems using the LogSubsystems configuration key
      or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
      Use "none" to disable the default log subsystems.
    using default configuration source "/home/awrapp/.springrc"
    [CMyMath::Init] CPU SSE mask: 124, flags:
    	SSE 1.0:  1,  SSE 2.0:  1
    	SSE 3.0:  1, SSSE 3.0:  1
    	SSE 4.1:  0,  SSE 4.2:  0
    	SSE 4.0A: 0,  SSE 5.0A: 0
    	using streflop SSE FP-math mode, CPU supports SSE instructions
    OS: Linux
    OS: 64bit native mode
    Using read-write data directory: /home/awrapp/.spring/
    Using read-only data directory: /usr/local/share/games/spring/
    Scanning: /usr/local/share/games/spring/base
    Scanning: /home/awrapp/.spring/maps
    Scanning: /home/awrapp/.spring/mods
    Scanning: /home/awrapp/.spring/packages
    Supported Video modes: 1440x900, 1360x768, 1152x864, 1024x768, 960x600, 960x540, 840x525, 832x624, 800x600, 800x512, 720x450, 720x400, 700x525, 680x384, 640x512, 640x480, 640x400, 640x350, 576x432, 512x384, 416x312, 400x300, 360x200, 320x240, 320x200, 320x175
    Video mode set to 1440x900/32bit (windowed)
    [f=0000000] SDL:  1.2.14
    [f=0000000] GL:   3.3.0 NVIDIA 270.18
    [f=0000000] GL:   NVIDIA Corporation
    [f=0000000] GL:   Quadro NVS 135M/PCI/SSE2
    [f=0000000] GLSL: 3.30 NVIDIA via Cg compiler
    [f=0000000] GLEW: 1.5.2
    [f=0000000] Joysticks found: 0
    [f=0000000] Joystick 0 not found
    [f=0000000] Video mode set to 1440x853/32bit (windowed)
    [f=0000000] Connecting to local server
    [f=0000000] Starting GameServer: 7 ms
    [f=0000000] Starting demo recording
    [f=0000000] Using map: Comet Catcher Redux
    [f=0000000] Using mod: Balanced Annihilation V7.20
    [f=0000000] Using mod archive: 058e6e64c6782b7ba75418c4bf5965e5.sdp
    [f=0000000] recording demo: demos/20110214_210022_Comet Catcher Redux_0.82+.4.sdf
    [f=0000000] Loading client data: 37 ms
    [f=0000000] User number 0 (team 0, allyteam 0)
    [f=0000000] Loading Radar Icons
    [f=0000000] Loading GameData Definitions
    [f=0000000] Loading all definitions:  0.329000
    [f=0000000] Loading GameData Definitions: 378 ms
    [f=0000000] Loading Sound Definitions
    [f=0000000] Loading Sound Definitions: 0 ms
    [f=0000000] Parsing Map Information
    [f=0000000] Loading SMF
    [f=0000000] Loading Map
    [f=0000000] Creating Smooth Height Mesh
    [f=0000000] Creating Smooth Mesh: 83 ms
    [f=0000000] Creating QuadField & CEGs
    [f=0000000] Number of damage types: 40
    [f=0000000] Creating Unit Textures
    [f=0000000] Loading Weapon Definitions
    [f=0000000] Loading Unit Definitions
    [f=0000000] Loading Feature Definitions
    [f=0000000] Initializing Map Features
    [f=0000000] Reading Estimate PathCosts [8]
    [f=0000000] Reading Estimate PathCosts [32]
    [f=0000000] [CPathManager] pathing data checksum: 8de616ea
    [f=0000000] You are missing the "ARB_shadow_ambient" extension (this will probably make shadows darker than they should be)
    [f=0000000] Creating GroundDrawer
    [f=0000000] Loading Tile Files
    [f=0000000] Loading Tile Map
    [f=0000000] generating MipMaps: 5 ms
    [f=0000000] Creating TreeDrawer
    [f=0000000] Creating Projectile Textures
    [f=0000000] Creating Sky & Water
    [f=0000000] Camera and mouse: 45 ms
    [f=0000000] Loading console: 1 ms
    [f=0000000] Loading LuaRules
    [f=0000000] Loaded gadget:  No Self-D           <unit_prevent_share_selfd.lua>
    [f=0000000] Loaded gadget:  Air Release         <unit_air_release_manager.lua>
    [f=0000000] Loaded gadget:  AirPlantParents     <unit_air_plants.lua>
    [f=0000000] Loaded gadget:  Commando Watch      <unit_commando_watch.lua>
    [f=0000000] Loaded gadget:  DirectControl       <unit_direct_control.lua>
    [f=0000000] Loaded gadget:  DragonsDisguise     <unit_set_neutral.lua>
    [f=0000000] Loaded gadget:  DroppedStartPos     <unit_fix_dropped_startpos.lua>
    [f=0000000] Loaded gadget:  Dynamic collision volume & Hitsphere Scaledown  <unit_dynamic_collision_volume.lua>
    [f=0000000] Loaded gadget:  FinishedBuilding    <unit_finished_building.lua>
    [f=0000000] Loaded gadget:  Los_Only_Sounds     <unit_los_only_sounds.lua>
    [f=0000000] Loaded gadget:  MissileControl      <unit_missile_delay.lua>
    [f=0000000] Loaded gadget:  Napalm              <lups_napalm.lua>
    [f=0000000] Loaded gadget:  No Land Damage      <unit_no_land_damage.lua>
    [f=0000000] Loaded gadget:  No Self Pwn         <unit_noselfpwn.lua>
    [f=0000000] Loaded gadget:  NoCost              <cmd_nocost.lua>
    [f=0000000] Loaded gadget:  PassiveBuilders     <unit_passive_builders.lua>
    [f=0000000] Loaded gadget:  Prevent Lab Hax     <unit_prevent_lab_hax.lua>
    [f=0000000] Loaded gadget:  Prevent Load Hax    <unit_prevent_load_hax.lua>
    [f=0000000] Loaded gadget:  Prevent Range Hax   <unit_prevent_range_hax.lua>
    [f=0000000] Loaded gadget:  Prevent Strange Orders  <unit_prevent_strange_orders.lua>
    [f=0000000] Loaded gadget:  Reclaim Fix         <unit_reclaim_fix.lua>
    [f=0000000] Loaded gadget:  ShieldDrain         <unit_shield_watch.lua>
    [f=0000000] Loaded gadget:  Shockwaves          <lups_shockwaves.lua>
    [f=0000000] Loaded gadget:  Spawn               <init_game_spawn.lua>
    [f=0000000] Loaded gadget:  Start Point Remover Gadget  <init_start_point_remover_gadget.lua>
    [f=0000000] Loaded gadget:  fx_reclaim_shards   <fx_reclaim_shards.lua>
    [f=0000000] Loaded gadget:  lups_wrapper.lua    <lups_wrapper.lua>
    [f=0000000] Loaded gadget:  prevent_flying_com_wrecks  <unit_prevent_flying_com_wrecks.lua>
    [f=0000000] Loaded gadget:  Area Attack         <areaattack.lua>
    [f=0000000] Loaded gadget:  C Is For Control    <comiscontrol.lua>
    [f=0000000] Loaded gadget:  Team Com Ends       <teamcomends.lua>
    [f=0000000] Loaded gadget:  LupsSyncedManager   <lups_manager.lua>
    [f=0000000] Loaded gadget:  Mex Upgrader Gadget  <unit_mex_upgrader.lua>
    [f=0000000] Loaded gadget:  Air Release         <unit_air_release_manager.lua>
    [f=0000000] Loaded gadget:  AirPlantParents     <unit_air_plants.lua>
    [f=0000000] Loaded gadget:  DragonsDisguise     <unit_set_neutral.lua>
    [f=0000000] Loaded gadget:  DroppedStartPos     <unit_fix_dropped_startpos.lua>
    [f=0000000] Loaded gadget:  Dynamic collision volume & Hitsphere Scaledown  <unit_dynamic_collision_volume.lua>
    [f=0000000] Loaded gadget:  FinishedBuilding    <unit_finished_building.lua>
    [f=0000000] Loaded gadget:  Los_Only_Sounds     <unit_los_only_sounds.lua>
    [f=0000000] Loaded gadget:  MissileControl      <unit_missile_delay.lua>
    [f=0000000] Loaded gadget:  Napalm              <lups_napalm.lua>
    [f=0000000] Loaded gadget:  NoCost              <cmd_nocost.lua>
    [f=0000000] Loaded gadget:  PassiveBuilders     <unit_passive_builders.lua>
    [f=0000000] Loaded gadget:  Reclaim Fix         <unit_reclaim_fix.lua>
    [f=0000000] Loaded gadget:  ShieldDrain         <unit_shield_watch.lua>
    [f=0000000] Loaded gadget:  Shockwaves          <lups_shockwaves.lua>
    [f=0000000] Loaded gadget:  Start Point Remover Gadget  <init_start_point_remover_gadget.lua>
    [f=0000000] Loaded gadget:  fx_reclaim_shards   <fx_reclaim_shards.lua>
    [f=0000000] Loaded gadget:  mo_enemywrecks      <mo_enemywrecks.lua>
    [f=0000000] Loaded gadget:  mo_greenfields      <mo_greenfields.lua>
    [f=0000000] Loaded gadget:  mo_noowner          <mo_noowner.lua>
    [f=0000000] Loaded gadget:  mo_noshare          <mo_noshare.lua>
    [f=0000000] Loaded gadget:  mo_nowrecks         <mo_nowrecks.lua>
    [f=0000000] Loaded gadget:  prevent_flying_com_wrecks  <unit_prevent_flying_com_wrecks.lua>
    [f=0000000] Loaded gadget:  Area Attack         <areaattack.lua>
    [f=0000000] Loaded gadget:  C Is For Control    <comiscontrol.lua>
    [f=0000000] Loaded gadget:  LupsSyncedManager   <lups_manager.lua>
    [f=0000000] Loaded gadget:  Mex Upgrader Gadget  <unit_mex_upgrader.lua>
    [f=0000000] Loaded gadget:  Lups                <lups_wrapper.lua>
    [f=0000000] Loading LuaGaia
    [f=0000000] Loading LuaUI
    [f=0000000] Using LUAUI_DIRNAME = LuaUI/
    [f=0000000] Reloaded ctrlpanel with: LuaUI/ctrlpanel.txt
    [f=0000000] LuaUI: bound F11 to the widget selector
    [f=0000000] LuaUI: bound CTRL+F11 to tweak mode
    [f=0000000] Loading widget from mod:   MexUpg Helper       <helper.lua> ...
    [f=0000000] Loading widget from mod:   HealthBars          <unit_healthbars.lua> ...
    [f=0000000] Loading widget from mod:   BuildETA            <gui_build_eta.lua> ...
    [f=0000000] Loading widget from mod:   Auto First Build Facing  <autofirstbuildfacing.lua> ...
    [f=0000000] Loading widget from mod:   Autoquit            <autoquit.lua> ...
    [f=0000000] Loading widget from mod:   CustomIcons         <unit_customicons.lua> ...
    [f=0000000] Loading widget from mod:   Defense Range       <gui_defenserange.lua> ...
    [f=0000000] Loading widget from mod:   MohoExploiter       <unit_moho_exploiter.lua> ...
    [f=0000000] Loading widget from mod:   MoreSounds          <unit_more_sounds.lua> ...
    [f=0000000] Loading widget from mod:   Ghost Site          <unit_ghostsite.lua> ...
    [f=0000000] Loading widget from mod:   NoDuplicateOrders   <cmd_no_duplicate_orders.lua> ...
    [f=0000000] Loading widget from mod:   Pause Screen        <gui_pausescreen.lua> ...
    [f=0000000] Loading widget from mod:   GameTypeInfo        <gui_game_type_info.lua> ...
    [f=0000000] Loading widget from mod:   Point Tracker       <gui_point_tracker.lua> ...
    [f=0000000] Loading widget from mod:   ReclaimInfo         <gui_reclaiminfo.lua> ...
    [f=0000000] Loading widget from mod:   Share Tracker       <unit_share_tracker.lua> ...
    [f=0000000] Loading widget from user:  SmartSelect         <unit_smart_select.lua> ...
    [f=0000000] Loading widget from mod:   Transporting        <gui_transporting.lua> ...
    [f=0000000] Loading widget from mod:   XrayHighlight       <gui_xray_highlight.lua> ...
    [f=0000000] Loading widget from mod:   Take Reminder       <gui_take_remind.lua> ...
    [f=0000000] Loading widget from mod:   State Reverse Toggle  <cmd_state_reverse_toggle.lua> ...
    [f=0000000] Loading widget from mod:   Attack AoE          <gui_attack_aoe.lua> ...
    [f=0000000] Loading widget from user:  UnitShapes 0.5.8    <unit_shapes.lua> ...
    [f=0000000] Reloaded cmdcolors with: cmdcolors.tmp
    [f=0000000] Loading widget from mod:   Select n Center!    <gui_center_n_select.lua> ...
    [f=0000000] Loading widget from mod:   LupsManager         <gfx_lups_manager.lua> ...
    [f=0000000] Loading widget from mod:   BA_AllyCursors      <gui_ba_ally_cursors.lua> ...
    [f=0000000] Loading widget from mod:   Lups                <lups_wrapper.lua> ...
    [f=0000000] Loading widget from mod:   CustomFormations2   <unit_customformations2.lua> ...
    [f=0000000] LuaUI v0.3
    [f=0000000] Finalizing
    [f=0000000] Connection attempt from Player
    [f=0000000]  -> Version: 0.82+.4.0
    [f=0000000]  -> Connection established (given id 0)
    [f=0000000] Player Player finished loading and is now ingame
    [f=0000000] GameID: 42de594d104dfea147737dd21cdf4421
    [f=0000000] Player added point: Start 0
    [f=0000000] LuaRules::RunCallIn: error = 2, GameStart, [string "LuaRules/Gadgets/init_game_spawn.lua"]:73: attempt to call field 'SetUnitLineage' (a nil value)
    stack traceback:
    	[string "LuaRules/Gadgets/init_game_spawn.lua"]:73: in function 'SpawnStartUnit'
    	[string "LuaRules/Gadgets/init_game_spawn.lua"]:130: in function 'GameStart'
    	[string "LuaRules/gadgets.lua"]:917: in function <[string "LuaRules/gadgets.lua"]:915>
    	(tail call): ?
    [f=0000723] Path cache hits 0 0%
    [f=0000723] Path cache hits 0 0%
    [f=0000723] Statistics for local connection:
    Received: 2069 bytes
    Sent: 7423 bytes
    
    txt file icon infolog.txt (11,451 bytes) 2011-02-15 03:04 +

-Relationships
+Relationships

-Notes

~0006388

Kloot (developer)

In your .springrc, set MaxDynamicMapLights (and/or MaxDynamicModelLights) to 0.

~0006392

luckywaldo7 (reporter)

Ah, yes, that solved it.

I have crappy hardware so that is not surprising.

~0006438

Kloot (developer)

In case it does not, there'll also be an /advmapshading command in the next major release.
+Notes

-Issue History
Date Modified Username Field Change
2011-02-15 03:04 luckywaldo7 New Issue
2011-02-15 03:04 luckywaldo7 File Added: infolog.txt
2011-02-15 07:45 abma Summary Low fps until metal view is activated. => (master) Low fps until metal view is activated.
2011-02-15 13:46 Kloot Note Added: 0006388
2011-02-15 13:46 Kloot Status new => feedback
2011-02-15 22:14 luckywaldo7 Note Added: 0006392
2011-02-26 15:54 Kloot Note Added: 0006438
2011-02-26 15:54 Kloot Status feedback => resolved
2011-02-26 15:54 Kloot Resolution open => no change required
2011-02-26 15:54 Kloot Assigned To => Kloot
+Issue History