Why single thread is en of spring for me - Page 4

Why single thread is en of spring for me

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

malric
Posts: 515
Joined: 30 Dec 2005, 22:22

Re: Why single thread is en of spring for me

Post by malric » 14 Jan 2014, 18:45

I am using Linux, and I want to compile it from source. Is that possible ?
0 x

raaar
Metal Factions Developer
Posts: 807
Joined: 20 Feb 2010, 12:17

Re: Why single thread is en of spring for me

Post by raaar » 14 Jan 2014, 22:49

for many games, most of the time only few hundreds of units fill the map, so it's not critical.

i haven't tested it, but if this is true and Zerver's MT is 2-4 times faster than spring 96.0 under extreme load, there should be some effort to be all friendly again and try to merge him/his/her work back into the official Spring.

Sort your differences in some nices games of <something>.

even if only small lua tweaks are necessary to make games compatible with MT, there are probably lots of other hidden little differences in unit behavior, maybe pathfinding...I mean...what's the catch?

Having to take into account different engines is a nuisance game devs would happily live without.
0 x

zer_ver
Posts: 19
Joined: 14 Nov 2013, 17:34

Re: Why single thread is en of spring for me

Post by zer_ver » 14 Jan 2014, 23:41

Does anyone have i7 hexacore? Imma still looking for someone to benchmark.
0 x

100Gbps
Posts: 73
Joined: 30 Jan 2009, 13:19

Re: Why single thread is en of spring for me

Post by 100Gbps » 16 Jan 2014, 05:27

imho engine should be aimed to reach at least 35-40fps@fullhd, everything below that is somewhat sluggish in the eyes of first-person-shooter players

And btw the engine is using too much gpu - most current mobile gpus (for example 7670, 750m, 760m) are loaded 85%+ at endgame
0 x

User avatar
Beherith
Moderator
Posts: 4933
Joined: 26 Oct 2007, 16:21

Re: Why single thread is en of spring for me

Post by Beherith » 16 Jan 2014, 08:56

100Gbps wrote:imho engine should be aimed to reach at least 35-40fps@fullhd, everything below that is somewhat sluggish in the eyes of first-person-shooter players

And btw the engine is using too much gpu - most current mobile gpus (for example 7670, 750m, 760m) are loaded 85%+ at endgame
You can always reduce your graphical detail level, here are some expensive options, set them to 0 to improve performance:

AllowDeferredModelRendering
AllowDeferredMapRendering
MaxDynamicModelLights
MaxDynamicMapLights
Shadows
Disable LUPS ingame.
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14575
Joined: 17 Nov 2005, 02:43

Re: Why single thread is en of spring for me

Post by Forboding Angel » 16 Jan 2014, 13:54

100Gbps wrote:...most current mobile gpus...

http://www.godzillafacepalm.com
0 x

raaar
Metal Factions Developer
Posts: 807
Joined: 20 Feb 2010, 12:17

Re: Why single thread is en of spring for me

Post by raaar » 16 Jan 2014, 14:38

i recently had a problem with an overheating gpu.

i think by default spring's framerate is uncapped, so it'll grow as much as it can (?).

On my recent pc it grew to 300+ fps on small maps and my gpu is a low-mid range gt 640.

the video sync option in springsettings that comes with spring lobby is either uncapped or forced to 30 fps (which is too low). I had it doubled to 60fps by tweaking an obscure setting which i don't remember at the moment.
0 x

User avatar
Beherith
Moderator
Posts: 4933
Joined: 26 Oct 2007, 16:21

Re: Why single thread is en of spring for me

Post by Beherith » 16 Jan 2014, 15:08

raaar try adaptive vsync in nvidia driver settings.
0 x

User avatar
smoth
Posts: 22295
Joined: 13 Jan 2005, 00:46

Re: Why single thread is en of spring for me

Post by smoth » 16 Jan 2014, 15:54

raaar wrote: try to merge him/his/her work back into the official Spring.
no
raaar wrote:even if only small lua tweaks are necessary to make games compatible with MT,
nooooope they are fairly restrictive! I don't know where you got the idea that it would be a small change
0 x

100Gbps
Posts: 73
Joined: 30 Jan 2009, 13:19

Re: Why single thread is en of spring for me

Post by 100Gbps » 16 Jan 2014, 17:27

Beherith wrote:You can always reduce your graphical detail level, here are some expensive options, set them to 0 to improve performance:
Everything is at its lowest settings. I can always play on my FEA rig, but that's not the point ...
Forboding Angel wrote:http://www.godzillafacepalm.com
Can you write something more constructive than facepalm, ktnx?
0 x

User avatar
smoth
Posts: 22295
Joined: 13 Jan 2005, 00:46

Re: Why single thread is en of spring for me

Post by smoth » 16 Jan 2014, 17:42

Why? You are complaining about performance on a laptop. Those mobile cards are never as good. Spring also is more limited by CPU
0 x

User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Why single thread is en of spring for me

