Resuming from an ALT+TAB takes more then 30s

Resuming from an ALT+TAB takes more then 30s

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Resuming from an ALT+TAB takes more then 30s

Post by xyz »

Every time I minimize Spring and then come back it will take more then 30s for Spring to resume. This is especially annoying in multiplayer games as I will usually desynchronize while waiting.
If the game is paused before ALT+TAB-ing everything is fine (it will switch back in about 5s)

System:
-AMD 64X2 5200+; 2Gb RAM; NVidia GForce 9800 GT 512M GDDR3
-Windows XP SP3
-Latest Video Drives.

This is how infolog looks like at startup:

Code: Select all

LogOutput initialized.
Spring 0.79.1.2 (0.79.1.2-0-gbb45722{@}-cmake-tdm)
Available log subsystems: mapinfo, 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).
[CMyMath::Init] CPU SSE mask: 120, flags:
	SSE 1.0:  1,  SSE 2.0:  1
	SSE 3.0:  1, SSSE 3.0:  0
	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
using configuration source "C:\Documents and Settings\xyz32\Local Settings\Application Data\springsettings.cfg"
OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)
Hardware: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+; 2046MB RAM, 2892MB pagefile
Using read-write data directory: E:\games\TA Spring\
Using read-only  data directory: C:\Documents and Settings\xyz32\My Documents\Spring\
Using read-only  data directory: C:\Documents and Settings\All Users\Application Data\Spring\
Scanning: C:\Documents and Settings\All Users\Application Data\Spring\maps
Scanning: C:\Documents and Settings\All Users\Application Data\Spring\base
Scanning: C:\Documents and Settings\All Users\Application Data\Spring\mods
Scanning: C:\Documents and Settings\All Users\Application Data\Spring\packages
Scanning: C:\Documents and Settings\xyz32\My Documents\Spring\maps
Scanning: C:\Documents and Settings\xyz32\My Documents\Spring\base
Scanning: C:\Documents and Settings\xyz32\My Documents\Spring\mods
Scanning: C:\Documents and Settings\xyz32\My Documents\Spring\packages
Scanning: E:\games\TA Spring\maps
Scanning: E:\games\TA Spring\base
Scanning: E:\games\TA Spring\mods
Scanning: E:\games\TA Spring\packages
Video mode set to  1680 x 1050 / 32 bit
[      0] SDL:  1.2.10
[      0] GL:   3.0.0
[      0] GL:   NVIDIA Corporation
[      0] GL:   GeForce 9800 GT/PCI/SSE2/3DNOW!
[      0] GLEW: 1.4.0
[      0] Connecting to local server
[      0] Starting demo recording
[      0] Skirmish AI (KAIK) for team 0 is no Lua AI
[      0] Skirmish AI (KAIK) for team 1 is no Lua AI
[      0] Using map Downs_of_Destruction.smf
[      0] Recording demo demos/local_20090628_082340_Downs_of_Destruction_0.79.1.sdf
[      0] Using script Commanders
[      0] Using mod Balanced Annihilation V6.95
[      0] Using mod archive BA695.sd7
[      0] Became player 0 (team 0, allyteam 0)
[      0] Sound: OpenAL info:
[      0] Sound:   Vendor:     Creative Labs Inc.
[      0] Sound:   Version:    1.1
[      0] Sound:   Renderer:   Software
[      0] Sound:   AL Extensions: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE AL_EXT_EXPONENT_DISTANCE
[      0] Sound:   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_EFX
[      0] Sound:   Device:     Generic Hardware
[      0] Sound:   Available Devices:  
[      0] Sound:                       Generic Hardware
[      0] Sound:                       Generic Software
[      0] Sound: CSound(): Sucessfully parsed 4 SoundItems from gamedata/sounds.lua
[      0] Parsing unit icons
[      0] Parsing definitions
[      0] Loading all definitions:  0.586000
[      0] You are missing the "ARB_shadow_ambient" extension (this will probably make shadows darker than they should be)
[      0] Loading map informations
[      0] Opening map file
[      0] Loading Map
[      0] Loading detail textures
[      0] Creating overhead texture
[      0] Creating ground shading
[      0] Loading tile file
[      0] Reading tiles
[      0] Reading tile map
[      0] Creating projectile texture
[      0] Number of damage types: 40
[      0] Loading weapon definitions
[      0] Loading unit definitions
[      0] Loading feature definitions
[      0] Generating trees
[      0] Creating unit textures
[      0] Initializing map features
[      0] Couldnt find wreckage info treetype0
[      0] Couldnt find wreckage info treetype1
[      0] Couldnt find wreckage info treetype2
[      0] Couldnt find wreckage info treetype3
[      0] Couldnt find wreckage info treetype4
[      0] Couldnt find wreckage info treetype5
[      0] Couldnt find wreckage info treetype6
[      0] Couldnt find wreckage info treetype7
[      0] Couldnt find wreckage info treetype8
[      0] Couldnt find wreckage info treetype9
[      0] Couldnt find wreckage info treetype10
[      0] Couldnt find wreckage info treetype11
[      0] Couldnt find wreckage info treetype12
[      0] Couldnt find wreckage info treetype13
[      0] Couldnt find wreckage info treetype14
[      0] Couldnt find wreckage info treetype15
[      0] Couldnt find wreckage info geovent
[      0] Reading estimate path costs
[      0] Pathing data checksum: cddd3382
[      0] Loading LuaRules
[      0] gf1 = LuaRules/Gadgets/areaattack.lua
[      0] gf1 = LuaRules/Gadgets/cmd_nocost.lua
[      0] gf1 = LuaRules/Gadgets/comiscontrol.lua
[      0] gf1 = LuaRules/Gadgets/fx_reclaim_shards.lua
[      0] gf1 = LuaRules/Gadgets/lups_manager.lua
[      0] gf1 = LuaRules/Gadgets/lups_shockwaves.lua
[      0] gf1 = LuaRules/Gadgets/lups_wrapper.lua
[      0] gf1 = LuaRules/Gadgets/mo_comgate.lua
[      0] gf1 = LuaRules/Gadgets/mo_coop.lua
[      0] gf1 = LuaRules/Gadgets/mo_greenfields.lua
[      0] gf1 = LuaRules/Gadgets/mo_koth.lua
[      0] gf1 = LuaRules/Gadgets/mo_noowner.lua
[      0] gf1 = LuaRules/Gadgets/mo_noshare.lua
[      0] gf1 = LuaRules/Gadgets/mo_nowrecks.lua
[      0] gf1 = LuaRules/Gadgets/teamcomends.lua
[      0] gf1 = LuaRules/Gadgets/unit_air_plants.lua
[      0] gf1 = LuaRules/Gadgets/unit_direct_control.lua
[      0] gf1 = LuaRules/Gadgets/unit_mex_upgrader.lua
[      0] gf1 = LuaRules/Gadgets/unit_missile_delay.lua
[      0] gf1 = LuaRules/Gadgets/unit_noselfd.lua
[      0] gf1 = LuaRules/Gadgets/unit_noselfpwn.lua
[      0] gf1 = LuaRules/Gadgets/unit_passive_nanos.lua
[      0] gf1 = LuaRules/Gadgets/unit_prevent_lab_hax.lua
[      0] gf1 = LuaRules/Gadgets/unit_prevent_range_hax.lua
[      0] gf1 = LuaRules/Gadgets/unit_reclaim_fix.lua
[      0] gf1 = LuaRules/Gadgets/unit_set_neutral.lua
[      0] gf1 = LuaRules/Gadgets/unit_shield_watch.lua
[      0] gf2 = LuaRules/Gadgets/areaattack.lua
[      0] gf2 = LuaRules/Gadgets/cmd_nocost.lua
[      0] gf2 = LuaRules/Gadgets/comiscontrol.lua
[      0] gf2 = LuaRules/Gadgets/fx_reclaim_shards.lua
[      0] gf2 = LuaRules/Gadgets/lups_manager.lua
[      0] gf2 = LuaRules/Gadgets/lups_shockwaves.lua
[      0] gf2 = LuaRules/Gadgets/lups_wrapper.lua
[      0] gf2 = LuaRules/Gadgets/mo_comgate.lua
[      0] gf2 = LuaRules/Gadgets/mo_coop.lua
[      0] gf2 = LuaRules/Gadgets/mo_greenfields.lua
[      0] gf2 = LuaRules/Gadgets/mo_koth.lua
[      0] gf2 = LuaRules/Gadgets/mo_noowner.lua
[      0] gf2 = LuaRules/Gadgets/mo_noshare.lua
[      0] gf2 = LuaRules/Gadgets/mo_nowrecks.lua
[      0] gf2 = LuaRules/Gadgets/teamcomends.lua
[      0] gf2 = LuaRules/Gadgets/unit_air_plants.lua
[      0] gf2 = LuaRules/Gadgets/unit_direct_control.lua
[      0] gf2 = LuaRules/Gadgets/unit_mex_upgrader.lua
[      0] gf2 = LuaRules/Gadgets/unit_missile_delay.lua
[      0] gf2 = LuaRules/Gadgets/unit_noselfd.lua
[      0] gf2 = LuaRules/Gadgets/unit_noselfpwn.lua
[      0] gf2 = LuaRules/Gadgets/unit_passive_nanos.lua
[      0] gf2 = LuaRules/Gadgets/unit_prevent_lab_hax.lua
[      0] gf2 = LuaRules/Gadgets/unit_prevent_range_hax.lua
[      0] gf2 = LuaRules/Gadgets/unit_reclaim_fix.lua
[      0] gf2 = LuaRules/Gadgets/unit_set_neutral.lua
[      0] gf2 = LuaRules/Gadgets/unit_shield_watch.lua
[      0] Loaded gadget:  No Self-D           <unit_noselfd.lua>
[      0] Loaded gadget:  AirPlantParents     <unit_air_plants.lua>
[      0] Loaded gadget:  DirectControl       <unit_direct_control.lua>
[      0] Loaded gadget:  DragonsDisguise     <unit_set_neutral.lua>
[      0] Loaded gadget:  MissileControl      <unit_missile_delay.lua>
[      0] Loaded gadget:  No Self Pwn         <unit_noselfpwn.lua>
[      0] Loaded gadget:  NoCost              <cmd_nocost.lua>
[      0] Loaded gadget:  PassiveNanos        <unit_passive_nanos.lua>
[      0] Loaded gadget:  Prevent Lab Hax     <unit_prevent_lab_hax.lua>
[      0] Loaded gadget:  Prevent Range Hax   <unit_prevent_range_hax.lua>
[      0] Loaded gadget:  Reclaim Fix         <unit_reclaim_fix.lua>
[      0] Loaded gadget:  ShieldDrain         <unit_shield_watch.lua>
[      0] Loaded gadget:  Shockwaves          <lups_shockwaves.lua>
[      0] Loaded gadget:  fx_reclaim_shards   <fx_reclaim_shards.lua>
[      0] Loaded gadget:  lups_wrapper.lua    <lups_wrapper.lua>
[      0] Loaded gadget:  mo_noshare          <mo_noshare.lua>
[      0] Loaded gadget:  Area Attack         <areaattack.lua>
[      0] Loaded gadget:  C Is For Control    <comiscontrol.lua>
[      0] Loaded gadget:  King of the Hill    <mo_koth.lua>
[      0] Loaded gadget:  Team Com Ends       <teamcomends.lua>
[      0] Loaded gadget:  LupsSyncedManager   <lups_manager.lua>
[      0] Loaded gadget:  Mex Upgrader Gadget  <unit_mex_upgrader.lua>
[      0] gf1 = LuaRules/Gadgets/areaattack.lua
[      0] gf1 = LuaRules/Gadgets/cmd_nocost.lua
[      0] gf1 = LuaRules/Gadgets/comiscontrol.lua
[      0] gf1 = LuaRules/Gadgets/fx_reclaim_shards.lua
[      0] gf1 = LuaRules/Gadgets/lups_manager.lua
[      0] gf1 = LuaRules/Gadgets/lups_shockwaves.lua
[      0] gf1 = LuaRules/Gadgets/lups_wrapper.lua
[      0] gf1 = LuaRules/Gadgets/mo_comgate.lua
[      0] gf1 = LuaRules/Gadgets/mo_coop.lua
[      0] gf1 = LuaRules/Gadgets/mo_greenfields.lua
[      0] gf1 = LuaRules/Gadgets/mo_koth.lua
[      0] gf1 = LuaRules/Gadgets/mo_noowner.lua
[      0] gf1 = LuaRules/Gadgets/mo_noshare.lua
[      0] gf1 = LuaRules/Gadgets/mo_nowrecks.lua
[      0] gf1 = LuaRules/Gadgets/teamcomends.lua
[      0] gf1 = LuaRules/Gadgets/unit_air_plants.lua
[      0] gf1 = LuaRules/Gadgets/unit_direct_control.lua
[      0] gf1 = LuaRules/Gadgets/unit_mex_upgrader.lua
[      0] gf1 = LuaRules/Gadgets/unit_missile_delay.lua
[      0] gf1 = LuaRules/Gadgets/unit_noselfd.lua
[      0] gf1 = LuaRules/Gadgets/unit_noselfpwn.lua
[      0] gf1 = LuaRules/Gadgets/unit_passive_nanos.lua
[      0] gf1 = LuaRules/Gadgets/unit_prevent_lab_hax.lua
[      0] gf1 = LuaRules/Gadgets/unit_prevent_range_hax.lua
[      0] gf1 = LuaRules/Gadgets/unit_reclaim_fix.lua
[      0] gf1 = LuaRules/Gadgets/unit_set_neutral.lua
[      0] gf1 = LuaRules/Gadgets/unit_shield_watch.lua
[      0] gf2 = LuaRules/Gadgets/areaattack.lua
[      0] gf2 = LuaRules/Gadgets/cmd_nocost.lua
[      0] gf2 = LuaRules/Gadgets/comiscontrol.lua
[      0] gf2 = LuaRules/Gadgets/fx_reclaim_shards.lua
[      0] gf2 = LuaRules/Gadgets/lups_manager.lua
[      0] gf2 = LuaRules/Gadgets/lups_shockwaves.lua
[      0] gf2 = LuaRules/Gadgets/lups_wrapper.lua
[      0] gf2 = LuaRules/Gadgets/mo_comgate.lua
[      0] gf2 = LuaRules/Gadgets/mo_coop.lua
[      0] gf2 = LuaRules/Gadgets/mo_greenfields.lua
[      0] gf2 = LuaRules/Gadgets/mo_koth.lua
[      0] gf2 = LuaRules/Gadgets/mo_noowner.lua
[      0] gf2 = LuaRules/Gadgets/mo_noshare.lua
[      0] gf2 = LuaRules/Gadgets/mo_nowrecks.lua
[      0] gf2 = LuaRules/Gadgets/teamcomends.lua
[      0] gf2 = LuaRules/Gadgets/unit_air_plants.lua
[      0] gf2 = LuaRules/Gadgets/unit_direct_control.lua
[      0] gf2 = LuaRules/Gadgets/unit_mex_upgrader.lua
[      0] gf2 = LuaRules/Gadgets/unit_missile_delay.lua
[      0] gf2 = LuaRules/Gadgets/unit_noselfd.lua
[      0] gf2 = LuaRules/Gadgets/unit_noselfpwn.lua
[      0] gf2 = LuaRules/Gadgets/unit_passive_nanos.lua
[      0] gf2 = LuaRules/Gadgets/unit_prevent_lab_hax.lua
[      0] gf2 = LuaRules/Gadgets/unit_prevent_range_hax.lua
[      0] gf2 = LuaRules/Gadgets/unit_reclaim_fix.lua
[      0] gf2 = LuaRules/Gadgets/unit_set_neutral.lua
[      0] gf2 = LuaRules/Gadgets/unit_shield_watch.lua
[      0] Loaded gadget:  AirPlantParents     <unit_air_plants.lua>
[      0] Loaded gadget:  DragonsDisguise     <unit_set_neutral.lua>
[      0] Loaded gadget:  MissileControl      <unit_missile_delay.lua>
[      0] Loaded gadget:  NoCost              <cmd_nocost.lua>
[      0] Loaded gadget:  PassiveNanos        <unit_passive_nanos.lua>
[      0] Loaded gadget:  Reclaim Fix         <unit_reclaim_fix.lua>
[      0] Loaded gadget:  ShieldDrain         <unit_shield_watch.lua>
[      0] Loaded gadget:  Shockwaves          <lups_shockwaves.lua>
[      0] Loaded gadget:  fx_reclaim_shards   <fx_reclaim_shards.lua>
[      0] Loaded gadget:  mo_greenfields      <mo_greenfields.lua>
[      0] Loaded gadget:  mo_noowner          <mo_noowner.lua>
[      0] Loaded gadget:  mo_noshare          <mo_noshare.lua>
[      0] Loaded gadget:  mo_nowrecks         <mo_nowrecks.lua>
[      0] Loaded gadget:  Area Attack         <areaattack.lua>
[      0] Loaded gadget:  C Is For Control    <comiscontrol.lua>
[      0] Loaded gadget:  King of the Hill    <mo_koth.lua>
[      0] Loaded gadget:  LupsSyncedManager   <lups_manager.lua>
[      0] Loaded gadget:  Mex Upgrader Gadget  <unit_mex_upgrader.lua>
[      0] Loaded gadget:  Lups                <lups_wrapper.lua>
[      0] Loading LuaGaia
[      0] Loading LuaUI
[      0] Using LUAUI_DIRNAME = LuaUI/
[      0] Reloaded ctrlpanel with: LuaUI/ctrlpanel.txt
[      0] LuaUI: bound F11 to the widget selector
[      0] LuaUI: bound CTRL+F11 to tweak mode
[      0] Loaded widget:  BlurApi             <api_gfx_blur.lua>
[      0] Loaded widget:  MexUpg Helper       <helper.lua>
[      0] Loaded widget:  HealthBars          <unit_healthbars.lua>
[      0] Loaded widget:  AdvPlayersList      <gui_advplayerslist.lua>
[      0] Loaded widget:  BuildETA            <gui_build_eta.lua>
[      0] Loaded widget:  Auto First Build Facing  <autofirstbuildfacing.lua>
[      0] Loaded widget:  Autoquit            <autoquit.lua>
[      0] Loaded widget:  Point Tracker       <gui_point_tracker.lua>
[      0] Loaded widget:  ReclaimInfo         <gui_reclaiminfo.lua>
[      0] Loaded widget:  XrayHighlight       <gui_xray_highlight.lua>
[      0] Start spec mode / action finder
[      0] Loaded widget:  Action Finder       <cmd_actionfinder.lua>
[      0] Loaded widget:  Blast Radius        <gui_blastradius.lua>
[      0] Loaded widget:  ComCounter          <unit_com_counter.lua>
[      0] Loaded widget:  Defense Range       <gui_defenserange.lua>
[      0] MohoExploiter widget disabled for spectators
[      0] Loaded widget:  MohoExploiter       <unit_moho_exploiter.lua>
[      0] Loaded widget:  GameTypeInfo        <gui_game_type_info.lua>
[      0] Loaded widget:  Ghost Site          <unit_ghostsite.lua>
[      0] Loaded widget:  NoDuplicateOrders   <cmd_no_duplicate_orders.lua>
[      0] Loaded widget:  Take Reminderv2.2   <gui_take_remind.lua>
[      0] Loaded widget:  Attack AoE          <gui_attack_aoe.lua>
[      0] Loaded widget:  Prospector          <gui_prospector.lua>
[      0] Loaded widget:  LupsManager         <gfx_lups_manager.lua>
[      0] Loaded widget:  BA_AllyCursors      <gui_ba_ally_cursors.lua>
[      0] Loaded widget:  Lups                <lups_wrapper.lua>
[      0] Loaded widget:  LolUI               <lolui.lua>
[      0] Loaded widget:  CustomFormations    <unit_customformations.lua>
[      0] LuaUI v0.3
[      0] Finalizing...
[      0] Spring 0.79.1.2 (0.79.1.2-0-gbb45722{@}-cmake-tdm)
[      0] Build date/time: Jun 23 2009 20:02:52
[      0] <Ghost Site> Spectator mode. Widget removed.
[      0] Player xyz32 connected with number 0 (client version 0.79.1.2 (0.79.1.2-0-gbb45722{@}-cmake-tdm))
[      0] GameID: df60474a9504b79e060ee300e6efe1c9
[      0] SkirmishAI (with team ID = 0): Cheating enabled!
[      0] SkirmishAI0: KAI Metal Class by Krogothe
[      0] SkirmishAI0: KAIK 0.13 Unofficial (built Jun 23 2009) initialized succesfully!
[      0] SkirmishAI0: logging events to E:\games\TA Spring\AI\Skirmish\KAIK\0.13\Logs\Downs_of_Destruction.smf_BA695.sd7_6-28-2009_823_team0.txt
[      0] SkirmishAI0: (developed by Krogothe, Tournesol, Firenu; now maintained by Kloot)
[      0] SkirmishAI (with team ID = 1): Cheating enabled!
[      0] SkirmishAI1: KAI Metal Class by Krogothe
[      0] SkirmishAI1: KAIK 0.13 Unofficial (built Jun 23 2009) initialized succesfully!
[      0] SkirmishAI1: logging events to E:\games\TA Spring\AI\Skirmish\KAIK\0.13\Logs\Downs_of_Destruction.smf_BA695.sd7_6-28-2009_824_team1.txt
[      0] SkirmishAI1: (developed by Krogothe, Tournesol, Firenu; now maintained by Kloot)
[     30] <Blast Radius> Spectator mode. Widget removed.
[     45] <DefenseRange> Spectator mode. Widget removed.
[    815] End spec mode / action finder
[    985] User exited
[    985] Path cache hits 0 0%
[    985] Path cache hits 0 0%
[    985] Statistics for local connection:
Received: 2598 bytes
Sent: 9526 bytes
Last edited by xyz on 30 Jun 2009, 15:05, edited 1 time in total.
User avatar
ginekolog
Posts: 837
Joined: 27 Feb 2006, 13:49

Re: Resuming from an ALT+TAB takes more then 30s

Post by ginekolog »

i have same trouble like 6 months now... but i got used to it (i usualy dont sync out )
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Resuming from an ALT+TAB takes more then 30s

Post by Beherith »

Actually, this is the reason I play in windowed mode.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Resuming from an ALT+TAB takes more then 30s

Post by zerver »

I think the reason is that the graphics driver moves some data from the GPU memory to disk to free up resources so that you can fire up another graphics app if you want to. Therefore, try defragging the HDD or get a faster one (flash etc). Alt-tab takes about 1 second with my setup (8800GTX+mtron flash).
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Resuming from an ALT+TAB takes more then 30s

Post by xyz »

There is no disk activity while this is happening, the game simply stays there doing nothing.

here is a small video with it, unfortunately the aspect ratio is all messed up, but you'll get the idea:

http://www.trilulilu.ro/xyz32/8f87ea0f71be89

as you can see winamp runs perfectly fine while the game is switch back, there are no performance issued with the machine. I will have to open a task manager to see what's the CPU usage for spring while it is doing the switch.
User avatar
ginekolog
Posts: 837
Joined: 27 Feb 2006, 13:49

Re: Resuming from an ALT+TAB takes more then 30s

Post by ginekolog »

I have identical situation. I was instant some months ago..
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Resuming from an ALT+TAB takes more then 30s

Post by zerver »

Likely to be a driver issue then. Maybe downgrade?

I still think it has something to do with transfer of resources between GPU memory and computer RAM. The disk may or may not need to work depending on how much RAM you have.

I'm using the default settings for the Nvidia driver, except for the disabled "Optimized threading". Not sure if it could have an effect in this case.
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Resuming from an ALT+TAB takes more then 30s

Post by xyz »

zerver wrote:Likely to be a driver issue then. Maybe downgrade?
Doesn't help, I've seen this behavior since long time ago and changing the drivers didn't help.
zerver wrote:I'm using the default settings for the Nvidia driver, except for the disabled "Optimized threading". Not sure if it could have an effect in this case.
I will try this when I get home.

If that does not work, I will have to fix my build system for spring and try to debug it.
Do you know a good GIT client for Windows? preferably with a nice GUI?

Thanks.
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Resuming from an ALT+TAB takes more then 30s

Post by xyz »

Did some more testing and here's what I've got:

"Optimized threading" doesn't help.

-If I turn off Shadows and set water to basic the bug disappears (it will switch back in a second or so)
-If I turn shadows on, but keep the water to basic the switch time jumps to about 10-15s
-If I have water set to anything else than Basic, and the shadows turned off, the switch will take somewhere around 20-25s

Another strange thing is that if I pause the game before alt+tab-ing, the game will restore in 1-2s regardless of my settings.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Resuming from an ALT+TAB takes more then 30s

Post by jK »

It has something to do with FBOs and is caused in the nvidia drivers.
I already got the idea to destruct all FBOs on AltTab, but I didn't had the time to test it yet (it isn't as easy as it might sound).
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Resuming from an ALT+TAB takes more then 30s

Post by xyz »

Ok, if you need any help with testing let me know.
Post Reply

Return to “Help & Bugs”