minecraft-linux / minecraft-linux.github.io

Readthedocs updates are broken as of 2024 moved to gh pages
https://minecraft-linux.github.io/
33 stars 27 forks source link

Linux Minecraft Launcher crashed during game launch in Wayland session (Gnome) - Fedora 40, nVidia v555 driver #96

Closed mohdyusuf closed 4 months ago

mohdyusuf commented 4 months ago

We have new nVidia v555 driver that support explicit sync. I am able to play Steam games without issues now on Fedora 40.

However the Linux Minecraft Launcher would crash and not open the game display after hitting the green “PLAY” button.

On X11, the launcher and the game runs perfectly.

Launcher version: v0.15.0 (build 79) Minecraft version: 1.21.0.03 (x86_64)

I tried running Android emulator (android studio) under Wayland and running the minecraft game fine.

ChristopherHX commented 4 months ago

that support explicit sync

I have no idea what that is and probably not possible to know anythingaboit this

wayland support is in external code glfw, but nothing about your issue is known

the external glfw is planned to be replaced soon with sdl3

Here an x11+wayland native nightly of the launcher, which you could test as well https://github.com/minecraft-linux/mcpelauncher-manifest/releases/download/nightly/Minecraft_Bedrock_Launcher-sdl3-x86_64-v0.15.0.369.AppImage

Maybe you need to install older libfuse than you have, if you never used AppImages / use --appimage-extract to unpack it then run AppRun

ChristopherHX commented 4 months ago

E.g. please prefer https://github.com/minecraft-linux/mcpelauncher-manifest/issues over here, because there is an issue template that requests information and fragmented issues are too much for me to handle alone

mohdyusuf commented 4 months ago

Thank you so much for your pointer, the nightly launcher x11+wayland you pointed is working.

Wrt the explicit sync thingy, it was kinda the last piece needed from nVidia driver support to support wayland properly, else the screen flickers a lot for some games. I think it is irrelevant for this discussion, given you already have a build supporting wayland and it is working.

Nitpick, if I see the UI is a little out of scale for display setting at 300% (4k res). When the display scale is 100% the nightly build looks good. This issue is not seen for flatpak released package btw (even at 300% scale). Screenshot from 2024-06-15 14-05-42