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

Backend library: LWJGL version does not always match vanilla output #941

Open
theofficialgman opened this issue Jun 20, 2024 · 5 comments
Open

Comments

@theofficialgman
Copy link

output when you use vanilla:

[15:24:12] [Render thread/INFO]: Backend library: LWJGL version 3.1.2 build 29
[15:25:01] [Render thread/INFO]: Backend library: LWJGL version 3.1.6 build 14
[15:25:28] [Render thread/INFO]: Backend library: LWJGL version 3.2.1 build 12
[15:25:57] [Render thread/INFO]: Backend library: LWJGL version 3.2.2 build 10
[15:26:21] [Render thread/INFO]: Backend library: LWJGL version 3.3.1 build 7
[15:32:11] [Render thread/INFO]: Backend library: LWJGL version 3.3.2+13
[15:32:52] [Render thread/INFO]: Backend library: LWJGL version 3.3.3+5

output when you use fabric:

[15:31:34] [Render thread/INFO]: Backend library: LWJGL version 3.1.2 build 29
[15:31:13] [Render thread/INFO]: Backend library: LWJGL version 3.1.6 build 14
[15:30:53] [Render thread/INFO]: Backend library: LWJGL version 3.2.1 build 12
[15:30:26] [Render thread/INFO]: Backend library: LWJGL version 3.2.2 build 10
[15:30:06] [Render thread/INFO]: Backend library: LWJGL version 3.3.1 SNAPSHOT
[15:29:44] [Render thread/INFO]: Backend library: LWJGL version 3.3.2-snapshot
[15:29:01] [Render thread/INFO]: Backend library: LWJGL version 3.3.3-snapshot

no changes other than the use of vanilla vs the latest fabric-loader

@modmuss50
Copy link
Member

What minecraft version and launcher are you using?

@theofficialgman
Copy link
Author

theofficialgman commented Jun 20, 2024

What minecraft version and launcher are you using?

all versions of minecraft (tested 1.16-1.21) are affected.

all launchers are affected (tested official minecraft launcher and prism launcher)

again, this is a fabric-loader issue which is why it affects all versions and launchers

@theofficialgman
Copy link
Author

theofficialgman commented Jun 20, 2024

this is a fabric-loader regression

bisected to the first incorrect version being 0.14.0. 0.13.3 and earlier do not have the issue

@theofficialgman
Copy link
Author

likely regression causing commit 36ed420

cc @sfPlayer1

@sfPlayer1
Copy link
Contributor

This comes from Version.class.getPackage().getImplementationVersion(), the class loader may not initialize all the package metadata fully at the moment. It's not particularly impactful, but will be fixed eventually..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants