Spring is running in SMP - Page 25

Spring is running in SMP

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
Griffith
Posts: 67
Joined: 14 Jul 2009, 19:27

Re: Spring is running in SMP

Post by Griffith »

It seems stable now, at least for me. I didnt crash with the last two or three versions of MT build 8)
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

Manoa wrote:

Code: Select all

LuaRules::RunCallIn: error = 2, RecvFromSynced, [string "lups/ParticleClasses/simpleparticles2.lua"]:365: Invalid call
it's strange I get this error because Lups/Manager are disabled, is this because of Lua shaders enabled ?
This is a BA/LUPS problem since v7.1, I have submitted a fix in the BA forum.
cleanrock
Former Engine Dev
Posts: 115
Joined: 21 Feb 2009, 07:42

Re: Spring is running in SMP

Post by cleanrock »

zerver, are you talking about http://springrts.com/phpbb/viewtopic.ph ... 24#p415824 ?

If so, can we use that fix in BA712 right now in some way ?
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

Well, only if you hack the game to ignore the mod checksum... otherwise please wait for next BA ver.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Spring is running in SMP

Post by Beherith »

Zerver, are you interested in stress tests that have been run on replays?
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

I'm always interested in your 'yummy' stack traces...
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Spring is running in SMP

Post by Beherith »

No stack trace ( its solid as a rock here), but I found that Core t2 bombers in BA are the only sources of GML errors. Their bomb blast consistently causes GML errors.

my list o widgets
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

That's good, thanks for testing.

Regarding the error, if you look at the posts above I already submitted the fix to TheFatController. I'm now working on fixing the rest of LUPS.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Spring is running in SMP

Post by Argh »

I'm now working on fixing the rest of LUPS.
If you find fixes for it, I'd like to see what's been changed and why.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

Just minor changes to keep all the GL stuff in the rendering thread.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

I didn't fix all of LUPS, only the part that BA uses. Will sync with the original BA 7.12 but the bundled exe must be used to eliminate the mod checksum mismatch problem:

http://www.springfiles.com/show_file.php?id=2560
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Spring is running in SMP

Post by Argh »

Cool, I'll take a look, thanks for letting me know about this.
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: Spring is running in SMP

Post by SirMaverick »

http://springrts.com/phpbb/viewtopic.ph ... 54#p421154
zerver wrote:MT can never be 100% compatible since it inevitably opens up the possibility of things being executed in a different order than with ST.
There is absolutely no way of synchronization?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Spring is running in SMP

Post by hoijui »

there is only one way: if you go over the 7 hills, and the 7 sees, and fight the hydra and ...
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

To illustrate the problem, LUPS creates a list of units to draw effects for in Update(), and then does the actual drawing in various Draw call-ins. In between these call-ins the Sim keeps running and the units may no longer be valid...

So the answer is a big NO. It is important that all developers understand this, so that we are not waiting forever for an "official build" that works perfectly. It's not going to happen.
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: Spring is running in SMP

Post by SirMaverick »

zerver wrote:To illustrate the problem, LUPS creates a list of units to draw effects for in Update(), and then does the actual drawing in various Draw call-ins. In between these call-ins the Sim keeps running and the units may no longer be valid...
What's currently the solution to this. Create the list in each draw call-in?
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

Or possibly some more checks for nil values if it can be done safely.
FidgetyRat
Posts: 2
Joined: 24 Mar 2010, 12:33

Re: Spring is running in SMP

Post by FidgetyRat »

I know this probably comes up a lot, but honestly this thread and the MT version itself is not very friendly to people wanting to try it out.

So obviously we have widget problems. Is there a definitive list of widgets that work and don't work with the MT version. The WiKi only lists about 4-5 and I'm sure there are people here running a whole lot more then that.

Furthermore, most of my research about this build has been through separate forums. Is there a possibility of updating the original post to contain some more information? Anyone new to the MT build will be starting there and it would be very helpful..

I personally loved what I saw when I tried it out yesterday (besides the gobs of widget error) and really want to see this progress and hopefully become mainstream soon. Good luck!
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

Well, the average end-user does not visit this development forum, but I added the link to the original post anyway.

I don't have time to test widgets, anyone who uses a widget and thinks it is stable with MT can add it to the list.
Poil
Posts: 12
Joined: 13 Feb 2010, 13:31

Re: Spring is running in SMP

Post by Poil »

I've tried to use LUPS fixed BA 7.12 + Spring 0.81.2.1 Special Multithreading EXE but when trying to join a game with spring lobby, it tell me that I don't have the mod.
Can we disable the lobby crc check ?


[EDIT] It's when sping lobby is downloading a new map. If I'm joining a new game where I've got the map, there is no unsync. If spring lobby tried to download a map, it's doing a new crc check on the mod.
Last edited by Poil on 09 Jul 2010, 12:25, edited 1 time in total.
Post Reply

Return to “Engine”