Spring is running in SMP - Page 13

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
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Spring is running in SMP

Post by lurker »

1. Which thread is initialize run in?
2. Is it safe to give orders from the rendering thread?
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Re: Spring is running in SMP

Post by Pressure Line »

zerver wrote::-) I got it... so LuaUI is more than just GUI enhancements.

I will check if it works with LuaUI on, but all widgets disabled.
If it does, then I don't see why we could not release this one.
for sure. id help test, but i dont have a multi-core cpu :( if its only LUPS thats causing crashes its not a biggie, but if its anything using an OpenGL call... thats baaaad :(
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Spring is running in SMP

Post by imbaczek »

zerver: there are mods that are rather unplayable without luaui, like THIS.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Spring is running in SMP

Post by smoth »

The current private test version of gundam uses luaui, it cannot run without the UI as it has new economy elements that are NOT in engine but use lua. So yeah, projects need luaui for more than "ui enhancements". TA is not the only thing that uses this engine.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Spring is running in SMP

Post by lurker »

At least it sill runs with unknown resources; THIS you can't even build most of the units, including the all-important carriers.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Spring is running in SMP

Post by smoth »

doesn't matter my point stands in that I am saying that the game needs the luaui
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Spring is running in SMP

Post by xyz »

zerver wrote:Bugs: I found a really nasty hang, but i am not very sure how to reproduce it, but it happened 3 times now and only with MT on and while I was spectating (2 times in a AI vs AI game, and once in a network game) and after 20 min of game-play (decreasing or increasing the game-speed didn't have any effect). After the hang the game became completely unresponsive, even after pressing ALT+TAB windows is unable to draw anything on-top of the game window, but i suspect that's because of the always on top property of the game window. The only way to recover was to terminate the process.
I managed to reproduce this bug with LuaUI disabled and no errors in infolog.txt. It only happened while i was speculating.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

smoth wrote:doesn't matter my point stands in that I am saying that the game needs the luaui
Nobody said it didn't...
xyz wrote:I managed to reproduce this bug with LuaUI disabled and no errors in infolog.txt. It only happened while i was speculating.
This needs to be fixed of course.

Could you please export your settings from registry and send me?
HKEY_CURRENT_USER\Software\SJ\Spring

Also tell me what mod/map you used.
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Spring is running in SMP

Post by xyz »

hi
I have attached the reg file.
The mod was BA 6.6 but before it happened on BA 6.5.
Yesterday I only tested on Delta siege dry but i think before it happened on other maps too.
The hardware is the same: http://spring.clan-sy.com/phpbb/viewtop ... 56#p321856

Note that i was only able to reproduce it while spectating, in normal gameplay everything is fine, and it doesn't matter if you spectate a network game or an AI vs AI game.
Attachments
Spring.zip
(2.21 KiB) Downloaded 17 times
User avatar
Yuri
Posts: 137
Joined: 21 Jul 2008, 14:46

Re: Spring is running in SMP

Post by Yuri »

Thank you, I really appreciate this SMP project. Using SMP is the right way. I have 90+fps with 600+units, 1280x1024 and 150 view radius!
It can use 100% and 3x ~75% of my Q9300@3.0.
I have one question: will be this SMP and SSE support implemented to official release someday? I hope so 8)
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Spring is running in SMP

Post by hoijui »

SSE will definatly be in the next version. i think it is not yet in 0.77b5, as we had a problem we did not know about with the buildbot, which is now fixed.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

Yuri wrote:I have one question: will be this SMP and SSE support implemented to official release someday? I hope so 8)
SMP: That is the goal but I cannot say when it will happen. I believe we need more testers to work out the remaining bugs. There are currently issues with some mods and widgets.
User avatar
Yuri
Posts: 137
Joined: 21 Jul 2008, 14:46

Re: Spring is running in SMP

Post by Yuri »

Good. I realised that SMP fork is in the early stage of development and not so stable as single threaded one.
So I wish you GOOD LUCK :-)
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

0.78.2.1 compatible exe here:
http://planetspring.free.fr/spring/exec ... e28184.zip
YHCIR
Posts: 190
Joined: 12 Aug 2006, 23:06

Re: Spring is running in SMP

Post by YHCIR »

zerver wrote:0.78.2.1 compatible exe here:
http://planetspring.free.fr/spring/exec ... e28184.zip
Is it possible to use this with multiplayer? compatible with other non-smp players?
Ashnal
Posts: 104
Joined: 24 Jun 2008, 00:57

Re: Spring is running in SMP

Post by Ashnal »

zerver wrote:0.78.2.1 compatible
Quite obvious if you know the definition of the word "compatible" YHCIR

@zerver:
Is this new exe able to run with luaui now?
Once the SMP exe is usable with CA I'll definitely use it.
YHCIR
Posts: 190
Joined: 12 Aug 2006, 23:06

Re: Spring is running in SMP

Post by YHCIR »

Ashnal wrote:
zerver wrote:0.78.2.1 compatible
Quite obvious if you know the definition of the word "compatible" YHCIR

@zerver:
Is this new exe able to run with luaui now?
Once the SMP exe is usable with CA I'll definitely use it.
I tried it, but it just goes through like single player. i.e. it asks me to select a mod, enemy, map.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Spring is running in SMP

Post by lurker »

The same thing happens when you directly run a normal spring build. :roll:
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

Sheeesh!

Yes, it should sync with the regular 0.78.2.1.

You can use LuaUI to some degree. Not all widgets are compatible. In general, non graphical widgets like ImmobileBuilder should definitely work.

CA is almost working. Almost isn't good enough though, but it would not be too hard for the CA team to fix this problem.
YHCIR
Posts: 190
Joined: 12 Aug 2006, 23:06

Re: Spring is running in SMP

Post by YHCIR »

lurker wrote:The same thing happens when you directly run a normal spring build. :roll:
I replaced spring.exe with the SMP version, and unitsync.dll.
I get the single player menu even when starting from an internet game with other players.
Post Reply

Return to “Engine”