SleepyTrousers / EnderIO-1.5-1.12

http://enderio.com/
The Unlicense
729 stars 355 forks source link

[Audio ]Fatal FPS Freeze after a thread6, thread7 net.minecraft.client.audio.SoundManager #5048

Closed alxcool closed 4 years ago

alxcool commented 5 years ago

Forge 2765 Singleplayer 1.12.2 End+IO+GasConduits-1.12.2-1.0.0 EnderCore-1.12.2-0.5.45 EnderIO-1.12.2-5.0.40 EnderIO-zoo-1.12.2-5.0.39 + TheBetweenlands-3.4.4-universal TheBetweenlands-3.4.3-universal

Issue Description:

Hi! Recently, I've open a portal to a thebetweenland's dimension, after having played for a while. Then, I've experimented various lag peak. My first though was that this was temporary as new chunks where generated. Unfortunately, after a varied amount of min or sec inevitably, I had to use windows task manager to kill or close minecraft as the whole system was running quite slow, and the in-game time had froze with a fps of 0.

What happens:

Since I had just a few trouble using ender/io for any other task, I'v concentrated my effort trying to solve betweenlands files first. Eventually I've read my game's log and found an incredibly long amount of repeated error line. It seems like if after having fail to play a sound file, the game trigger a loop to try again where any attempt ended by including a few more of the same lines... [Thread-7/ERROR] [net.minecraft.client.audio.SoundManager]: Error in class 'ChannelLWJGL OpenAL' [Thread-7/ERROR] [net.minecraft.client.audio.SoundManager]: Invalid enumerated parameter value.

So far, there was no pattern of troublesome mods to name after this issue. Eventually, I've tried to find my last action before the fatal game' freeze occur. Most of the time, game's is about to crash as soon as the player join the world. After a few tries, I've found a possible link with thaumcraft, or ender io. Then, I've restarted my game without thaumcraft, but the error line appear again in the game'log. After I've traded my bench's mods with enderio and 10min after playing, I could say that this have solved the problem!

What you expected to happen:

TheBetweenland mod queue a good amount of ambient sound, neutral mobs sound and weather or rift related sounds. This probably explain why I din't realize this issue prior to this mod's dimension generation.

Expected behavior, could be that while wearing a fully upgraded ender armor, I could be able to explorer thebetweenlands's dimension. If a problem occur with a sound file, I wish the game platform could be able to disable that sound or the related event to prevent reloading the whole issue in a deadly loop.

Steps to reproduce:

  1. Personally I'm not sure if reproducing this issue would be easy
  2. there could be a mix of conflicting sound files link to exploration near a spirit tree
  3. or depend on the rift event to trigger a "close every rifts" event. Note that this event reduce ambient brightness to its minimum. ...

Affected Versions (Do not use "latest"):

Plz read this issue first line for a list of the most relevant active mods. I'l make sure to share a complete mod list in a latest.log. So far I could say that I'm not using optifine. Since I own a old laptop with a intel core i7 graphic chip, here a few

Performance enhancement mods.

Thebetweenlands+BetweenOres-1.1.2 CTM-MC1.12.2-0.3.3.22 .-BetterPlacement-1.0.0-1

Surge-1.12.2-2.0.76 foamfix-0.10.2-1.12.2 VanillaFix-1.0.10-99 .- JustEnoughIDs-1.0.1-16 5-The 5zig Mod v3.12.5 for Minecraft 1.12.2 AromaBackup-1.12.2-3.0.0.0.b116 .- Aroma1997Core-1.12.2-2.0.0.0.b162 CraftingTweaks_1.12.2-8.1.9 Stackie-Mod-1.12.2 .-LunatriusCore-1.12.2 randompatches-1.12.2-1.14.0.0 FastWorkbench-1.12.2-1.5.3 .- FastFurnace-1.12.2-1.1.0 .- Placebo-1.12.2-1.5.1

Game's rules mods

