Impelon / Disenchanter

A small Mod for MinecraftForge essentially adding a block to disenchant items.
https://minecraft.curseforge.com/projects/the-disenchanter-mod
BSD 2-Clause "Simplified" License
7 stars 13 forks source link

Disenchanter 1.7 causes white and black screen #58

Open BunE-exe opened 3 years ago

BunE-exe commented 3 years ago

After updating the disenchanter mod to 1.7, after a few minutes of gameplay the screen went black but was still playable, except for visual aspects (this was caused by fast render in Optifine). However turning fast render only revealed the GUI, the screen was fully white except for the GUI.

Impelon commented 3 years ago

huh... Uhhh wow this sounds weird. Can you reproduce this issue and maybe make a video of it? If not can you describe what you were doing when the issue occurred? It sounds like this occurs while using the disenchantmenr-table GUI? Or does this just occur on it's own while in the world?

If you cannot reproduce the issue, I guess we can ignore that. If you can:

Are there any errors in the game log? You can make a pastebin with the game log, if you want. I can answer some of the questions (forge version, mods installed, errors) for myself then.

Do you have any other mods installed? What about the Forge version? Aka. what would I need to do to reproduce the issue? I can try to reproduce it then myself although i cannot guarantee it'll work.

Might also be worth a shot to open an issue at Optifine, they should be more proficient when it comes to this kind of stuff and maybe they know what causes the issue. If you have already opened one, could you link it here, please?

Overall this sounds very weird to me, because this should not happen as I did not really change the graphic aspect of the game. The only change with the GUI is that option that the variant of the table are shown in the upper right corner. You can try to turn that off, maybe that helps. If it does i know where to look for the issue.

BunE-exe commented 3 years ago

White screen:

Screenshot (348)

The black screen:

image

BunE-exe commented 3 years ago

I've fixed the bug by back rolling to 1.6. But it occurs are a specified time either 5 - 7 minutes of gameplay

Forge version: 14.23.52854

Mods installed and sorted by date:

Mods after the fix (11/19~21/2020):

=[11/21/2020]= BiblioCraft[v2.4.5][MC1.12.2] tlsywen-1.1 [1.12]MoVillages-1.5.4 TrashSlot_1.12.2-8.4.10 easiervillagertrading-1.12-forge14.21.1.2387-1.2 CraftingTweaks_1.12.2-8.1.9 Placebo-1.12.2-1.6.0 [1.12]bspkrsCore-universal-7.6.0.1 Apotheosis-1.12.2-1.12.5 ironchest-1.12.2-7.0.72.847

=[11/19/2020]= OpenModsLib-1.12.2-0.12.2 Cucumber-1.12.2-1.1.3 OpenBlocks-1.12.2-1.8.1 MysticalAgriculture-1.12.2-1.7.5

Mods before the fix (11/2-18/2020):

=[11/18/2020]= disenchanter-[1.12]1.6

=[11/17/2020]= DynamicSurroundings-1.12.2-3.6.2.1 RecurrentComplex-1.4.8.2

=[11/16/2020]= LibraryEx-1.12.2-1.1.3 NetherEx-1.12.2-2.1.8

=[11/15/2020]= xptome-1.12.2-v1.1.4 stacksize-1.12.2-1.0 SimpleStorageNetwork-1.12.2-1.7.11 searchablechests-1.12-1.5.3-3

=[11/14/2020]= lycanitesmobs-1.12.2-2.0.7.2 SpawnerControl-1.6.3b trashcans-1.0.3a-mc1.12 [1.12]UncraftingTable-1.8-beta6 Ruins-1.12.2 TinyMobFarm-1.12.2-1.0.5 buildcraft-all-7.99.24.7 JustEnoughResources-1.12.2-0.9.2.60 noRecipeBook_v1.2.2formc1.12.2 jeiintegration_1.12.2-1.6.0 Engender+Companion+V0.3PA+1.12.2

=[11/13/2020]= switchbow-1.6 u_team_core-1.12.2-2.2.5.147 useful_backpacks-1.12.2-1.5.4.85 carrotslib-mc1.12.2-1.0.0b1 armorunder-mc1.12.2-1.0.0

=[11/12/2020]= Splatcraft-2.2.2

