Dynamic Surroundings

Dynamic Surroundings

51M Downloads

Sound System Crash

Lonemind opened this issue ยท 5 comments

commented

Mod Version: 1.0.5.12

*Forge Version:*10.13.4.1614

Description: During play the console will spam the following:
[Client thread/WARN]: Unable to play unknown soundEvent: minecraft:
Eventually it will cause the sound system to crash and the console will print the following:

[23:12:04] [Client thread/WARN]: Autorestart of sound system!
[23:12:04] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:message:69]:
[23:12:04] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down...
[23:12:09] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:errorMessage:131]: Error in class 'LibraryLWJGLOpenAL'
[23:12:09] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:errorMessage:132]: Stream thread did not die!
[23:12:09] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: Ignoring errors... continuing clean-up.
[23:12:09] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com
[23:12:09] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:message:69]:
[23:12:09] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69]:
[23:12:09] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
[23:12:09] [Thread-50/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[23:12:09] [Thread-50/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[23:12:09] [Thread-50/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.

This seems to happen only near my Witch grinder. I suspect that Witches are supposed to make a sound other than or as well as the one they currently make when taking damage. A sound that DS cannot find.

When playing on a server this became such a lagfest clientside that I had to disable the mod which instantly removed all problems.

Edit: No lag is experienced on single player.

commented

Backporting the sound engine crash patches from the more current builds.

commented

Pushed v1.0.6.0 with fixes.

commented

Actually the unknown sound event is caused by the sound system that crashed, not the other way around. The crash in the sound system is due to a bug in the underlying sound system that Minecraft is using. Dynamic Surroundings does a restart of the sound system when it detects the streaming sound thread has died.

What you can do is tag the Witch death sound for culling using the Individual Sound Configuration dialog in the mod config. This should reduce pressure on the sound engine. Failing that you can disable auto recovery and just let the streaming sound thread stay dead. The side effect of doing this is that you will no longer get streaming sounds, which include music and the biome sounds of Dynamic Surroundings.

commented

Can you at least include an option to remove the notification in game? I don't really even notice when the sound crashes and restarts... but I notice the message that pops up, which makes me concerned for no real reason.

commented

Thank you for such a prompt response, OreCruncher. Much obliged.

I have not noticed in game notifications of this error. I only receive them in the console. I'm rather glad they were there seeing as it helped me deduce what the problem was.

I'm having trouble disabling the witch sound. I'm unsure what to place in the config. Here's what I have.

Sounds to block from playing [default: [dsurround:bison]]
S:"Blocked Sounds" <
dsurround:bison
minecraft:witch
>

I tried dsurround:witch first, thinking that DS added the witch sound. Where can I discover a list of these sound files? I sure wouldn't mind broadening my knowledge.