FancyMenu freezes the game when game intro plays
eDexiam opened this issue · 10 comments
Describe the bug
FancyMenu freezes the game when the game intro starts playing with Optifine installed and the GPU used is of the Intel HD Graphics family
To Reproduce
Steps to reproduce the behavior:
- Have the latest optifine & fancyMenu installed
- Start the game making sure you have a game intro animation set up and it's running on an Intel HD Graphics GPU
- Game freezes at the first few frames of the animation (Do note that sometimes it does not lock up and it's possible to get through it by restarting the game many times)
Expected behavior
The game to proceed to the main menu
Crash Log
There is no crash or log that would indicate something went wrong when this happens.
Screenshots
N/A
Basic Informations (please complete the following information):
- OS: Windows
- FancyMenu Version 1.6.0
- Forge Version 31.2.8
- Minecraft Version 1.15.2
- Active Mods Optifine, FancyMenu, Konkrete
Hi! Thank you for your report!
Could you please try to update to the newest Forge version for MC 1.15.2? You're using an old (unrecommended) build.
If that doesn't help, could you please send me some more details about your animation?
How much frames at what resolution has the animation? Or is it a GIF animation?
Is the animation playing correctly as background animation of menus?
What's your exact Optifine version?
Thank you very much!
Hey, the animation is a jpeg sequence of about 1000 frames (30 fps at 1920x1080), forge 31.2.47 had no effect on the issue, the optifine version is HD U G6 Pre5, I am unable to test if it works as a background animation at this time, I will keep you informed when I can.
Also I've found a workaround when using the Java version mojang ships with the official launcher (1.8.0_51) the issue is seemingly gone, also when on that version I've noticed that Fancy menu does not catch OpenGL OUT_OF_MEMORY errors when loading them, which also locks up the game as far as I can tell
There we have the problem. 1000 frames are WAY to much. 1920x1080? This will eat 8GB+ of your RAM without problems. Animations should be as short and small as possible :D 100 frames should be the maximum for your animation resolution.
Well what's weird about it is that no problems like that occurred on an older version of fancy menu, I can try lowering the resolution and frames.
Also about what I mentioned earlier, is it possible to add a feature where FancyMenu stops loading the animation if an OUT_OF_MEMORY error is generated and replace the animation with a placeholder image?
Not really :/ At least I didn't found a good way to implement it.
Problem is, when an OutOfMemory is thrown, it's always too late to do much.
Maybe I find a solution for this some day :D
Another question:
You said you're using an Intel processor as GPU (the build-in GPU of the processor) and that would cause these problems. Why are you thinking that? I asked some users with Intel GPUs in my Discord and they all can load and play game intros without any problems :o
I've had multiple people have game freezes when using Intel HD Graphics, I can reproduce it on my shitty Intel laptop and get the same result, this doesn't seem to happen on non Intel GPUs though I'm not sure because I'm unable to test that on other iGPUs, also I can't reproduce this issue when running the game on the Java version Mojang ships with the default launcher which Java 1.8.0_5, which makes me think something has changed between that Java version and new versions of Java that could be the cause of this problem.
Well, iGPUs aren’t really powerful.. Maybe it’s the GPU itself that causes lags, because it’s too weak for it :/
But yes, it could be Java too! If using the build-in Java isn’t causing lags, then it’s probably Java. But then it’s more on Java’s side to fix something :D
Makes sense, there's multiple things involved that are the cause of this so I can imagine that it's difficult to pin point this issue, I've already provided a fix for my users with an older Java revision although I'm not sure if I should keep this open or not as the problem still technically exists.
I will keep it open for now and see if I can find something that’s causing it.
If I don’t find anything, I will close it by myself ^^
Thank you very much for reporting this. It’s a very rare/specific issue, but reporting is always the right choice! :)