Fabricators-of-Create / Create

[Fabric Mod] Building Tools and Aesthetic Technology
MIT License
868 stars 198 forks source link

Client lags too much while standing in dense mechanisms area #1535

Open TheTarasus opened 1 month ago

TheTarasus commented 1 month ago

Describe the Bug

I have a base on my server with not so much create's mechanisms.

When I enter the center of my base - the framerate is dropping down to 50 FPS or below. So, my normal framerate, when I don't stand in chunks with mechanisms - is above 370 FPS.

Also, it drops down even when I don't look at the mechanisms. So, they must not render, are they?

My Desktop setup is not so bad, even if it looks like so:

So, why it lags so much? And, will you fix that?

Also, there is a link to the sparkclient profiler's log - https://spark.lucko.me/BGMb8I2Jxi (I started the profiler while standing at the center of my base)

Reproduction Steps

  1. start playing with 3 friends
  2. enter the early-mid-game with Create
  3. There are too much of lag when standing in area with mechanisms, even if they're out of my sight

Expected Result

I expected not THAT much lag from Create

Screenshots and Videos

2024-07-06_06 22 41 2024-07-06_06 25 47 2024-07-06_06 25 56 2024-07-06_06 26 14 2024-07-06_06 26 23 2024-07-06_06 26 34 2024-07-06_06 26 42 2024-07-06_06 26 48

Crash Report or Log

No response

Operating System

Windows 10

Mod Version

0.5.1f (build 1415)

Minecraft Version

1.18.2

Other Mods

See at sparkclient's log link - https://spark.lucko.me/BGMb8I2Jxi

Additional Context

No response

IThundxr commented 1 month ago

try /flywheel backend instancing and /flywheel backend batching and use whatever gives you better perf

TheTarasus commented 1 month ago

Almost no difference, except if I type /flywhell backend off - in that case, it's just worse, because it's slideshow (less than 8 FPS)

TheTarasus commented 1 month ago

Also, ask yourself:

Would an object need to render, if it's not in my sight?

Because there are not so much of Create's BlockEntities in that area. We're just newbies to this mod, and we've got only the iron farm, three elevators, one tree farm with automatic charcoal production, that supplies the two-pistoned blaze boiler, one automatic gate, and one big miner (that wagon in the mineshaft that painted in style of ambulance).

And just imagine, what would happen if some group of professional Create gamers will build a really good base? Their framerate will just devastate below zero!

Fix it, please, because I don't want my future players to suffer from client lag.

TheTarasus commented 1 month ago

Also, I have allocated 8 gigs of RAM right now (it was 2 gigs before), but nothing changes - framerate is the same

IThundxr commented 1 month ago

Also, ask yourself:

Would an object need to render, if it's not in my sight?

Because there are not so much of Create's BlockEntities in that area. We're just newbies to this mod, and we've got only the iron farm, three elevators, one tree farm with automatic charcoal production, that supplies the two-pistoned blaze boiler, one automatic gate, and one big miner (that wagon in the mineshaft that painted in style of ambulance).

And just imagine, what would happen if some group of professional Create gamers will build a really good base? Their framerate will just devastate below zero!

Fix it, please, because I don't want my future players to suffer from client lag.

i'm not really sure what you want me to say, the first thing your explaining is culling and that already happens.

try updating your graphics drivers and let me know if that makes a difference and also attach latest.log

bangetto commented 2 weeks ago

there's culling? I never noticed it, my frames just always drop whenever I'm near mechanisms (even when looking in the other direction)