
Spring is running in SMP
Moderator: Moderators
Re: Spring is running in SMP
I froze too in ffa yesterday, one game on 4 or 5 i think but no infolog 

Re: Spring is running in SMP
I'm not surprised, because there is one freeze that is fixed in master but not in 80.4. Didn't wanna fix it yet because of fairly big code changes and risk for desync. But it is rare, at least on my system with my settings. I can tell you that LUA makes it extremely hard to make thread safe and deadlock free code, because you do not know what resources the LUA code will access and in which order.Griffith wrote:I froze too in ffa yesterday, one game on 4 or 5 i think but no infolog
Re: Spring is running in SMP
Since I have no idea when 80.5 will be out, I decided to fix the hang.
Grab 0.80.4.2-2 on the download page.
Grab 0.80.4.2-2 on the download page.
Re: Spring is running in SMP
can you post a link to 0.80.4.2-2 source?
Re: Spring is running in SMP
I tried this version (0.80.4.2-2) and no crash 

Re: Spring is running in SMP
It is the head revision in the 0.80.4-branchDuGi wrote:can you post a link to 0.80.4.2-2 source?
http://github.com/spring/spring/commits/0.80.4-branch
Re: Spring is running in SMP
thx, but when i try build it from git then spring version is 0.80+.0.0. how fix it for online play (springlobby & qtlobby displays annoying messages about low version)?zerver wrote:It is the head revision in the 0.80.4-branch
http://github.com/spring/spring/commits/0.80.4-branch
Re: Spring is running in SMP
you compiled master branch, but you have to compile the 0.80.4-branch branch.
Code: Select all
git checkout 0.80.4-branch
Re: Spring is running in SMP
And don't forget to set flags USE_GML and USE_GML_SIM if you want threading. Your version should read something like "0.80.4.2 MT" on startup.
Re: Spring is running in SMP
well it froze again with this new MT version.. too bad 

Re: Spring is running in SMP
Sorry to hear that. Method for reporting a hang is found here:
http://springrts.com/phpbb/viewtopic.ph ... &start=272
http://springrts.com/phpbb/viewtopic.ph ... &start=272
Re: Spring is running in SMP
FYI, 80.5 MT
http://buildbot.eat-peet.net/spring/exe ... 7094db.zip
has a new feature: hang detection
If it hangs, wait 10 seconds before terminating the process and check the infolog for stack traces.
If anyone has problems with hangs and wants to use hang detection for non-MT spring, set HangTimeout = X in the config file. X is number of seconds hang needed to trigger detection.
http://buildbot.eat-peet.net/spring/exe ... 7094db.zip
has a new feature: hang detection
If it hangs, wait 10 seconds before terminating the process and check the infolog for stack traces.
If anyone has problems with hangs and wants to use hang detection for non-MT spring, set HangTimeout = X in the config file. X is number of seconds hang needed to trigger detection.
Re: Spring is running in SMP
Ok tried to torture test it with a batch of replays from 80.5, but I couldnt get it to launch the replays, said they were created by diff version of spring. No reason MT and non MT replays shouldnt sync?
Re: Spring is running in SMP
Yeah, it is built from master so the version number may differ. But that is a very stupid version check imo, I will fix it.
Re: Spring is running in SMP
80.5.1 MT is built from the real tag, so should work with your replays.
http://buildbot.eat-peet.net/spring/exe ... c1d0c8.zip
http://buildbot.eat-peet.net/spring/exe ... c1d0c8.zip
Re: Spring is running in SMP
one question: how to disable "GML error" in the console?
Re: Spring is running in SMP
Yes, that would be quite cool, since sometimes you cant pinpoint the source of the error.
Re: Spring is running in SMP
Sorry, can't do that since then the affected widgets would probably never get fixed. Get the debug version from the Downloads page, it will help you pinpoint the error.
Re: Spring is running in SMP
How do u bach torture test? I would like it too as it still freezes me (i tried version from download page, its not the same as one posted here looks like)?Beherith wrote:Ok tried to torture test it with a batch of replays from 80.5, but I couldnt get it to launch the replays, said they were created by diff version of spring. No reason MT and non MT replays shouldnt sync?
HAve to try this hang detection on replays, i dont want to do it in games cause it hurts to freeze in good games.
Re: Spring is running in SMP
Just wanted to add some info from another thread:
MT can give you very high FPS in big games, but if you use some heavyweight widgets that for instance do lots of drawing on screen (healthbars, special effects...) the required synchronization will interfere with the Sim, so that your CPU load will be higher than with regular Spring.
So, for the best MT experience be very careful when choosing widgets ...
Possibly the above is also the reason why some people reported MT to be slower than regular Spring.
MT can give you very high FPS in big games, but if you use some heavyweight widgets that for instance do lots of drawing on screen (healthbars, special effects...) the required synchronization will interfere with the Sim, so that your CPU load will be higher than with regular Spring.
So, for the best MT experience be very careful when choosing widgets ...
Possibly the above is also the reason why some people reported MT to be slower than regular Spring.