Задать вопрос

Как поставить OpenGL 4.x чтобы он работал в Minecraft на macOS 15 (M1)?

Forge в Minecraft на M1 говорит следующее:
Лог

[21Jul2025 12:03:22.362] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, Habanio, --version, 1.21.4-forge-54.0.34, --gameDir, /Users/elisey/Library/Application Support/minecraft, --assetsDir, /Users/elisey/Library/Application Support/minecraft/assets, --assetIndex, 19, --uuid, 3ab74a12ce11456185ca866e2017627b, --accessToken, **********, --clientId, NEI5NDQ1QTg0NjAwNEUzNTg3RTEzRTg5MzYzNEFDREE=, --xuid, 2535440935118221, --userType, msa, --versionType, release, --quickPlayPath, /Users/elisey/Library/Application Support/minecraft/quickPlay/java/1753088600983.json, --launchTarget, forge_client]
[21Jul2025 12:03:22.363] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: JVM identified as Microsoft OpenJDK 64-Bit Server VM 21.0.7+6-LTS
[21Jul2025 12:03:22.363] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.2.4 starting: java version 21.0.7 by Microsoft; OS Mac OS X arch aarch64 version 15.5
[21Jul2025 12:03:22.401] [main/WARN] [net.minecraftforge.fml.loading.FMLConfig/CORE]: Configuration file /Users/elisey/Library/Application Support/minecraft/config/fml.toml is not correct. Correcting
[21Jul2025 12:03:22.402] [main/INFO] [net.minecraftforge.fml.loading.FMLConfig/CORE]: Incorrect key [earlyWindowSkipGLVersions] was corrected from null to []
[21Jul2025 12:03:22.402] [main/INFO] [net.minecraftforge.fml.loading.FMLConfig/CORE]: Incorrect key [earlyWindowLogHelpMessage] was corrected from null to true
[21Jul2025 12:03:22.402] [main/INFO] [net.minecraftforge.fml.loading.FMLConfig/CORE]: Incorrect key [earlyWindowSquir] was corrected from null to false
[21Jul2025 12:03:22.402] [main/INFO] [net.minecraftforge.fml.loading.FMLConfig/CORE]: Incorrect key [earlyWindowShowCPU] was corrected from null to false
[21Jul2025 12:03:22.470] [main/INFO] [net.minecraftforge.fml.loading.ImmediateWindowHandler/]: Loading ImmediateWindowProvider fmlearlywindow
[21Jul2025 12:03:23.183] [main/INFO] [EARLYDISPLAY/]: Trying GL version 4.6
[21Jul2025 12:03:23.183] [main/INFO] [EARLYDISPLAY/]: If this message is the only thing at the bottom of your log before a crash, you probably have a driver issue.

Possible solutions:
A) Make sure Minecraft is set to prefer high performance graphics in the OS and/or driver control panel
B) Check for driver updates on the graphics brand's website
C) Try reinstalling your graphics drivers
D) If still not working after trying all of the above, ask for further help on the Forge forums or Discord

You can safely ignore this message if the game starts up successfully.
[21Jul2025 12:03:23.231] [main/INFO] [EARLYDISPLAY/]: Trying GL version 4.5
[21Jul2025 12:03:23.242] [main/INFO] [EARLYDISPLAY/]: Trying GL version 4.4
[21Jul2025 12:03:23.252] [main/INFO] [EARLYDISPLAY/]: Trying GL version 4.3
[21Jul2025 12:03:23.257] [main/INFO] [EARLYDISPLAY/]: Trying GL version 4.2
[21Jul2025 12:03:23.262] [main/INFO] [EARLYDISPLAY/]: Trying GL version 4.1
[21Jul2025 12:03:23.272] [main/INFO] [EARLYDISPLAY/]: Requested GL version 4.1 got version 4.1
[21Jul2025 12:03:23.312] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.onLoad
[21Jul2025 12:03:23.313] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFine ZIP file URL: jar:file:///Users/elisey/Library/Application%20Support/minecraft/mods/OptiFine.jar!/
[21Jul2025 12:03:23.313] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFine ZIP file: /Users/elisey/Library/Application Support/minecraft/mods/OptiFine.jar
[21Jul2025 12:03:23.314] [main/INFO] [optifine.OptiFineTransformer/]: Target.PRE_CLASS is available
[21Jul2025 12:03:23.459] [main/INFO] [optifine.OptiFineTransformer/]: Forge JAR URL: file:/Users/elisey/Library/Application%20Support/minecraft/libraries/net/minecraftforge/forge/1.21.4-54.0.34/forge-1.21.4-54.0.34-client.jar
[21Jul2025 12:03:23.551] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.7 Source=jar:file:///Users/elisey/Library/Application%20Support/minecraft/libraries/org/spongepowered/mixin/0.8.7/mixin-0.8.7.jar!/ Service=ModLauncher Env=CLIENT
[21Jul2025 12:03:23.559] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.initialize
[21Jul2025 12:03:23.663] [EarlyDisplay/INFO] [EARLYDISPLAY/]: GL info: Apple M1 GL version 4.1 Metal - 89.4, Apple
[21Jul2025 12:03:23.779] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator/]: No dependencies to load found. Skipping!
[21Jul2025 12:03:24.009] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.transformers
[21Jul2025 12:03:24.012] [main/INFO] [optifine.OptiFineTransformer/]: Targets: 474



Вот и у меня резонно возник вопрос, как на новую Metal-based macOS поставить OpenGL нормальной версии, и ГЛАВНОЕ, сделать чтобы Java его подхватывала?

Вот характеристики:
~ ❯ glxinfo | grep "OpenGL version"    # Запускает XQuartz и скорее всего инфу получает через него, практически бесполезен
OpenGL version string: 2.1 Metal - 89.4
~ ❯ fastfetch --logo none
elisey@Eliseys-PC
-----------------
Host: Mac mini (M1, 2020)
OS: macOS Sequoia 15.5 arm64
Kernel: Darwin 24.5.0
WM: Quartz Compositor 278.4.7
DE: Aqua
Shell: zsh 5.9
Editor: edit
-----------------
CPU Usage: 2%
Memory: 4.46 GiB / 8.00 GiB (56%)
Disk (/): 59.09 GiB / 228.27 GiB (26%) - apfs [Read-only]
~ ❯ java --version    # Но Minecraft, как я знаю, использует свою Java (см. ниже)
java 24.0.1 2025-04-15
Java(TM) SE Runtime Environment (build 24.0.1+9-30)
Java HotSpot(TM) 64-Bit Server VM (build 24.0.1+9-30, mixed mode, sharing)
~ ❯ "/Users/elisey/Library/Application Support/minecraft/runtime/java-runtime-gamma/mac-os-arm64/java-runtime-gamma/jre.bundle/Contents/Home/bin/java" --version
openjdk 17.0.15 2025-04-15 LTS
OpenJDK Runtime Environment Microsoft-11369864 (build 17.0.15+6-LTS)
OpenJDK 64-Bit Server VM Microsoft-11369864 (build 17.0.15+6-LTS, mixed mode)
~ ❯ "/Users/elisey/Library/Application Support/minecraft/runtime/java-runtime-delta/mac-os-arm64/java-runtime-delta/jre.bundle/Contents/Home/bin/java" --version
openjdk 21.0.7 2025-04-15 LTS
OpenJDK Runtime Environment Microsoft-11369939 (build 21.0.7+6-LTS)
OpenJDK 64-Bit Server VM Microsoft-11369939 (build 21.0.7+6-LTS, mixed mode)


Версия Minecraft 1.21.4. Версия OptiFine J3. Версия Forge 54.0.34.
Самое интересное, что по отдельности они спокойно запускаются, и OpenGL ни тому ни другому не помеха.
  • Вопрос задан
  • 24 просмотра
Подписаться 1 Простой 1 комментарий
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы