View Issue Details

IDProjectCategoryView StatusLast Update
0001121Spring engineGeneralpublic2008-10-21 16:45
ReporterLicho Assigned Toimbaczek  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.77b3 
Summary0001121: Game slows down rapidly if single player "lags"
DescriptionBehavior was much nicer in .71
Now single player with poor CPU or connection can make game unplayable for all.
TagsNo tags attached.
Checked infolog.txt for Errors

Relationships

related to 0001151 resolvedAuswaschbar Game sometimes fails to increase speed back when conditions improve 

Activities

Beherith

2008-10-14 00:30

reporter   ~0002865

I must agree with Licho on this one, imo this is the currently most serious bug, and it makes green fields completely unplayable.

imbaczek

2008-10-14 09:49

reporter   ~0002869

I'm not sure what we're supposed to do with it - if a player doesn't have the cpu power to run the sim at a decent speed, we can't really make him lag out. Maybe we could skip Lua Draw callins if the player can't keep up...?

lurker

2008-10-14 10:08

reporter   ~0002871

You don't have to make him lag out. If all you do is push his computer hard enough that his cpu is at maybe 75% of a core, but he still has a non-slideshow fps, the game should be able to run along pretty well. But when you take it easy on the bad computers the game slows down horribly.

Auswaschbar

2008-10-14 11:27

reporter   ~0002872

I made following changes:
- limit the slowdown to the half of the user speed settings (1 userspeed -> 0.5 min speed)
- increase the wantedCPU base to 0.5 (was 0.35)

Licho

2008-10-14 12:05

reporter   ~0002873

Is that enough? In the .71 it never slowed down to 0.5 and people almost never lagged out, so what was different?

Licho

2008-10-14 12:45

reporter   ~0002875

Err i mean it was fine in 76, not in 71, sorry :)

lurker

2008-10-14 13:26

reporter   ~0002876

It would be nice if wantedcpu had the number of cores available to divide by.

Auswaschbar

2008-10-14 14:52

reporter   ~0002877

Difference was that this feature has had a bug in 0.76 and didn't work, it worked in previous versions and the algorithm didn't changed since then.

And the second core is mostly idling and not used by spring, so why take it into account?

Licho

2008-10-14 14:58

reporter   ~0002878

Do we need this feature then? I prefered the bugged version over version that slows down..

DavetheBrave

2008-10-19 16:57

reporter   ~0002994

I've been noticing some slowdown thats completely independent of players cpu power. aka the game slows down even in 1v1s, where there is never much cpu needed.

imbaczek

2008-10-21 16:45

reporter   ~0003004

reportedly fixed in next version. reopen otherwise.

Issue History

Date Modified Username Field Change
2008-10-12 15:53 Licho New Issue
2008-10-14 00:30 Beherith Note Added: 0002865
2008-10-14 09:49 imbaczek Note Added: 0002869
2008-10-14 10:08 lurker Note Added: 0002871
2008-10-14 11:27 Auswaschbar Note Added: 0002872
2008-10-14 12:05 Licho Note Added: 0002873
2008-10-14 12:45 Licho Note Added: 0002875
2008-10-14 13:26 lurker Note Added: 0002876
2008-10-14 14:52 Auswaschbar Note Added: 0002877
2008-10-14 14:58 Licho Note Added: 0002878
2008-10-16 18:03 Kloot Relationship added related to 0001151
2008-10-19 16:57 DavetheBrave Note Added: 0002994
2008-10-21 16:45 imbaczek Note Added: 0003004
2008-10-21 16:45 imbaczek Status new => resolved
2008-10-21 16:45 imbaczek Resolution open => fixed
2008-10-21 16:45 imbaczek Assigned To => imbaczek