MC-296750 Fix

MC-296750 Fix

Mod

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

Client Utility

84 downloads
0 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

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.


Project members

isxander

Member

Details

Licensed LGPL-3.0-only
Published 15 days ago
Updated 16 days ago