MC-296750 Fix
This fix resolves the startup crash issue on computers with AMD graphics cards running the Linux operating system.
The core of the problem is that the modification increases the minimum UBO offset alignment size to at least 256 (or larger if required by your specific system). Such requirements are standard in the Windows environment, whereas in Mesa Linux the minimum size is just 4 units.
According to informal explanations from Dinnerbone:
Somewhere in the code, a UBO of insufficient size is being used, but on Windows this is masked by larger alignment rules. If someone wants to create a more refined solution through modding, there's a corresponding method in GLDevice that returns this value. It can be changed to 256 (or 8, 16 etc. — smaller is better, but 256 definitely works).
This mod implements exactly that proposed solution.
Thanks to this patch, the game successfully launches without immediate crashes, though significant graphical artifacts may appear during gameplay.
Usage Instructions
dependencies {
modRuntimeOnly("dev.isxander:mc296750-fix:1.0.0")
}
This dependency configuration will allow you to adapt your own mods to new Minecraft test versions and conduct comprehensive testing.