Skip to content

Bug Report: Game window does not show under Wayland on Linux #2498

Open
@htv04

Description

Please check for duplicates or similar issues, as well performing simple troubleshooting steps (such as clearing cookies, clearing AppData, trying another browser) before submitting an issue.

If you are playing the game in a browser, what site are you playing it from?

If you are playing the game in a browser, what browser are you using?

  • Google Chrome (or chomium based like Brave, vivaldi, MS Edge)
  • Firefox
  • Safari

What version of the game are you using? Look in the bottom left corner of the main menu. (ex: 0.2.7, 0.2.1, shit like that)

0.3.2, compiled from source

Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.

Yes. Set the shell variable SDL_VIDEODRIVER to wayland so that SDL uses a Wayland backend. The game window will not appear, but audio will play in the background and no errors will appear in the terminal, signifying that the game has not crashed.

Please describe your issue. Provide extensive detail and images if possible.

When SDL_VIDEODRIVER is set to wayland, programs should run normally without any additional modifications. I'm not exactly sure if this is an issue with HaxeFlixel or Lime more than it is an issue with the game. It may be a Lime issue based on the fact that it has its own version of SDL. I did rebuild Lime via lime rebuild linux -64 -release, so using a pre-built version of Lime is not the issue.

To mitigate this issue, one can set SDL_VIDEODRIVER to x11, which is currently the default, but relies on XWayland.

If you're game is FROZEN and you're playing a web version, press F12 to open up browser dev window, and go to console, and copy-paste whatever red error you're getting

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: pending triageAwaiting review.type: major bugInvolves a major bug, including crashes, softlocks, or issues blocking progression

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions