[Feature Request] Item Rendering Optimization
Julienraptor01 opened this issue ยท 8 comments
Version information
mc1.18.1-0.4.0-alpha5+build.9
Expected Behavior
Not a such fps drop.
Actual Behavior
Fps drop
Reproduction Steps
Put yourself somewhere and let your fps stabilize and remember it.
Then open your inventory and disable REI.
Then activate REI.
And finally search for "potion".
Java version
Java 17 (the default version from the vanilla launcher)
CPU
Intel Core i7-9750H
GPU
Nvidia RTX 2060
Additional information
shedaniel/RoughlyEnoughItems#712
I did the report because https://github.com/shedaniel told me to.
Likely because of enchantment glint. I'm quite sure somethings not right with the enchantment glint. Not sure.
It's not only the enchant glint. You can see it by comparing the screenshots. The 2 problems are item rendering that affect everything and the enchant glint which add another layer of lag.
This is not a bug, but a request for a new optimization.
The mod "immediately fast" may provide some relief for that kind of performance issues.
This is not a bug, but a request for a new optimization.
The mod "immediately fast" may provide some relief for that kind of performance issues.
it was indeed a feature request, it was indeed unclear
the point is vanilla item rendering is not very good (at least judging from the results) since as soon as you start rendering items in inventories, the frame rate drops
like in vanilla just opening a double chest full of items especially if they have special effects like the enchant glint fps just fall down
and mods that add more items on the screen just make the problem worse
testing was done with default minecraft settings and with pc as optimized as possible so everything else than minecraft closed if possible
sodium version : mc1.20.2-0.5.3
mc version : 1.20.2
vanilla
444FPS while in world looking at the chest
432FPS while in empty chest GUI
266FPS when inventory filled with sticks
175FPS when inventory filled with debug sticks
same tests with sodium
430FPS while in world looking at the chest
422FPS while in empty chest GUI
303FPS when inventory filled with sticks
240FPS when inventory filled with debug sticks
as you can see, the frame rate isn't as bad as in vanilla but there's still a quite dip in performance when rendering items
here are tests with ImmediatlyFast and ModernFix since they were suggested
IF version : 1.2.6+1.20.2
ModernFix version : 5.9.1+mc1.20.2
same tests with sodium + immediatlyfast
440FPS while in world looking at the chest
424FPS while in empty chest GUI
302FPS when inventory filled with sticks
261FPS when inventory filled with debug sticks
same tests with sodium + immediatlyfast + modernfix
441FPS while in world looking at the chest
426FPS while in empty chest GUI
304FPS when inventory filled with sticks
260FPS when inventory filled with debug sticks
Edit : I tested all mods with default settings, but ModernFix enhancement is disabled by default
Why not just use immediately fast then?
You need to remember that I'm on a powerful computer
I used to play on a less good computer that would barely hold 60fps in world and would drop to 20fps or less in full inventories and would become unplayable if i had mods that added more items to render like xEI mods
Tho the combination of the currently optional ModernFix optimization and the new currently developed screen batching in ImmediatelyFast seems to actually help to heavily reduce the problem so I'm looking forward to them