=[11/8/2020]= FarmingForBlockheads_1.12.2-3.1.28 cosmeticbeds-1.12.2-1.0.2.2 ChunkAnimator-MC1.12-1.2 FutureVersions+v1.3.1 Surge-1.12.2-2.0.79 VanillaFix-1.0.10-150 BetterFps-1.4.8 DoomlikeDungeons-1.13.2-MC1.12.2 Born+In+A+Barn+V1.8-1.12-1.1 ISeeDragons-0.12 levelup2-1.5.8 phosphor-1.12.2-0.2.6+build50-universal spartanfire-0.08 SoundFilters-0.12_for_1.12 music_player-1.12.2-2.1.1.97 additional_lights-1.12.2-1.2.1.2-optional NaturesCompass-1.12.2-1.8.5 ToughAsNails-1.12.2-3.1.0.141-universal MagicMirror-1.12.2-0.1.1.427 Reeves'sFurnitureMod-3.1.1-1.12.2 ToolBelt-1.12.2-1.9.13

=[11/7/2020]= MineTweakerRecipeMaker-1.12.2-1.2.2.30 universalbestiary-1.12.2-1.3.1 Welcome+To+The+Jungle-1.2006.1222 Fish's+Undead+Rising-1.2.2

=[11/6/2020]= grapplemod-v11.1-1.12.2 corpse-1.12.2-1.0.8 CustomSelectionBox-1.12.2-1.4.6 Chunk+Pregenerator+V1.12-2.4E Pam's+HarvestCraft+1.12.2zg just-enough-harvestcraft-1.12.2-1.7.2 EquipmentTooltips-1.12.2-1.0.3-4 antiqueatlas-1.12.2-4.6.3 DamageTilt-1.12.2-0.1.0 AutoRegLib-1.3-32 EnchantmentDescriptions-1.12.2-1.1.20 trumpetskeleton-1.12-1.0.2.1 Neat+1.4-17 PotionFingers-r1.0-2 ItemPhysic_Full_1.4.34_mc1.12.2 foamfix-0.10.10-1.12.2 stg-1.12.2-1.2.3 FlameLib-1.12.2-0.0.7 PotionCore-1.9_for_1.12.2 QualityTools-1.0.7_for_1.12.2 BetterCombat-1.12.2-1.5.6 carryon-1.12.2-1.12.3.15 anvilpatch-1.0.0 Cute-Mob-Models-Remake-Mod-1.12 (disabled due to resource and mod conflicts) Forgelin-1.8.4 Bountiful-2.2.2 SnowRealMagic-0.3.3

=[11/5/2020]= forge-1.12.2-geckolib-2.0.1 Doom-Items-Mod-1.12.2-1.4.1 BetterPvP_20.27.0_Forge_1.12 SilentLib-1.12.2-3.0.14+168 OpenTerrainGenerator-1.12.2-v9.0 CreativeCore_v1.10.34_mc1.12.2 Biome_Bundle-1.12.2-v6.1 ScalingHealth-1.12.2-1.3.42+147 SoManyEnchantments-0.5.0 Engender+Mod-1.12.2-0.7-pre1 EnhancedVisuals_v1.3.18_mc1.12.2 iceandfire-1.9.1-1.12.2 llibrary-1.7.19-1.12.2

=[11/4/2020]= GrimoireOfGaia3-1.12.2-1.7.2 Chameleon-1.12-4.1.3 PTRLib-1.0.4 IvToolkit-1.3.3-1.12 OreLib-1.12.2-3.6.0.1 Bountiful+Baubles-1.12.2-0.1.6 InfernalMobs-1.12.2 StorageDrawers-1.12.2-5.4.0 BetterMineshaftsForge-1.12.2-2.1.1 Waystones_1.12.2-4.1.0 themidnight-0.3.5 BiomesOPlenty-1.12.2-7.0.1.2444-universal RoguelikeDungeons-1.12.2-1.8.0 BattleTowers-1.12.2 SpartanShields-1.12.2-1.5.4 SpartanWeaponry-1.12.2-beta-1.3.8

=[11/3/2020]= OptiFine_1.12.2_HD_U_F5 iChunUtil-1.12.2-7.2.2 CodeChickenLib-1.12.2-3.2.3.358-universal Trinkets+and+Baubles-0.30.1 tlskincape1.12.2-1.4 Hwyla-1.8.26-B41_1.12.2 InventoryTweaks-1.63 Controlling-3.0.10

=[11/2/2020]= jei_1.12.2-4.16.1.302 Baubles-1.12-1.5.2 AppleSkin-mc1.12-1.0.9 Patchouli-1.0-22 touhoulittlemaid-1.12.2-1.2.3-release

Logs during and around the time of the bugs (11/15-172020):

