Spring.exe huge delay on startup

Spring.exe huge delay on startup

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

User avatar
srapop
Posts: 94
Joined: 02 Oct 2009, 16:55

Spring.exe huge delay on startup

Post by srapop »

takes ages to start the program,all of sudden.
pretty much exactly 40 to 45 sec.
(which get you out of teamgames :P )
i tested it both with start from the lobby and by mouse click.

my specs:
Windows 7 RC (32 bit)
ATI Radeon X1200
AMD Turion 64 x2 Mobile Technology TL 60
2 gb ram

thx in advance :P
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Spring.exe huge delay on startup

Post by hoijui »

what do you mean with start?
till the window first shows up, till it starts loading, till you are in-game. what maps/mods, which parts seem to take long, is CPU/HD usage high or low during all this time, ...
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: Spring.exe huge delay on startup

Post by aegis »

repathing on new release?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Spring.exe huge delay on startup

Post by hoijui »

:D doh!
yeah that would be the most obvious one of course.
try loading the same map two times in a row. is it faster the second time?
User avatar
srapop
Posts: 94
Joined: 02 Oct 2009, 16:55

Re: Spring.exe huge delay on startup

Post by srapop »

hoijui wrote:what do you mean with start?
till the window first shows up, till it starts loading, till you are in-game. what maps/mods, which parts seem to take long, is CPU/HD usage high or low during all this time, ...
till the window shows up.CPU is quite high,goes to 95% and it usually (without spring) is at about 65.
the loading speed and ingame, everything feels smooth.
i use the older version,80.5.2.
User avatar
bartvbl
Posts: 346
Joined: 21 Mar 2009, 15:55

Re: Spring.exe huge delay on startup

Post by bartvbl »

I got the same problem
See attachment:
on the left is the time before I start spring, then the huge increase is spring starting up, then it lowers again when the window pops up. This is the latest version.
Quad core, vista

I used to have the problem with the previous version as well.
Attachments
Knipsel.JPG
Knipsel.JPG (14.54 KiB) Viewed 3501 times
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring.exe huge delay on startup

Post by zerver »

It is Windows that phones home to Bill Gates and asks him if Spring is a trusted application, but he's slow to answer.
User avatar
bartvbl
Posts: 346
Joined: 21 Mar 2009, 15:55

Re: Spring.exe huge delay on startup

Post by bartvbl »

zerver wrote:It is Windows that phones home to Bill Gates and asks him if Spring is a trusted application, but he's slow to answer.
Now that explains it! :mrgreen:
User avatar
Gota
Posts: 7151
Joined: 11 Jan 2008, 16:55

Re: Spring.exe huge delay on startup

Post by Gota »

Yes,Yes,Yes!!!

Same issue.
I dont know how to recreate it but sometimes it takes spring a long time to launch.
When i say launch i don't mean map pathing i mean for it to start at all.
A game launches and i wait in the lobby for like 40 seconds for anything to happen.
And it's not just form the lobby even when just launching spring.exe manually.
I havent played enough using latest Spring to see if this is the same with the new version but it was a huge issue for me with the last version.

Again, i dont know when exactly this happens and its not cause i have tons of stuff running in the background cause i never do when i launch a game.

I have duel core intel,windows xp 32,ati 4850,2 gigs ram.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Spring.exe huge delay on startup

Post by Beherith »

I know what causes this. You probably have a ton of .sdd directories, and unpacked mods and maps in your spring folders. Also, defragmenting the drive spring sits on seems to help.

Remove the unused .sdd dirs and other dirs from your maps and mods folders.
User avatar
Gota
Posts: 7151
Joined: 11 Jan 2008, 16:55

Re: Spring.exe huge delay on startup

Post by Gota »

Beherith wrote:I know what causes this. You probably have a ton of .sdd directories, and unpacked mods and maps in your spring folders. Also, defragmenting the drive spring sits on seems to help.

Remove the unused .sdd dirs and other dirs from your maps and mods folders.
Hmm,perhaps but shouldn't that cause this to occur every spring launch as oppose to only sometimes?
Or does it only do heavy calculations when i change stuff in an sdd folder?
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Spring.exe huge delay on startup

Post by Beherith »

Yep, it has to hash every file iirc. (might be wrong on this one)
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Spring.exe huge delay on startup

Post by Tobi »

.sdd is only rehashed when the directory timestamp changes.

This changes whenever a file is renamed/deleted/added in the directory (not in subdirectories).

It may be slow because it does have to stat all the files in maps/, mods/, packages/ and base/ to see if timestamp of any of them changed. If this file metadata is not cached yet it means quite a bit of disk access to fetch it.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring.exe huge delay on startup

Post by zerver »

Actually I have seen this behavior occasionally and IIRC spring just sits there without any CPU or disk activity. I think this could have something to do with locked system resources, perhaps graphics driver related.
User avatar
srapop
Posts: 94
Joined: 02 Oct 2009, 16:55

Re: Spring.exe huge delay on startup

Post by srapop »

Beherith wrote:I know what causes this. You probably have a ton of .sdd directories, and unpacked mods and maps in your spring folders. Also, defragmenting the drive spring sits on seems to help.

Remove the unused .sdd dirs and other dirs from your maps and mods folders.

i defragmented my disk the first time spring.exe launched slow.didnt make any change.
i had two .sdd folders,damned and evolution,which i renamed both to .spl :P then spring took "only" about 30 seconds.
what is an unpacked map or mod file?
User avatar
srapop
Posts: 94
Joined: 02 Oct 2009, 16:55

Re: Spring.exe huge delay on startup

Post by srapop »

could be that the problem is in the /base directory.i moved three files which weren't spring base content.then it took like 15 sec.
beejayzed
Posts: 27
Joined: 01 Aug 2007, 07:19

Re: Spring.exe huge delay on startup

Post by beejayzed »

I've had this before with the archivecache file being recreated. Tasclient was using the wrong path case for some reason, causing Spring to recreate it whenever Tasclient rewrote it. A new Tasclient release fixed that particular problem, but there may be something else happening related to the cache file.

Try running procmon and see what's happening.
User avatar
srapop
Posts: 94
Joined: 02 Oct 2009, 16:55

Re: Spring.exe huge delay on startup

Post by srapop »

we are talking about Spring.exe very slow to launch at all;
i mean,independent of how you start it,it takes ages to at least show up the menu with "test the game" and "launch lobby".
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Spring.exe huge delay on startup

Post by Beherith »

Not related, Im not running an antivirus or firewall.
Post Reply

Return to “Help & Bugs”