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

Minecraft: Forge - Failed to initialize graphics window with current settings. #177

Open
JustinsKittens opened this issue Sep 22, 2023 · 5 comments
Labels
triage We are trying to categorize this issue or missing info to do so

Comments

@JustinsKittens
Copy link

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

image

@mindstorm38
Copy link
Owner

Can you give us the environment you are using (OS/CPU architecture...)?

@Ristovski
Copy link
Contributor

Please also provide logs from the terminal, which likely have a much better error message.

@JustinsKittens
Copy link
Author

JustinsKittens commented Sep 25, 2023

I am using Replit
OS is Ubuntu 20.04.2 LTS (Focal Fossa)
CPU Architecture is x86_64
CPU Model is Intel(R) Xeon(R) CPU @ 2.20GHz

Terminal Output:

[14:06:54] [main] [INFO] ModLauncher running: args [--username, 6fa73c8b, --version, forge-1.20.1-47.2.0, --gameDir, /home/runner/.minecraft, --assetsDir, /home/runner/.minecraft/assets, --assetIndex, 5, --uuid, 6fa73c8be8fa53fda0c2ad5390bb9b5b, --accessToken, ❄❄❄❄❄❄❄❄, --clientId, , --xuid, , --userType, , --versionType, release, --launchTarget, forgeclient, --fml.forgeVersion, 47.2.0, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412]
[14:06:54] [main] [INFO] ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.8 by Microsoft; OS Linux arch amd64 version 6.2.0-1014-gcp
[14:06:55] [main] [WARN] Configuration file /home/runner/.minecraft/config/fml.toml is not correct. Correcting
[14:06:55] [main] [INFO] Incorrect key [earlyWindowSkipGLVersions] was corrected from null to []
[14:06:55] [main] [INFO] Incorrect key [earlyWindowSquir] was corrected from null to false
[14:06:55] [main] [INFO] Loading ImmediateWindowProvider fmlearlywindow
[14:06:56] [main] [ERROR] 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

@Ristovski
Copy link
Contributor

Ristovski commented Sep 25, 2023

Judging from /home/runner/.minecraft/ you are trying to run the launcher on a remote instance on replit which has no hardware-accelerated graphics output and thus initializing OpenGL fails.

You can easily confirm this by running glxinfo -B inside the instance, and looking at the output.

Edit: In case it does have hw accel graphics, it's likely that the OpenGL version is lower than what Minecraft needs to run.

@mindstorm38 mindstorm38 added the triage We are trying to categorize this issue or missing info to do so label Oct 24, 2023
@mindstorm38
Copy link
Owner

Any update on your problem being solved or not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage We are trying to categorize this issue or missing info to do so
Projects
None yet
Development

No branches or pull requests

3 participants