chopdownupdated-1.12.2-1.2.4 ExtendedDays-1.12.2-0.2.9-28 .- SilentLib-1.12.2-3.0.9-159 FastLeafDecay-Mod-1.12.1 FistsOfFlesh-1.3.1 sunscreen-1.0 tombstone-3.3.2-1.12 persistentcake-1.12-2.0.0 VillagerTrades-1.12-0.6.4 .- Born+In+A+Barn+V1.8-1.12-1.1 .- [1.12]MoVillages-1.5.4 easiervillagertrading-1.12-forge14.21.1.2387-1.3 Following+Villagers-1.0.1 creaturebeacons-1.12.2-1.0.1

Informational mods

XaerosWorldMap_1.3.3_Forge_1.12 AppleSkin-mc1.12-1.0.9 .- AppleCore-mc1.12.2-3.1.4 Wawla-1.12.2-2.5.270 InGame-Info-XML-Mod-1.12.2 jei_1.12.2-4.14.4.264 .- jetif-1.12.2-1.2.0 .- JEROreIntegration-1.12.2-1.1.0 .- - JustEnoughResources-1.12.2-0.8.10.50 .- jeiintegration_1.12.2-1.5.1.36 .- jeivillagers-1.12-1.0.2 .- blockdrops-1.12.2-1.4.0 GiacomosTravelogue-1.12.2-1.0.6 .- - jeibees-0.9.0.5-mc1.12.2 .- - ThaumicJEI-1.12.2-1.5.3-20 Hwyla-1.8.26-B41_1.12.2 NaturesCompass-1.12.2-1.5.1 dwmh (horse)-2.0.1

Others activated modules include :

Botania+r1.10-360 Thaumcraft-1.12.2-6.1.BETA26 BiomesOPlenty-1.12.2-7.0.1.2425-universal forestry_1.12.2-5.8.2.383 ImmersiveEngineering-0.12-89 industrialcraft-2-2.8.111-ex112 TConstruct-1.12.2-2.12.0.115 . + TAIGA Mekanism-1.12.2-9.4.13.349 PrimalCore-1.12.2-0.6.104 CoFHCore-1.12.2-4.6.2.25-universal TheBetweenlands-3.4.2-universal

Your most recent log file where the issue was present:

latest.log debug-5.log.gz debug-4.log.gz debug-3.log.gz debug-2.log.gz debug-1.log.gz debug.log 2019-02-22-7.log.gz 2019-02-22-6.log.gz 2019-02-22-5.log.gz 2019-02-22-4.log.gz 2019-02-22-3.log.gz 2019-02-22-2.log.gz 2019-02-22-1.log.gz

To spare some reading time

Here a list of hypothesis I've made and task I've tried with a date stamp.

[Thread-7/ERROR] [net.minecraft.client.audio.SoundManager]: Error in class 'ChannelLWJGL OpenAL' [Thread-7/ERROR] [net.minecraft.client.audio.SoundManager]: Invalid enumerated parameter value.

[Thread-7/ERROR] [net.minecraft.client.audio.SoundManager]: Error unqueuing stream buffers in method 'preLoadBuffers'

[Thread-6/ERROR] [net.minecraft.client.audio.SoundManager]: Error in class 'LibraryLWJGLOpenAL'

