Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SanekGamer007 opened this issue Oct 22, 2024 · 7 comments
Open

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

SanekGamer007 opened this issue Oct 22, 2024 · 7 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@SanekGamer007
Copy link

SanekGamer007 commented Oct 22, 2024

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.

@SanekGamer007 SanekGamer007 added the bug Something isn't working label Oct 22, 2024
@Dilen0001
Copy link

.

@BloCamLimb
Copy link

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

@GaucovyAero GaucovyAero added the invalid This doesn't seem right label Oct 31, 2024
@GaucovyAero
Copy link
Collaborator

please test again

@SanekGamer007
Copy link
Author

please test again

will have to wait for 3.11.1 release.

@GaucovyAero
Copy link
Collaborator

okay

@BloCamLimb
Copy link

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.

@artdeell
Copy link
Member

artdeell commented Nov 3, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

5 participants