Spring is running in SMP - Page 11

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
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Spring is running in SMP

Post by bibim »

zerver wrote:
imbaczek wrote:go to #buildserv, do !rebuild tag=spring_0.77b5 profile=gml
That profile does not use gmlsim=yes, so it will not have parallel Sim/Draw. Bibim, plz make a new profile...
Everyone can create a new profile. Here is what I've just done for example:

Code: Select all

<bibim> !listProfiles
* BuildServ * Available build profile(s) for cmake build system:
* BuildServ *   default:
* BuildServ * Available build profile(s) for scons build system:
* BuildServ *   GML: gml=true debug=yes optimize=yes debugdefines=no
* BuildServ *   default: gml=false debug=yes optimize=yes debugdefines=no
* BuildServ *   syncdebug: gml=false debug=1 optimize=yes debugdefines=no syncdebug=1 synctrace=1
* BuildServ *   win64: gml=false debug=yes optimize=no debugdefines=no
<bibim> !defineProfile scons gmlsim gml=true gmlsim=yes
* BuildServ * Build profile "gmlsim" created for scons build system.
<bibim> !listProfiles
* BuildServ * Available build profile(s) for cmake build system:
* BuildServ *   default:
* BuildServ * Available build profile(s) for scons build system:
* BuildServ *   GML: gml=true debug=yes optimize=yes debugdefines=no
* BuildServ *   default: gml=false debug=yes optimize=yes debugdefines=no
* BuildServ *   gmlsim: gml=true debug=yes gmlsim=yes optimize=yes debugdefines=no
* BuildServ *   syncdebug: gml=false debug=1 optimize=yes debugdefines=no syncdebug=1 synctrace=1
* BuildServ *   win64: gml=false debug=yes optimize=no debugdefines=no
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

For those who wanna test, try this one:

http://planetspring.free.fr/spring/exec ... _R7100.zip
http://planetspring.free.fr/spring/unit ... _R7100.zip

It should sync with 77b5 but is BA compatible only.

Edit: New version, should work with XTA also.
Last edited by zerver on 26 Nov 2008, 21:37, edited 6 times in total.
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: Spring is running in SMP

Post by Masure »

Sorry if my question looks like a dumb one but how is it possible to have a mod dependant engine branch ?
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

Let me rephrase: "Tested only with BA".

CA is confirmed *not working* because it makes OpenGL calls from Sim thread, via LuaOpenGL I think. Multithreading Spring engine does currently not allow that.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

R7052 is good enough to be released as a public beta imo.

Would be nice if someone could put it on the download page...
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: Spring is running in SMP

Post by Masure »

I tested the R7052 binaries last night with BA6.5, on amazon delta map running air combat test script.

Half of the map wasn't rendered correctly and I had several crashes. I thought I used an outdated picked up version and didn't report anything (sorry).

I'll give it another try this evening and will do some report.
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: Spring is running in SMP

Post by Masure »

No crash this evening so forget about that.

However, the rendering issue is the same. Check the video.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

Thanks!
I played many games on this map without any problem so it has to do with settings. If you could export a .reg file with your current settings I may be able to reproduce it.
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: Spring is running in SMP

Post by Masure »

I'm at work but you'll get this tonight. I'll also take a screenshoot of my spring settings in the nvidia panel.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

Masure, no need to post anything. The bug happens only with dual core.

Quad or more is fine. I will fix it asap.
vraa
Posts: 79
Joined: 21 Jun 2007, 03:47

Re: Spring is running in SMP

Post by vraa »

So you have tested 6-core Dunnington? :D

Or are you talking about multiple socket?

Anyways: AF - Video works fine here on VLC .9.6 on Mac OS X 10.5.5

I am over joyed that Spring works in SMP now!
Does CA work yet or is CA un playable in SMP mode?
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Spring is running in SMP

Post by lurker »

He has 8 cores. But that does give me a question. Does it happen with 3 cores?
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: Spring is running in SMP

Post by Satirik »

zerver wrote:Masure, no need to post anything. The bug happens only with dual core.

Quad or more is fine. I will fix it asap.
only with dual cores ? it would be better if it only happens on anything but dual cores ...
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

lurker wrote:He has 8 cores. But that does give me a question. Does it happen with 3 cores?
No, those Phenoms should be OK.

Fixed version here:
http://planetspring.free.fr/spring/exec ... _R7100.zip
http://planetspring.free.fr/spring/unit ... _R7100.zip

Oh, by the way - try these commands ingame:
/multithread - turn on/off all threading
/multithreadsim - turn on/off sim thread
/multithreaddraw - turn on/off multithreaded rendering
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: Spring is running in SMP

Post by Masure »

zerver wrote:
lurker wrote:He has 8 cores. But that does give me a question. Does it happen with 3 cores?
No, those Phenoms should be OK.

Fixed version here:
http://planetspring.free.fr/spring/exec ... _R7100.zip
http://planetspring.free.fr/spring/unit ... _R7100.zip

Oh, by the way - try these commands ingame:
/multithread - turn on/off all threading
/multithreadsim - turn on/off sim thread
/multithreaddraw - turn on/off multithreaded rendering
This one fixed it.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

I had my first crash with 7100. Sound was not thread safe, so I recommend the fixed 7105.

http://planetspring.free.fr/spring/exec ... _R7105.zip
http://planetspring.free.fr/spring/unit ... _R7105.zip
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: Spring is running in SMP

Post by Masure »

Is there any LUA that shouldn't be enabled when using your multihreaded build ?

When I tested your build, I couldn't load LUA at all. Did I miss something ?
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

I don't use LUA, but I was under the impression that it works. You could check the infolog.txt and see if there are any clues in there.
User avatar
Stealth870
Posts: 166
Joined: 13 Sep 2004, 00:25

Re: Spring is running in SMP

Post by Stealth870 »

Are these solely for testing purposes or can one use them for "normal" gaming as well? Seeing as how there are a lot of things about Lua calling something in my message box, is that disable-able? :P
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

Stealth870 wrote:Are these solely for testing purposes or can one use them for "normal" gaming as well? Seeing as how there are a lot of things about Lua calling something in my message box, is that disable-able? :P
I use it for normal gaming (BA) but this may or may not work depending on mod and settings.
Do you have Lua errors on your info console? Please explain.
Post Reply

Return to “Engine”