flathub / com.mojang.Minecraft

https://flathub.org/apps/details/com.mojang.Minecraft
32 stars 13 forks source link

Crashing on Nvidia Wayland #113

Open alvarlagerlof opened 2 years ago

alvarlagerlof commented 2 years ago
The game crashed whilst initializing game
Error: java.lang.RuntimeException: GL_FRAMEBUFFER_UNSUPPORTED
Exit Code: 255
vchernin commented 2 years ago

You're trying to run with Xwayland right? There are some known issues with Flatpak + Nvidia + Native Wayland + OpenGL/Vulkan. But this is probably with Xwayland...

What Wayland compositor?

alvarlagerlof commented 2 years ago

Xwayland indeed. That's what it defaulted to. This is using Gnome on Fedora 35. On Fedora 36 it will be default since it now has GBM support.

AsciiWolf commented 2 years ago

Hmm, I am not sure, but this may be related to the Mesa 21.3.1 update in latest fd runtime as mentioned here.

alvarlagerlof commented 2 years ago

I see. Guess I'll just wait a few days for more things to update.

nonetrix commented 2 years ago

Same issue I have gotten it to work in the past, interestingly can also reproduce this with https://github.com/Admicos/minecraft-wayland so it's not xwayland? I have no idea

edit: Forgot to add I'm also running the native AUR package of MultiMC this is most likely nothing to do with flatpak

vchernin commented 2 years ago

It sounds then like this is a general Nvidia on Wayland + Java/maybe glfw problem.

Trying other java or glfw apps would be interesting.