Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-161517

RTX GPUs have worse performance than GTX GPUs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19.80
    • 1.19.70.20 Preview, 1.19.60.27 Preview, 1.19.60.20 Preview, 1.19.50.21 Preview, 1.19.50.20 Preview, 1.19.40.24 Preview, 1.19.40.21 Preview, 1.19.40.20 Preview, 1.19.30.22 Preview, 1.19.20, 1.19.21 Hotfix, 1.19.22 Hotfix, 1.19.30, 1.19.31 Hotfix, 1.19.50.24 Preview, 1.19.41, 1.19.51, 1.19.73
    • Community Consensus
    • Windows
    • 839294

      Please remember that this is not a support forum. If you want to discuss this among yourselves, there are plenty of places you can find and chat with other community members, such as the Discord or Reddit. If you want to discuss it with Mojang, you need to contact the Community Management team on Discord or their Twitter accounts. Comments here should provide new information for the developers, and we also welcome sharing workarounds with each other, but excess chatter will be removed.

      When Ray Tracing is supported by the GPU, the game runs with decreased performance even when Ray Tracing is not enabled in the settings.

      From testing, an RTX 3080 Ti gets drastically lower framerates than a GTX 1060 does in the same world with the same settings. In situations that are known to cause frame drops (such as having a large number of entities, lots of item frames, or using a high-res resource pack), the performance hit is greatly exaggerated on RTX GPUs.

      It can be proven that this is not an issue with the GPU itself by using the workaround listed below or downgrading the Nvidia drivers to an older version (442.74) where Minecraft doesn't detect the GPU as Ray Tracing capable. The performance will be back to expected levels. Some Windows versions may also stop the game detecting RTX, fixing the performance. Versions without Render Dragon (meaning they don't have RTX support) also have correct performance.
      It seems that when the game does not detect a Ray Tracing compatible GPU, it runs at the FPS it should.

      Minecraft Preview shows that RTX cards use "D3D12 RTX" and GTX ones just use "D3D12". The RTX version has a large FPS hit for players who aren't using Ray Tracing.

      Steps to test the difference:

      1. While using a GTX GPU that has no ray tracing capability, get into a situation that will tax the system slightly. (for example place 100 filled item frames or spawn 50 mobs)
      2. Make sure VSync is disabled and note the average framerate.
      3. Swap the GTX GPU for a more powerful RTX one. (or disable DXR Raytracing in NVIDIA Profile Inspector)
      4. Load the same world with the same graphics settings. (with Ray Tracing off in the settings)
      5. Experience a lower framerate than the less powerful GPU.

      Expected Result:
      The RTX graphics card is significantly more powerful than the GTX one, so it should have a higher FPS.

      Observed result:
      The RTX graphics card performs much worse than the GTX one. 

      Screenshots/Videos:
      Performance comparison between GTX 1060 and RTX 3080 Ti, with all other hardware/settings/packs left the same.

      Notes:
      When Ray Tracing is disabled in the game settings, it is not fully disabled. Something seems to change when RTX is available for the GPU.
      This bug looks to be the root cause of MCPE-153297, MCPE-111547, MCPE-157142, and possibly MCPE-142934 for some users.
      I think this bug is capping the performance of everyone playing using an RTX GPU, but goes unnoticed as people with frame drops aren’t comparing the performance to a lower-spec GPU without Ray Tracing support.

      Workaround:
      With the latest version of NVIDIA Profile Inspector, you can now disable DXR Ray Tracing for only Minecraft, fixing performance! Select the Minecraft profile and set "Raytracing - (DXR) Enabled" to "RT Disabled".

      The game will report that your device is incompatible with RTX, however you'll now have performance that matches a non-RTX GPU! If you ever want to use Ray Tracing, just change the setting back to "Default" and the in-game option will be unlocked. For some reason the Minecraft profile in Nvidia Profile Inspector doesn't affect Minecraft Preview, so to test D3D12 on that version of the game you'll need to temporarily disable DXR on the global profile and re-enable it when you're done.

      Alternate workaround:
      Minecraft switches to D3D11 if the GPU recovers from a crash while RTX is enabled.

      We can test a "timeout detection and recovery" by running "dxcap -forcetdr" in an administrator command prompt. This may require "Graphics Tools" to be installed in the optional features page of the PC's settings. When I tried this the screen went black for a few seconds and then Minecraft Preview reported that it was using D3D11 instead of D3D12 RTX! There's a black screen in game until Ray Tracing is off again but after that it'll be on D3D11 until the game is restarted. FPS improved by a lot around item frames and 512x packs worked perfectly. Doing this can and did cause issues with other software/hardware. I'm not an expert, so if you use this it's at your own risk! 

        1. 1060.png
          1060.png
          3.71 MB
        2. 1060 with default profile (D3D12).png
          1060 with default profile (D3D12).png
          1.94 MB
        3. 3080 ti.png
          3080 ti.png
          3.78 MB
        4. 3080 Ti with default profile (D3D12+) (1.19.80).png
          3080 Ti with default profile (D3D12+) (1.19.80).png
          1.40 MB
        5. 3080 Ti with default profile (D3D12 RTX).png
          3080 Ti with default profile (D3D12 RTX).png
          1.93 MB
        6. 3080 Ti with DXR Disabled (D3D12).png
          3080 Ti with DXR Disabled (D3D12).png
          1.93 MB
        7. 3080 Ti with TDR workaround (D3D11).png
          3080 Ti with TDR workaround (D3D11).png
          1.92 MB
        8. Captura de pantalla (1158).png
          Captura de pantalla (1158).png
          2.16 MB
        9. image-2023-01-18-23-39-47-339.png
          image-2023-01-18-23-39-47-339.png
          54 kB
        10. image-2023-01-18-23-41-15-698.png
          image-2023-01-18-23-41-15-698.png
          39 kB
        11. image-2023-04-22-02-04-36-969.png
          image-2023-04-22-02-04-36-969.png
          2.16 MB
        12. image-2023-04-22-02-04-41-871.png
          image-2023-04-22-02-04-41-871.png
          2.08 MB
        13. Screenshot (12).png
          Screenshot (12).png
          1.37 MB
        14. Screenshot (13).png
          Screenshot (13).png
          1.32 MB
        15. Screenshot (3).png
          Screenshot (3).png
          1.39 MB
        16. Screenshot (4).png
          Screenshot (4).png
          1.20 MB
        17. Screenshot 2022-11-26 005627.png
          Screenshot 2022-11-26 005627.png
          56 kB

            HavingFunTimes Liam
            Votes:
            94 Vote for this issue
            Watchers:
            50 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: