-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
Wayland: The platform does not provide the window position #393
Comments
Some quick searches leads me to PrismLauncher/PrismLauncher#1876, which links to https://github.com/Admicos/minecraft-wayland. According to that repository's README, you may need to disable the early loading window (by setting Someone running Linux and Wayland will have to verify and debug this issue. |
Of course I know about this repository. Unfortunately |
For me, |
Would you like to have my system information as well? |
Reason for 2nd crash was I had was GLFW I'm using is too old for Minecraft. GLFW that Minecraft uses is 3.4, It is not yet released on my disto yet and I assume same goes for all debian based ones as well since 3.4 is released Feb 24. It was unable to create window, but after I set |
Huh I discovered the same problem on 1.20.1 |
On 1.20.1 You need to patch glfw somehow. WorkaroundYou need to build glfw yourself. The patch is not hard. Wayland functions for providing window position and changing icon both look like this: void _glfwGetWindowPosWayland(_GLFWwindow* window, int* xpos, int* ypos)
{
// A Wayland client is not aware of its position, so just warn and leave it
// as (0, 0)
_glfwInputError(GLFW_FEATURE_UNAVAILABLE,
"Wayland: The platform does not provide the window position");
} It just returns error immediately without doing anything.
|
Reason for disabling early window control being suggested is It makes minecraft not even call |
I have no way to test this now, but if you have the version after accepting neoforged/FancyModLoader#68 the problem should go away |
there still maybe concurrency error ( |
Do we still need this? NVIDIA explicit sink is now supported so we can just run it on x11. |
在 2024年6月13日星期四 GMT+8 11:19:22,한현빈 写道:
Do we still need this? NVIDIA explicit sink is now supported so we can just
run it on x11. Personally x11 experience is better for me now. fcitx5
didn't work on wayland.
As for me fcitx5 works better on Wayland than on X11.
|
Minecraft Version: 1.20.2
NeoForge Version: 20.2.86
Logs:
Steps to Reproduce:
-Dorg.lwjgl.glfw.libname=PATH_TO_LIBGLFW_WAYLAND
Description of issue:
This error exclusive for Forge. Vanilla and Fabric don't have this error
The text was updated successfully, but these errors were encountered: