-
Notifications
You must be signed in to change notification settings - Fork 831
Open
Labels
Description
问题描述 | Bug Description
实例高级设置 中的 渲染器 设置在 macOS 上似乎没有效果,但它不在“不适用于当前系统的选项”中。
HMCL/HMCLCore/src/main/java/org/jackhuang/hmcl/launch/DefaultLauncher.java
Lines 566 to 590 in 5c2bb1c
| Renderer renderer = options.getRenderer(); | |
| if (renderer != Renderer.DEFAULT) { | |
| if (OperatingSystem.CURRENT_OS == OperatingSystem.WINDOWS) { | |
| if (renderer != Renderer.LLVMPIPE) | |
| env.put("GALLIUM_DRIVER", renderer.name().toLowerCase(Locale.ROOT)); | |
| } else if (OperatingSystem.CURRENT_OS == OperatingSystem.LINUX) { | |
| env.put("__GLX_VENDOR_LIBRARY_NAME", "mesa"); | |
| switch (renderer) { | |
| case LLVMPIPE: | |
| env.put("LIBGL_ALWAYS_SOFTWARE", "1"); | |
| break; | |
| case ZINK: | |
| env.put("MESA_LOADER_DRIVER_OVERRIDE", "zink"); | |
| /* | |
| * The amdgpu DDX is missing support for modifiers, causing Zink to fail. | |
| * Disable DRI3 to workaround this issue. | |
| * | |
| * Link: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10093 | |
| */ | |
| env.put("LIBGL_KOPPER_DRI2", "1"); | |
| break; | |
| } | |
| } | |
| } | |
启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File
-
Reactions are currently unavailable