Open tom5454 opened 1 year ago
Update: Manually removing the ExtendedServerViewDistanceMixin
from the mixins json seems to fix the issue.
Update: Manually removing the
ExtendedServerViewDistanceMixin
from the mixins json seems to fix the issue.
Can you please tell more on how to implement it? I dont really understand what does that mean but it seems like i am getting the same issue, same crash, same reproduction but i can't get rid of it
Remove the mod until it's fixed by the developer.
Or clone the repo and build a modified version of the mod yourself, and remove this line: https://github.com/anthxnymc/MagnesiumExtras/blob/1.20/src/main/resources/rubidium_extras.mixins.json#L18 This will disable the extended view distance feature, which causes the issue.
@tom5454 can you test if this issue happens without removing that mixin and also using this mod? https://www.curseforge.com/minecraft/mc-mods/fix-gpu-memory-leak
i was trying to figure out why leak is caused by that mixin but i didn't found anything, and i can't replicate that issue
Minecraft version: 1.19.2 Forge version: tested with both 43.2.19 and 43.2.17 Modlist:
rubidium_extras-1.19.2_v1.4.3.jar
rubidium-0.6.2b.jar
Using
ComplementaryReimagined_r2.2.1
shader with Oculus Happens without Oculus installed with a lesser effect (the object count still grows at the same rate, but uses less VRAM?) Oculus version:oculus-mc1.19.2-1.6.4.jar
The worst case scenario in my testing is flying in the Twilight Forest with shaders on, leaks 6 GB of VRAM every 1000ish blocks. Crashes around 1500-2000 blocks (tested multiple times with NVIDIA RTX 3060). Running the same test wthout rubidium extras only uses a maximum of 2GB of VRAM, and goes up and down as needed. Flew 4000 blocks in the same chunks, between two waypoints.
Reproduction: Create a new world and start flying in one direction See your Device memory and objects increase. If you reach your GPU's max VRAM amount, the minecraft log has this message spammed
Then the jvm crashes with
EXCEPTION_ACCESS_VIOLATION
if you keep loading new chunks. Relevant stacktrace from the hs_err file: