mojira.dev
MC-71078

Water / Lighting causing framerate drops.

If you will see this forum: http://www.minecraftforum.net/forums/minecraft-discussion/recent-updates-and-snapshots/2205517-i-think-i-found-the-source-of-the-lag

It describes an in-depth description with proof, that water and lighting effects aren't optimized and are causing framerate issues. I, myself have been noticing the same bug. Walking past or near lakes, oceans, rivers, waterfalls, ect. causes immense, annoying framerate drops. There are screenshots and line graphs in the forum that shows precisely how to framerate drops have been occurring.

Related issues

Comments

migrated

Yes, yes, and yes. That explains everything. I had my base on a very little island surrounded by an ocean, and the FPS dropped everytime I sprinted. Doing some tests,
I noticed that, while flying-sprinting in a world without water, I get an average of 115 FPS. Meanwhile, in a customized world so the only biome is river, the FPS drops to ~65, my fan turns on and I get some stuttering. Will test later about the lighting, but awesome find if you're the author! =)

migrated

About the lighting test: I think it didn't bring very significant results. I did the following:

  • Created a completely dark room in the overworld, and in The Nether.

  • Below it, I put a clock redstone circuit to light on/off 7 redstone lamps.

  • Tested what would be the FPS with the circuit running with all light coming from it blocked by solid blocks, and with the light not blocked.

In the overworld, with the lights blocked, I got around 180~200 FPS with the lights blocked, and 150~170 FPS with the lights not blocked.

In The Nether, in both cases I get constant 200 FPS.

migrated

In my main survival world, I built my base on an island. It is surrounded by water and water falls, and it seems whenever I travel anywhere near it, or look near the ocean, my framerate drops from 60 (locked) to the mid 40s, in a very unstable manner.

I conducted a test by creating a randomly generated world, and set the sea level to 1 through the customization world options. I got a consistent 60 fps, and could even increase my view distance from 8 to 25, still getting better framerates than in my survival world.

Hopefully Mojang sees this and realizes that this is the issue.

migrated

Just to note: I am a bit new to the JIRA system, so I'm not totally sure if you are 'able' to per say bump a bug.
I do want to recommend to have a quick 1.8.1 patch for any gameplay-significant bugs (like FPS drops, major crashes, etc.), since the time to develop 1.9 is coming a bit closer.

migrated

I am having the feeling that issue is related to (one of) the following issues:
MC-68080, MC-71304, MC-71078, MC-45458
If I am correct with this pattern I'm seeing, these issues can all be fixed.

Disclaimer: I could of course be totally wrong about this, please don't whine about it if I am

migrated

Just tested if 1.8.1 PR-1 fixes this bug. It doesn't.
Still needs a fix.

kumasasa

@@unknown: Either post something essential for this bug or Stop posting in multiple tickets.

migrated

@unknown is trying to fix the immense water lag at http://www.reddit.com/r/Minecraft/comments/2k3rg6/water_woes/cli9h2k.

Sonicwave

Confirmed for 1.8.1-pre3, extremely evident if you create a "Water World" superflat preset world.

Sonicwave

Confirmed for 1.8.2-pre6.

migrated

I had this issue back when I was using 1.8.1 vanilla.
Now in 1.8.3 vanilla I no longer experience this issue. Further confirmation by other people would be helpful.
Java versions changes have happened since this, and for me also hardware changes that may make my example slightly less useful.

I know this was still an issue when I was running 1.8.1 using java 1.8 update 25
I'm now using java 1.8 update 31 if that makes a difference.

migrated

This is still an issue in Minecraft 1.8.8 and it can't be my harware
GTX 970
I7 4790k
16GB 1866MHz Ram

This is why I hate Java

migrated

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

migrated

(Unassigned)

Community Consensus

Minecraft 1.8, Minecraft 1.8.1-pre2, Minecraft 1.8.1-pre3, Minecraft 1.8.1, Minecraft 1.8.2-pre6

Retrieved