Hydrogen
Hydrogen 会检测你的 CPU、GPU、显示器刷新率以及 DPI 缩放,随后对你的游戏进行五秒基准测试,并根据检测结果自动设置所有阈值。一台 4K 60Hz 的 PC 和一台 1080p 240Hz 的 PC 最终会得到完全不同的设置,且无需触碰任何配置文件——并且拥有 零外部依赖(不需要 Fabric API、Quilt Standard Libraries 或任何配置库)。
加入我们的 Discord 以获取帮助、更新和建议。
功能特性
GPU、分辨率与视觉保留式剔除
- 动态分辨率 + AMD FidelityFX CAS 锐化。 当 GPU 性能不足或显存占用过高时,3D 世界会以较低的内部比例渲染(最低不低于
drs.minScale=0.70),而你的 HUD、文本、准星和菜单则保持完整的原生分辨率。单次通过的 FidelityFX 对比度自适应锐化 (CAS) 着色器可在 OpenGL 3.2 (1.20.x–1.21.1)、Blaze3D (1.21.11–26.2) 以及 RenderPearl Vulkan/OpenGL (26.3) 上恢复清晰的方块边缘,在 100% 比例下则完全绕过此处理。
- 零分配的保守式墙壁遮挡剔除。 基于区块缓存的 3D DDA 光线投射器配合五点 AABB 可见性检测,会跳过严格被实心墙壁遮挡的实体、方块实体(箱子、告示牌、物品展示框)以及方块单元格缓存粒子——在不产生穿帮的前提下,将实体/箱子模型的 CPU 耗时最多降低 59%。
- 视觉保留式深度 2 树叶剔除。 保留树冠外层完整的两层树叶,使森林保持茂密、阴暗且葱郁,无任何空洞的天空漏光,同时剔除密集树冠内部深处(2+ 方块深)隐藏的叶片面。
- 亚像素级远距离阴影与粒子剔除。 根据你实时的 DPI 缩放剔除亚像素级的实体/方块实体;跳过超出可配置范围的实体地面阴影;在爆炸或怪物农场期间强制执行自适应粒子生成预算(优先丢弃远处/相机后方的粒子);跳过相机后方粒子的碰撞扫描;并减少远处环境方块
animateTick 粒子队列的数量。
- 驱动级准确的显存保护。 从
GL_NVX_gpu_memory_info(NVIDIA)、GL_ATI_meminfo(AMD)或 Linux DRM sysfs(mem_info_vram_total/used)读取真实显存信息,并在 26.3 Vulkan 上使用 RenderPearl DeviceInfo 进行 GPU 检测。仅释放空闲的普通纹理(绝不触碰图集或皮肤),若显存溢出则应用仅会话有效的渲染距离安全上限,并在空间恢复后自动回收。
CPU、帧 pacing、内存与模拟
- 感知缓存的核心隔离。 读取你真实的 CPU 拓扑结构(P/E 核心、SMT 兄弟核心、末级缓存域、Ryzen X3D V-Cache CCD、固件核心排名等),并将渲染线程固定到专用的物理核心上,同时将区块构建器、集成服务器和后台模组线程移出这些核心。
- 自适应时钟加速与空闲节流。 在接通电源时,若帧时间超过你的显示器目标(或校准后的刷新率除数),则会提升时钟频率;崩溃后可优雅恢复;在最小化、失去焦点或停留在静态暂停界面时,自动限制 FPS 并暂停后台区块网格生成——抑制空闲帧,防止其干扰校准或动态分辨率系统 (DRS)。
- 智能垃圾回收与有界内存去重。 将 GC 提前至安静窗口(菜单、暂停屏幕、世界/维度过渡期间,或在并发收集器存在时静止不动时)执行,且绝不会打断战斗。一个无锁的 4096 槽位有界
StringPool 可对重复的 NBT 键进行去重,且不会导致内存泄漏。
- 动态模拟距离(单人游戏与专用服务器)。 监控服务器的 MSPT,在持续 Tick 过载时平滑地收紧模拟距离,同时不影响视觉渲染距离和
options.txt,待服务器恢复后再放宽限制。
- 精确数学快速路径与前向锥形区块排序。 用精确最近角优先的早期剪枝查找替换原版基于八角的生物群系 Voronoi 扫描;将三角函数查找表紧凑化为缓存友好的 64 KB 象限折叠 LUT;按 60° 前向视锥优先级构建区块;并在 247 通道 OpenAL 池拥挤时保护游戏玩法音效。
主动兼容性与自愈能力
Hydrogen 永远不会替换你的渲染器或着色器。在预启动阶段,它会针对内置兼容性规则书扫描每个已加载的模组,该规则书涵盖 35+ 款流行模组,仅自动避开特定的重叠钩子以防止冲突或崩溃,并通过自动熔断器保护运行时钩子。
| 模组 |
状态 |
Hydrogen 的处理方式 |
| Sodium / Embeddium / Rubidium |
已适配 |
将原版区块排序、延迟、空闲网格暂停和树叶剔除委托给 Sodium;CPU 固定、GC、DRS+CAS、显存以及实体/阴影剔除等功能保持启用。 |
| Iris / Oculus |
兼容 |
当光影包激活时,DRS 和 CAS 会自动暂停;关闭光影后则无缝恢复。 |
| VulkanMod |
冲突已解决 |
禁用 OpenGL 帧缓冲、区块和显存挂钩,同时保持 CPU 固定、GC、剔除和动态模拟功能启用。 |
| OptiFine / OptiFabric |
冲突已解决 |
让出存在冲突的渲染 Mixin,确保 OptiFine 字节码不会发生冲突;CPU、GC、音频和模拟功能保持启用。 |
| Distant Horizons |
冲突已解决 |
禁用视口 DRS/CAS,使 LOD 深度缓冲与地形保持对齐。 |
| EntityCulling |
已适配 |
将墙壁遮挡光线追踪委托给 EntityCulling,同时保持 Hydrogen 的子像素和阴影剔除功能启用。 |
| MoreCulling / CullLeaves |
已适配 |
将树叶面剔除委托出去,以避免重复的方块面挂钩。 |
| Polytone |
已适配 |
将 QuadParticleGroup 视锥体挂钩委托出去,以防止 @Redirect 重叠;粒子预算和物理剔除功能保持启用。 |
| Dynamic FPS / FPS Reducer |
已适配 |
将失去焦点/最小化时的 FPS 限制委托出去,防止帧率限制器相互冲突。 |
| FerriteCore / ModernFix |
已适配 |
将 NBT 字符串去重委托出去,以避免冗余池。 |
| Lithium / Radium / Canary |
已适配 |
将生物群系/三角函数快速路径和漏斗挂钩委托给 Lithium,同时保持 CPU 固定、GC 和客户端优化功能启用。 |
| ServerCore / DynamicView / VMP |
已适配 |
将动态模拟距离委托出去,防止两个控制器产生振荡。 |
| ImmediatelyFast / Ixeris / C2ME / Spark / BetterF3 |
兼容 |
互补关系;Ixeris 窗口查询保持线程安全,Spark 采样器线程被排除在工作者亲和力扫描之外。 |
在包含 Sodium 0.8.12、Iris 1.10.7、Lithium 0.21.4、FerriteCore 8.2.0、EntityCulling 1.10.2、MoreCulling 1.6.2、Polytone 5.7.2、Dynamic FPS 3.11.6、ImmediatelyFast 1.14.2、Ixeris 4.6.11 和 Spark 1.10.170 的真实 148 个模组的 Fabric 1.21.11 整合包上验证,实现零崩溃且无 Mixin 警告。
游戏内命令与 F3 诊断信息
Hydrogen 自带一套内置客户端命令套件和一个紧凑的 F3 叠加显示行,无需任何命令库依赖:
/hydrogen status(别名 /hy status)—— 实时 FPS/帧时间百分位数、DRS 缩放比例 & CAS 锐度、显存使用情况、CPU 核心掩码、GC 清理次数、剔除计数器、服务器 MSPT 及模拟上限。
/hydrogen compat —— 详细列出每个检测到的模组及其兼容性状态(compatible、adapted、conflict_resolved、runtime_fallback)以及哪些挂钩已被让出。
/hydrogen benchmark —— 按需重新运行 5 秒基准校准测试。
/hydrogen toggle <feature> —— 在当前会话中实时切换各个功能(drs、cas、occlusion、leaves、shadows、particles、idle、sim、hud、fastbiome、fasttrig、strings),而无需修改你的保存配置文件。
/hydrogen reload —— 热重载 config/hydrogen.properties。
- F3 调试行:
Hydrogen: DRS 70%+CAS | 144/2Hz p50:6.6 p95:8.1ms | VRAM 60% | Sim 9
Spark 分析器基准测试(真实硬件证明)
所有基准测试均在真实桌面硬件上进行(Intel Core i5-10400 @ 2.90 GHz, 6核12线程 · NVIDIA GeForce GT 1030 2 GB · 2560×1440 @ 144 Hz 全屏),使用相同的存档快照、锁定 2560×1440 帧缓冲、确定性 30 秒摄像机扫掠,并使用 Spark async-profiler(4 毫秒间隔) 来验证 FPS 提升和 CPU 开销。
| 测试场景(锁定 2560×1440 全屏) |
基线平均 FPS |
Hydrogen 1.2.0 平均 FPS |
基线 1% 最低值 |
Hydrogen 1.2.0 1% 最低值 |
Spark 分析器关键发现 |
| MC 1.20.1 Fabric (OpenGL 3.2 · RD 16 · 默认配置,DRS 70%+CAS + 深度-2 树叶 + 模拟上限) |
123.5 |
160.0 (+29.6%) |
29.3 |
54.1 (+84.7%) |
drawElements -32.5%,服务器 MSPT p95 -25.9% (10.0→7.4 ms),堆内存 -222 MB (-12.1%),0.1% 低值 +40.6%,Hydrogen CPU 0.97% |
| MC 1.21.11 148-Mod Pack (基于 Sodium 0.8.12 + Iris + Lithium + FerriteCore + EntityCulling + MoreCulling + Dynamic FPS + ImmediatelyFast + Ixeris · RD 20 · 100% 原生缩放) |
168.3 |
179.9 (+6.9%) |
71.1 |
111.7 (+57.0%) |
p95 帧时间 -48.3% (13.8→7.1 ms),0.1% 低值 +86.3% (38.3→71.4 FPS),MSPT p95 -21.2%,G1 Young GCs -50%,Hydrogen CPU 0.04% |
| MC 26.3 Heavy Survival Base (Vulkan RenderPearl · RD 16 · 100% 原生缩放 · 墙壁遮挡 + 阴影/粒子剔除 + CPU 固定) |
220.6 |
229.3 (+3.9%) |
137.0 |
153.7 (+12.2%) |
ModelPart.render -59.0% (7,752→3,180 ms),FeatureRenderDispatcher.prepareFrame -55.0%,renderLevel CPU -42.9%,G1 Young GCs -40%,Hydrogen CPU 0.43% |
| MC 26.3 High-RD Stress (Vulkan RenderPearl · RD 24 · DRS 70%+CAS 激活) |
181.2 |
193.7 (+6.9%) |
144.2 |
164.0 (+13.8%) |
p95 帧时间 -12.9% (6.65→5.79 ms),prepareFrame -41.0%,Hydrogen CPU 0.19%,清晰锐化的 1440p 输出 |


支持版本与加载器
Hydrogen 1.2.0 为 Fabric、Quilt、Forge 和 NeoForge 提供了更新后的构建版本,支持 Minecraft 1.20.x、1.21.1、1.21.11、26.1.x、26.2 和 26.3(包括 稳定版 NeoForge 26.3、Fabric Loader 0.20.1、Quilt Loader 0.30.2,以及更新的 Forge 47–66 / NeoForge 21.1–26.3 目标)。
配置
你的配置文件位于 config/hydrogen.properties。几乎所有阈值默认值均为 auto(自动)。你可以将任意键设置为固定值,其余部分则继续自我调整:
drs.minScale=0.70 # 世界缩放比例永不低于此值
drs.cas.enabled=true # DRS 放大时启用 AMD FidelityFX CAS 锐化
drs.cas.sharpness=auto # 锐度随缩放比例平滑变化(0.0 到 1.0)
cull.occlusion.enabled=true # 对实体/箱子/粒子采用保守式墙壁遮挡剔除
cull.leaves.enabled=true # 深度为 2 的内部树叶剔除(保留最外两层)
idle.enabled=true # 当窗口未聚焦或最小化时限制 FPS 并暂停区块网格生成
sim.dynamic.enabled=true # 在 MSPT 过载时收紧服务器模拟距离
compat.autoResolve=true # 自动处理冲突的模组钩子(让出重叠部分)
hud.f3.enabled=true # 在 F3 调试屏幕末尾追加一行 Hydrogen 摘要信息
target.frameTimeMs=auto # 设为 16.7 以直接锁定 60 FPS
cpu.governor.allowPowerPlanSwitch=auto # auto = 仅限交流电源模式
log.verbose=false # 记录每次调整决策
诚实的限制
- Fabulous / Improved Transparency: 当启用 Fabulous 图形、Improved Transparency 或 Iris 光影包时,分辨率缩放会自动暂停,因为它们依赖于额外的全尺寸渲染目标。
- 26.2+ 上的区块延迟处理: 从 26.2 版本开始不可用,因为原版会失效区块段;不过前锥体区块优先级和空闲时暂停网格生成仍然有效。
- Vulkan (26.3) 下的显存遥测: 在 AMD/Intel Linux GPU 上,Hydrogen 即使在 Vulkan 下也通过 DRM sysfs 读取显存;在没有 sysfs 显存计数器的专有驱动上,显存驱逐功能会保持安全关闭状态,而不是盲目猜测,其他所有功能正常运行。
- Minecraft 26.4 快照 (
26.4-pre-2): 尚未支持,因为 Mojang 正在 26.4 发布前重构 AbstractTexture 以及 RenderPearl 的 RenderPassLayout/RenderPipeline API。
- 暂无设置 GUI: 请通过
/hydrogen toggle 实时配置,或在 config/hydrogen.properties 中持久化配置。
- 安全回退机制: 如果线程绑定被拒绝、电源 governor 不可写、着色器编译失败或运行时钩子抛出异常,Hydrogen 的熔断器会仅禁用该功能并干净地记录一次日志,而不会导致崩溃。
MoonHQ 的其他作品
运行 Paper 或 Purpur 服务器?试试 Moon (moonhq.net),这是一款集成的管理插件,提供游戏内举报与惩罚菜单、反绕过聊天过滤器、小号检测功能,以及供管理人员使用的实时 Web 仪表盘。
Hydrogen
Hydrogen measures your CPU, GPU, monitor refresh rate and DPI scaling, then benchmarks your game for five seconds and sets every threshold from what it finds. A 4K 60Hz PC and a 1080p 240Hz PC end up with completely different settings without touching a config file — and with zero external dependencies (no Fabric API, no Quilt Standard Libraries, no config libs).
Join our Discord for help, updates and suggestions.
What it does
GPU, Resolution & Visual-Preserving Culling
- Dynamic Resolution + AMD FidelityFX CAS sharpening. When the GPU falls behind or VRAM fills, the 3D world renders at a lower internal scale (never below
drs.minScale=0.70) while your HUD, text, crosshair and menus stay at full native resolution. A single-pass FidelityFX Contrast Adaptive Sharpening (CAS) shader restores crisp block edges across OpenGL 3.2 (1.20.x–1.21.1), Blaze3D (1.21.11–26.2) and RenderPearl Vulkan/OpenGL (26.3), bypassing completely at 100% scale.
- Zero-allocation conservative wall occlusion culling. A chunk-cached 3D DDA raymarcher with 5-point AABB visibility checks skips entities, block entities (chests, signs, item frames) and block-cell-cached particles strictly hidden behind solid walls — cutting up to 59% of entity/chest model CPU time without popping when peeking around corners.
- Visual-preserving depth-2 leaf culling. Keeps two full outer layers of leaves on every tree canopy so forests stay thick, dark and lush with zero hollow sky bleed-through, while culling hidden interior leaf faces 2+ blocks deep inside dense canopies.
- Sub-pixel, distant shadow & particle culling. Drops sub-pixel entities/block entities using your live DPI scaling, skips distant entity ground shadows past configurable range, enforces an adaptive particle spawn budget during explosions or mob farms (shedding distant/behind-camera particles first), skips collision sweeps for particles behind your camera, and thins distant ambient block
animateTick particle rolls.
- Driver-accurate VRAM protection. Reads real VRAM from
GL_NVX_gpu_memory_info (NVIDIA), GL_ATI_meminfo (AMD), or Linux DRM sysfs (mem_info_vram_total/used), plus RenderPearl DeviceInfo GPU detection on 26.3 Vulkan. Releases only idle plain textures (never atlases or skins) and applies a session-only render-distance safety cap if VRAM spills, recovering automatically once room returns.
CPU, Frame Pacing, Memory & Simulation
- Cache-aware core isolation. Reads your real CPU topology (P/E cores, SMT siblings, last-level cache domains, Ryzen X3D V-Cache CCDs, firmware core ranking) and pins the render thread to dedicated physical cores while sweeping chunk builders, the integrated server and background mod threads off them.
- Adaptive clock boosting & idle throttling. Raises clocks when frames overrun your monitor target (or calibrated refresh divisor) on AC power, recovers gracefully after crashes, and automatically caps FPS and pauses background chunk meshing when minimized, unfocused or sitting on a static pause screen — suppressing idle frames so they never skew calibration or DRS.
- Smart garbage collection & bounded memory deduplication. Pulls GC forward into quiet windows (menus, pause screens, world/dimension transitions, or standing still on concurrent collectors) without ever interrupting combat. A lock-free 4096-slot bounded
StringPool deduplicates repetitive NBT keys without leaking memory.
- Dynamic simulation distance (Singleplayer & Dedicated Server). Watches server MSPT and smoothly tightens simulation distance under sustained tick overload while leaving visual render distance and
options.txt untouched, then relaxes once the server recovers.
- Bit-exact math fast paths & forward-cone chunk ordering. Replaces vanilla's 8-corner biome Voronoi scan with a bit-exact nearest-corner-first early-pruned lookup, compacts trig lookups into a cache-friendly 64 KB quadrant-folded LUT, prioritises chunk builds in a 60° forward view cone, and protects gameplay sounds when the 247-channel OpenAL pool gets crowded.
Proactive Compatibility & Self-Healing
Hydrogen never replaces your renderer or shaders. At pre-launch it scans every loaded mod against a built-in compatibility rulebook covering 35+ popular mods, automatically steps aside only the specific overlapping hooks so nothing clashes or crashes, and guards runtime hooks with automatic circuit breakers.
| Mod |
Status |
How Hydrogen handles it |
| Sodium / Embeddium / Rubidium |
Adapted |
Defers vanilla chunk ordering, deferral, idle mesh pause and leaf culling to Sodium; CPU pinning, GC, DRS+CAS, VRAM and entity/shadow culling stay active. |
| Iris / Oculus |
Compatible |
DRS and CAS pause automatically whenever a shader pack is active and resume seamlessly when shaders are turned off. |
| VulkanMod |
Conflict Resolved |
Disables OpenGL framebuffer, chunk and VRAM hooks while keeping CPU pinning, GC, culling and dynamic simulation active. |
| OptiFine / OptiFabric |
Conflict Resolved |
Steps aside conflicting render mixins so OptiFine bytecode never clashes; CPU, GC, audio and simulation stay active. |
| Distant Horizons |
Conflict Resolved |
Disables viewport DRS/CAS so LOD depth buffers remain aligned with terrain. |
| EntityCulling |
Adapted |
Defers wall-occlusion raytracing to EntityCulling while keeping Hydrogen sub-pixel and shadow culling active. |
| MoreCulling / CullLeaves |
Adapted |
Defers leaf face culling to avoid duplicate block-face hooks. |
| Polytone |
Adapted |
Defers the QuadParticleGroup frustum hook to prevent @Redirect overlap; particle budget and physics culling remain active. |
| Dynamic FPS / FPS Reducer |
Adapted |
Defers unfocused/minimized FPS limits so frame limiters never fight. |
| FerriteCore / ModernFix |
Adapted |
Defers NBT string deduplication to avoid redundant pools. |
| Lithium / Radium / Canary |
Adapted |
Defers biome/trig fast paths and hopper hooks to Lithium while keeping CPU pinning, GC and client optimisations active. |
| ServerCore / DynamicView / VMP |
Adapted |
Defers dynamic simulation distance so two controllers never oscillate. |
| ImmediatelyFast / Ixeris / C2ME / Spark / BetterF3 |
Compatible |
Complementary; Ixeris window queries stay thread-safe and Spark sampler threads are exempted from worker affinity sweeping. |
Verified crash-free with zero mixin warnings on a real 148-module Fabric 1.21.11 pack combining Sodium 0.8.12, Iris 1.10.7, Lithium 0.21.4, FerriteCore 8.2.0, EntityCulling 1.10.2, MoreCulling 1.6.2, Polytone 5.7.2, Dynamic FPS 3.11.6, ImmediatelyFast 1.14.2, Ixeris 4.6.11 and Spark 1.10.170.
In-Game Commands & F3 Diagnostics
Hydrogen ships a built-in client command suite and a compact F3 overlay line with zero command-library dependencies:
/hydrogen status (alias /hy status) — Live FPS/frametime percentiles, DRS scale & CAS sharpness, VRAM usage, CPU core mask, GC sweeps, culling counters, server MSPT & simulation cap.
/hydrogen compat — Full breakdown of every detected mod, its compatibility status (compatible, adapted, conflict_resolved, runtime_fallback) and which hooks stepped aside.
/hydrogen benchmark — Re-runs the 5-second baseline calibration pass on demand.
/hydrogen toggle <feature> — Toggle individual features (drs, cas, occlusion, leaves, shadows, particles, idle, sim, hud, fastbiome, fasttrig, strings) live for the session without mutating your saved config.
/hydrogen reload — Hot-reloads config/hydrogen.properties.
- F3 Debug Line:
Hydrogen: DRS 70%+CAS | 144/2Hz p50:6.6 p95:8.1ms | VRAM 60% | Sim 9
Spark Profiler Benchmarks (Real Hardware Proof)
All benchmarks were measured on real desktop hardware (Intel Core i5-10400 @ 2.90 GHz, 6C/12T · NVIDIA GeForce GT 1030 2 GB · 2560×1440 @ 144 Hz fullscreen) using identical world snapshots, locked 2560×1440 framebuffers, deterministic 30-second camera sweeps, and Spark async-profiler (4 ms interval) to verify both FPS gains and CPU overhead.
| Test Scenario (Locked 2560×1440 Fullscreen) |
Baseline Avg FPS |
Hydrogen 1.2.0 Avg FPS |
Baseline 1% Low |
Hydrogen 1.2.0 1% Low |
Key Spark Profiler Findings |
| MC 1.20.1 Fabric (OpenGL 3.2 · RD 16 · Default config, DRS 70%+CAS + Depth-2 Leaves + SimCap) |
123.5 |
160.0 (+29.6%) |
29.3 |
54.1 (+84.7%) |
drawElements -32.5%, Server MSPT p95 -25.9% (10.0→7.4 ms), Heap -222 MB (-12.1%), 0.1% low +40.6%, Hydrogen CPU 0.97% |
| MC 1.21.11 148-Mod Pack (On top of Sodium 0.8.12 + Iris + Lithium + FerriteCore + EntityCulling + MoreCulling + Dynamic FPS + ImmediatelyFast + Ixeris · RD 20 · 100% Native Scale) |
168.3 |
179.9 (+6.9%) |
71.1 |
111.7 (+57.0%) |
p95 frametime -48.3% (13.8→7.1 ms), 0.1% low +86.3% (38.3→71.4 FPS), MSPT p95 -21.2%, G1 Young GCs -50%, Hydrogen CPU 0.04% |
| MC 26.3 Heavy Survival Base (Vulkan RenderPearl · RD 16 · 100% Native Scale · WallOcc + Shadow/Particle Cull + CPU Pinning) |
220.6 |
229.3 (+3.9%) |
137.0 |
153.7 (+12.2%) |
ModelPart.render -59.0% (7,752→3,180 ms), FeatureRenderDispatcher.prepareFrame -55.0%, renderLevel CPU -42.9%, G1 Young GCs -40%, Hydrogen CPU 0.43% |
| MC 26.3 High-RD Stress (Vulkan RenderPearl · RD 24 · DRS 70%+CAS active) |
181.2 |
193.7 (+6.9%) |
144.2 |
164.0 (+13.8%) |
p95 frametime -12.9% (6.65→5.79 ms), prepareFrame -41.0%, Hydrogen CPU 0.19%, crisp CAS-sharpened 1440p output |


Supported Versions & Loaders
Hydrogen 1.2.0 ships updated builds for Fabric, Quilt, Forge and NeoForge across Minecraft 1.20.x, 1.21.1, 1.21.11, 26.1.x, 26.2 and 26.3 (including stable NeoForge 26.3, Fabric Loader 0.20.1, Quilt Loader 0.30.2, and updated Forge 47–66 / NeoForge 21.1–26.3 targets).
Configuration
Your config lives at config/hydrogen.properties. Almost every threshold defaults to auto. Set any key to a fixed value while the rest continue tuning themselves:
drs.minScale=0.70 # never scale the world below this
drs.cas.enabled=true # AMD FidelityFX CAS sharpening on DRS upscale
drs.cas.sharpness=auto # auto ramps smoothly with scale (0.0 to 1.0)
cull.occlusion.enabled=true # conservative wall occlusion for entities/chests/particles
cull.leaves.enabled=true # depth-2 interior leaf culling (preserves 2 outer layers)
idle.enabled=true # cap FPS and pause chunk meshing when unfocused/minimized
sim.dynamic.enabled=true # tighten server simulation distance under MSPT overload
compat.autoResolve=true # automatically step aside overlapping mod hooks
hud.f3.enabled=true # append a single Hydrogen summary line to F3
target.frameTimeMs=auto # set 16.7 to target 60 FPS directly
cpu.governor.allowPowerPlanSwitch=auto # auto = AC power only
log.verbose=false # log every tuning decision
Honest limits
- Fabulous / Improved Transparency: Resolution scaling pauses automatically when Fabulous graphics / Improved Transparency or an Iris shader pack is active, because they rely on additional full-size render targets.
- Chunk deferral on 26.2+: Unavailable from 26.2 onward due to how vanilla invalidates sections, though forward-cone chunk prioritisation and idle mesh pausing still work.
- VRAM telemetry on Vulkan (26.3): On AMD/Intel Linux GPUs, Hydrogen reads VRAM through DRM sysfs even under Vulkan; on proprietary drivers without sysfs VRAM counters, VRAM eviction stays safely off instead of guessing while all other features run normally.
- Minecraft 26.4 snapshots (
26.4-pre-2): Not yet targeted because Mojang is actively refactoring AbstractTexture and RenderPearl's RenderPassLayout/RenderPipeline APIs ahead of the 26.4 release.
- No settings GUI yet: Configure live via
/hydrogen toggle or persistently in config/hydrogen.properties.
- Safe fallbacks: If thread pinning is denied, the power governor isn't writable, a shader fails to compile, or a runtime hook throws, Hydrogen's circuit breaker disables only that feature cleanly and logs once without crashing.
More from MoonHQ
Running a Paper or Purpur server? Check out Moon (moonhq.net), an all-in-one moderation plugin with in-game report and punishment menus, an anti-bypass chat filter, alt detection, and a live web dashboard for your staff.
评论 0
登录后参与评分
还没有评论,来抢沙发吧