=[11/15/2020)= 2020-11-15-1.log.gz 2020-11-15-2.log.gz 2020-11-15-3.log.gz 2020-11-15-4.log.gz 2020-11-15-5.log.gz

=[11/16/2020)= 2020-11-16-1.log.gz 2020-11-16-2.log.gz 2020-11-16-3.log.gz 2020-11-16-4.log.gz 2020-11-16-5.log.gz 2020-11-16-6.log.gz 2020-11-16-7.log.gz

=[11/17/2020)= 2020-11-17-1.log.gz 2020-11-17-2.log.gz 2020-11-17-3.log.gz

Impelon commented 3 years ago

Great work with all of these logs! Thanks also for the screenshots of the problem. I'm going to look through the logs and see if i find the issue. I'll also try to reproduce the issue with only disenchanter-1.7 and your version of optifine on the latest version of forge (which you are using). I'll report back with any findings.

Impelon commented 3 years ago

One of your logs (2020-11-16-5.log) contains a bunch of GL-Errors after the world has started:

[Client thread/ERROR] [net.minecraft.client.Minecraft]: ########## GL ERROR ##########
[Client thread/ERROR] [net.minecraft.client.Minecraft]: @ Post render
[Client thread/ERROR] [net.minecraft.client.Minecraft]: 1282: Invalid operation

Might therefore be related to sp614x/optifine#2114

I general you have so many errors produced by your mods, I'm surprised it even loads. There are even RuntimeExceptions while loading... There are a lot of mods that even report issues with rendering... Well whatever.

I gave the issue some thought, and I realized I changed the rendering code for the book above the disenchantment table to be mostly inherited from vanilla. Maybe another mod or optifine messes with that?

I'll try to see the error for myself now with optifine installed.

Impelon commented 3 years ago

I am unable to reproduce your issue with disenchanter-1.7 and OptiFine (OptiFine_1.12.2_HD_U_F5) only on Forge 14.23.5.2854.

This may mean that one of your other mods messes with the rendering or with disenchanter. Since you have so many mods installed and many of them produce errors, I cannot pinpoint to anything exactly.

Since I cannot reproduce the issue and I don't know where to begin looking for an answer I don't think I can help you with the issue much further. If my intuition before was right ...

I realized I changed the rendering code for the book above the disenchantment table to be mostly inherited from vanilla

... this should be fixable by disabling the rendering of the book via the config. If you want to try that, I suggest removing any old disenchanter-configs and setting "visual.BookRendererHidden" to True in the config after a new one has been created (by starting the game).

Otherwise you might know if there are any mods you installed that change something about the enchantment table. Maybe those cause the issue in combination with disenchanter-1.7, I really have no idea.

Impelon commented 3 years ago

Also did this issue happen more than once? Because that GL-Error 1282: Invalid operation only occured in one of the logs. If it is not related to that GL-Error I really can't tell you what the issue might be related to, there are too many errors with your setup.

You can try to open an issue at OptiFine, they might know better how to help you.

BunE-exe commented 3 years ago

One of your logs (2020-11-16-5.log) contains a bunch of GL-Errors after the world has started:

[Client thread/ERROR] [net.minecraft.client.Minecraft]: ########## GL ERROR ##########
[Client thread/ERROR] [net.minecraft.client.Minecraft]: @ Post render
[Client thread/ERROR] [net.minecraft.client.Minecraft]: 1282: Invalid operation

Might therefore be related to sp614x/optifine#2114

I general you have so many errors produced by your mods, I'm surprised it even loads. There are even RuntimeExceptions while loading... There are a lot of mods that even report issues with rendering... Well whatever.

I gave the issue some thought, and I realized I changed the rendering code for the book above the disenchantment table to be mostly inherited from vanilla. Maybe another mod or optifine messes with that?

I'll try to see the error for myself now with optifine installed.

I, unfortunately, turn off all Vanilla fix error logs and open GL logs, most likely I got warned before the black screen/white screen. I thought this was normal since my doesn't do well with modded Minecraft. I'll resolve some other issues with some mods on my part.

BunE-exe commented 3 years ago

Also did this issue happen more than once? Because that GL-Error 1282: Invalid operation only occured in one of the logs. If it is not related to that GL-Error I really can't tell you what the issue might be related to, there are too many errors with your setup.

You can try to open an issue at OptiFine, they might know better how to help you.

Quite happens often, but not quite firm with my answer since I'd turn off open GL errors since it was a nuisance at the time. I'll come back and observe if any errors occur.