Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-186075

GPU usage in latest snapshot significantly higher than before, causing lag or crash for some users

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16 Pre-release 1
    • 20w22a
    • None
    • Any
    • Confirmed
    • Performance

      Workaround

      There is a resource pack by jellysquid_ and gegy1000 attached to this ticket which may mitigate the performance issues introduced in 20w22a by applying some changes to the built-in shaders that Minecraft uses.

      You can install it just like any other resource pack. Here's a tutorial if you don't know how to do that: https://minecraft.gamepedia.com/Tutorials/Loading_a_resource_pack

      This is the latest version of the resource pack: MC-186075 Shader Patch r4.zip

      There are no guarantees from the mod team or Mojang that it works, but many people in the comments of this ticket have confirmed that it improves the game's performance significantly in this snapshot.

      Please note that since the rendering changes are experimental and may be changed or removed altogether in future snapshots, the resource pack patch may stop working in in the future.

      If you're interested in the source code, here's the GitHub repo for the resource pack.

      In the latest Snapshot, 20w22a, GPU usage has significantly increased, causing many users to experience decreased performance, with some being unable to even start the game.

      Analysis by jellysquid_

      It looks like the culprit of this massive increase in GPU usage comes down to the new framebuffer blending technique used to resolve some translucency issues between render layers (i.e. items behind fluids).

        1. Screenshot 2020-05-29 at 15.42.29.png
          Screenshot 2020-05-29 at 15.42.29.png
          2.22 MB
        2. Screenshot 2020-05-29 at 15.36.25.png
          Screenshot 2020-05-29 at 15.36.25.png
          98 kB
        3. profile-results-2020-05-29_16.10.27.txt
          83 kB
        4. MC-186075 Shader Patch r4.zip
          2 kB
        5. MC-186075 Shader Patch r3.zip
          2 kB
        6. MC-186075 Shader Patch r2.zip
          2 kB
        7. lag-20w22a.png
          lag-20w22a.png
          418 kB
        8. image-2020-05-30-01-17-36-203.png
          image-2020-05-30-01-17-36-203.png
          1.04 MB
        9. image-2020-05-30-00-54-12-004.png
          image-2020-05-30-00-54-12-004.png
          1.03 MB
        10. debug-report-2020-05-29_16.10.31.zip
          27 kB
        11. 2020-06-01_18.47.38.png
          2020-06-01_18.47.38.png
          772 kB
        12. 2020-06-01_18.46.30.png
          2020-06-01_18.46.30.png
          767 kB
        13. 2020-05-31_14.41.48.png
          2020-05-31_14.41.48.png
          1.06 MB
        14. 2020-05-31_14.34.47.png
          2020-05-31_14.34.47.png
          1000 kB
        15. 2020-05-31_14.32.59.png
          2020-05-31_14.32.59.png
          619 kB
        16. 2020-05-31_14.21.09.png
          2020-05-31_14.21.09.png
          1006 kB
        17. 2020-05-30_17.08.06.png
          2020-05-30_17.08.06.png
          241 kB
        18. 2020-05-30_16.31.45.png
          2020-05-30_16.31.45.png
          210 kB
        19. 2020-05-30_01.18.36.png
          2020-05-30_01.18.36.png
          657 kB
        20. 2020-05-29_20.00.31.png
          2020-05-29_20.00.31.png
          1.29 MB
        21. 2020-05-29_15.24.42.png
          2020-05-29_15.24.42.png
          585 kB
        22. 2020-05-29_11.49.34.png
          2020-05-29_11.49.34.png
          1.43 MB

            Unassigned Unassigned
            juhanimies juhani paskapää
            Votes:
            124 Vote for this issue
            Watchers:
            71 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: