GPU Memory leak
owosoup opened this issue ยท 6 comments
What happened?
A bug happened!
When using any kind of shader, after a while of playing, switching, toggling and reloading packs, my gpu memory fills up.
At this point, the game 'throttles', my gpu usage spikes with any shader enabled, I slow down to 60, sometimes 30 fps.
Quitting the game completely is the only way to fix it.
Using Adrenaline hardware monitor, I can see my GPU (Rx 6800, 16Go of VRAM) memory fill up while playing;
then, quitting reduces it by a bit (going from 15550 Mo to 14000-ish). But it fills up quickly again, even in the menu.
Restarting the game completely solves the issue of course.
It usually takes around an hour or two.
Screenshots
I haven't taken any screenshots of my F3 tab yet while it happened, suspecting a mod to be the cause.
It seems to be iris-related though, after trial and error.
Resource packs seem to interact with this issue, making it happen sooner with higher resolution and variated textures.
I have yet to find the exact conditions for this to happen:
My drivers are version 23.11.1.
I allocate ~20Go of RAM to minecraft, though it rarely exceeds 50% usage.
Ferritecore doesn't seem to do anything with this leak.
Log output
latest.log
The latest log where I had this happen.
Minecraft Version
1.20.1
Iris Version
1.6.10
Operating System
Windows 11
What is your GPU?
RX 6800
Additional context
I still use a lot of mods so it can be an incompatibility; however it seems unlikely to be an interaction between two mods, since shaders are usually left only for iris to work with. I don't use core shaders either.
hmm. i tried what you said, leaving mangohud open to track my vram usage, and played for a whole day without restarting it. even with the very graphically intensive kappa shaders, my vram was pretty much a static number. could you try it with only iris shaders and no other mods?
Update on my end. I guess it's fixed now, it was another mod, but I don't know which one. Oh well!
You should confirm that it is Iris and only Iris causing the issue before you report it. I have an RX 6600 XT and frequently leave my game on overnight with no issues.
just leaving it running is fine, reloading things is (and maybe switching sub servers/worlds on a network)