PlaneShift

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Engine → Performances
  • Assigned To
    Talad
    Jorrit Tyberghein
  • Operating System
  • Severity Critical
  • Priority
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 1
  • Private
Attached to Project: PlaneShift
Opened by peeg - 27.11.2009
Last edited by Talad - 03.06.2020

FS#3466 - Extreme lag when facing many or certain entities

Reported by Peeg:
As soon as there are many entities on screen FPS drops to a minimum.
It’s very noticable in crowded guild houses (<1fps for me) or the camp on bdroad2 (<5fps).
This has been a problem before, but it got way worse.

Addition by Lanarel:
There seem to be different things causing extreme lag. The number of items may be one (as loading continues for several minutes in the background), but also complex maps (hydlaa, with many objects), complex lighting (such as campfires), and possibly particle effects (although the flames at the temple do not seem to slow things down for me much). And portals, which always give a huge drop when they come into view (even if hidden by rocks, such as the corridors in the *road maps).
Talad did already some testing with grouping objects (e.g. buildings) and setting max distances on effects. I assume doing the same on portals will also help a lot. I do not need to see the portal to the top of the tower or the road to the magic shop when standing in the plaza, but I definitely lag more when looking in that direction (more even than the general high part of hydlaa with all its buildings).

The task depends upon
ID Project Summary Priority Severity Assigned To Progress
4863 PlaneShift  FS#4863 - explorers outpost lag  Medium
100%
3734 PlaneShift  FS#3734 - Real bad lag in the Red Crystal Den  Medium
0%
Closed by  Talad
03.06.2020 21:03
Reason for closing:  Will not fix
Additional comments about closing:  

Will not fix in PSLegacy release, check PSUnreal release.

Kenneth Graunke commented on 26.12.2009 23:40

Is this still a problem? I remember having this when rc2 came out, but after a bunch of updates it seems to have mostly gone away. Particularly, I think a newer CS helped.

Kenneth Graunke commented on 28.12.2009 08:55

I observed this problem earlier today. Interestingly, it seemed to be doing lots of time in the culler; Xordan's bounding box stuff for instancing seems to indicate that items will never get culled.

But I can't reproduce it tonight, even in the same place, so I don't know. Every time I see this it seems to be something different and randomly goes away.

katu commented on 03.01.2010 12:15

I have had several player petitioning about this kind of lag. Mostly around the explorers camp and camp banished. Related to campfires?

Kenneth Graunke commented on 04.01.2010 08:46

Try renaming art/itemeffects.xml (so the client won't find it). That should fully disable campfire special effects.

Enecota Chagisey commented on 26.01.2010 13:47

I can confirm the issue around the mentioned explorers camp. The game freezes for 5-10 seconds there.

I don't know it is helpful or not, when i experience such lag/stop/freeze the game writes on console rows like these:

shader lighting_default_binalpha@@400: ….10%….20%….30%….40%….50%….60%….70%….80%….90%….100%
shader lighting_default_binalpha@@300: ….10%….20%….30%….40%….50%….60%….70%….80%….90%….100%
shader lighting_default_binalpha@@200: ….10%….20%….30%….40%….50%….60%….70%….80%….90%….100%
shader lighting_default_binalpha@@100: ….10%….20%….30%….40%….50%….60%….70%….80%….90%….100%
shader lighting_default_binalpha@@50: ….10%….20%….30%….40%….50%….60%….70%….80%….90%….100%
shader lighting_default_pvl_binalpha@@400: ….10%….20%….30%….40%….50%….60%….70%….80%….90%….100%
shader lighting_default_pvl_binalpha@@300: ….10%….20%….30%….40%….50%….60%….70%….80%….90%….100%
shader lighting_default_pvl_binalpha@@200: ….10%….20%….30%….40%….50%….60%….70%….80%….90%….100%
shader lighting_default_pvl_binalpha@@100: ….10%….20%….30%….40%….50%….60%….70%….80%….90%….100%

aurelynt commented on 30.03.2011 22:59

Could we have an update on this one please?
There has been a lot of changes since 0.5.
Also, provide your hardware specs.

On my side, the problem at the explorers' camp seems mostly related to the to campfires there, not the number of entities:
- Without (art/itemeffects.xml renamed, as suggested by Kayden) fps varies between 45 and 70.
- With campfire enabled, fps varies between 20 and 30.
That said, it has improved a lot. Before 0.6, fps used to be lower than 10 there with campfire enabled.
As for facing many entities (like in the red crystal den, for example), compared to 0.4, I didn't notice any worsening during 0.5.

Windows Vista, Intel Core2 Duo T8300, 3 Gb RAM, Geforce 8600M GT.

Tux Solbakk commented on 01.04.2011 23:15

In Hydlaa, close to fireplace, and looking towards Harn and other players moving around, I drop from 110fps to 22fps. (If I then use some magic, it still stays on 22fps (no further drop))
Planeshift: 0.5.6.1, Ubuntu 10.10 64bit, QuadCore i7 Q820, 16GB DDR3 ram, nVidia Quadro FX 880M, Lenovo thinkpad w510

Mario Rohkrämer commented on 05.04.2011 16:55

Win32, BGLoader = Models: There are still places where you get extreme lag while moving or just turning around. The most obvious area is the right-turning corner out of the arena tunnel (Old Quarry Road) towards the Hydlaa plaza. Still rather obvious is the whole plaza when walking forth and back between Harnquist's forge and the staircase up to the Highwatch.

The new and improved Background Loader is indeed much better, but the game still hangs while art is loaded out of ZIP archives. I did not yet compare different compression levels, though.

a) AMD Athlon 64 X2, Windows XP SP3, 2 GB RAM, GeForce 6800 GS
b) AMD Phenom X4, Windows XP SP3, 4 GB RAM, GeForce 9600 GT

Running around the barrel racing track near the Explorer Outpost lags only sparselny now. But entering the outpost was able to keep me locked for ~15 seconds - for the first time; the second time it was nearly smooth.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing