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

Closed
anantnrg opened this issue Jan 30, 2024 · 7 comments
Closed

Eframe unusable when rendering with WGPU backend on Wayland #3924

anantnrg opened this issue Jan 30, 2024 · 7 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?

@anantnrg
Copy link
Author

@Wumpf sorry im late, but no i did not try again.

@Wumpf
Copy link
Collaborator

Wumpf commented Dec 28, 2024

@anantnrg mind giving it another spin with the latest egui version? :)
Also if this still doesn't work, can you please provide any log output generated by RUST_LOG=trace

@anantnrg
Copy link
Author

@Wumpf sadly, im on windows right now (ue5 works better), and dont have a working linux install. So i wont be able to test it again. sorry :(

@Wumpf
Copy link
Collaborator

Wumpf commented Jan 2, 2025

Closing this then due to lack of information & repro

@Wumpf Wumpf closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2025
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