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

Game crash with Forge and Wayland Linux #358

Open
CynicalBusiness opened this issue Aug 23, 2024 · 0 comments
Open

Game crash with Forge and Wayland Linux #358

CynicalBusiness opened this issue Aug 23, 2024 · 0 comments

Comments

@CynicalBusiness
Copy link

We are utilizing the launcher for our Forge-powered modded server, but we some of our Linux players are reporting to be unable to start the game through the launcher, even though MultiMC/PrismLauncher work fine for them.

The crash is the following (this is the entire game log file!):

[cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [<redacted for brevity> --launchTarget, forgeclient, --fml.forgeVersion, 47.2.20, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412]
[main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.12 by Oracle Corporation; OS Linux arch amd64 version 6.10.3-200.fc40.x86_64
[net.minecraftforge.fml.loading.ImmediateWindowHandler/]: Loading ImmediateWindowProvider fmlearlywindow
[EARLYDISPLAY/]: ERROR DISPLAY
Failed to initialize graphics window with current settings.


Failure details:
We are unable to initialize the graphics system.
glfwInit failed.


If you click yes, we will try and open https://links.minecraftforge.net/early-display-errors in your default browser

I found information that Wayland support does not work without this patch and the relevant JVM arguments, so we have a flatpak build which includes it, but the issue persists.

Testing revealed that the problem only occurs with Wayland Linux (Arch, Fedora, Gentoo, SteamOS, etc.) and X11 appears to work fine, as do our macOS and Windows builds. Our fork is up-to-date with master.

I am unable to find any further information on the topic and these Linux users are turning out to be a much larger portion of our playerbase than expected. Any ideas?

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

1 participant