GLFW X11 Fix
Fixes GLFW X11 crashes with high file descriptors on Linux using GLFW natives from LWJGL 3.3.3.
介绍
Fixes GLFW/X11 crashes in Minecraft 1.19–1.20.1 modpacks on Linux x86_64 and ARM64.
Some modpacks open enough files for the X11 connection’s file descriptor to
reach 1024 or higher. Older GLFW versions use select()/FD_SET, which cannot
handle these descriptor numbers and can crash the game.
Fabric Loader opens 2 file descriptors for each mod. Some mods also open additional file descriptors.
So if the displayed mod count (not the number of JAR files) exceeds around 450,
you most likely need this mod on the affected Minecraft versions.
This mod bundles GLFW natives from LWJGL 3.3.3 containing the upstream fix
discussed in GLFW PR #2024. It replaces
select() with poll() for X11 event waiting, fixing the crash without
reducing the number of open files.
Compatibility issues are not expected: adding the mod serves the same purpose
as pointing LWJGL at the updated GLFW library through a JVM argument such as
-Dorg.lwjgl.glfw.libname=.... It does not modify Minecraft’s Java code or
replace the LWJGL Java bindings.
The mod includes libglfw.so for Linux x86_64 and ARM64. Windows and macOS continue using
their normal native libraries, so adding the mod to a shared modpack is not
expected to affect the game on those platforms.
常见问题
GLFW X11 Fix 支持哪些 Minecraft 版本?
GLFW X11 Fix 支持 Minecraft Java 版 1.19–1.20.1,共 7 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
GLFW X11 Fix 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
KostromDan 的其他作品
查看全部 →Crash Assistant
Minecraft 崩溃后显示 GUI,立即展示并分析所有受影响的日志。
Simple Snowy Fix (Forge / Fabric)
修复树叶上雪生成异常的问题 MC-119599
Mekalus (Oculus fork with fixed Mekanism MekaSuit rendering)
Unofficial Fork of "Oculus", made to fix Mekanism MekaSuit rendering with shaders.
M-Tech
一个极简的技术整合包,拥有深厚的理念,按阶段逐步发展。
评论
登录后评论和评分