OptiFine 1.8.9 w/ Forge Crashes when launching on MultiMC
System Information
MultiMC version: 0.6.11
Operating System: macOS Catalina 10.15.6
Summary of the issue or suggestion: 1.8.9 OptiFine crashes with Forge version 11.15.1.2318 (latest version)
What should happen: Instance should launch normally with OptiFine and Forge installed.
Steps to reproduce the issue (Add more if needed):
-
Install latest version of Forge
-
Install OptiFine 1.8.9 in Loader mods
-
Launch the instance
-
Crash
Suspected cause:
Logs/Screenshots: https://paste.ee/p/MCQI9
Additional Info:
This seems to be similar to #3250. Please try the workaround suggested by @Janrupf and report back whether it worked.
Related issues:
#3173 #3270 #3253
In some of those, changing the java version seemingly helped. Also try reload and download all in the version page.
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
This may only be applicable to LWJGL 3, but try using -XstartOnFirstThread.
So, I used -XstartOnFirstThread and also tried to reload and download all in the versions page, but it still crashes.
https://paste.ee/p/wIbIS

I am using the latest version of Java and I have yet to try and downgrade the version of it
~~You need to keep the checkbox Java Arguments checked. Please also upload a log with the checkbox enabled and the arguments in the text field!~~
Didn't see the log link, sorry
I'm assuming the flag was set globally, as it was definitely enabled in the log.
[-XstartOnFirstThread, -Xdock:icon=icon.png, -Xdock:name="MultiMC: 1.8.9", -Xms512m, -Xmx1024m, -Duser.language=en]
~You need to keep the checkbox
Java Argumentschecked. Please also upload a log with the checkbox enabled and the arguments in the text field!~Didn't see the log link, sorry
https://paste.ee/p/SPqKP I kept the checkbox 'Java Arguments' checked but it still crashed.
Well, that is at least another error, so some progress. I have seen this error before, but I don't know where. You could try downgrading your Java version to 8.61 (or something like that).
For reference, the error now causing the crash is glGenLists returned an ID of 0 for a count of 1, GL error (0): No error code reported
Well, that is at least another error, so some progress. I have seen this error before, but I don't know where. You could try downgrading your Java version to 8.61 (or something like that).
For reference, the error now causing the crash is
glGenLists returned an ID of 0 for a count of 1, GL error (0): No error code reported
Do I have to uninstall my latest Java version or could I just keep both versions and use the older version for only 1.8.9?
Do I have to uninstall my latest Java version or could I just keep both versions and use the older version for only 1.8.9?
If you configure MultiMC correctly, you can keep the old version. When you launch with it, upload a new log please.
Do I have to uninstall my latest Java version or could I just keep both versions and use the older version for only 1.8.9?
If you configure MultiMC correctly, you can keep the old version. When you launch with it, upload a new log please.
Ok, where do I download the older Java version?
Edit: I would also appreciate it if you could tell me which older Java version I should download.
I also tested out if installing OptiFine 1.8.9 + Forge on the normal launcher would crash, it launched normally with no issues, with the latest java version.
Can you try to find out which launch arguments the official launcher uses? Maybe something differs there. Another possibility would be that the official launcher runs Minecraft on the GPU, and somehow MultiMC manages to run it on the CPU? (Not sure if this is even possible on a MAC)
Can you try to find out which launch arguments the official launcher uses? Maybe something differs there. Another possibility would be that the official launcher runs Minecraft on the GPU, and somehow MultiMC manages to run it on the CPU? (Not sure if this is even possible on a MAC)
-Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
This is what happens when I try to run 1.8.9 Optifine + Forge, on MultiMC, with the Java Arguments as -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M https://paste.ee/p/XA4Pj
You now need to add back the -XstartOnFirstThread
I have the same issue.
You now need to add back the
-XstartOnFirstThread
Do I add the -XstartOnFirstThread with -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M?
Or do I remove -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M and add -XstartOnFirstThread'?
Yes
Just adding my experience in : Using a Mac on 10.15.6, Minecraft 1.12.2, forge-1.12.2-14.23.5.2854, OptiFine_1.12.2_HD_U_F5.jar
Using MultiMC with Optifine: Crash Using Mojang's Launcher with Optifine: Works
I also tried adding the -XstartOnFirstThread in MultiMC, which it allowed it to keep working up until the Sound Manager was loaded, then it crashed.
Hey I found a solution (at least for me)!!
Use the Zulu build of OpenJDK and set the Java path to /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/bin/java after install.
At least for me, the -XstartOnFirstThread was not necessary, but you may need to try for yourself.