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

Eframe unusable when rendering with WGPU backend on Wayland #3924

Open
anantnrg opened this issue Jan 30, 2024 · 3 comments
Open

Eframe unusable when rendering with WGPU backend on Wayland #3924

anantnrg opened this issue Jan 30, 2024 · 3 comments
Labels
bug Something is broken eframe Relates to epi and eframe egui-wgpu native-linux Problem specific to Linux

Comments

@anantnrg
Copy link

Describe the bug

When running eframe with the wgpu and wayland features enabled, the result window is unresponsive to any mouse or keyboard events. Running with glow works perfectly fine as intended.

To Reproduce
Steps to reproduce the behavior:

  1. Clone emilk/eframe_template repo.
  2. Open Cargo.toml
  3. Change glow in eframe features to wgpu
  4. Add wayland feature to eframe
  5. Run with cargo run
  6. Try clicking or typing anything.

Expected behavior
App should work as expected like when using the Glow backend.

Desktop (please complete the following information):

  • OS: EndeavourOS 6.7.2-arch-1
@anantnrg anantnrg added the bug Something is broken label Jan 30, 2024
@emilk emilk added eframe Relates to epi and eframe egui-wgpu native-linux Problem specific to Linux labels Jan 30, 2024
@Friz64
Copy link
Contributor

Friz64 commented Feb 2, 2024

Are you on NVIDIA, by chance? I presume this is gfx-rs/wgpu#4775. A fix for this has already been implemented in wgpu, and will most likely be released in the next major version (0.20).

@anantnrg
Copy link
Author

anantnrg commented Feb 2, 2024

@Friz64 yes, I have an Nvidia GTX 1060. I'll test it once the new release of wgpu comes out. Maybe that'll solve it.

@Wumpf
Copy link
Collaborator

Wumpf commented Sep 13, 2024

@anantnrg it's been a few updates by now, did you try again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken eframe Relates to epi and eframe egui-wgpu native-linux Problem specific to Linux
Projects
None yet
Development

No branches or pull requests

4 participants