Skip to content

Bevy freezes on Wayland #10546

@ColonelThirtyTwo

Description

@ColonelThirtyTwo

Bevy version

Tested both 0.12 and commit 18d001d27ce475388743d9825f2833ce51f5b20d (current main as of writing)

[Optional] Relevant system information

Arch Linux, Hyprland compositor v0.30.0, laptop with AMD / Nvidia hybrid graphics.

What you did

In bevy/examples, run cargo run --example button --features wayland, and attempt to press the button

What went wrong

The button does not highlight on hover or clicking as expected. The cursor is stuck on the "text entry" cursor. The window does not respond to window closing, and must be closed via Ctrl+C from the console.

If I add a simple system that prints on update, the system only prints 5 times before stopping.

Additional information

Removing the wayland feature from bevy fixes the issue.

Output of env RUST_LOG=debug cargo run --example button --features wayland (unfortunately includes coloring escape sequences): log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorO-LinuxSpecific to the Linux desktop operating systemS-BlockedThis cannot move forward until something else changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions