跳到正文

MC-296750 Fix

作者:isxander

Fixes startup crash on AMD Mesa drivers on Linux for 25w16a.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

MC-296750 fix

This fixes the startup crash on AMD GPUs with Linux.

This mod increases the minimum size of UBO offset alignment to a minimum 256 (or larger if your system asks for it), which is typical on Windows.
On Mesa Linux, the minimum size is 4.

The unofficial word from Dinnerbone is:

Somewhere I must have a UBO be too small and it’s being masked by the giant alignment rules on windows

If you want to try to mod it better, there’s a method in GLDevice that returns this value. Change it to 256 (or 8 or 16 or whatever, lower is better but 256 works for sure)

This mod does precisely that.

This gets the game to launch, and not crash, BUT there are severe rendering artifacts in-game.

How to use

dependencies {
    modRuntimeOnly("dev.isxander:mc296750-fix:1.0.0")
}

This will allow you to port your mods to the new snapshots and test them.

评论

登录后评论和评分

isxander 的其他作品

查看全部 →