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

Wayland crash #599

Open
iMonZ opened this issue Sep 5, 2021 · 1 comment
Open

Wayland crash #599

iMonZ opened this issue Sep 5, 2021 · 1 comment

Comments

@iMonZ
Copy link

iMonZ commented Sep 5, 2021

The game crashes on Wayland
Manjaro latest version

Error in log: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

The game crashes with this error:

terminate called after throwing an instance of 'std::runtime_error'
  what():  glfwInit error

Process exited with unexpected exit code: 6

You can test this with using as example: Ubuntu 21.04.
And install the flatpak.

Run the game with this exact command: "QT_QPA_PLATFORM=wayland flatpak run io.mrarm.mcpelauncher"

@ChristopherHX
Copy link
Member

The flatpak version has no wayland support and needs x11 or xwayland to run. Only the launcher ui will open without x11 or xwayland. It basically fails while searching x11 or your graphic drivers and panics.

You should open an issue at the flatpak repo of this launcher

Some problems why the flatpak has no wayland support enabled

  • GLFW had no option (at least last year) to use x11 and wayland without recompiling.
  • GLFW wayland is experimental (at least last year), trying to resize the window has strage side effects to the window position.
  • Random window freezing while playing a short time
  • Sheeps, Spiders and enchanted stuff glows white (I have no idea why this happens)

This launcher works with Xwayland just fine, without any of the issues above.

For Minecraft 1.16.100 (maybe 1.16.20x too)
You could use flatpak-builder with this branch to get a buggy wayland build https://github.com/flathub/io.mrarm.mcpelauncher/tree/ChristopherHX-Broken-wayland-touch

Do you have XWayland installed?
Do you consider installing XWayland?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants