updateGeometry (fast clusters) consistently lags horribly

Came here to say that settings hub is also taking up ~25ms of time in my game also. It looks like its trying to change a bunch of guis, its inconsistently showing up though.

1 Like

cc @darthskrill for SettingsHub

1 Like

we will look into this, thanks!

2 Likes

I just started getting lag from updateGeometry today (didn’t have it before), but not from the clustering:

What is updateWaitingParts? I’m getting lag spikes of sometimes over 100ms.
Will this be fixed with the new system?

updateWaitingParts triggers when there’s a CSG/MeshPart/SpecialMesh asset that finishes loading, and updates the rendering representation for that part from the loaded asset.

The stall you’re getting is in the same place @AxisAngle is getting it, which - if my results are similar - is due to driver/Windows taking forever to fulfill the VRAM allocation request. I haven’t really seen this particular problem before so I suspect it’s a Windows update or a driver update.

And yeah the new system should fix this.

9 Likes

Any news on this?

EDIT: Oh, “Release after next”

The player join/leave leading to complete rebuild of rendering geometry should be live right now (the site is experiencing some other unrelated issues though…)

Next week we’ll ship some other optimizations for updateGeometry, and also better microprofile diagnostics.

And also the new system is shipping for MeshPart/CSGs soon (actually soon, not soon™).

17 Likes

All of this sounds exciting even if I have no idea what’s going on.

5 Likes

I think my like button broke :smiley:

I am really looking forward for the update, hype train anyone?

@AxisAngle do you still see the lag with SettingsHub in your test place? Have been trying to repro today, haven’t seen it yet though. Running a 2015 MacBook Pro, I might jump into windows and see if that has the problem.

When you say frequently, should this happen throughout my play session? Or just at the start?

SettingsHub takes up to 19ms in this place occasionally:

is there anything I should try doing? having a hard time getting a repo here as well

No, that was all, sorry!

:smiley: finally good to know …i suffered over an year on a bug where my game totally rebuilded its entire geometry once a player joined and leaved the game ; but even sometimes when sitting on a seat or triggering a c-frame animated door ;

HOW much of this issues is fixed already ??

@zeuxcg Here is the download link to an updated microprofiler dump for RoBowling.
https://1drv.ms/u/s!AklZXCA2YhpMi6wr8KvrkRRiTH_gag

Thanks! Now there’s a clear indication that the problem is in the driver - create (which is creating a buffer for geometry, ~5 MB in your case) takes ~50ms to complete which is pretty insane. Which GPU/driver version do you have? (a screenshot from dxdiag Display tab would suffice)

1 Like

Thanks for helping out.
Is this the window you need?

It seems like clustering is being slow in certain areas of our game again, did anything change recently? It was super smooth last week, now lag spikes are happening again. @zeuxcg

Sorry to necrobump this, I am now suffering from this. Was this ever considered resolved? Currently having issues when parenting to workspace in a game with alot of humanoids/skinned meshes.

Are the skinned meshes directly under the workspace? There’s a bug report where a staff member responded and said that that creates one giant skeleton under the workspace consisting of all the skinned meshes, and that they should be parented to their own models instead:

1 Like