Skip to content

enable wayland by default #19232

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

BenjaminBrienen
Copy link
Contributor

Objective

Solution

Just one commit to add wayland to the default features indeed

Why should it be merged?

The discussion in #4106 seems to be overwhelmingly positive toward adding wayland to the default features, as it can greatly improve user experience for Linux users who use Wayland.

Many of the most popular Linux Desktop Environments (DE) like KDE Plasma Desktop and GNOME have Wayland support. With the release of Plasma 6, Wayland is now used by default, and in GNOME, Wayland has been the default for quite a while now.

With Plasma and GNOME, the most popular Linux DEs, now defaulting to Wayland, it seems like enabling Wayland support would truly indeed positively affect quite a lot of Linux users indeed.

Copied from #10792

@BenjaminBrienen BenjaminBrienen self-assigned this May 16, 2025
@BenjaminBrienen BenjaminBrienen added D-Trivial Nice and easy! A great choice to get started with Bevy A-Rendering Drawing game state to the screen C-Usability A targeted quality-of-life change that makes Bevy easier to use X-Contentious There are nontrivial implications that should be thought through S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels May 16, 2025
Copy link
Contributor

@TimJentzsch TimJentzsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Binary size of the breakout example:

  • Without wayland: 71,596,288
  • With wayland: 73,349,376 (+2.44%)

Personally, I think that's acceptable, considering the benefits.

The usage seems to be at 45% now, so it could benefit a lot of users.

@TimJentzsch TimJentzsch added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels May 16, 2025
@BenjaminBrienen
Copy link
Contributor Author

Maybe related?
#10386

@alice-i-cecile alice-i-cecile added X-Controversial There is active debate or serious implications around merging this PR S-Needs-SME Decision or review from an SME is required and removed S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it X-Contentious There are nontrivial implications that should be thought through labels May 19, 2025
@alice-i-cecile alice-i-cecile added this to the 0.17 milestone May 19, 2025
@alice-i-cecile
Copy link
Member

@cart has argued against this in the past, but things have continued to develop and user feedback has been anecdotally good. I'm weakly in favor, but I'll leave the final call to him.

Copy link
Member

@alice-i-cecile alice-i-cecile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Execution looks fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Usability A targeted quality-of-life change that makes Bevy easier to use D-Trivial Nice and easy! A great choice to get started with Bevy S-Needs-SME Decision or review from an SME is required X-Controversial There is active debate or serious implications around merging this PR
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Enable wayland support in examples. Enable wayland by default
6 participants