Open LittleCircleOO opened 11 months ago
I don't believe this issue can be resolved on Sodium Extra's end because we are currently utilizing Sodium's vertex writer, which significantly improves GUI rendering speed.
There are a few potential solutions. First, Slight GUI modifications mixin injections could be relocated to drawTexture
and drawSprite
(yarn mapping) for https://github.com/shedaniel/slight-gui-modifications/blob/1.19.4/src/main/java/me/shedaniel/slightguimodifications/mixin/MixinGuiComponent.java.
Alternatively, users or the authors of the said mod can disable this optimization using our mixin config. Users can do so by adding mixin.optimizations.draw_helpers=false
to .minecraft/config/sodium-extra.properties
, while modders can achieve this by adding the following code below their fabric.mod.json
:
"custom": {
"sodium-extra:options": {
"mixin.optimizations.draw_helpers": false
}
}
So far, we haven't encountered any issues with other mods. If this optimization becomes too problematic, I will consider removing it altogether.
I will be leaving this issue open just for tracking the issue.
Make sure you are not opening a duplicate.
Minecraft version.
1.20.1
Sodium Extra version.
0.4.24 and above
Sodium version.
0.4.10
What happened?
When I updated Sodium Extra to version 0.4.24 and above, the following error message was repeatedly scrubbed from the logs, which resulted in disk space being quickly overwritten with garbage messages. NOT reproduced in versions 0.4.23 and below.
Relevant log.
latest.log
Additional information.
The version of "Slight Gui Modifications" is 2.6.1.