Foam​Fix

Foam​Fix

97M Downloads

AMD Radeon Drivers (18.8.1 and higher) bring Minecraft with foamfix down to <1fps

MrCapitosha opened this issue · 10 comments

commented

Only help changing "B:disableTextureAnimations=false" to "B:disableTextureAnimations=true" in config file.

foamfix-0.9.9.1-1.12.2-anarchy
Forge: 14.23.4.2707

Please fix this problem.

commented

Have you checked if the version of FoamFix you're using is the latest? It's a few months behind, from what I can tell.

Now i'm install the latest version of foamfix:0.10.3-1.12.2 but nothing has changed

commented

Have you checked if the version of FoamFix you're using is the latest? It's a few months behind, from what I can tell.

commented

A thing I've noticed on this is that it is very dependent on the number of animated textures in the modpack.

With a very small pack fast-texture mode makes things a good bit faster over vanilla, but with larger ones (which is basically every popular pack now, unfortunately) it ends up worse off with fast-textures than not, but even with that disabled, or the texture section of the coremod disabled entirely, it's still pretty low fps.

I have seen one large pack go from ~2fps with "fast" textures to ~15-20fps with the default, to 90+ with animations off.

Unfortunately all the GPU profilers I know of[1] don't work on Minecraft at all because they don't know what to do with all the old-style OpenGL it does, so I can't really find out for sure why this is.

For some extra reference, have what I can get off of basic stats from two setups.

First, the single worst modpack for this issue I've been able to see (Enigmatica 2 Expert Skyblock -- it's actually significantly worse with animations enabled than the non-skyblock version for some reason)
image

Second, a small test pack with a few decent-sized mods but nothing too crazy (this is actually fairly close to performance of the heavy pack with animations off entirely):
image

In both cases VRAM usage is reported to be a bit less than half of what this card has (it's a 4GB model), and VRAM clocks are at mid-power level (max is 2000 MHz)

Notably, however, the one running badly is reporting 100% utilization, higher temperatures, and the maxed-out shader clock compared to the other one. The quickest potential cause that matches those stats is that the driver has decided to implement the texture copy via shaders instead of a proper copy for some reason?

[And now that I think of that I remember Windows 10 task manager can show you stats by queue and it's not hitting the copy queue at all, even though that doesn't say much about what commands are happening since 3D queue can do copies as well...]

[1] There's a few debuggers that work still, but as far as I can tell none of those give you any lower-level information, just a way of finding out what API calls are happening and what the state of all the textures/buffers/etc. involved are. AMD's GPUPerfStudio almost works but isn't supported anymore and the hardware-level profiling only works on older GPUs than I currently have.

edit: I realized I had background recording enabled while testing, turning that off actually drops the VRAM clocks to minimum (300 MHz), which makes it seem even more bottlenecked on the shaders.

commented

Also happens to me, alongside boosting memory usage past whatever I have allocated. I get minecraft using 8 gigs when I allocate 6 (my default for most packs,) so I'm sure if I allocated all 16 then it'd completely use up all 16. Memory usage immediately goes back to normal and FPS stabilizes to a smooth level the instant I turn off texture anims.

commented

I'm also having this issue on version 0.9.9.1-1.12.2 (running the SevTech pack). Like the others, my FPS drops to the single digits until I disable animated textures. Let me know if I can provide any information that would be helpful.

commented

Update FoamFix

commented

I found a solution to this problem - Installing the VaniillaFix mod helps.

P.S. However the problem is really strange and the FPS are still smaller compared to similar Nvidia graphics cards

commented

Nvidia tends to somehow reduces CPU load. Not only Minecraft, but actually some other games that heavily demand CPU.
When there are so many mods, we are CPU bottlenecked.
https://i.imgur.com/d9Id7oA.png

commented

It seems related to the mipmap settings, with performance in actual usable territory with mipmap off compared to mipmap 4.

(these were done in SkyFactory 4 4.0.4)

Shown here:
Foamfix : Mipmap 4
2019-05-04_17 16 15

Foamfix: Mipmap off
2019-05-04_17 18 46

It also doesn't seem to be foamfix specific, as with it removed it still shows the issue as the following demonstrates:

No Foamfix: Mipmap 4
2019-05-04_17 41 05

No Foamfix: Mipmap off
2019-05-04_17 26 16

I hope this helps identify whats causing it more.

commented

The problem is still relevant. Ryzen 5 1600 + RX 570: 15 FPS with enabled "B:disableTextureAnimations=true"
изображение