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

Console spam: "Error starting SoundSystem. Turning off sounds & music"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 23w40a
    • 1.18.1, 1.19, 1.19.2, 22w44a, 1.19.3, 23w05a, 1.20.2
    • None
    • Confirmed
    • Performance, Sound
    • Normal
    • Platform

      I had Minecraft open for a while. After putting the computer into hibernation mode and turning it back on, the game printed out the following error message about once every 50 milliseconds.

      There were so many of these errors in the launcher log, to the point where their time stamps lagged behind for several hours because the Minecraft launcher couldn't keep up. When I closed Minecraft, the logs kept going because they lagged behind that much. (The logs written to file didn't have any issue, just those displayed in the launcher log window, which means the launcher not keeping up with the logs is a launcher bug.)

      Audio device was lost!
      
      Error starting SoundSystem. Turning off sounds & music
      java.lang.IllegalStateException: Failed to open OpenAL device
      	at dqi.b(SourceFile:264)
      	at dqi.a(SourceFile:151)
      	at fdf.h(SourceFile:112)
      	at fdf.a(SourceFile:103)
      	at fdf.a(SourceFile:234)
      	at fdi.a(SourceFile:253)
      	at dxo.q(SourceFile:1761)
      	at dxo.f(SourceFile:1086)
      	at dxo.e(SourceFile:733)
      	at net.minecraft.client.main.Main.main(SourceFile:238)
      

      Currently it is unclear to me how the issue can be reproduced reliably. It might've been caused by some Windows issue where it might have thought a device was connected that actually wasn't connected.

      The relevant log is 2022-01-01-1.log.gz (60 MB uncompressed).

      Observed: If the game fails to connect to some audio device, the game will print an error message every 50ms.

      Expected: The error message should show up, but either only once, or only in larger time intervals (e.g. once every 30 seconds).

      Reproduce:

      • Set the in-game audio device to your headset.
      • Enter the following commands:
        /playsound minecraft:music.dragon voice @p
        /weather thunder
      • Disable all audio devices connected to Windows.
      • Notice that the game outputs spam to the logs at a rapid rate.

        1. 2022-01-01-1.log.gz
          331 kB
          [Mod] violine1101
        2. Reproduce.png
          36 kB
          [Mod] Les3awe

            Unassigned Unassigned
            violine1101 [Mod] violine1101
            Votes:
            16 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: