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

The wgpu example doesn't run on asahi #3498

Open
Doublonmousse opened this issue Jan 4, 2025 · 0 comments
Open

The wgpu example doesn't run on asahi #3498

Doublonmousse opened this issue Jan 4, 2025 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@Doublonmousse
Copy link

Problem

cargo run --example wgpu --features="desktop gpu"

Fails on line 55
https://github.com/DioxusLabs/dioxus/blob/main/examples/wgpu.rs#L55 with

thread 'main' panicked at examples/wgpu.rs:55:26:
called `Option::unwrap()` on a `None` value

will fail.

Steps To Reproduce

cargo run --example wgpu --features="desktop gpu"

Expected behavior

The example runs, or indicates more clearly why it doesn't (unsupported platform or device).
I'm not sure if this is supposed to happen (is linux support there on wayland ?)

Environment:

  • Dioxus version: master, 04282ef
  • Rust version: rustc 1.83.0 (90b35a623 2024-11-26)
  • OS info: Fedora 41 asahi remix
  • App platform: desktop
  • device info : Mac mini M2

Questionnaire

I'm interested in fixing this myself but don't know where to start (at the very least I'll be ready to try to debug)

@jkelleyrtp jkelleyrtp added the bug Something isn't working label Jan 7, 2025
@jkelleyrtp jkelleyrtp added this to the 0.6.2 milestone Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants