mojira.dev
MC-67257

SoundSystem & ResourceManager restart/reload when changing some graphical settings

This restarting causes major GUI lag when it happens. I'm not sure if any other graphical settings changes causes this, but I do know that render distance does not (see log for the uneventful change from 16 to 12). All the restarts in the log are due to mipmap changes.

[22:39:58] [Client thread/INFO]: Setting user: Hynes_Ketchup
[22:39:58] [Client thread/INFO]: (Session ID is token:182d33b346a443b8ad7bfa0c42bb9844:75fcf9d9b0994fd2bb6025254082b230)
[22:39:59] [Client thread/INFO]: LWJGL Version: 2.9.1
[22:40:00] [Client thread/INFO]: Reloading ResourceManager: Default
[22:40:00] [Sound Library Loader/INFO]: Starting up SoundSystem...
[22:40:00] [Client thread/WARN]: File minecraft:sounds/mob/ghast/fireball.ogg does not exist, cannot add it to event minecraft:item.fireCharge.use
[22:40:00] [Thread-6/INFO]: Initializing LWJGL OpenAL
[22:40:00] [Thread-6/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[22:40:00] [Thread-6/INFO]: OpenAL initialized.
[22:40:01] [Sound Library Loader/INFO]: Sound engine started
[22:40:02] [Client thread/INFO]: Created: 512x512 textures-atlas
[22:40:07] [Client thread/INFO]: Deleting level New World
[22:40:07] [Client thread/INFO]: Attempt 1...
[22:40:09] [Client thread/INFO]: Deleting level New World-
[22:40:09] [Client thread/INFO]: Attempt 1...
[22:40:33] [Server thread/INFO]: Starting integrated minecraft server version 14w33a
[22:40:33] [Server thread/INFO]: Generating keypair
[22:40:33] [Server thread/INFO]: Converting map!
[22:40:33] [Server thread/INFO]: Scanning folders...
[22:40:33] [Server thread/INFO]: Total conversion count is 0
[22:40:33] [Server thread/INFO]: Preparing start region for level 0
[22:40:34] [Server thread/INFO]: Preparing spawn area: 9%
[22:40:35] [Server thread/INFO]: Preparing spawn area: 19%
[22:40:36] [Server thread/INFO]: Preparing spawn area: 32%
[22:40:37] [Server thread/INFO]: Preparing spawn area: 46%
[22:40:38] [Server thread/INFO]: Preparing spawn area: 56%
[22:40:39] [Server thread/INFO]: Preparing spawn area: 73%
[22:40:40] [Server thread/INFO]: Preparing spawn area: 95%
[22:40:41] [Server thread/INFO]: Changing view distance to 16, from 10
[22:40:41] [Server thread/INFO]: Hynes_Ketchup[local:E:86eb35da] logged in with entity id 66 at (-248.5, 70.0, 236.5)
[22:40:41] [Server thread/INFO]: Hynes_Ketchup joined the game
[22:40:48] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 7080ms behind, skipping 141 tick(s)
[22:40:50] [Server thread/INFO]: Hynes_Ketchup has just earned the achievement [Taking Inventory]
[22:40:50] [Client thread/INFO]: [CHAT] Hynes_Ketchup has just earned the achievement [Taking Inventory]
[22:41:04] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 3241ms behind, skipping 64 tick(s)
[22:41:30] [Server thread/INFO]: Saving and pausing game...
[22:41:30] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[22:41:30] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[22:41:30] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[22:41:39] [Server thread/INFO]: Changing view distance to 12, from 16
[22:44:09] [Server thread/INFO]: Saving and pausing game...
[22:44:09] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[22:44:09] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[22:44:09] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[22:44:12] [Client thread/INFO]: Reloading ResourceManager: Default
[22:44:12] [Client thread/INFO]: SoundSystem shutting down...
AL lib: (WW) FreeDevice: (0x7ffef240ba00) Deleting 9 Buffer(s)
[22:44:12] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[22:44:12] [Sound Library Loader/INFO]: Starting up SoundSystem...
[22:44:12] [Client thread/WARN]: File minecraft:sounds/mob/ghast/fireball.ogg does not exist, cannot add it to event minecraft:item.fireCharge.use
[22:44:13] [Thread-9/INFO]: Initializing LWJGL OpenAL
[22:44:13] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[22:44:13] [Thread-9/INFO]: OpenAL initialized.
[22:44:13] [Sound Library Loader/INFO]: Sound engine started
[22:44:13] [Client thread/INFO]: Created: 512x512 textures-atlas
[22:44:14] [Client thread/INFO]: Reloading ResourceManager: Default
[22:44:14] [Client thread/INFO]: SoundSystem shutting down...
[22:44:14] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[22:44:14] [Sound Library Loader/INFO]: Starting up SoundSystem...
[22:44:14] [Client thread/WARN]: File minecraft:sounds/mob/ghast/fireball.ogg does not exist, cannot add it to event minecraft:item.fireCharge.use
[22:44:14] [Thread-11/INFO]: Initializing LWJGL OpenAL
[22:44:14] [Thread-11/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[22:44:14] [Thread-11/INFO]: OpenAL initialized.
[22:44:15] [Sound Library Loader/INFO]: Sound engine started
[22:44:15] [Client thread/INFO]: Created: 512x512 textures-atlas
[22:44:15] [Client thread/INFO]: Reloading ResourceManager: Default
[22:44:16] [Client thread/INFO]: SoundSystem shutting down...
[22:44:16] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[22:44:16] [Sound Library Loader/INFO]: Starting up SoundSystem...
[22:44:16] [Client thread/WARN]: File minecraft:sounds/mob/ghast/fireball.ogg does not exist, cannot add it to event minecraft:item.fireCharge.use
[22:44:16] [Thread-13/INFO]: Initializing LWJGL OpenAL
[22:44:16] [Thread-13/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[22:44:16] [Thread-13/INFO]: OpenAL initialized.
[22:44:16] [Sound Library Loader/INFO]: Sound engine started
[22:44:17] [Client thread/INFO]: Created: 512x512 textures-atlas
[22:44:17] [Client thread/INFO]: Reloading ResourceManager: Default
[22:44:17] [Client thread/INFO]: SoundSystem shutting down...
[22:44:17] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[22:44:17] [Sound Library Loader/INFO]: Starting up SoundSystem...
[22:44:17] [Client thread/WARN]: File minecraft:sounds/mob/ghast/fireball.ogg does not exist, cannot add it to event minecraft:item.fireCharge.use
[22:44:17] [Thread-15/INFO]: Initializing LWJGL OpenAL
[22:44:17] [Thread-15/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[22:44:18] [Thread-15/INFO]: OpenAL initialized.
[22:44:18] [Sound Library Loader/INFO]: Sound engine started
[22:44:18] [Client thread/INFO]: Created: 512x512 textures-atlas
[22:45:02] [Server thread/INFO]: Saving and pausing game...
[22:45:02] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[22:45:02] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[22:45:02] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[22:47:06] [Server thread/INFO]: Saving and pausing game...
[22:47:06] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[22:47:06] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[22:47:06] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[22:47:09] [Client thread/INFO]: Reloading ResourceManager: Default
[22:47:09] [Client thread/INFO]: SoundSystem shutting down...
[22:47:09] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[22:47:09] [Sound Library Loader/INFO]: Starting up SoundSystem...
[22:47:09] [Client thread/WARN]: File minecraft:sounds/mob/ghast/fireball.ogg does not exist, cannot add it to event minecraft:item.fireCharge.use
[22:47:10] [Thread-17/INFO]: Initializing LWJGL OpenAL
[22:47:10] [Thread-17/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[22:47:10] [Thread-17/INFO]: OpenAL initialized.
[22:47:10] [Sound Library Loader/INFO]: Sound engine started
[22:47:10] [Client thread/INFO]: Created: 512x512 textures-atlas
[22:47:11] [Client thread/INFO]: Reloading ResourceManager: Default
[22:47:11] [Client thread/INFO]: SoundSystem shutting down...
[22:47:11] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[22:47:11] [Sound Library Loader/INFO]: Starting up SoundSystem...
[22:47:11] [Client thread/WARN]: File minecraft:sounds/mob/ghast/fireball.ogg does not exist, cannot add it to event minecraft:item.fireCharge.use
[22:47:11] [Thread-19/INFO]: Initializing LWJGL OpenAL
[22:47:11] [Thread-19/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[22:47:11] [Thread-19/INFO]: OpenAL initialized.
[22:47:12] [Sound Library Loader/INFO]: Sound engine started
[22:47:12] [Client thread/INFO]: Created: 512x512 textures-atlas
[22:47:12] [Client thread/INFO]: Reloading ResourceManager: Default
[22:47:12] [Client thread/INFO]: SoundSystem shutting down...
[22:47:12] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[22:47:12] [Sound Library Loader/INFO]: Starting up SoundSystem...
[22:47:12] [Client thread/WARN]: File minecraft:sounds/mob/ghast/fireball.ogg does not exist, cannot add it to event minecraft:item.fireCharge.use
[22:47:13] [Thread-21/INFO]: Initializing LWJGL OpenAL
[22:47:13] [Thread-21/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[22:47:13] [Thread-21/INFO]: OpenAL initialized.
[22:47:13] [Sound Library Loader/INFO]: Sound engine started
[22:47:13] [Client thread/INFO]: Created: 512x512 textures-atlas
[22:49:44] [Server thread/INFO]: Saving and pausing game...
[22:49:44] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[22:49:44] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[22:49:44] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[22:49:46] [Server thread/INFO]: Stopping server
[22:49:46] [Server thread/INFO]: Saving players
[22:49:46] [Server thread/INFO]: Saving worlds
[22:49:46] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[22:49:46] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[22:49:46] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[22:49:46] [Client thread/INFO]: Stopping!
[22:49:46] [Client thread/INFO]: SoundSystem shutting down...
AL lib: (WW) FreeDevice: (0x7ffef62e7a00) Deleting 6 Buffer(s)
[22:49:46] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com

(I apologize if this is a duplicate. I did do a lot of searching before creating this)

Linked issues

Comments 4

No, previously, the resources were reloaded only when the game was resumed. Now, the game reloads the resources while the setting is being changed in the pause menu.

Yeah, that specifically is the weird part. I was also wondering why the SoundSystem needs rebooting for a graphical change, but that's more out of curiosity.

What is odd is that mipmaps used to be an outlier – now only particles and brightness do not update live; the rest of the settings act like mipmaps now.

a

(Unassigned)

Unconfirmed

Minecraft 14w33a

Retrieved