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

GLFW error 65543 #954

Open
1 task done
HalJordan opened this issue Mar 28, 2023 · 18 comments
Open
1 task done

GLFW error 65543 #954

HalJordan opened this issue Mar 28, 2023 · 18 comments
Labels
bug Something isn't working minecraft Issue with Minecraft or mods

Comments

@HalJordan
Copy link

Operating System

No response

Version of Prism Launcher

6.3

Version of Qt

6.4.3

Description of bug

Suddenly getting:

GLFW error 65543: GLX: Failed to create context: GLXBadFBConfig.

Please make sure you have up-to-date drivers (see aka.ms/mcdriver for instructions).

I've tried multiple packs from multiple sources(ftb, curse, etc), rebooted. The whole nine yards. I've reinstalled any graphics drivers/libraries, mesa, et al. It only happens with Prism. Atlauncher and other games work without issue which is what's puzzling and why I'm coming here.

I've also tried with the built in and native GLFW.

Steps to reproduce

Try to start any instance.

Suspected cause

No response

This issue is unique

  • I have searched the issue tracker and did not find an issue describing my bug.
@HalJordan HalJordan added the bug Something isn't working label Mar 28, 2023
@ghost
Copy link

ghost commented Apr 10, 2023

Same for me

[15:10:06] [Render thread/WARN]: Failed to create window: 
net.minecraft.class_1041$class_4716: **GLFW error 65545: GLX: Failed to find a suitable GLXFBConfig**
	at net.minecraft.class_1041.method_4501(class_1041.java:223) ~[client-intermediary.jar:?]
	at org.lwjgl.glfw.GLFWErrorCallbackI.callback(GLFWErrorCallbackI.java:43) ~[lwjgl-glfw-3.3.1.jar:?]
	at org.lwjgl.system.JNI.invokePPPP(Native Method) ~[lwjgl-3.3.1.jar:?]
	at org.lwjgl.glfw.GLFW.nglfwCreateWindow(GLFW.java:2024) ~[lwjgl-glfw-3.3.1.jar:?]
	at org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:2197) ~[lwjgl-glfw-3.3.1.jar:?]
	at net.minecraft.class_1041.<init>(class_1041.java:93) ~[client-intermediary.jar:?]
	at net.minecraft.class_3682.method_16038(class_3682.java:21) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.<init>(class_310.java:484) ~[client-intermediary.jar:?]
	at net.minecraft.client.main.Main.method_44604(Main.java:205) [client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:51) [client-intermediary.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:462) [fabric-loader-0.14.17.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.17.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.14.17.jar:?]
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:88) [NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:126) [NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:71) [NewLaunch.jar:?]
Process was killed by user.

@ghost
Copy link

ghost commented Apr 10, 2023

image

@ghost
Copy link

ghost commented Apr 10, 2023

However doing a complete reinstall and deleting the configs made in ~/.var made it work again. (Flatpak)

@Vinesauced
Copy link

Having the same issue, but with one specific modpack on modrinth, Pack Zero.
I'm using a patched version of glfw, called glfw-wayland-minecraft-libdecoration in the Arch repos on Garuda Linux. I can post the full crash report if it helps.

@Niklas20114552
Copy link

If you get this Error:

GLFW error 65543: GLX: Failed to create context: BadValue (integer parameter out of range for operation).
Please make sure you have up-to-date drivers (see aka.ms/mcdriver for instructions).

My Fix was just a restart, because the Nvidia-Drivers was updated.

@akkaraul
Copy link

Good luck, my hardware doesn't support OpenGL and I won't be able to play the new modpack: DawnCraft, I'm desperate

@orowith2os
Copy link
Contributor

orowith2os commented Jul 17, 2023

For those using a patched GLFW, see CaffeineMC/sodium-fabric#1624

@46620
Copy link

46620 commented Aug 15, 2023

Same issue. Using an Intel Arc A770 on Arch Linux. Only had this issue after a BIOS updating and turning ResizeBAR on.

Log file

Either a driver update in the latest kernel update or disabiling Distant Horizons fixed it for me.

@Trial97 Trial97 added the minecraft Issue with Minecraft or mods label Oct 23, 2023
@HellishINC
Copy link

HellishINC commented Nov 17, 2023

This issue is not specific to nvidia. Updating to prismlauncer 8.x is when this issue introduced itself on my end. Deleting the current configuration and reinstalling prism indeed "fixes" the issue however this means losing all current data. I'm currently already on unstable for gpu drivers and can not change to a new version unless I'm expected to run a testing branch (not going to happen). This is definitely a configuration issue during upgrade from 7.x -> 8.x of prism.

To be clear, I'm using X11 and not wayland. I am also not using a custom modified glfw but what ships directly from the gentoo repos.

glxinfo:
GLX version: 1.4
Vendor: AMD (0x1002)
Device: AMD Radeon RX 6800 XT (radeonsi, navi21, LLVM 16.0.6, DRM 3.54, 6.6.1-gentoo-dist) (0x73bf)
Version: 23.3.0
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2

lspci:

0c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] (rev c1)
Subsystem: Tul Corporation / PowerColor Navi 21 [Radeon RX 6800/6800 XT / 6900 XT]
Kernel driver in use: amdgpu

@Scrumplex
Copy link
Member

Scrumplex commented Nov 18, 2023

A simple solution might be not to use an unstable glfw.
LWJGL does not use glfw's stable branch so running Minecraft with a stable GLFW will cause issues.

The reason why this problem appeared with the update to 8.0, is that the setting didn't work for Minecraft versions 1.19+ (or more specifically LWJGL 3.3.1+) prior to Prism Launcher 8.0

See #1392 and #513

@HellishINC
Copy link

I am not using an unstable version of GLFW, only AMDGPU and mesa. In fact Gentoo provides only one version of GLFW in the repos: 3.3.8

I also do not use the "use native" override.

@Trayshar
Copy link

Trayshar commented Nov 24, 2023

I have the same issue if I use the flatpak version of PrismLauncher 8. I tried the AppImage version and it worked fine. I have not made any changes to GLFW or any other library or setting.

Also, since the issue occurred after updating my graphics driver which I compile from source, I did some testing and bisected the issue to this commit in the mesa driver. I do not yet fully understand whats going on, but I think its a version mismatch between the mesa driver flatpak provides and the one I use natively. Likely not mesas fault. I'll look into it further the coming days.

@e1z0
Copy link

e1z0 commented Dec 27, 2023

Add MESA_GL_VERSION_OVERRIDE=4.3 to environment variables will fix it

@edricus
Copy link

edricus commented Feb 17, 2024

Add MESA_GL_VERSION_OVERRIDE=4.3 to environment variables will fix it

doesn't fix the issue
Debian 12
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.3.6

@HalJordan
Copy link
Author

I had gotten this to go away. I believe I had to switch to the git version.

Lo and behold, the git version is now using flatpack AND IT BROKE AGAIN.

Why must we break what isn't already broken to go with the new shiny??? This is rediculous.

@HalJordan
Copy link
Author

Yeah, definitely not limited to GPU manufacturer I have this issue now on amd, I had it before with nvidia, and someone else is seeing it now on nvidia in #1654. I'm able to run several other games/apps that rely on opengl INCLUDING using the POS put out by the FTB team. So it's not minecraft. It's not my drivers. It's something that the prism launcher is(not) doing.

This has happened before in the same way, then suddenly fixed itself but I was too busy with life to document when that happened.

I've tested with a handful of packs, so it's not down to any one pack or source(one imported from ftb, one from curseforge, etc).

@lukejameson
Copy link

As a few others have mentioned, installing a non flatpack version fixes it (At least for me).

Started getting the error after doing a system update (PosOs) which updated my GPU drivers from 470 to 550 (Yikes).

Removed flat pack and installed via another method (Prebuilt MPR) and it all works now.

@LFF5644
Copy link

LFF5644 commented Apr 16, 2024

put LIBGL_ALWAYS_SOFTWARE=1 in evn on launcher start arguments, disables you GPU and uses CPU software randering maybe slow but works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working minecraft Issue with Minecraft or mods
Projects
None yet
Development

No branches or pull requests