<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 11:55:19 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[MC-1692] Excessive lag on lamp de/activation across chunk borders</title>
                <link>https://bugs.mojang.com/browse/MC-1692</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;See &lt;a href=&quot;https://www.youtube.com/watch?v=af9Cgck1zGA&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this video&lt;/a&gt; by &lt;a href=&quot;https://bugs.mojang.com/secure/ViewProfile.jspa?name=Teekeks&quot; class=&quot;user-hover&quot; rel=&quot;Teekeks&quot;&gt;Teekeks&lt;/a&gt; for a demonstration of this issue.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Description&quot;&gt;&lt;/a&gt;Description&lt;/h4&gt;

&lt;p&gt;Redstone 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 &lt;em&gt;significantly&lt;/em&gt; higher.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Reproduction&quot;&gt;&lt;/a&gt;Reproduction&lt;/h4&gt;

&lt;ol&gt;
	&lt;li&gt;Enable chunk border rendering with F3+G&lt;/li&gt;
	&lt;li&gt;Enable the lagometer and debug profiler by pressing Alt+Shift+F3.&lt;/li&gt;
	&lt;li&gt;In the middle of a chunk, build an 6x6 pad of redstone lamps, and place redstone dust on those lamps.&lt;/li&gt;
	&lt;li&gt;Connect those lamps to a fast clock (such as 2 repeaters pointing into each other)&lt;/li&gt;
	&lt;li&gt;Observe that there is a slight lag spike each time the lamps turn on.&lt;/li&gt;
	&lt;li&gt;Disconnect that system, and then build a similar 6x6 pad at the intersection of 4 chunk borders (such that there is a 3x3 area in each chunk)&lt;/li&gt;
	&lt;li&gt;Connect that system to a fast clock&lt;/li&gt;
	&lt;li&gt;Observe the much higher FPS drop&lt;/li&gt;
&lt;/ol&gt;


&lt;h4&gt;&lt;a name=&quot;Notes&quot;&gt;&lt;/a&gt;Notes&lt;/h4&gt;

&lt;ul&gt;
	&lt;li&gt;The profiler node &quot;scheduledExcecutables.checkLight.checkedPosition &amp;lt; toCheckCount&quot; is the most time-consuming one when this issue is in effect.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="13051">MC-1692</key>
            <summary>Excessive lag on lamp de/activation across chunk borders</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="fry">[Mojang] Georgii Gavrichev</assignee>
                                    <reporter username="martok">Martok</reporter>
                        <labels>
                            <label>client</label>
                            <label>rendering</label>
                    </labels>
                <created>Thu, 1 Nov 2012 20:19:14 +0100</created>
                <updated>Tue, 23 Oct 2018 19:13:47 +0200</updated>
                            <resolved>Tue, 23 Oct 2018 19:13:47 +0200</resolved>
                                    <version>Minecraft 1.4.2</version>
                    <version>Minecraft 1.4.6</version>
                    <version>Minecraft 1.4.7</version>
                    <version>Snapshot 13w06a</version>
                    <version>Snapshot 13w10b</version>
                    <version>Minecraft 1.5</version>
                    <version>Minecraft 1.5.2</version>
                    <version>Minecraft 1.6.2</version>
                    <version>Minecraft 1.6.4</version>
                    <version>Minecraft 13w38b</version>
                    <version>Minecraft 13w38c</version>
                    <version>Minecraft 13w39a</version>
                    <version>Minecraft 1.7.2</version>
                    <version>Minecraft 1.7.4</version>
                    <version>Minecraft 14w05b</version>
                    <version>Minecraft 14w06b</version>
                    <version>Minecraft 14w07a</version>
                    <version>Minecraft 1.7.10</version>
                    <version>Minecraft 14w32a</version>
                    <version>Minecraft 14w32b</version>
                    <version>Minecraft 14w32c</version>
                    <version>Minecraft 14w32d</version>
                    <version>Minecraft 14w33a</version>
                    <version>Minecraft 1.8</version>
                    <version>Minecraft 1.8.1-pre2</version>
                    <version>Minecraft 1.8.1-pre4</version>
                    <version>Minecraft 1.9 Pre-Release 1</version>
                    <version>Minecraft 1.9.1</version>
                    <version>Minecraft 1.9.2</version>
                    <version>Minecraft 1.10.2</version>
                    <version>Minecraft 1.11</version>
                    <version>Minecraft 1.11.2</version>
                    <version>Minecraft 17w06a</version>
                    <version>Minecraft 1.12.1</version>
                    <version>Minecraft 1.12.2</version>
                    <version>Minecraft 17w50a</version>
                                    <fixVersion>Minecraft 18w43a</fixVersion>
                                                        <votes>59</votes>
                                    <watches>26</watches>
                                                                            <comments>
                            <comment id="423372" author="piyopwincess" created="Sat, 16 Dec 2017 17:58:33 +0100"  >&lt;p&gt;I&apos;ve experienced it on every snapshot, yes.&lt;/p&gt;</comment>
                            <comment id="422804" author="farogaming" created="Tue, 12 Dec 2017 18:50:25 +0100"  >&lt;p&gt;&lt;del&gt;Did you really try all of them? Even the ones that aren&apos;t available in the launcher anymore?&lt;/del&gt;&lt;br/&gt;
Actually, it doesn&apos;t matter, all versions are already marked as affected.&lt;/p&gt;</comment>
                            <comment id="422795" author="piyopwincess" created="Tue, 12 Dec 2017 18:36:12 +0100"  >&lt;p&gt;Can confirm for all 1.13 snapshots.&lt;/p&gt;</comment>
                            <comment id="398236" author="bemoty" created="Tue, 8 Aug 2017 15:14:12 +0200"  >&lt;p&gt;Can confirm for 1.12.1.&lt;/p&gt;</comment>
                            <comment id="367739" author="teekeks" created="Wed, 15 Feb 2017 01:07:26 +0100"  >&lt;p&gt;I investigated a bit on this bug.&lt;/p&gt;

&lt;p&gt;It seems to correlate with the debug Node &quot;scheduledExcecutables.checkLight.checkedPosition &amp;lt; toCheckCount&quot;, which takes up &amp;gt;50% of the entire frame time when the contraption goes over a chunk border.&lt;/p&gt;

&lt;p&gt;A Example of this can be found here: &lt;a href=&quot;https://www.youtube.com/watch?v=af9Cgck1zGA&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.youtube.com/watch?v=af9Cgck1zGA&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2x the same setup, once within one chunk, once on a chunk border.&lt;/p&gt;</comment>
                            <comment id="327570" author="bestucki" created="Tue, 30 Aug 2016 17:43:49 +0200"  >&lt;p&gt;I have the same problem with 1.10.2.&lt;/p&gt;

&lt;p&gt;30 pistons de-/activated by redsone: no lag&lt;br/&gt;
30 redstone lamps de-/activated by redstone: lag&lt;br/&gt;
15 redstone lamp pairs de-/activated by redstone: bigger lag&lt;/p&gt;

&lt;p&gt;The lag caused by deactivating is quite bigger than by activating.&lt;/p&gt;</comment>
                            <comment id="313054" author="farogaming" created="Sun, 12 Jun 2016 19:23:24 +0200"  >&lt;p&gt;Might this be &lt;a href=&quot;https://bugs.mojang.com/browse/MC-81098&quot; title=&quot;Redstone dust updates cause lag&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-81098&quot;&gt;MC-81098&lt;/a&gt;? Redstone dust is used in the setup mentioned in the description and it causes lag.&lt;/p&gt;</comment>
                            <comment id="301671" author="orbit storm" created="Tue, 26 Apr 2016 05:47:06 +0200"  >&lt;p&gt;Hopefully this isn&apos;t redundant information but I wanted to add some clarification from my own findings:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;This issue affects any redstone circuit that is powered on/off by a switch or redstone clock and does not apply to just redstone lamps (for example: a simple pulsing circuit to dispense &quot;garbage&quot; into lava using two repeaters on 4 ticks each still lags).&lt;/li&gt;
	&lt;li&gt;As the OP claims, this applies ONLY to circuits being powered OFF.&lt;/li&gt;
	&lt;li&gt;This applies to both singleplayer AND multiplayer servers (Vanilla and Spigot alike).&lt;/li&gt;
	&lt;li&gt;Java versions as early as v1.8.0_25 and as recent as v1.8.0_77 are affected.&lt;/li&gt;
	&lt;li&gt;This DOES produce a momentary frame spike, dropping as low as 30fps from 120fps.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I hope this affords a bit more useful information and look forward to a fix.&lt;/p&gt;</comment>
                            <comment id="298090" author="immibis" created="Sat, 2 Apr 2016 11:09:22 +0200"  >&lt;p&gt;Confirmed for 1.9.2.&lt;/p&gt;</comment>
                            <comment id="286740" author="immaterialise" created="Wed, 17 Feb 2016 18:53:12 +0100"  >&lt;p&gt;Confirmed for 1.9-pre1&lt;/p&gt;</comment>
                            <comment id="208235" author="kingsupernova" created="Sat, 8 Nov 2014 12:34:08 +0100"  >&lt;p&gt;Yeah, I hope so. I really liked that.&lt;/p&gt;</comment>
                            <comment id="208224" author="kuubaku" created="Sat, 8 Nov 2014 09:38:28 +0100"  >&lt;p&gt;This ticket is still valid for 1.8.1 pre4.&lt;br/&gt;
