mojira.dev
MC-9974

Initialization of OpenAL fails sometimes

Workaround

If you experience this bug, you can press F3+T while ingame to reload the sound engine, which should fix it temporarily.

If the bug persists for an extended period of time, you should instead contact 💬 Community Support as it is likely a driver issue or another configuration issue on your end.

Occasionally when resources are loaded, OpenAL fails to start and there is no sound. Generally it works fine, but very rarely it fails.
In that case, it switches to no-sound version.
This is a game log from when it failed to start:

[09:46:32] [Sound Library Loader/INFO]: Starting up SoundSystem...
[09:46:32] [Thread-6/INFO]: Initializing LWJGL OpenAL
[09:46:32] [Thread-6/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
[09:46:32] [Thread-6/ERROR]: Error in class 'LibraryLWJGLOpenAL'
[09:46:32] [Thread-6/ERROR]: Unable to initialize OpenAL.  Probable cause: OpenAL not supported.
[09:46:32] [Thread-6/WARN]: ERROR MESSAGE:
[09:46:32] [Thread-6/INFO]: Could not locate OpenAL library.
[09:46:32] [Thread-6/WARN]: STACK TRACE:
[09:46:32] [Thread-6/INFO]: org.lwjgl.openal.AL.create(AL.java:156)
[09:46:32] [Thread-6/INFO]: org.lwjgl.openal.AL.create(AL.java:102)
[09:46:32] [Thread-6/INFO]: org.lwjgl.openal.AL.create(AL.java:206)
[09:46:32] [Thread-6/INFO]: paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164)
[09:46:32] [Thread-6/INFO]: paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
[09:46:32] [Thread-6/INFO]: paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
[09:46:32] [Thread-6/INFO]: paulscode.sound.CommandThread.run(CommandThread.java:121)
[09:46:33] [Sound Library Loader/WARN]: ERROR MESSAGE:
[09:46:33] [Sound Library Loader/INFO]: Could not locate OpenAL library.
[09:46:33] [Sound Library Loader/INFO]: Starting up SoundSystem...
[09:46:33] [Thread-8/INFO]: Switching to No Sound
[09:46:33] [Thread-8/INFO]: (Silent Mode)

A second reproduction with a debug log4j config, and with -Dorg.lwjgl.util.Debug=true in the launcher args, and with the system environment variable ALSOFT_LOGLEVEL set to 3, gives this:

[21:00:54.655] [Client thread/INFO]: Setting user: pokechu22
[21:00:54.662] [Client thread/DEBUG]: (Session ID is token:<censored>)
[21:01:01.502] [Client thread/INFO]: Loaded 482 advancements
[21:01:02.371] [Client thread/INFO]: LWJGL Version: 2.9.4
[21:01:02.517] [Client thread/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] Initial mode: 1366 x 768 x 32 @60Hz
[21:01:02.826] [Client thread/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] MemoryUtil Accessor: AccessorUnsafe
[21:01:03.520] [Client thread/INFO]: Reloading ResourceManager: Default, SoundDemo
[21:01:07.891] [Client thread/DEBUG]: Replaced sound event location minecraft:music.creative
[21:01:07.894] [Client thread/DEBUG]: Adding duplicate key 'minecraft:music.creative' to registry
[21:01:07.910] [Client thread/DEBUG]: Replaced sound event location minecraft:music.credits
[21:01:07.911] [Client thread/DEBUG]: Adding duplicate key 'minecraft:music.credits' to registry
[21:01:07.914] [Client thread/DEBUG]: Replaced sound event location minecraft:music.dragon
[21:01:07.914] [Client thread/DEBUG]: Adding duplicate key 'minecraft:music.dragon' to registry
[21:01:07.917] [Client thread/DEBUG]: Replaced sound event location minecraft:music.end
[21:01:07.917] [Client thread/DEBUG]: Adding duplicate key 'minecraft:music.end' to registry
[21:01:07.919] [Client thread/DEBUG]: Replaced sound event location minecraft:music.game
[21:01:07.920] [Client thread/DEBUG]: Adding duplicate key 'minecraft:music.game' to registry
[21:01:07.937] [Client thread/DEBUG]: Replaced sound event location minecraft:music.menu
[21:01:07.937] [Client thread/DEBUG]: Adding duplicate key 'minecraft:music.menu' to registry
[21:01:07.942] [Client thread/DEBUG]: Replaced sound event location minecraft:music.nether
[21:01:07.943] [Client thread/DEBUG]: Adding duplicate key 'minecraft:music.nether' to registry
[21:01:07.955] [Client thread/WARN]: Missing sound for event: minecraft:entity.player.hurt_drown
[21:01:07.958] [Client thread/WARN]: Missing sound for event: minecraft:entity.player.hurt_on_fire
[21:01:07.988] [Sound Library Loader/INFO]: Starting up SoundSystem...
[21:01:08.221] [Thread-3/INFO]: Initializing LWJGL OpenAL
[21:01:08.225] [Thread-3/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[21:01:08.236] [Thread-3/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] getPathFromClassLoader: searching for: OpenAL64
AL lib: (II) alc_initconfig: Supported backends: mmdevapi, dsound, winmm, null, wave
AL lib: (II) GetConfigValue: Key general:disable-cpu-exts not found
AL lib: (II) FillCPUCaps: Got caps: SSE
AL lib: (II) GetConfigValue: Key general:rt-prio not found
AL lib: (II) GetConfigValue: Key general:resampler not found
AL lib: (II) GetConfigValue: Key general:trap-al-error not found
AL lib: (II) GetConfigValue: Key general:trap-alc-error not found
AL lib: (II) GetConfigValue: Key reverb:boost not found
AL lib: (II) GetConfigValue: Key reverb:emulate-eax not found
AL lib: (II) GetConfigValue: Key general:drivers not found
[21:01:08.239] [Thread-3/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] Failed to locate findLibrary method: java.lang.NoSuchMethodException: sun.misc.Launcher$AppClassLoader.findLibrary(java.lang.String)
AL lib: (II) MMDevApiMsgProc: Starting message thread
AL lib: (II) alc_initconfig: Initialized backend "mmdevapi"
AL lib: (II) alc_initconfig: Added "mmdevapi" for playback
AL lib: (II) alc_initconfig: Initialized backend "dsound"
AL lib: (II) alc_initconfig: Added "dsound" for capture
AL lib: (II) GetConfigValue: Key general:excludefx not found
AL lib: (II) GetConfigValue: Key general:default-reverb not found
AL lib: (II) GetConfigValue: Key general:channels not found
AL lib: (II) GetConfigValue: Key general:sample-type not found
AL lib: (II) GetConfigValue: Key general:format not found
AL lib: (II) GetConfigValue: Key general:frequency not found
AL lib: (II) GetConfigValue: Key general:periods not found
AL lib: (II) GetConfigValue: Key general:period_size not found
AL lib: (II) GetConfigValue: Key general:sources not found
AL lib: (II) GetConfigValue: Key general:slots not found
AL lib: (II) GetConfigValue: Key general:sends not found
AL lib: (II) GetConfigValue: Key general:cf_level not found
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
AL lib: (II) GetConfigValue: Key general:channels not found
AL lib: (II) GetConfigValue: Key general:sample-type not found
AL lib: (II) GetConfigValue: Key general:format not found
AL lib: (II) GetConfigValue: Key general:frequency not found
AL lib: (II) GetConfigValue: Key general:periods not found
AL lib: (II) GetConfigValue: Key general:period_size not found
AL lib: (II) GetConfigValue: Key general:sources not found
AL lib: (II) GetConfigValue: Key general:slots not found
AL lib: (II) GetConfigValue: Key general:sends not found
AL lib: (II) GetConfigValue: Key general:cf_level not found
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
AL lib: (II) MMDevApiMsgProc: Starting message loop
[21:01:08.242] [Thread-3/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.net.URLClassLoader.findLibrary(java.lang.String)
[21:01:08.242] [Thread-3/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.security.SecureClassLoader.findLibrary(java.lang.String)
[21:01:08.250] [Thread-3/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] getPathFromClassLoader: searching for: lwjgl
[21:01:08.250] [Thread-3/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] Failed to locate findLibrary method: java.lang.NoSuchMethodException: sun.misc.Launcher$AppClassLoader.findLibrary(java.lang.String)
[21:01:08.252] [Thread-3/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.net.URLClassLoader.findLibrary(java.lang.String)
[21:01:08.252] [Thread-3/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.security.SecureClassLoader.findLibrary(java.lang.String)
[21:01:08.276] [Thread-3/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] Found 3 OpenAL paths
[21:01:08.277] [Thread-3/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] Testing 'C:\Users\Pokechu22\AppData\Roaming\.minecraft\versions\17w18b\17w18b-natives-12740868475532\OpenAL64.dll'
[21:01:08.282] [Thread-3/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] Found OpenAL at 'C:\Users\Pokechu22\AppData\Roaming\.minecraft\versions\17w18b\17w18b-natives-12740868475532\OpenAL64.dll'
[21:01:08.348] [Thread-3/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] Failed to load C:\Users\Pokechu22\AppData\Roaming\.minecraft\versions\17w18b\17w18b-natives-12740868475532\OpenAL64.dll: Could not open ALC device
[21:01:08.349] [Thread-3/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] Testing 'C:\Users\Pokechu22\AppData\Roaming\.minecraft\OpenAL64.dll'
[21:01:08.350] [Thread-3/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] Failed to load C:\Users\Pokechu22\AppData\Roaming\.minecraft\OpenAL64.dll: Could not load OpenAL library (126)
[21:01:08.351] [Thread-3/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] Testing 'OpenAL64.dll'
[21:01:08.357] [Thread-3/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] Found OpenAL at 'OpenAL64.dll'
[21:01:08.360] [Thread-3/INFO]: [STDERR]@.(LWJGLUtil.java:514): [LWJGL] Failed to load OpenAL64.dll: Could not open ALC device
[21:01:08.362] [Thread-3/ERROR]: Error in class 'LibraryLWJGLOpenAL'
[21:01:08.363] [Thread-3/ERROR]: Unable to initialize OpenAL.  Probable cause: OpenAL not supported.
[21:01:08.363] [Thread-3/WARN]: ERROR MESSAGE:
[21:01:08.363] [Thread-3/INFO]: Could not locate OpenAL library.
[21:01:08.363] [Thread-3/WARN]: STACK TRACE:
[21:01:08.364] [Thread-3/INFO]: org.lwjgl.openal.AL.create(AL.java:156)
[21:01:08.364] [Thread-3/INFO]: org.lwjgl.openal.AL.create(AL.java:102)
[21:01:08.364] [Thread-3/INFO]: org.lwjgl.openal.AL.create(AL.java:206)
[21:01:08.364] [Thread-3/INFO]: paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164)
[21:01:08.365] [Thread-3/INFO]: paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
[21:01:08.365] [Thread-3/INFO]: paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
[21:01:08.365] [Thread-3/INFO]: paulscode.sound.CommandThread.run(CommandThread.java:121)
[21:01:08.598] [Sound Library Loader/WARN]: ERROR MESSAGE:
[21:01:08.599] [Sound Library Loader/INFO]: Could not locate OpenAL library.
[21:01:08.599] [Sound Library Loader/INFO]: Starting up SoundSystem...
[21:01:08.936] [Thread-5/INFO]: Switching to No Sound
[21:01:08.938] [Thread-5/INFO]: (Silent Mode)
[21:01:09.212] [Sound Library Loader/INFO]: Sound engine started
[21:01:28.017] [Client thread/INFO]: Created: 1024x512 textures-atlas
[21:01:34.657] [Client thread/INFO]: [STDOUT]@.(NarratorWindows.java:20): Narrator library for x64 successfully loaded
[21:01:39.821] [Client thread/DEBUG]: Playing sound minecraft:random/click for event minecraft:ui.button.click as channel d8c5b63b-c0f9-4858-8689-ab8f92918a44
[21:01:40.861] [Client thread/DEBUG]: Removed channel d8c5b63b-c0f9-4858-8689-ab8f92918a44 because it's not playing anymore
[21:01:40.894] [Client thread/DEBUG]: Playing sound minecraft:random/click for event minecraft:ui.button.click as channel 558503eb-5f3b-4f9e-a925-f13464f9493a
[21:01:41.960] [Client thread/DEBUG]: Removed channel 558503eb-5f3b-4f9e-a925-f13464f9493a because it's not playing anymore
[21:01:41.993] [Client thread/DEBUG]: Playing sound minecraft:music/menu/menu1 for event minecraft:music.menu as channel 730fee9b-fcfd-4261-a427-ce33b23d8dcb
[21:01:43.028] [Client thread/DEBUG]: Removed channel 730fee9b-fcfd-4261-a427-ce33b23d8dcb because it's not playing anymore
[21:02:04.899] [Client thread/DEBUG]: Playing sound minecraft:music/menu/menu1 for event minecraft:music.menu as channel 89e96207-569a-4b2e-9760-a3cceacebd50
[21:02:05.865] [Client thread/DEBUG]: Removed channel 89e96207-569a-4b2e-9760-a3cceacebd50 because it's not playing anymore
[21:02:23.418] [Client thread/DEBUG]: Playing sound minecraft:music/menu/menu2 for event minecraft:music.menu as channel a78416a6-5d39-4bef-ac14-5092f42eb20d
[21:02:24.351] [Client thread/DEBUG]: Removed channel a78416a6-5d39-4bef-ac14-5092f42eb20d because it's not playing anymore
[21:02:31.051] [Client thread/DEBUG]: Playing sound minecraft:music/menu/menu3 for event minecraft:music.menu as channel 2905b576-5eb4-4059-a7e8-83dd15f314c9
[21:02:32.017] [Client thread/DEBUG]: Removed channel 2905b576-5eb4-4059-a7e8-83dd15f314c9 because it's not playing anymore
[21:02:44.351] [Client thread/DEBUG]: Playing sound minecraft:music/menu/menu3 for event minecraft:music.menu as channel ae31f3f9-fa8b-43a8-8feb-635fc79b3ba1
[21:02:45.317] [Client thread/DEBUG]: Removed channel ae31f3f9-fa8b-43a8-8feb-635fc79b3ba1 because it's not playing anymore
[21:03:00.152] [Client thread/DEBUG]: Playing sound minecraft:music/menu/menu1 for event minecraft:music.menu as channel 271cec83-88d6-4d8e-a7ac-671891e4a219
[21:03:01.122] [Client thread/DEBUG]: Removed channel 271cec83-88d6-4d8e-a7ac-671891e4a219 because it's not playing anymore
[21:03:20.110] [Client thread/DEBUG]: Playing sound minecraft:random/click for event minecraft:ui.button.click as channel b37436b6-ea17-4a68-a2ac-8f704d664e73
[21:03:20.141] [Client thread/INFO]: Stopping!
[21:03:20.147] [Client thread/INFO]: SoundSystem shutting down...
[21:03:20.348] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
Could not locate symbol glEnableClientStateiEXT
Could not locate symbol glDisableClientStateiEXT
Could not locate symbol glGetFloati_vEXT
Could not locate symbol glGetDoublei_vEXT
Could not locate symbol glGetPointeri_vEXT

Note that the 3 failures after each instance of "getPathFromClassLoader: searching for:" happen even when audio works successfully - it's likely a platform thing. Additionally, "Could not locate symbol" at the bottom also occurs each time. Finally, note that C:\Users\Pokechu22\AppData\Roaming\.minecraft\OpenAL64.dll does not exist and never should exist (as it is only supposed to be located in the temporary natives folder) - the "Could not load OpenAL library" message from it probably is a red herring; the earlier "Could not open ALC device" and "MMDevApiOpenPlayback: Device init failed: 0x80004005" are probably more useful. Also, note that 0x80004005 is a meaningless error code; it just represents E_FAIL which means "Unspecified failure".


After asking the OpenAL mailing list for additional information, it turns out that this is a fairly old OpenAL bug, which was fixed in OpenAL Soft version 1.16. Minecraft is using version 1.15.1 (as LWJGL 2 uses it). This can be fixed by updating OpenAL, either by migrating to LWJGL 3, or just directly updating the OpenAL dll using the one from LWJGL 3 on LWJGL 2.


I would suggest having Minecraft detect when this happens, and try to restart OpenAL. If it fails multiple times, then it should force a no sound mode. At minimum, a message should be displayed on the title screen in some way, advising the user to use F3+T to reload the sound engine.

MC does attempt to detect this happening in SoundManager, but the sound is loaded in a separate thread from which the catch statement happens. Thread.setUncaughtExceptionHandler should be used instead. Even then, that handler only logs an error and mutes audio; for the general user this behavior isn't entirely obvious ("Why did my game just mute itself‽") although (IIRC) doing that does reload the sound engine when it's unmuted.

MC also has a custom SoundSystemLogger (also declared in SoundManager); that could be used to identify such errors as well.

Related issues

MC-6542 Unable to craft a book. MC-6814 Everything is white MC-7407 Multiplayer, crash MC-8958 @p does not work with command blocks when joining/leaving a team MC-25848 No sound MC-76815 Initialization of OpenAL fails sometimes MC-76845 Minecraft sounds occasionally stop when you launch the game MC-79384 No sound when maximizing the game whille launching MC-93220 OpenAL issuse MC-94145 Where is the sound??? MC-94280 In minecraft 15w50a the sounds won't happen even though i had my minecraft and computer volume to full MC-95765 Audio Bug MC-96718 Sound just suddenly stops working MC-98300 I can't hear anything even if volume is turned up and subtitles don't work MC-99005 Minecraft sometimes start "Silent Mode". MC-99141 Periodic Audio Failure MC-101661 Sound not playing on startup. MC-102637 Sound not always initializing when game is launched MC-102711 Sound System Sometimes Doesn't Work MC-103095 Unable to initialize OpenAL on ~90% of starts MC-103105 Unable to initialize OpenAL on ~90% of starts MC-103657 Sound Library always fails to load MC-105997 Minecraft Sounds not Starting/Working MC-106801 Sound Engine Loading Bug or Luncher loading Bug MC-107851 Client Failing to Make any Sounds Randomly MC-108382 My music is not working in 1.10.2 MC-108501 Resource Pack bug MC-109114 Minecraft 1.10 annoying bug that keeps crashing my game. MC-113565 No sound MC-114006 New Launcher crashed when logged in a server MC-114828 Start with no sound MC-114837 The game starts without sounds on 1.11.2 MC-116229 Minecraft PC Edition NO sound MC-116891 Minecraft starting in Silent Mode. MC-117525 No sound in minecraft MC-117774 No sound or music when launching Minecraft from a taskbar shortcut MC-118371 no sound at all MC-118649 Minecraft crashes after pressing play (On every version/Both old and new launcher) MC-119097 Sound Not Working MC-121072 Audio MC-121136 Can't hear any sound MC-123567 Sound MC-123876 Minecraft crashes on startup MC-124452 no sound MC-124816 i need help MC-127752 No Sound MC-132876 Sound mistake MCL-6542 Minecraft does not launch MCL-6814 Unable to get past loading worlds on Minecraft 1.11.2 Win 10 MCL-7407 no sound at all MCL-8958 Sound bug

Attachments

Comments

migrated
[media][media][media]
kumasasa

Please force a crash by pressing F3 + C for 10 seconds while ingame and attach the crash report here.

pokechu22

Crash attached, but is it very usefull? Also, this glitch is rare, I had to launch Minecraft ~20 times for it to occur. I remember a Minecraft wiki post about a crash from a lwjgl error in 1.7.3, where Minecraft might crash if sound was turned off and on again because it failed to locate openAL, but that was fixed. Now if it fails, it doesn't try again.

migrated

Please try uptading LWJGL using this Tutorial.

pokechu22

That seems to have stopped it, because it didn't happen after 30 tries. I will have to see if it happens later though. While doing it, I learned that releasing alt in the launcher causes it to print out some gibberish if you ran it via the command line.

kumasasa

Resolving this ticket as invalid now, since an update of the LWJGL is scheduled for one of the next versions.

migrated

This doesn't look like its resolved. I'm seeing this error more than 50% of the time now. Recently switched to Win10. MC is v1.8.8 (vanilla). Launcher is 1.6.44

[09:46:32] [Sound Library Loader/INFO]: Starting up SoundSystem...
[09:46:32] [Thread-6/INFO]: Initializing LWJGL OpenAL
[09:46:32] [Thread-6/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
[09:46:32] [Thread-6/ERROR]: Error in class 'LibraryLWJGLOpenAL'
[09:46:32] [Thread-6/ERROR]: Unable to initialize OpenAL.  Probable cause: OpenAL not supported.
[09:46:32] [Thread-6/WARN]: ERROR MESSAGE:
[09:46:32] [Thread-6/INFO]: Could not locate OpenAL library.
[09:46:32] [Thread-6/WARN]: STACK TRACE:
[09:46:32] [Thread-6/INFO]: org.lwjgl.openal.AL.create(AL.java:156)
[09:46:32] [Thread-6/INFO]: org.lwjgl.openal.AL.create(AL.java:102)
[09:46:32] [Thread-6/INFO]: org.lwjgl.openal.AL.create(AL.java:206)
[09:46:32] [Thread-6/INFO]: paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164)
[09:46:32] [Thread-6/INFO]: paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
[09:46:32] [Thread-6/INFO]: paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
[09:46:32] [Thread-6/INFO]: paulscode.sound.CommandThread.run(CommandThread.java:121)
[09:46:33] [Sound Library Loader/WARN]: ERROR MESSAGE:
[09:46:33] [Sound Library Loader/INFO]: Could not locate OpenAL library.
[09:46:33] [Sound Library Loader/INFO]: Starting up SoundSystem...
[09:46:33] [Thread-8/INFO]: Switching to No Sound
[09:46:33] [Thread-8/INFO]: (Silent Mode)
pokechu22

I still occasionally encounter this (but extremely rarely). Ingame you can do F3+S to reload the sound system IIRC, which lets you fix sounds. What might be nice is a message on the main menu saying "Failed to set up OpenAL; click here to try again", but I'm not sure how feasible that is.

kumasasa

Took over the confirmation from MC-76815

marcono1234

Could you please update the description as the important part seems to be

AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005

I am afraid you are currently mixing reports together that are related but not duplicates, for example MC-20069 describes this "Device init failed" bug whereas here only a comment contains these error messages

pokechu22

It's still the same issue. The text in the original post was back with Minecraft 1.4.6, and evidently they changed the output. I'll put the log from the comment as the main log (I know when I've experienced it the log was like that).

kumasasa

The summary of MC-79384 is "No sound when maximizing the game whille launching" - maybe that's the key for reproducing this issue ?

migrated

This sound reasonable. I always maximize Minecraft and I might regularly do it by double clicking the title bar. Although I cannot reproduce it on Windows 10 right now, because I can only maximize the window after some time (maybe the new gaming overlays of windows 10 are in the way … I don't know). But this may explain, why I have not encountered this error quite some time now; because I simply cannot maximize the window fast enough anymore.

Whatever the initialization of the sound library has to do with the window size though………

pokechu22

I can't remember if I've experienced it on windows 10. I feel like I have, but I can't say for sure.

Though also nowadays I use windowskey+Up rather than double clicking. Hm.

I'll go test on a windows 7 machine.

[Mod]Les3awe

Confirmed for 16w03a

migrated

16w04a too.

Completely ignored arguments: [--nativeLauncherVersion, 286]
[14:13:25] [Client thread/INFO]: Setting user: robingravel
[14:13:25] [Client thread/INFO]: (Session ID is token:ce58daac83d34a7284a00cd8285688a5:2912b520b87049d589c564bf0a1bd5a6)
[14:13:28] [Client thread/INFO]: LWJGL Version: 2.9.4
[14:13:29] [Client thread/INFO]: Reloading ResourceManager: Default
[14:13:30] [Client thread/WARN]: Missing sound for event: minecraft:entity.snowman.ambient
[14:13:30] [Sound Library Loader/INFO]: Starting up SoundSystem...
[14:13:30] [Thread-5/INFO]: Initializing LWJGL OpenAL
[14:13:30] [Thread-5/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
[14:13:30] [Thread-5/ERROR]: Error in class 'LibraryLWJGLOpenAL'
[14:13:30] [Thread-5/ERROR]: Unable to initialize OpenAL.  Probable cause: OpenAL not supported.
[14:13:30] [Thread-5/WARN]: ERROR MESSAGE:
[14:13:30] [Thread-5/INFO]: Could not locate OpenAL library.
[14:13:30] [Thread-5/WARN]: STACK TRACE:
[14:13:30] [Thread-5/INFO]: org.lwjgl.openal.AL.create(AL.java:156)
[14:13:30] [Thread-5/INFO]: org.lwjgl.openal.AL.create(AL.java:102)
[14:13:30] [Thread-5/INFO]: org.lwjgl.openal.AL.create(AL.java:206)
[14:13:30] [Thread-5/INFO]: paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164)
[14:13:30] [Thread-5/INFO]: paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
[14:13:30] [Thread-5/INFO]: paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
[14:13:30] [Thread-5/INFO]: paulscode.sound.CommandThread.run(CommandThread.java:121)
[14:13:31] [Sound Library Loader/WARN]: ERROR MESSAGE:
[14:13:31] [Sound Library Loader/INFO]: Could not locate OpenAL library.
[14:13:31] [Sound Library Loader/INFO]: Starting up SoundSystem...
[14:13:31] [Thread-7/INFO]: Switching to No Sound
[14:13:31] [Thread-7/INFO]: (Silent Mode)
[14:13:31] [Sound Library Loader/INFO]: Sound engine started
[14:13:33] [Client thread/INFO]: Created: 1024x512 textures-atlas
[14:13:38] [Client thread/INFO]: Realms library version == 1.7.57
[14:13:38] [MCO Availability Checker #1/ERROR]: Couldn't connect to realms: 
[14:14:03] [Client thread/WARN]: Unable to resolve BlockEntity for ItemInstance: minecraft:shield
[14:14:06] [Server thread/INFO]: Starting integrated minecraft server version 16w04a
[14:14:06] [Server thread/INFO]: Generating keypair
java.lang.NullPointerException
	at vo.a(SourceFile:416)
	at vq.a(SourceFile:215)
	at azr.a(SourceFile:52)
	at lp.b(SourceFile:142)
	at bym.a(SourceFile:98)
	at bym.j(SourceFile:130)
	at net.minecraft.server.MinecraftServer.run(SourceFile:426)
	at java.lang.Thread.run(Thread.java:745)
[14:14:07] [Server thread/INFO]: Preparing start region for level 0
[14:14:08] [Server thread/INFO]: Preparing spawn area: 0%
[14:14:09] [Server thread/INFO]: Preparing spawn area: 36%
[14:14:10] [Server thread/INFO]: Changing view distance to 8, from 10
[14:14:11] [Server thread/INFO]: robingravel[local:E:de2c20da] logged in with entity id 124 at (18.57355755850046, 63.0, 147.57681503287685)
[14:14:11] [Server thread/INFO]: robingravel joined the game
[14:14:12] [Server thread/INFO]: Saving and pausing game...
[14:14:12] [Server thread/INFO]: Saving chunks for level 'River Pluton 4'/Overworld
[14:14:13] [Server thread/INFO]: Saving chunks for level 'River Pluton 4'/Nether
[14:14:13] [Server thread/INFO]: Saving chunks for level 'River Pluton 4'/The End
[14:14:13] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@79006073[id=2912b520-b870-49d5-89c5-64bf0a1bd5a6,name=robingravel,properties={},legacy=false]
com.mojang.authlib.exceptions.AuthenticationUnavailableException: Cannot contact authentication server
	at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:71) ~[authlib-1.5.22.jar:?]
	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:175) [authlib-1.5.22.jar:?]
	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:59) [authlib-1.5.22.jar:?]
	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:56) [authlib-1.5.22.jar:?]
	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]
	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:165) [authlib-1.5.22.jar:?]
	at bce.K(SourceFile:2745) [16w04a.jar:?]
	at bwm$3.run(SourceFile:106) [16w04a.jar:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_25]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_25]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_25]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_25]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
