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

Lag sometimes causes sound delay or stuttering and music stopping completely

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.15.2, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5 Release Candidate 1, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w08a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 21w19a, 21w20a, 1.17 Pre-release 1, 1.17 Pre-release 4, 1.17 Release Candidate 1, 1.17 Release Candidate 2, 1.17, 1.17.1 Pre-release 1, 1.17.1, 21w39a, 21w40a, 21w41a, 21w42a, 1.18.2, 1.19 Release Candidate 2, 1.19, 1.19.3, 1.19.4 Pre-release 1
    • Windows 7
      Java Version 8 Update 251 (build 1.8.0_251-b08)
      High Definition Audio Device
    • Confirmed
    • Sound

      The bug

      The new sound engine introduced in 1.14 sometimes causes sounds in a world to play late when an event happens. If the game lags as a result of high memory usage, then it would also sometimes cause sound to stutter.

      The lag might also cause music to stop completely if the Music slider is turned on. All of these problems did not happen before 1.14.

      Causes

      The sound delay might be caused by the new sound engine having to load a sound right when a corresponding event happens in a world. If the Music slider is turned on, music would stop completely due to them just being streamed from the corresponding files.

      Once again, these problems did not occur in previous versions.

      Note before reproduction

      The bug might only affect certain sound cards, so please attempt reproduction first before confirming it.

      If successful, please check for the sound card involved by following the procedures below if using a Windows operating system:

      1. Open the Windows start menu, and then search for the "dxdiag" program.
      2. Open the program, and then click on the "Sound" tab.
        The sound card can be seen in the "Device" section.

      Please comment sound cards in the Comments section.

        1. profile-results-2020-10-31_13.55.08.txt
          101 kB
          [Helper] gaspoweredpick

            Unassigned Unassigned
            jirauser283547 user-a4a49 (Inactive)
            Votes:
            18 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              CHK: