[MC-1692] Excessive lag on lamp de/activation across chunk borders Created: 01/Nov/12 Updated: 23/Oct/18 Resolved: 23/Oct/18 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Minecraft 1.4.2, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w06a, Snapshot 13w10b, Minecraft 1.5, Minecraft 1.5.2, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 13w38b, Minecraft 13w38c, Minecraft 13w39a, Minecraft 1.7.2, Minecraft 1.7.4, Minecraft 14w05b, Minecraft 14w06b, Minecraft 14w07a, Minecraft 1.7.10, Minecraft 14w32a, Minecraft 14w32b, Minecraft 14w32c, Minecraft 14w32d, Minecraft 14w33a, Minecraft 1.8, Minecraft 1.8.1-pre2, Minecraft 1.8.1-pre4, Minecraft 1.9 Pre-Release 1, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 1.10.2, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w50a |
| Fix Version/s: | Minecraft 18w43a |
| Type: | Bug | ||
| Reporter: | Martok | Assignee: | [Mojang] Georgii Gavrichev |
| Resolution: | Fixed | Votes: | 59 |
| Labels: | client, rendering | ||
| Attachments: |
|
||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||
| CHK: | |||||||||||||||||||||||||||||
| Confirmation Status: | Confirmed | ||||||||||||||||||||||||||||
| Description |
|
See this video by Teekeks for a demonstration of this issue. DescriptionRedstone lamps turning on and off cause an unusually large amount of FPS lag when on/near chunk borders. While there is still some (expected) lag in the middle of a chunk, the amount on chunk borders is significantly higher. Reproduction
Notes
|
| Comments |
| Comment by Piyotato [ 16/Dec/17 ] |
|
I've experienced it on every snapshot, yes. |
| Comment by Fabian Röling [ 12/Dec/17 ] |
|
|
| Comment by Piyotato [ 12/Dec/17 ] |
|
Can confirm for all 1.13 snapshots. |
| Comment by [Mod] bemoty [ 08/Aug/17 ] |
|
Can confirm for 1.12.1. |
| Comment by Lena During [ 15/Feb/17 ] |
|
I investigated a bit on this bug. It seems to correlate with the debug Node "scheduledExcecutables.checkLight.checkedPosition < toCheckCount", which takes up >50% of the entire frame time when the contraption goes over a chunk border. A Example of this can be found here: https://www.youtube.com/watch?v=af9Cgck1zGA 2x the same setup, once within one chunk, once on a chunk border. |
| Comment by bestucki [ 30/Aug/16 ] |
|
I have the same problem with 1.10.2. 30 pistons de-/activated by redsone: no lag The lag caused by deactivating is quite bigger than by activating. |
| Comment by Fabian Röling [ 12/Jun/16 ] |
|
Might this be MC-81098? Redstone dust is used in the setup mentioned in the description and it causes lag. |
| Comment by Orbit Storm [ 26/Apr/16 ] |
|
Hopefully this isn't redundant information but I wanted to add some clarification from my own findings:
I hope this affords a bit more useful information and look forward to a fix. |
| Comment by Alex Campbell [ 02/Apr/16 ] |
|
Confirmed for 1.9.2. |
| Comment by Immaterialise [ 17/Feb/16 ] |
|
Confirmed for 1.9-pre1 |
| Comment by KingSupernova [ 08/Nov/14 ] |
|
Yeah, I hope so. I really liked that. |
| Comment by kbk [ 08/Nov/14 ] |
|
This ticket is still valid for 1.8.1 pre4. |
| Comment by KingSupernova [ 27/Oct/14 ] |
|
Possible, but this type of lag seems to be localized to lamps. Other small scale lighting updates, like breaking glowstone, don't make this happen. |
| Comment by [Mod] Sonicwave [ 26/Oct/14 ] |
|
Could be related to |
| Comment by KingSupernova [ 22/Oct/14 ] |
|
I can confirm this in 1.8-pre2. |
| Comment by kbk [ 13/Aug/14 ] |
|
Lighting is still a bit laggy in 14w33a. |
| Comment by Omnimetatron [ 17/Feb/14 ] |
|
Can confirm this issue in 14w07a. |
| Comment by Galaxy_2Alex [ 21/Jan/14 ] |
|
Is this still a concern in the current Minecraft version 1.7.4 / Launcher version 1.3.8 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. |
| Comment by Josiah Roberts [ 05/Dec/13 ] |
|
I am having this issue in 1.7.2. Short-term severe lag, only when the lamp array is turned off. |
| Comment by Omar Saad [ 26/Sep/13 ] |
|
this has been a bug for so long, can somebody at least create a fix for now? would be much appreciated |
| Comment by kbk [ 26/Sep/13 ] |
|
Not really as bad as it was back then in 1.4, but still noticeable in 13w39a. I experience like -20 fps and laggy rendering when I turn on the clock similar to the setup on the second screenshot. |
| Comment by [Mod] CubeTheThird [ 26/Sep/13 ] |
|
Is this still a concern in the current Minecraft version 1.6.4 / Launcher version 1.2.5 ? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. |
| Comment by Chris Dusto [ 02/Apr/13 ] |
|
I cannot reproduce in 1.5.1 - I have a lighthouse with a blinking lamp (in fact, 8 lamps). No lag between if it is on or off (I have a switch to turn off the lamps) |
| Comment by kbk [ 19/Mar/13 ] |
|
In 1.5.1 lamps alone (like in reporter's setup) are not affected by this issue. Contraptions with lamps powered off repeater clocks and/or through sets of repeaters are affected though, as are repeater/comparator oscilliscopes or light-emitting devices of similar complexity. Moreover, such contraptions can induce a lagging that is even more severe when player stands exactly 10 chunks away from said contraptions. |
| Comment by Simon Welker [ 10/Mar/13 ] |
|
I can more than confirm this. I built a pretty big light machine and it works great, but most things I try to do with it can't go smoothly live thanks to this bug alone. One part of it turns on in 1 second but takes about 5 turning off. |
| Comment by Martok [ 06/Mar/13 ] |
|
Very true, and a much simpler test than my original build. I have added a screenshot of an automated setup for reference. The issue persists in 13w10b, tagged accordingly. |
| Comment by Omar Saad [ 06/Mar/13 ] |
|
The lag happens only when it is deactivated, just make a line with lamps and a lever, flip lever on: pretty expected, all turn on. flip lever off: crazy lag spike and huge delay |