[Server thread/WARN] [net.minecraft.server.MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 7025ms behind, skipping 140 tick(s)

Pause the game before it crash

I've managed to keep minecraft in a console readable state for an extended period of time by using main menu to pause the game.

[Thread-6/ERROR] [net.minecraft.client.audio.SoundManager]: Error in class 'LibraryLWJGLOpenAL'

[19:57:50] [Thread-6/ERROR] [net.minecraft.client.audio.SoundManager]: Error in class 'LibraryLWJGLOpenAL'

[19:59:52] [Thread-6/ERROR] [net.minecraft.client.audio.SoundManager]: Error in class 'LibraryLWJGLOpenAL'

[19:59:52] [Thread-6/ERROR] [net.minecraft.client.audio.SoundManager]: Error in class 'LibraryLWJGLOpenAL'

[20:00:13] [Thread-6/ERROR] [net.minecraft.client.audio.SoundManager]: Error in class 'LibraryLWJGLOpenAL'

[20:00:13] [Thread-6/ERROR] [net.minecraft.client.audio.SoundManager]: Error in class 'LibraryLWJGLOpenAL'

[20:01:16] [Thread-6/ERROR] [net.minecraft.client.audio.SoundManager]: Error in class 'LibraryLWJGLOpenAL'

[20:01:16] [Thread-6/ERROR] [net.minecraft.client.audio.SoundManager]: Error in class 'LibraryLWJGLOpenAL'

[20:01:16] [Thread-6/ERROR] [net.minecraft.client.audio.SoundManager]: Error in class 'LibraryLWJGLOpenAL'

Change in betweenlands file version

Hypothesis : As soon as the player's connect, fail to load a sound then repeat the behavior on a loop while increasing the amount of line in every turn. Designated memory is fine... eventually its the material for any others software who can't follow... 3.4.3 [20:54:06] [Thread-6/ERROR] [net.minecraft.client.audio.SoundManager]: Error in class 'LibraryLWJGLOpenAL'

[20:54:06] [Thread-7/ERROR] [net.minecraft.client.audio.SoundManager]: Error in class 'ChannelLWJGL OpenAL' [20:54:06] [Thread-7/ERROR] [net.minecraft.client.audio.SoundManager]: Invalid enumerated parameter value. [20:54:20] [Thread-6/ERROR] [net.minecraft.client.audio.SoundManager]: Error in class 'LibraryLWJGLOpenAL'

[20:54:21] [Thread-7/ERROR] [net.minecraft.client.audio.SoundManager]: Error in class 'ChannelLWJGL OpenAL' [20:54:55] [main/INFO] [net.minecraft.client.gui.GuiNewChat]: [CHAT] [Debug]: Reloaded resource packs [20:59:06] [main/WARN] [net.minecraft.client.audio.SoundManager]: Missing sound for event: thaumcraft:runicshieldcharge [20:59:06] [main/INFO] [net.minecraft.client.audio.SoundManager]: SoundSystem shutting down...

3.4.2 [Thread-7/ERROR] [net.minecraft.client.audio.SoundManager]: Error in class 'ChannelLWJGL OpenAL' [21:22:26] [Thread-7/ERROR] [net.minecraft.client.audio.SoundManager]: Invalid enumerated parameter value. [21:22:27] [Thread-6/ERROR] [net.minecraft.client.audio.SoundManager]: Error in class 'ChannelLWJGL OpenAL' [21:22:27] [Thread-6/ERROR] [net.minecraft.client.audio.SoundManager]: Invalid enumerated parameter value.

Freeze 2 sec after joining the game.

Second try, I've removed Thaumcraft, but the error line is still present. Third try, with thaumcraft, without enderio ... 10min later, the error line no longer appear.

[pastebin/gist/etc link here]

Final notice, let me know if I could help some more with this issue! Good luck and thk for the nice playing hours around ender io mods!!!

alxcool commented 5 years ago

I feel concern about this issue... Might be more complex than what it seems. Yesterday I've included 1-2 more mods to my casual list who triggered this issue without the use of enderio's mods.

What I could offer is to move this issue onto a different section, as it may not be directly link to ender io. I could also offer to run more test in order to figure out ... what cause ... this parts of minecraft launcher to fail to load properly...

[05:11:34] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager]: Starting up SoundSystem... [05:11:34] [Thread-6/INFO] [net.minecraft.client.audio.SoundManager]: Initializing LWJGL OpenAL [05:11:34] [Thread-6/INFO] [net.minecraft.client.audio.SoundManager]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [05:11:34] [Thread-6/INFO] [net.minecraft.client.audio.SoundManager]: OpenAL initialized.

alxcool commented 5 years ago

Hi! I felt like It was not quite kind of me to lend you my problem without trying to help solving... I'l update this post in 2-3 days and Will retry to reproduce this issue whit a minimum of mods.