PojavLauncherTeam / PojavLauncher

A Minecraft: Java Edition Launcher for Android and iOS based on Boardwalk. This repository contains source code for Android platform.
GNU Lesser General Public License v3.0
6.9k stars 1.3k forks source link

[BUG] ModernUI mod crashes due to missing lwjgl function(?) #6191

Open SanekGamer007 opened 1 month ago

SanekGamer007 commented 1 month ago

Describe the bug

Launching the game with modernui 3.11.0.1 mod crashes it.

The log file and images/videos

latestlog.txt

Steps To Reproduce

1. Start PojavLauncher.
2. Start an 1.20.1 forge-47.2.18 instance with modernui 3.11.0.1 installed.
3. Crash.

Expected Behavior

The game launches like normal.

Platform

- Device model: Mi Pad 6
- CPU architecture: armv8a
- Android version: 14, crdroid 10.5
- PojavLauncher version: foxglove-20241004-14a0907-feat/tinywrapper

Anything else?

Was tested with ltw renderer.

edit: also tested with fabric on 1.20.6 and the issue is the same.

Dilen0001 commented 1 month ago

.

BloCamLimb commented 1 month ago

I have suppressed the NoSuchMethodError, then I suppose ModernUI 3.11.1 will work with LTW.

GaucovyAero commented 1 month ago

please test again

SanekGamer007 commented 1 month ago

please test again

will have to wait for 3.11.1 release.

GaucovyAero commented 1 month ago

okay

BloCamLimb commented 1 month ago

Does LTW really support the following functions?

These are defined in OpenGL 3.3 and OpenGL ES 3.0, but I feel like they didn't work as expected. ModernUI requires these to render, but the fact is that it renders nothing, the game runs as usual without crashing, and there are no GL errors. However, when using Zink, everything works out the way it's supposed to.

artdeell commented 1 month ago

Does LTW really support the following functions?

* glClearBufferiv

* glClearBufferfv

* glClearBufferfi

* glBindBufferRange

* glDrawArraysInstanced

* glDrawElementsInstanced

* glGetUniformBlockIndex

* glUniformBlockBinding

* glFenceSync

* glDeleteSync

* glClientWaitSync

* glVertexAttribDivisor

* ARB_explicit_attrib_location

* ARB_instanced_arrays

These are defined in OpenGL 3.3 and OpenGL ES 3.0, but I feel like they didn't work as expected. ModernUI requires these to render, but the fact is that it renders nothing, the game runs as usual without crashing, and there are no GL errors. However, when using Zink, everything works out the way it's supposed to.

The version of LTW released to the public has broken uniform blocks, so this may be the reason