Chicken-Bones / NotEnoughItems

MIT License
130 stars 131 forks source link

[1.6.4] Frame drop to 1~5 when open inventory. #233

Open ghost opened 9 years ago

ghost commented 9 years ago

Well , when I open my inventory my fps drops SO MUCH! . And the cause of it is NEI , because when I disable NEI I dont lag anymore. For this reason I'm using Craft Guide , but this mod is bad because dont show all the recipes . Waiting for your guys help !

cabralRodrigo commented 9 years ago

@SrPandaBr Can you send a screeshot when the inventory is open and the fps dropped?

aking4125 commented 9 years ago

I'm getting the same issue but with 1.7.10. And it happens when I open the GUI of anything, a furnace, crafting table, machines etc. Rapidly opening and closing the inventory with NEI enabled causes the FPS to dip lower and lower until it hits 1-4 FPS. Disabling it (within' the NEI options screen) and the lag spikes stop.

If it helps, this pops up on my console every time a GUI is opened:

[00:57:05] [NEI Item Loading/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.entity.player.ItemTooltipEvent@2b170dee: java.lang.NullPointerException [00:57:05] [NEI Item Loading/ERROR] [FML]: Index: 1 Listeners: [00:57:05] [NEI Item Loading/ERROR] [FML]: 0: NORMAL [00:57:05] [NEI Item Loading/ERROR] [FML]: 1: ASM: net.divinerpg.utils.events.EventTooltip@1e50dc22 tooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: 2: ASM: crazypants.enderio.machine.painter.BlockPaintedGlowstone$PainterTemplate@3e0335cc onTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: 3: ASM: com.rwtema.extrautils.modintegration.TConEvents@274956fb unstableTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: 4: ASM: com.pam.harvestcraft.PamTooltipEventHandler@38115a7f onItemTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: 5: ASM: pneumaticCraft.client.ClientEventHandler@18ea8507 onItemTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: 6: ASM: lumien.randomthings.Handler.RTEventHandler@2d2017dd toolTip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: 7: ASM: net.darkhax.wawla.addons.generic.AddonGenericTooltips@29f079a onTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: 8: ASM: INSTANCE onItemTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: 9: ASM: com.enderio.core.client.handlers.EnchantTooltipHandler@ef8fe4b handleTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: 10: ASM: com.enderio.core.client.handlers.OreDictTooltipHandler@28ed9294 onItemTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: 11: ASM: com.enderio.core.client.handlers.SpecialTooltipHandler@70406d90 addTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: 12: ASM: crazypants.enderio.conduit.item.filter.ClearFilterRecipe@7d8f7050 onTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: 13: ASM: crazypants.enderio.machine.ClearConfigRecipe@5bee6860 onTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: 14: ASM: crazypants.enderio.gui.TooltipAddera@7ea3276e addTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: 15: ASM: com.rwtema.extrautils.EventHandlerClient@7f1555a0 generatorTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: 16: ASM: invtweaks.forge.ClientProxy@5f3ab3c0 onItemTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: 17: ASM: tonius.neiintegration.mods.mcforge.MCForgeTooltipHandler@125d1b8c onItemTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: 18: ASM: squeek.tictooltips.TooltipHandler@412722d8 onItemTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: 19: ASM: tconstruct.achievements.AchievementEvents@786eab75 tooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V [00:57:05] [NEI Item Loading/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.entity.player.ItemTooltipEvent@1c9c3822: java.lang.NullPointerException

cabralRodrigo commented 9 years ago

@aking4125 Sometimes this happens because of items being rendered on the screen. This tends to happen when render a lots of animated items or fluid containers with dynamics textures (eg. Extra utilities' drums). This is the case? A screenshot would be nice too.

aking4125 commented 9 years ago

Even when the search box (The UI that shows all the blocks and items) is disabled, meaning it doesn't show any items or I press "O" to hide it. The lag still happens, so I don't know what type of screen shot you want to show the lag happening but I can try a .GIF but I don't think that would help as the .gif itself would be very laggy anyways.