Post by knorke » 16 Jan 2014, 18:59

raaar wrote:the video sync option in springsettings that comes with spring lobby is either uncapped or forced to 30 fps (which is too low). I had it doubled to 60fps by tweaking an obscure setting which i don't remember at the moment.
http://springrts.com/wiki/Springsettings.cfg#VSync
maybe you have it at =2, try with =1
0 x

User avatar
Jools
XTA Developer
Posts: 2804
Joined: 23 Feb 2009, 16:29

Re: Why single thread is en of spring for me

Post by Jools » 16 Jan 2014, 21:43

knorke wrote:
raaar wrote:the video sync option in springsettings that comes with spring lobby is either uncapped or forced to 30 fps (which is too low). I had it doubled to 60fps by tweaking an obscure setting which i don't remember at the moment.
http://springrts.com/wiki/Springsettings.cfg#VSync
maybe you have it at =2, try with =1
Vertical synchronization, update render frames in monitor's refresh rate.
<=0: off
1: enabled
x: render with monitor-Hz/x FPS
I don't understand this description. So for instance, if my monitor updates at 60 Hz and I choose x = 2, it will cap fps at 60/2 = 30 ? Can x be fractional? Can I set it at 0.5? What about irrational? Can it be set to π?
0 x

User avatar
smoth
Posts: 22295
Joined: 13 Jan 2005, 00:46

Re: Why single thread is en of spring for me

Post by smoth » 16 Jan 2014, 22:00

I don't know if we are be smart asses does he really have to answer a figment of his imagination?
0 x

100Gbps
Posts: 73
Joined: 30 Jan 2009, 13:19

Re: Why single thread is en of spring for me

Post by 100Gbps » 16 Jan 2014, 22:10

smoth wrote:Why? You are complaining about performance on a laptop. Those mobile cards are never as good. Spring also is more limited by CPU
In fact those cards are benchmarked with gpu hungry games and you'll be definitely surprised.
0 x

User avatar
smoth
Posts: 22295
Joined: 13 Jan 2005, 00:46

Re: Why single thread is en of spring for me

Post by smoth » 16 Jan 2014, 22:52

What games? All the console ported crap we have had shoveled on us by the industry for around a decade?
0 x

User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Why single thread is en of spring for me

Post by knorke » 16 Jan 2014, 23:46

Jools wrote:I don't understand this description. So for instance, if my monitor updates at 60 Hz and I choose x = 2, it will cap fps at 60/2 = 30 ? Can x be fractional? Can I set it at 0.5? What about irrational? Can it be set to π?
It says "type: int"
So if your monitor is at 60 Hz, you can only have unlimited fps, or 60fps or 30 fps or 15 fps and so on.
At least that is what the description says. Why it is like that and why one can not for example cap at 45 fps, no idea. Maybe because it makes no sense rendering 45 images per second but screen shows 60 images per second, so some would be have to be double?
0 x

raaar
Metal Factions Developer
Posts: 807
Joined: 20 Feb 2010, 12:17

Re: Why single thread is en of spring for me

Post by raaar » 17 Jan 2014, 02:32

Beherith wrote:raaar try adaptive vsync in nvidia driver settings.
interesting. Now the game shows 60 fps, same my monitor's refresh rate.

(the overheating is due to problems in fan speed control, seems it's either 100% or it doesn't spin).

The point isn't dev vs dev behavior, or if more units = better.

There are people with performance issues in Spring. Maybe some of it is due to us game devs using poor coding and performance-draining effects. The tests they made make it seem something in Zerver's implementation makes it considerably faster, so maybe there are still some engine modification possibilities that can have a big impact on performance. Big like +200%, not +20%.

also, a good selling point for free games with relatively simple models and effects can be running on low end desktops or laptops.
0 x

User avatar
smoth
Posts: 22295
Joined: 13 Jan 2005, 00:46

Re: Why single thread is en of spring for me

Post by smoth » 17 Jan 2014, 03:02

What zerver sacrifices is not worth it IMO
0 x

User avatar
albator
Posts: 866
Joined: 14 Jan 2009, 14:20

Re: Why single thread is en of spring for me

Post by albator » 17 Jan 2014, 03:42

raar, don't listen so smoth, he almost never plays ba and each time he was asked to post benchmark/replay to prove his statement he never did. his argument are so power full and meaningful:
smoth wrote:no
I think he secretly being sarcastic all the way :p to have fun !

More seriously, I tried what behe suggest and it DID made an improvement.
Also, I overclock my old i5 750 (bclk 133 -> 166) and it did give me about as much improvement as what behe suggest. Hopefully the dev will work on spring-multithread again but right now settings and over-clocking are the only things that can make it go toward the direction what spring-mutithread uses to give

Still spring use to be 50% faster with my 4 yo older gpu (ati 9580) but multithread than now (GTX 560 Ti, and CPU blk +30% ), so gpu definitly does not matter for spring with lower settings.

PS: i play on linux
0 x

Post Reply

Return to “Help & Bugs”