&apos;Lamps&apos; in last Isaac&apos;s statement and, probably, in description should be changed to &apos;redstone components&apos;, most of which have had their lighting disabled some time ago for the very reason this ticket exists. As for lamps, lighting is their essential function and obviously could not be disabled. I suppose when this gets fixed, wires and comparators should again become able to emit light as well.&lt;/p&gt;</comment>
                            <comment id="206114" author="kingsupernova" created="Mon, 27 Oct 2014 02:11:36 +0100"  >&lt;p&gt;Possible, but this type of lag seems to be localized to lamps. Other small scale lighting updates, like breaking glowstone, don&apos;t make this happen.&lt;/p&gt;</comment>
                            <comment id="206100" author="ericz1" created="Mon, 27 Oct 2014 00:44:37 +0100"  >&lt;p&gt;Could be related to &lt;a href=&quot;https://bugs.mojang.com/browse/MC-11571&quot; title=&quot;Huge lighting updates lag the game.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-11571&quot;&gt;&lt;del&gt;MC-11571&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="204659" author="kingsupernova" created="Wed, 22 Oct 2014 10:35:10 +0200"  >&lt;p&gt;I can confirm this in 1.8-pre2.&lt;/p&gt;</comment>
                            <comment id="188380" author="kuubaku" created="Wed, 13 Aug 2014 21:35:24 +0200"  >&lt;p&gt;Lighting is still a bit laggy in 14w33a. &lt;/p&gt;</comment>
                            <comment id="141010" author="wilch.habos" created="Mon, 17 Feb 2014 05:46:40 +0100"  >&lt;p&gt;Can confirm this issue in 14w07a.&lt;/p&gt;</comment>
                            <comment id="133320" author="galaxy_2alex" created="Tue, 21 Jan 2014 20:31:25 +0100"  >&lt;p&gt;Is this still a concern in the &lt;em&gt;current Minecraft version&lt;/em&gt; &lt;b&gt;1.7.4&lt;/b&gt; / Launcher version &lt;b&gt;1.3.8&lt;/b&gt; or later? If so, please &lt;em&gt;update the affected versions&lt;/em&gt; in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="123287" author="joflashstudios" created="Thu, 5 Dec 2013 05:37:20 +0100"  >&lt;p&gt;I am having this issue in 1.7.2. Short-term severe lag, only when the lamp array is turned off.&lt;/p&gt;</comment>
                            <comment id="106690" author="pablodons" created="Thu, 26 Sep 2013 22:22:20 +0200"  >&lt;p&gt;this has been a bug for so long, can somebody at least create a fix for now? would be much appreciated&lt;/p&gt;</comment>
                            <comment id="106667" author="kuubaku" created="Thu, 26 Sep 2013 21:26:27 +0200"  >&lt;p&gt;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.&lt;/p&gt;</comment>
                            <comment id="106371" author="cubethethird" created="Thu, 26 Sep 2013 04:35:48 +0200"  >&lt;p&gt;Is this still a concern in the &lt;em&gt;current Minecraft version&lt;/em&gt; &lt;b&gt;1.6.4&lt;/b&gt; / Launcher version &lt;b&gt;1.2.5&lt;/b&gt; ? If so, please &lt;em&gt;update the affected versions&lt;/em&gt; in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="58459" author="truepikachu" created="Tue, 2 Apr 2013 11:09:41 +0200"  >&lt;p&gt;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)&lt;/p&gt;</comment>
                            <comment id="55651" author="kuubaku" created="Wed, 20 Mar 2013 00:54:15 +0100"  >&lt;p&gt;In 1.5.1 lamps alone (like in reporter&apos;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.&lt;/p&gt;</comment>
                            <comment id="51576" author="chipf0rk" created="Sun, 10 Mar 2013 14:14:48 +0100"  >&lt;p&gt;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&apos;t go smoothly live thanks to this bug alone. One part of it turns on in 1 second but takes about 5 turning off.&lt;br/&gt;
But it&apos;s already noticeable from 9 redstone lamps on. This should be fixed urgently!&lt;/p&gt;</comment>
                            <comment id="50372" author="martok" created="Wed, 6 Mar 2013 16:54:06 +0100"  >&lt;p&gt;Very true, and a much simpler test than my original build. I have added a screenshot of an automated setup for reference.&lt;/p&gt;

&lt;p&gt;The issue persists in 13w10b, tagged accordingly.&lt;/p&gt;</comment>
                            <comment id="50305" author="pablo" created="Wed, 6 Mar 2013 14:40:39 +0100"  >&lt;p&gt;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&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="20385">MC-7579</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25241">MC-11137</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="48428">MC-28280</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="48495">MC-28336</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="194423">MC-126518</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="11727" name="2012-11-01_19.52.10.png" size="682272" author="martok" created="Thu, 1 Nov 2012 20:19:14 +0100"/>
                            <attachment id="23618" name="2013-03-06_16.47.39.png" size="464228" author="martok" created="Wed, 6 Mar 2013 16:52:01 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 14 Feb 2017 23:22:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10303"><![CDATA[Confirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0ck2v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>