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

vSync turns off in fullscreen mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 18w21b, Minecraft 18w22a, Minecraft 18w22b, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 18w44a, Minecraft 18w45a
    • Fix Version/s: Minecraft 1.13-pre3
    • Labels:
    • Environment:

      Operating System: Windows 10 (amd64)
      Java Version: 1.8.0_171
      Allocated memory: 1024M
      CPU: AMD Ryzen 3 1200 Quad-Core Processor
      GPU: GeForce GTX 750 | 391.35

    • Confirmation Status:
      Community Consensus

      Description

      vSync turns off in fullscreen mode. When switching back to windowed mode vSync turns on. Issue can be solved by enabling vSync when switching to fullscreen mode. In LWJGL3, you need to enable vSync again after switching to fullscreen mode: glfwSwapInterval(1)

      How to reproduce:

      1. Start Minecraft
      2. Go to the video settings
      3. Enable vsynс and fullscreen mode, set unlimited framerate
      4. Restart Minecraft
      5. Load world
      6. Press F11 (switch to windowed mode)
      7. Press F11 again (switch to fullscreen mode)
      8. Press F3

        Attachments

        1. 2018-05-28_12.37.04.png
          2018-05-28_12.37.04.png
          272 kB
        2. 2018-05-28_12.37.04.png
          2018-05-28_12.37.04.png
          303 kB
        3. 2018-05-28_12.37.16.png
          2018-05-28_12.37.16.png
          664 kB
        4. 2018-05-28_12.37.16.png
          2018-05-28_12.37.16.png
          811 kB
        5. 2018-11-01_17.43.53.png
          2018-11-01_17.43.53.png
          1.20 MB

          Issue Links

            Activity

              People

              • Assignee:
                boq [Mojang] Bartosz Bok
                Reporter:
                GishCraft Motan Gish
              • Votes:
                7 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: