Mekanism

Mekanism

111M Downloads

Turbines are now really laggy and opaque

josephcsible opened this issue ยท 13 comments

commented

Our turbines now cause extreme lag, and are opaque due to steam instead of being translucent. This started happening in the new version of Mekanism. I tracked it down to commit 1e046a3 (pinging @thiakil).

Here's what it looks like without that commit (correct):
2017-11-26_14 52 13

And here's what it looks like with that commit (buggy):
2017-11-26_14 49 46

Versions:
Minecraft 1.12.2
Forge 14.23.1.2554
Mekanism (and MekanismGenerators) 9.4.2

commented

It's probably the commit after that which deals with mostly gui rendering of gasses. The kinked commit should only affect tube rendering

commented

I did a build of the latest HEAD, which had the problem. Then I reverted 1e046a3 alone, leaving the commits after it, and didn't have the problem.

commented

Didn't gave which problem? (there's no way that could affect rendering)

commented

I know it seems unlikely, but I've tested and re-tested, in the dev environment and in a regular game environment, and both problems are linked to that commit and that commit alone.

commented

Can one of you try exactly what I did on your computer, just to see if it's reproducible?

  1. Check out latest git
  2. Open this world with it: https://drive.google.com/file/d/1DV-WgqdMW9ZlfoHWdGCb8Q3SxadkF5Lv/view?usp=sharing (it will be laggy and opaque)
  3. Revert 1e046a3, with git revert 1e046a3 or git show 1e046a3 | patch -p1 -R or something
  4. Open the world again (it will be fast and correct)
commented

I have seen the opaqueness in my test world, but not the lag. Either way it's a symptom, not so much a cause as there shouldn't be block updates bouncing around like that

commented

Are both issues not present in the version before that commit or only he lag issue? The transparency is probably caused by 532744f

commented

Both issues are present with 1e046a3 and absent without it. 532744f didn't seem related in my testing.

commented

Fixed in dev

commented

Thanks. I can confirm that the latest dev build fixes both problems for me.

commented

Is it supposed to be fixed in this build? Because I have an FPS issue with max size turbine. It drops my FPS from 200 to 20.

commented

It should be fixed there, yes

commented

Well then I suppose I should open a different issue.