Caused by: java.net.UnknownHostException: sessionserver.mojang.com
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) ~[?:1.8.0_25]
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_25]
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_25]
	at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_25]
	at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:649) ~[?:1.8.0_25]
	at sun.net.NetworkClient.doConnect(NetworkClient.java:175) ~[?:1.8.0_25]
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) ~[?:1.8.0_25]
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) ~[?:1.8.0_25]
	at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275) ~[?:1.8.0_25]
	at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371) ~[?:1.8.0_25]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) ~[?:1.8.0_25]
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1146) ~[?:1.8.0_25]
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:997) ~[?:1.8.0_25]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) ~[?:1.8.0_25]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1511) ~[?:1.8.0_25]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439) ~[?:1.8.0_25]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) ~[?:1.8.0_25]
	at com.mojang.authlib.HttpAuthenticationService.performGetRequest(HttpAuthenticationService.java:126) ~[authlib-1.5.22.jar:?]
	at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:54) ~[authlib-1.5.22.jar:?]
	... 19 more
Using : vn@178b621e
Using : vn@178b621e
Using : vn@178b621e
Using : vn@178b621e
Using : vn@226330e2
Using : vn@6397c8f
Using : vn@178b621e
[14:14:34] [Server thread/INFO]: Saving and pausing game...
[14:14:34] [Server thread/INFO]: Saving chunks for level 'River Pluton 4'/Overworld
[14:14:34] [Server thread/INFO]: Saving chunks for level 'River Pluton 4'/Nether
[14:14:34] [Server thread/INFO]: Saving chunks for level 'River Pluton 4'/The End
[14:14:36] [Server thread/INFO]: Stopping server
[14:14:36] [Server thread/INFO]: Saving players
[14:14:36] [Server thread/INFO]: Saving worlds
[14:14:36] [Server thread/INFO]: Saving chunks for level 'River Pluton 4'/Overworld
[14:14:36] [Server thread/INFO]: Saving chunks for level 'River Pluton 4'/Nether
[14:14:36] [Server thread/INFO]: Saving chunks for level 'River Pluton 4'/The End
[14:14:40] [MCO Availability Checker #1/ERROR]: Couldn't connect to realms:
migrated

检查OpenAL已安装
Check OpenAL has been installed

This My Startup Log:

[22:13:02] [Client thread/INFO]: Setting user: Tong
[22:13:02] [Client thread/INFO]: (Session ID is token:{auth_access_token}:d3f27ed7-2329-4d4e-9cb6-c4361bfced1a)
[22:13:08] [Client thread/INFO]: LWJGL Version: 2.9.4
[22:13:11] [Client thread/INFO]: Reloading ResourceManager: Default, PureBDcraft  16x MC19.zip
[22:13:13] [Client thread/WARN]: Missing sound for event: minecraft:entity.snowman.ambient
[22:13:13] [Sound Library Loader/INFO]: Starting up SoundSystem...
[22:13:14] [Thread-4/INFO]: Initializing LWJGL OpenAL
[22:13:14] [Thread-4/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[22:13:14] [Thread-4/INFO]: OpenAL initialized.
[22:13:14] [Sound Library Loader/INFO]: Sound engine started
[22:13:23] [Client thread/INFO]: Created: 1024x512 textures-atlas
[22:18:10] [Client thread/INFO]: Stopping!
[22:18:10] [Client thread/INFO]: SoundSystem shutting down...
[22:18:10] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[Mod]Les3awe

Confirmed for 1.9-pre4

[Mod]Les3awe
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
[20:31:49] [Thread-5/ERROR]: Error in class 'LibraryLWJGLOpenAL'
[20:31:49] [Thread-5/ERROR]: Unable to initialize OpenAL.  Probable cause: OpenAL not supported.
[20:31:49] [Thread-5/WARN]: ERROR MESSAGE:
[20:31:49] [Thread-5/INFO]: Could not locate OpenAL library.
[20:31:49] [Thread-5/WARN]: STACK TRACE:
[20:31:49] [Thread-5/INFO]: org.lwjgl.openal.AL.create(AL.java:156)
[20:31:49] [Thread-5/INFO]: org.lwjgl.openal.AL.create(AL.java:102)
[20:31:49] [Thread-5/INFO]: org.lwjgl.openal.AL.create(AL.java:206)
[20:31:49] [Thread-5/INFO]: paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164)
[20:31:49] [Thread-5/INFO]: paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
[20:31:49] [Thread-5/INFO]: paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
[20:31:49] [Thread-5/INFO]: paulscode.sound.CommandThread.run(CommandThread.java:121)
[20:31:49] [Sound Library Loader/WARN]: ERROR MESSAGE:
[20:31:49] [Sound Library Loader/INFO]: Could not locate OpenAL library.
[20:31:49] [Sound Library Loader/INFO]: Starting up SoundSystem...
[20:31:49] [Thread-7/INFO]: Switching to No Sound
[20:31:49] [Thread-7/INFO]: (Silent Mode)
[20:31:49] [Client thread/INFO]: Created: 1024x512 textures-atlas
[20:31:50] [Sound Library Loader/INFO]: Sound engine started
[20:31:53] [Client thread/INFO]: Stopping!
[20:31:53] [Client thread/INFO]: SoundSystem shutting down...
migrated

I don't have those error messages, but I am experiencing similar issues. For me it appears strongly (if not entirely) linked to launching via Steam with the overlay enabled. I would like to be able to launch Minecraft with the overlay, especially since without it configuring my steam controller is a bit more of a pain.

[21:45:44 INFO]: Minecraft Launcher 1.6.61 (through bootstrap 5) started on windows...
[21:45:44 INFO]: Current time is Mar 28, 2016 9:45:44 PM
[21:45:44 INFO]: System.getProperty('os.name') == 'Windows 7'
[21:45:44 INFO]: System.getProperty('os.version') == '6.1'
[21:45:44 INFO]: System.getProperty('os.arch') == 'x86'
[21:45:44 INFO]: System.getProperty('java.version') == '1.8.0_25'
[21:45:44 INFO]: System.getProperty('java.vendor') == 'Oracle Corporation'
[21:45:44 INFO]: System.getProperty('sun.arch.data.model') == '32'
[21:45:44 INFO]: proxy == DIRECT
[21:45:44 INFO]: JFX is already initialized
[21:45:44 INFO]: Refreshing local version list...
[21:45:45 INFO]: Refreshing remote version list...
[21:45:45 INFO]: Refresh complete.
[21:45:45 INFO]: Loaded 1 profile(s); selected 'Aevumas'
[21:45:45 INFO]: Refreshing auth...
[21:45:45 INFO]: Logging in with access token
kumasasa

@@unknown: The error messages are in the Game Output console after starting Minecraft itself, not in the Launcher console.
If you think there is a connection by starting it via Steam, please attach the Game Output console for a start via Steam and for a start the "classic" way.

migrated

Can confirm for 1.9.1:

[12:17:19] [Client thread/INFO]: Setting user: Foltrox
[12:17:21] [Client thread/INFO]: LWJGL Version: 2.9.4
[12:17:22] [Client thread/INFO]: Reloading ResourceManager: Default
[12:17:23] [Sound Library Loader/INFO]: Starting up SoundSystem...
[12:17:23] [Thread-5/INFO]: Initializing LWJGL OpenAL
[12:17:23] [Thread-5/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
[12:17:23] [Thread-5/ERROR]: Error in class 'LibraryLWJGLOpenAL'
[12:17:23] [Thread-5/ERROR]: Unable to initialize OpenAL.  Probable cause: OpenAL not supported.
[12:17:23] [Thread-5/WARN]: ERROR MESSAGE:
[12:17:23] [Thread-5/INFO]: Could not locate OpenAL library.
[12:17:23] [Thread-5/WARN]: STACK TRACE:
[12:17:23] [Thread-5/INFO]: org.lwjgl.openal.AL.create(AL.java:156)
[12:17:23] [Thread-5/INFO]: org.lwjgl.openal.AL.create(AL.java:102)
[12:17:23] [Thread-5/INFO]: org.lwjgl.openal.AL.create(AL.java:206)
[12:17:23] [Thread-5/INFO]: paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164)
[12:17:23] [Thread-5/INFO]: paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
[12:17:23] [Thread-5/INFO]: paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
[12:17:23] [Thread-5/INFO]: paulscode.sound.CommandThread.run(CommandThread.java:121)
[12:17:23] [Sound Library Loader/WARN]: ERROR MESSAGE:
[12:17:23] [Sound Library Loader/INFO]: Could not locate OpenAL library.
[12:17:23] [Sound Library Loader/INFO]: Starting up SoundSystem...
[12:17:24] [Thread-7/INFO]: Switching to No Sound
[12:17:24] [Thread-7/INFO]: (Silent Mode)
[12:17:24] [Sound Library Loader/INFO]: Sound engine started
[12:17:25] [Client thread/INFO]: Created: 1024x512 textures-atlas
[12:18:07] [Client thread/INFO]: Stopping!
[12:18:07] [Client thread/INFO]: SoundSystem shutting down...
[12:18:07] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[Mod]Les3awe

Confirmed for 1.9.2

migrated

Confirmed for 1.9.2

AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
[LWJGL] Failed to load OpenAL64.dll: Could not open ALC device

[Mod]Les3awe

Confirmed for 1.9.3-pre3

[21:40:00] [Client thread/INFO]: LWJGL Version: 2.9.4
[21:40:00] [Client thread/INFO]: Reloading ResourceManager: Default
[21:40:00] [Sound Library Loader/INFO]: Starting up SoundSystem...
[21:40:00] [Thread-5/INFO]: Initializing LWJGL OpenAL
[21:40:00] [Thread-5/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
[21:40:01] [Thread-5/ERROR]: Error in class 'LibraryLWJGLOpenAL'
[21:40:01] [Thread-5/ERROR]: Unable to initialize OpenAL.  Probable cause: OpenAL not supported.
[21:40:01] [Thread-5/WARN]: ERROR MESSAGE:
[21:40:01] [Thread-5/INFO]: Could not locate OpenAL library.
[21:40:01] [Thread-5/WARN]: STACK TRACE:
[21:40:01] [Thread-5/INFO]: org.lwjgl.openal.AL.create(AL.java:156)
[21:40:01] [Thread-5/INFO]: org.lwjgl.openal.AL.create(AL.java:102)
[21:40:01] [Thread-5/INFO]: org.lwjgl.openal.AL.create(AL.java:206)
[21:40:01] [Thread-5/INFO]: paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164)
[21:40:01] [Thread-5/INFO]: paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
[21:40:01] [Thread-5/INFO]: paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
[21:40:01] [Thread-5/INFO]: paulscode.sound.CommandThread.run(CommandThread.java:121)
[21:40:01] [Sound Library Loader/WARN]: ERROR MESSAGE:
[21:40:01] [Sound Library Loader/INFO]: Could not locate OpenAL library.
[21:40:01] [Sound Library Loader/INFO]: Starting up SoundSystem...
[21:40:01] [Thread-7/INFO]: Switching to No Sound
[21:40:01] [Thread-7/INFO]: (Silent Mode)
pokechu22

Confirmed for vanilla 1.9.4 with debug logging enabled (was doing packet-related stuff with a custom server, but this happened before any connection to the custom server was made):

[18:18:01.904] [Client thread/INFO]: Setting user: pokechu22
[18:18:01.934] [Client thread/DEBUG]: (Session ID is <manually censored; still printed in debug mode but that makes sense>)
[18:18:10.203] [Client thread/INFO]: LWJGL Version: 2.9.4
[18:18:12.095] [Client thread/INFO]: Reloading ResourceManager: Default
[18:18:36.141] [Sound Library Loader/INFO]: Starting up SoundSystem...
[18:18:36.379] [Thread-5/INFO]: Initializing LWJGL OpenAL
[18:18:36.381] [Thread-5/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[18:18:36.452] [Thread-5/ERROR]: Error in class 'LibraryLWJGLOpenAL'
[18:18:36.454] [Thread-5/ERROR]: Unable to initialize OpenAL.  Probable cause: OpenAL not supported.
[18:18:36.456] [Thread-5/WARN]: ERROR MESSAGE:
[18:18:36.458] [Thread-5/INFO]: Could not locate OpenAL library.
[18:18:36.461] [Thread-5/WARN]: STACK TRACE:
[18:18:36.463] [Thread-5/INFO]: org.lwjgl.openal.AL.create(AL.java:156)
[18:18:36.464] [Thread-5/INFO]: org.lwjgl.openal.AL.create(AL.java:102)
[18:18:36.465] [Thread-5/INFO]: org.lwjgl.openal.AL.create(AL.java:206)
[18:18:36.466] [Thread-5/INFO]: paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164)
[18:18:36.468] [Thread-5/INFO]: paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
[18:18:36.478] [Thread-5/INFO]: paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
[18:18:36.481] [Thread-5/INFO]: paulscode.sound.CommandThread.run(CommandThread.java:121)
[18:18:36.757] [Sound Library Loader/WARN]: ERROR MESSAGE:
[18:18:36.760] [Sound Library Loader/INFO]: Could not locate OpenAL library.
[18:18:36.761] [Sound Library Loader/INFO]: Starting up SoundSystem...
[18:18:37.145] [Thread-7/INFO]: Switching to No Sound
[18:18:37.147] [Thread-7/INFO]: (Silent Mode)
[18:18:37.452] [Sound Library Loader/INFO]: Sound engine started
[18:18:49.402] [Client thread/INFO]: Created: 1024x512 textures-atlas
[18:19:02.022] [Client thread/DEBUG]: Skipped playing sound minecraft:music/menu/menu1, volume was zero.
[18:19:30.470] [Client thread/DEBUG]: Skipped playing sound minecraft:music/menu/menu2, volume was zero.
[18:19:35.577] [Client thread/DEBUG]: Skipped playing sound minecraft:music/menu/menu3, volume was zero.
[18:19:59.358] [Client thread/DEBUG]: Skipped playing sound minecraft:music/menu/menu4, volume was zero.
[18:20:02.249] [Client thread/DEBUG]: Skipped playing sound minecraft:music/menu/menu1, volume was zero.
[18:20:04.347] [Client thread/DEBUG]: Skipped playing sound minecraft:music/menu/menu4, volume was zero.
[18:20:32.191] [Client thread/DEBUG]: Skipped playing sound minecraft:music/menu/menu3, volume was zero.
[18:20:40.889] [Client thread/DEBUG]: Playing sound minecraft:random/click for event minecraft:sounds/random/click.ogg as channel 71f2dbdd-420a-47c2-9c9f-58eacee0e889
[18:20:41.738] [Server Pinger #1/DEBUG]: Set listener of em@72dde36c to bkx$1@1a4e2798
[18:20:41.829] [Client thread/DEBUG]: Removed channel 71f2dbdd-420a-47c2-9c9f-58eacee0e889 because it's not playing anymore
[18:20:42.074] [Netty Client IO #0/DEBUG]: Enabled auto read
[18:20:42.077] [Server Pinger #1/DEBUG]: Disabled auto read
[18:20:42.078] [Netty Client IO #0/DEBUG]: OUT: [HANDSHAKING:0] jk
[18:20:42.094] [Netty Client IO #0/DEBUG]: Enabled auto read
[18:20:42.095] [Netty Client IO #0/DEBUG]: OUT: [STATUS:0] kd
[18:20:42.368] [Netty Client IO #0/DEBUG]:  IN: [STATUS:0] jz
[18:20:42.376] [Netty Client IO #0/DEBUG]: OUT: [STATUS:1] kc
[18:20:42.556] [Netty Client IO #0/DEBUG]:  IN: [STATUS:1] jy
[18:20:46.153] [Client thread/DEBUG]: Playing sound minecraft:random/click for event minecraft:sounds/random/click.ogg as channel 84133fba-f693-4d7b-9daf-e8c943d805ca
[18:20:47.103] [Client thread/DEBUG]: Removed channel 84133fba-f693-4d7b-9daf-e8c943d805ca because it's not playing anymore
[18:20:47.184] [Client thread/DEBUG]: Skipped playing sound minecraft:music/menu/menu3, volume was zero.
[18:20:49.312] [Client thread/DEBUG]: Playing sound minecraft:random/click for event minecraft:sounds/random/click.ogg as channel 23f08e90-4e67-497a-b1dd-aca9a1010069
[18:20:49.515] [Netty Client IO #3/DEBUG]: Enabled auto read
[18:20:49.515] [Server Pinger #0/DEBUG]: Set listener of em@338a1b7e to bkx$1@59a3bf3c
[18:20:49.517] [Server Pinger #0/DEBUG]: Disabled auto read
[18:20:49.524] [Netty Client IO #3/DEBUG]: OUT: [HANDSHAKING:0] jk
[18:20:49.526] [Netty Client IO #3/DEBUG]: Enabled auto read
[18:20:49.526] [Netty Client IO #3/DEBUG]: OUT: [STATUS:0] kd
[18:20:49.777] [Netty Client IO #3/DEBUG]:  IN: [STATUS:0] jz
[18:20:49.777] [Netty Client IO #3/DEBUG]: OUT: [STATUS:1] kc
[18:20:49.975] [Netty Client IO #3/DEBUG]:  IN: [STATUS:1] jy
[18:20:50.262] [Client thread/DEBUG]: Removed channel 23f08e90-4e67-497a-b1dd-aca9a1010069 because it's not playing anymore
[18:20:52.470] [Client thread/INFO]: Connecting to localhost, 25565
[18:20:53.077] [Netty Client IO #4/DEBUG]: Enabled auto read
[18:20:53.081] [Server Connector #1/DEBUG]: Set listener of em@1e939371 to bkp@2ac12f08
...

Nothing too interesting that's unique to the debug ones, but I do have milliseconds displayed, which might be useful.

migrated

Completely ignored arguments: [--nativeLauncherVersion, 301]
[18:54:02] [Client thread/INFO]: Setting user: robingravel
[18:54:04] [Client thread/INFO]: LWJGL Version: 2.9.4
[18:54:06] [Client thread/INFO]: Reloading ResourceManager: Default
[18:54:06] [Client thread/WARN]: Missing sound for event: minecraft:block.enchantment_table.use
[18:54:06] [Client thread/WARN]: Missing sound for event: minecraft:entity.polar_bear.ambient
[18:54:06] [Client thread/WARN]: Missing sound for event: minecraft:entity.polar_bear.baby_ambient
[18:54:06] [Client thread/WARN]: Missing sound for event: minecraft:entity.polar_bear.death
[18:54:06] [Client thread/WARN]: Missing sound for event: minecraft:entity.polar_bear.hurt
[18:54:06] [Client thread/WARN]: Missing sound for event: minecraft:entity.polar_bear.step
[18:54:06] [Client thread/WARN]: Missing sound for event: minecraft:entity.polar_bear.warning
[18:54:06] [Sound Library Loader/INFO]: Starting up SoundSystem...
[18:54:07] [Thread-5/INFO]: Initializing LWJGL OpenAL
[18:54:07] [Thread-5/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
[18:54:07] [Thread-5/ERROR]: Error in class 'LibraryLWJGLOpenAL'
[18:54:07] [Thread-5/ERROR]: Unable to initialize OpenAL. Probable cause: OpenAL not supported.
[18:54:07] [Thread-5/WARN]: ERROR MESSAGE:
[18:54:07] [Thread-5/INFO]: Could not locate OpenAL library.
[18:54:07] [Thread-5/WARN]: STACK TRACE:
[18:54:07] [Thread-5/INFO]: org.lwjgl.openal.AL.create(AL.java:156)
[18:54:07] [Thread-5/INFO]: org.lwjgl.openal.AL.create(AL.java:102)
[18:54:07] [Thread-5/INFO]: org.lwjgl.openal.AL.create(AL.java:206)
[18:54:07] [Thread-5/INFO]: paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164)
[18:54:07] [Thread-5/INFO]: paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
[18:54:07] [Thread-5/INFO]: paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
[18:54:07] [Thread-5/INFO]: paulscode.sound.CommandThread.run(CommandThread.java:121)
[18:54:07] [Sound Library Loader/WARN]: ERROR MESSAGE:
[18:54:07] [Sound Library Loader/INFO]: Could not locate OpenAL library.
[18:54:07] [Sound Library Loader/INFO]: Starting up SoundSystem...
[18:54:07] [Thread-7/INFO]: Switching to No Sound
[18:54:07] [Thread-7/INFO]: (Silent Mode)
[18:54:08] [Sound Library Loader/INFO]: Sound engine started
[18:54:10] [Client thread/INFO]: Created: 1024x512 textures-atlas

It happened to 16w20a.

migrated

I can confirm this. Happened both times I tried to start 16w21b, so I just use 16w20a now.
It also rarely (1/10) occurred in 1.8 and 1.7.

migrated

Confirming. For me, in 1.9.4 vanilla this happens about 90% of the time, i.e. it rarely does not happen.

migrated

Could you add Windows Vista as well?

migrated

It happened to 1.10.2 too.

migrated

[OptiFine] OptiFine_1.10.2_HD_U_C1
[OptiFine] Build: 20160630-123359
[OptiFine] OS: Windows 10 (amd64) version 10.0
[OptiFine] Java: 1.8.0_101, Oracle Corporation
[OptiFine] VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
[OptiFine] LWJGL: 2.9.4
[OptiFine] OpenGL: GeForce GTX 960/PCIe/SSE2, version 4.5.0 NVIDIA 368.69, NVIDIA Corporation
[OptiFine] OpenGL Version: 4.0
[OptiFine] Maximum texture size: 16384x16384
[OptiFine] Checking for new version
[Shaders] ShadersMod version: 2.4.12
[Shaders] OpenGL Version: 4.5.0 NVIDIA 368.69
[Shaders] Vendor: NVIDIA Corporation
[Shaders] Renderer: GeForce GTX 960/PCIe/SSE2
[Shaders] Capabilities: 2.0 2.1 3.0 3.2 4.0
[Shaders] GL_MAX_DRAW_BUFFERS: 8
[Shaders] GL_MAX_COLOR_ATTACHMENTS_EXT: 8
[Shaders] GL_MAX_TEXTURE_IMAGE_UNITS: 32
[Shaders] Load ShadersMod configuration.
[Shaders] Loaded shaderpack: SEUS
[19:41:21] [Sound Library Loader/INFO]: Starting up SoundSystem...
[19:41:21] [Thread-6/INFO]: Initializing LWJGL OpenAL
[19:41:21] [Thread-6/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
[19:41:21] [Thread-6/ERROR]: Error in class 'LibraryLWJGLOpenAL'
[19:41:21] [Thread-6/ERROR]: Unable to initialize OpenAL. Probable cause: OpenAL not supported.
[19:41:21] [Thread-6/WARN]: ERROR MESSAGE:
[19:41:21] [Thread-6/INFO]: Could not locate OpenAL library.
[19:41:21] [Thread-6/WARN]: STACK TRACE:
[19:41:21] [Thread-6/INFO]: org.lwjgl.openal.AL.create(AL.java:156)
[19:41:21] [Thread-6/INFO]: org.lwjgl.openal.AL.create(AL.java:102)
[19:41:21] [Thread-6/INFO]: org.lwjgl.openal.AL.create(AL.java:206)
[19:41:21] [Thread-6/INFO]: paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164)
[19:41:21] [Thread-6/INFO]: paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
[19:41:21] [Thread-6/INFO]: paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
[19:41:21] [Thread-6/INFO]: paulscode.sound.CommandThread.run(CommandThread.java:121)
[OptiFine] Mipmap levels: 4
[OptiFine] Multitexture: false
[OptiFine] BetterGrass: Parsing default configuration optifine/bettergrass.properties
[19:41:22] [Sound Library Loader/WARN]: ERROR MESSAGE:
[19:41:22] [Sound Library Loader/INFO]: Could not locate OpenAL library.
[19:41:22] [Sound Library Loader/INFO]: Starting up SoundSystem...
[19:41:22] [Client thread/INFO]: Created: 512x512 textures-atlas
[Shaders] allocateTextureMap 4 512 512
[19:41:22] [Thread-8/INFO]: Switching to No Sound
[19:41:22] [Thread-8/INFO]: (Silent Mode)
[OptiFine] *** Reloading custom textures ***
[19:41:22] [Sound Library Loader/INFO]: Sound engine started
[19:41:24] [Client thread/INFO]: Stopping!

pokechu22

@@unknown: While we can't accept reports for modded versions, that is the same issue as this one (and we've already confirmed it for 1.10.2). You can always workaround it in-game with F3+T (both vanilla and optifine).

kumasasa

According to MC-105997 this happens only after having applications like Discord/TeamSpeak open. Can anyone confirm that ?

migrated

Cannot confirm it on my hardware at all anymore. Maybe new drivers/windows/Minecraft fixed the issue for me. Teamspeak running or not makes no difference.

pokechu22

No; teamspeak isn't required to reproduce this issue. I suspect that in some cases teamspeak might be able to cause it but it wouldn't be the only way. (Rather, I suspect it's a case of the person having discord or teamspeak open most of the times they launch the game, meaning that most of the time that they reproduce the issue discord or teamspeak is open).

I'll wait to see if I manage to reproduce this on my computer before saying it's fixed; this bug is always hard to reproduce when one is trying to. It may vary well vary by drivers/windows install.

migrated

I have no sound and didn't want to open a report if this is ongoing. Have opened and closed game multiple times over two days and nothing. Sorry if this is a repeat but cannot find out how to resolve this.
Tried again and sound is working but will watch this thread to see if others have problems or mine re-occurs.

migrated

Why sometimes, the game cannot locate OpenAL library in the first place?

That's why the game switches to no sound mode.

migrated

Confirmed in 16w36a

migrated

16w39a too.

migrated

Just happened to 16w40a.

migrated

Confirmed in 16w41a

migrated

Still happens in 16w42a

migrated

Confirmed in 16w43a

migrated

Confirmed in 16w44a

migrated

Confirmed in 1.11pre1

migrated

Confirmed in 16w50a

migrated

Still happened to 1.11.2

Sonicwave

Confirmed in 1.12-pre2

Erik Broes

Confirmed in 1.12

migrated

Please do not mark unreleased versions as affected.
You don't have access to them yet.

FaRo1

Well, I tried. 😃

migrated

}xDDD

(Maybe shall be added as affected as soon as the release is out; probably already known it isn't fixable for release.)

(Love those rare, but funny moments here on Mojira 😉)

migrated

It seems that I can't use these commands of F3+T/S (for 10 seconds). How is that?
Also, this no-sound startup appears to happen over and over in my occasion and it isn't as rare as it should be. Is it related to the new version of the launcher?

pokechu22

If you're consistently getting this, rather than it randomly failing, then it's probably an issue with your actual sound setup - make sure you've got speakers enabled and unmuted, sound cables plugged in, the game is unmuted in the volume mixer, stuff like that. This issue specifically is for the random issue with OpenAL.

Also, note that F3 + T is just pressed; only F3 + C needs to be held (because the result of that is something you don't want to do accidently). If it's not working, you might need to use FN + F3 + T.

migrated

This problem happens every time on my MacOS Launcher. With no bin folder in the new launcher, I am unable to update LWJGL manually.

pokechu22

Marking as fixed. 17w43a updates LWJGL (and thus OpenAL), so the underlying issue should be fixed; I used a script to launch the game 116 times, and the OpenAL issue never happened.

Note that sounds are completely broken in 17w43a, but that's MC-121276, and not this bug. OpenAL does start successfully each time, so that's a success.

migrated

I'm having this problem in macOS 12.6, with a freshly installed vanilla launcher on a new machine account. I'm using only internal speakers, which work fine with other apps. It happens on every single run, not randomly. Here is the log file.

21:41:42 launcher Preparing to launch minecraft client for 1.12.2
21:41:42 launcher Checking installations.
21:41:42 launcher Minecraft client 1.12.2 is ready to start.
21:41:42 launcher Starting!
21:41:42 launcher Using default game log configuration client-1.12.xml (outputs XML)
21:41:43 bib Setting user: tntaws
21:41:45 bid Skipping bad option: lastServer:
21:41:45 bib LWJGL Version: 2.9.4
21:41:45 cev Reloading ResourceManager: Default
21:41:45 chm Starting up SoundSystem...
21:41:46 chm Initializing LWJGL OpenAL
21:41:46 chm (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
21:41:46 chm Error in class 'LibraryLWJGLOpenAL'
21:41:46 chm Unable to initialize OpenAL. Probable cause: OpenAL not supported.
21:41:46 chm ERROR MESSAGE:
21:41:46 chm Could not open ALC device
21:41:46 chm STACK TRACE:
21:41:46 chm org.lwjgl.openal.AL.init(AL.java:167)
21:41:46 chm org.lwjgl.openal.AL.create(AL.java:153)
21:41:46 chm org.lwjgl.openal.AL.create(AL.java:102)
21:41:46 chm org.lwjgl.openal.AL.create(AL.java:206)
21:41:46 chm paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164)
21:41:46 chm paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
21:41:46 chm paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
21:41:46 chm paulscode.sound.CommandThread.run(CommandThread.java:121)
21:41:46 chm ERROR MESSAGE:
21:41:46 chm Could not open ALC device
21:41:46 chm Starting up SoundSystem...
21:41:46 chm Switching to No Sound
21:41:46 chm (Silent Mode)
21:41:47 chm Sound engine started
21:41:47 cdp Created: 1024x512 textures-atlas

[Mod]Les3awe

This issue has been marked fixed in 17w43a.

pokechu22

If it's happening every time, it's probably a configuration error on your end and not this specific bug; check 💬 community support (e.g. IRC).

migrated

It happened to me too since snapshot 18w01.

[14:48:44] [Client thread/INFO]: Setting user: robingravel
[14:48:47] [Client thread/WARN]: Skipping bad option: lastServer:
[14:48:47] [Client thread/INFO]: LWJGL Version: 3.1.2 build 29
[14:48:49] [Client thread/INFO]: Reloading ResourceManager: Default
[14:48:50] [Client thread/WARN]: Missing sound for event: minecraft:block.pumpkin.carve
[14:48:50] [Sound Library Loader/INFO]: Starting up SoundSystem...
[14:48:50] [Thread-2/INFO]: Initializing No Sound
[14:48:50] [Thread-2/INFO]: (Silent Mode)
[14:48:53] [Thread-2/INFO]: OpenAL initialized.
[14:48:53] [Sound Library Loader/INFO]: Sound engine started
[14:48:56] [Client thread/INFO]: Created: 1024x512 textures-atlas
[14:48:58] [Client thread/INFO]: Narrator library for x64 successfully loaded
[14:48:58] [Client thread/ERROR]: Realms module missing
[14:49:16] [Client thread/INFO]: Loaded 0 recipes
[14:49:16] [Client thread/INFO]: Loaded 0 advancements
[14:49:16] [Server thread/INFO]: Starting integrated minecraft server version 18w01a
[14:49:16] [Server thread/INFO]: Generating keypair
[14:49:16] [Server thread/INFO]: Reloading ResourceManager: Default
[14:49:17] [Server thread/INFO]: Loaded 466 recipes
[14:49:18] [Server thread/INFO]: Loaded 509 advancements
[14:49:18] [Server thread/INFO]: Preparing start region for level 0
[14:49:19] [Server thread/INFO]: Preparing spawn area: 0%
[14:49:20] [Server thread/INFO]: Preparing spawn area: 27%
[14:49:21] [Server thread/INFO]: Preparing spawn area: 73%
[14:49:22] [Server thread/INFO]: Changing view distance to 8, from 10
[14:49:25] [Server thread/INFO]: TextComponent{text='robingravel', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}[local:E:c8a8f2d8] logged in with entity id 297 at (439.8179094354087, 71.0, 1097.6689888719923)
[14:49:25] [Server thread/INFO]: robingravel joined the game
[14:49:28] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2484ms behind, skipping 49 tick(s)
[14:49:29] [Client thread/INFO]: Loaded 238 advancements

pokechu22

There isn't a AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005 in that so that's probably a different issue, but try launching with -Dorg.lwjgl.util.Debug=true in the JVM arguments (and also make sure you didn't mute the sound ingame since IIRC at one point that also enabled "no sound" mode)

Josh74000MC

https://minecraft.net/en-us/download/alternative get the old launcher so it fixes the problems.

pokechu22

The old launcher will not solve this problem. It is purely an issue with the library the game uses, which requires updating that library (as was done in 1.13).

migrated

I'm still having the same problems since last year, https://bugs.mojang.com/browse/MC-116891 I tried everything you name, different OS, launchers, soundcards, speakers, headphones, uninstall all java and reinstalling, uninstalling all audio drivers and reinstalling, this is crazy....

pokechu22

Are you running 1.13? If you're still running 1.12 or 1.11, then it'll still happen; the issue is only fixed (and can only be fixed due to the nature of the bug) when you update to 1.13.

migrated

Yeah I'm on the latest right now, i've had this problem since 1.9 last year I think, a very long time

pokechu22

That looks like a different issue, given that there isn't a "AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005"; try contacting [Community IRC Support](http://hopper.minecraft.net/help/technical-support-resources/) and they might be able to help you. (This is probably a driver issue of some sort)

migrated

I've tried on the Minecraft Forum's that it directed me to last year
https://www.minecraftforum.net/forums/support/java-edition-support/2814384-my-minecraft-has-no-sound-ive-tried-everything

this was my last resort, thanks for your time anyways, much appreciated x

migrated

I have finally found the cause of why my Minecraft sound wasn't working, turns out to be some critical missing files in my windows 10, so I recently reinstalled my windows 10 and started from scratch and my Minecraft is back to normal after a year of no sound, I made a mistake of thinking upgrading from Windows 7 would count as a reinstall just with a new OS a year ago but nope, thanks for all the effort though guys, much love xx

pokechu22

(Unassigned)

Confirmed

audio, lwjgl, openal

Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w06a, Snapshot 13w07a, Minecraft 1.8.8, ..., Minecraft 1.12 Pre-Release 5, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2

Minecraft 17w43a

Retrieved