fix: lag
Flandre01 opened this issue ยท 5 comments
Hi @Flandre01 could you please give more information about how many FPS are you expecting on average, and what PC components are you using?
The chest GUI is dynamically generated and might be though on old hardware. I've personally tested it and I did not notice anything more than a maximum 30% less FPS while the chest is open.
Hi @Flandre01 could you please give more information about how many FPS are you expecting on average, and what PC components are you using? The chest GUI is dynamically generated and might be though on old hardware. I've personally tested it and I did not notice anything more than a maximum 30% less FPS while the chest is open.
@4nner My pc is pretty bad but I still think it's weird. gpu: gtx 550ti, i53570k, 16gbram 1866hz average fps arround 180/200. I'm using it on fabric/sodium/iris (no shaders)
Sorry for my bad english, im Brazilian
Hey, Im also having this issue. From where I average to about 230fps with 20 Render Distance I go down to 50fps when having a diamond chest opened. I tried tweaking some settings but to no avail. Is there maybe a discord server or something similar where you are more available?
@Yokoo2 I'm afraid there isn't an available fix for this issue at the moment. Tweaking IronChest won't do the trick and the chest interface is generated by LibGUI: https://github.com/CottonMC/LibGui.
The only solutions would be:
- LibGUI to resolve the issue at source
- Replacing LibGUI with another library
- Rewriting the ScreenHandler no be standalone and not require any external library.
Sadly, I do not have time to work on any of the latter two points. However, is someone wants to pick this up and submit a pull request I'll be more than happy to look into it, merge it and distribute the fix