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. 2020-05-29_11.49.34.png
          1.43 MB
          Blake Z
        2. 2020-05-29_15.24.42.png
          585 kB
          Kristofer Rye
        3. 2020-05-29_20.00.31.png
          1.29 MB
          Skinva
        4. 2020-05-30_01.18.36.png
          657 kB
          Vicente Ferrandis
        5. 2020-05-30_16.31.45.png
          210 kB
          Kunal Gupta
        6. 2020-05-30_17.08.06.png
          241 kB
          TheOrangePick
        7. 2020-05-31_14.21.09.png
          1006 kB
          Alex Gofman
        8. 2020-05-31_14.32.59.png
          619 kB
          H P
        9. 2020-05-31_14.34.47.png
          1000 kB
          H P
        10. 2020-05-31_14.41.48.png
          1.06 MB
          H P
        11. 2020-06-01_18.46.30.png
          767 kB
          Josse Cottenier
        12. 2020-06-01_18.47.38.png
          772 kB
          Josse Cottenier
        13. image-2020-05-30-00-54-12-004.png
          1.03 MB
          Pietro
        14. image-2020-05-30-01-17-36-203.png
          1.04 MB
          Boyan Petrov
        15. lag-20w22a.png
          418 kB
          Piglin_CZE
        16. profile-results-2020-05-29_16.10.27.txt
          83 kB
          Christopher Lewis
        17. Screenshot 2020-05-29 at 15.36.25.png
          98 kB
          Andrew
        18. Screenshot 2020-05-29 at 15.42.29.png
          2.22 MB
          Andrew

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

              Created:
              Updated:
              Resolved:
              CHK: