Evidence of major performance increase in new version(?) 56k - Page 2

Evidence of major performance increase in new version(?) 56k

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Caydr wrote:
Tobi wrote:They desync.
They desync period, of they desync with linux builds?
They desync with linux builds and with the official release build.
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

I know I'm biased since I don't use linux, but a 40% performance difference just for compatibility seems unreasonable when the majority of players use Windows.

This would be a nightmare to develop for probably, but maybe there could be a Windows-only version, just for people with slow computers? Maybe some autodetect in the lobby, where if all players in a game have Windows, it uses the VS build? People would be confused by the inconsistent performance, but for a lot of people here, 40% FPS increase would be the difference between being able to run refractive water, shadows, and reflective units or not. Or, just being able to participate in larger games with more players/units.

How many games have you been in where one or two players with crappy computers slow down a large game? That could be largely elminated with a 40% efficiency boost.
User avatar
RogerN
Posts: 238
Joined: 24 Jul 2006, 23:29

Post by RogerN »

This would be a nightmare to develop for probably, but maybe there could be a Windows-only version, just for people with slow computers?
If the Visual Studio version causes desyncs then that means replays would also be broken / desynced across versions. I don't think anyone wants to switch to a system which breaks replay compatibility across platforms.
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

All the active devs (tvo + trepan) are using linux, so dropping linux compat is not really going to happen i think.
And optimizations are always relative... if you wait long enough it will be less and less a problem because of improving hardware ;)
Especially with cpu-killing supcom as a competitor, i think dont think its really an issue.
User avatar
iamacup
Posts: 987
Joined: 26 Jun 2006, 20:43

Post by iamacup »

hmmm that really does suck....

KEEP TO LAMP! No more games!
User avatar
tooleh
Posts: 57
Joined: 14 Jul 2005, 00:47

Post by tooleh »

Why not make code that isn't affected by something so trivial?

Stuff seems to desync ridiculously easily.

God damn linuxfags :C
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

tooleh wrote:Why not make code that isn't affected by something so trivial?

Stuff seems to desync ridiculously easily.

God damn linuxfags :C
Congratulations, you fail. Cross-platform compatibility is one of the things that is nearly unique to spring, as a modern RTS.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

It isnt linux that causes it, its a multimillion dollar budget at microsoft R&D that does it.

Nobody has really tested VC++ builds save me who tried once and found it crashed when playing the mingw32 builds as soon as the game started, presumably caused by the checks spring does that peopel keep mentioning when they talk about cheating using modified binaries.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Besides that, a release VS8 build of trunk crashes while loading unit and weapons (SmallDivide, XTA 8.1), and the debug build runs fine at about 20% of the performance of MinGW.

Either way, as JC suggested, there's no discussion about the release compiler vendor possible anyway :P (can just argue 'bout the GCC version ;-))

(But I may take a look at enabling somewhat more optimization, at the expense of features and bug fixes of course ;-))

Oh, and tooleh fails indeed :|

EDIT: k it runs fine with war evolution. Now tested MinGW build and VS8 build on Small Divide doing nothing, camera at default position I get ~82 FPS in VS8 build, 62 FPS in MinGW build. Pressed tab once to zoom out to full map view, then the FPS reduced to ~44 FPS in VS8 build and ~47 FPS in MinGW build, So depending on the situation a VS build is 6% slower to 32% faster, which indicates (as I expected) that 40% is exaggerated: I get an average of 13% FPS increase.
Last edited by Tobi on 21 May 2007, 21:27, edited 1 time in total.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

That may indeed be cause for concern, if only to increase engine stability and reliability. The fact it crashes under release but not under debug suggests that its pointer related.

Perhaps it would be best modifying release builds to include at least line numbers rather than full debugging databases, that should yield much more information.
User avatar
tooleh
Posts: 57
Joined: 14 Jul 2005, 00:47

Post by tooleh »

Haha, I like linux, I have a ubuntu partition somewhere. Learn to take a joke, linuxfags ^_^

But surely if the syncing system is this fragile, something has been done wrong?

I can understand different versions of the program having issues, but different compiles?
User avatar
Boirunner
Kernel Panic Co-Developer
Posts: 811
Joined: 05 Feb 2007, 14:24

Post by Boirunner »

different handling of uninitialized variables and pointer arithmetic bugs, for example. coding large projects in c++ ain't easy.
User avatar
Dragon45
Posts: 2883
Joined: 16 Aug 2004, 04:36

Post by Dragon45 »

should have been coded in python tbh
User avatar
Boirunner
Kernel Panic Co-Developer
Posts: 811
Joined: 05 Feb 2007, 14:24

Post by Boirunner »

actually, eiffel :D
User avatar
iamacup
Posts: 987
Joined: 26 Jun 2006, 20:43

Post by iamacup »

iirc its to do with the lengths of variables and how memory is handled by different binaries from different compilers?
User avatar
Muzic
Posts: 950
Joined: 09 Aug 2006, 07:08

Post by Muzic »

Dragon45 wrote:should have been coded in python tbh
HHSSS HSSSSSS HSS!!
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

Muzic wrote:
Dragon45 wrote:should have been coded in python tbh
HHSSS HSSSSSS HSS!!
Yeah...interpreted lanuages are epic win when it comes to 3d games...Hell, let's do it in qBasic!
User avatar
Dragon45
Posts: 2883
Joined: 16 Aug 2004, 04:36

Post by Dragon45 »

noes qbasic is old

whitespace
User avatar
Zydox
Lobby Developer
Posts: 453
Joined: 23 May 2006, 13:54

Post by Zydox »

Dragon45 wrote:noes qbasic is old

whitespace
ftw :lol:
Post Reply

Return to “General Discussion”