Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

World generation of granite hangs the internal server #165

Open
Ayliroe opened this issue May 27, 2022 · 5 comments
Open

World generation of granite hangs the internal server #165

Ayliroe opened this issue May 27, 2022 · 5 comments
Labels
wontfix This will not be worked on

Comments

@Ayliroe
Copy link

Ayliroe commented May 27, 2022

Issue:
Vanilla Minecraft worlgen is normally able to keep up with a gravisuite at full boost. However, when GT4 is present (and especially in singleplayer), the internal server hangs for 10 seconds or more every dozen chunks.

When this happens, mobs stop moving and huge unloaded chunk walls occur:
image

This is most probably due to the internal server having to generate huge volumes of granite/basalt. The problem disappears or is greatly reduced when editing WorldGeneration.cfg and dividing by 4 the size of overworld granite layers.

Reproduction steps:

  • Make a clean setup with IC2 and GT4
  • Generate a new map, move around fast (especially noticeable with a boosted GraviSuite and 10+ view distance).
  • Chunk loading will hang in straights walls at regular intervals, all mobs will freeze in the meantime.
  • Close the game, reduce the values in WorldGeneration.cfg, open the same map again
  • Game now keeps up with the Player at any speed

Occurs with and without optimization mods like FoamFix/Fastcraft/BetterFps.
The issue compounds substantially when using a lot of worldgen mods, making moving around really tedious even at slow speeds.
Could be related to this: https://www.reddit.com/r/feedthebeast/comments/5x0twz/investigating_extreme_worldgen_lag/

Forge 10.13.4.1614, industrialcraft-2-2.2.827-experimental, gregtechmod-v416.40
i7-7700HQ, GeForce GTX 1060, 16GB of RAM

Cheers!

@meowNIman
Copy link
Contributor

meowNIman commented May 27, 2022

i would not say that vanila can keep up with ctrl gravi
anyway
i dont see it as a problem
and i think DnK will agree with me

@Ayliroe
Copy link
Author

Ayliroe commented May 27, 2022

I'm playing with Better Dungeons, ExtraBiomesXL, Forestry, Railcraft, Roguelike Dungeons, Traincraft, etc, which all add to the overworld worldgen, and the moment I add GT it becomes practically unplayable. I get freezes/huge internal server lags for 30s+ every 4 chunks I move around, often even by foot.
I've checked a dozen times to be sure and this is clearly from basalt gen. The point isn't that the gravisuite is too fast, it's that it really lags out in modpack.^^
(nonetheless in vanilla+Optifine multi-core chunk loading I can roam around at lightspeeds without a hitch)

@meowNIman
Copy link
Contributor

I'm playing with Better Dungeons, ExtraBiomesXL, Forestry, Railcraft, Roguelike Dungeons, Traincraft, etc, which all add to the

what u were saying only applys to new chunks being generated
it does not effect already generated areas that much

@TheDarkDnKTv TheDarkDnKTv added the wontfix This will not be worked on label Aug 1, 2023
@ThePixelbrain
Copy link

I can confirm this issue, the worldgen of GT4 is rather intensive. Profiling tools like Spark also point to this.

My workaround was to mostly disable GT4 worldgen and move it to COFH's worldgen config, as that one is much more performant. The LostEra modpack config might a good thing to copy and modify for your own purposes.

@DrParadox7
Copy link
Contributor

I can confirm this issue, the worldgen of GT4 is rather intensive. Profiling tools like Spark also point to this.

My workaround was to mostly disable GT4 worldgen and move it to COFH's worldgen config, as that one is much more performant. The LostEra modpack config might a good thing to copy and modify for your own purposes.

I endorse that. Just keep in mind you'd be missing out on the whole granite veins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

5 participants