Friz64
Friz64
Oh, the `hello_triangle` example runs with Vulkan even though I specified `WGPU_BACKEND="gl"` (verified through mangohud). So, it seems like OpenGL is just straight up broken on Wayland.
Bisected with `env WGPU_BACKEND="gl" cargo run --bin (wgpu-examples) cube`. Broken since #4634.
This is `[patch.crates-io]`, which is not necessarily about direct dependencies of your crate. It essentially replaces every wgpu dependency that exists in the dependency graph with the specified git version....
```diff diff --git a/Cargo.toml b/Cargo.toml index c9dee6b7..5a3ad548 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -162,3 +162,6 @@ wgpu = "0.19" winapi = "0.3" window_clipboard = "0.4" winit = { git =...
Oh. Yes. You're depending on the crates.io version of iced, which is too old for that new wgpu patch. You would need to depend on the git version of iced,...
I suspect this is https://github.com/gfx-rs/wgpu/issues/4775 (fixed in https://github.com/gfx-rs/wgpu/pull/4967). I've made a fork of wgpu 0.19 that includes this fix [here](https://github.com/Friz64/wgpu/commits/v0.19-4967/). ```toml [patch.crates-io] wgpu = { git = "https://github.com/Friz64/wgpu.git", branch =...
> Can anyone confirm this? @AndrewDanial has confirmed that this fixes the issue for him [on the discord](https://discord.com/channels/691052431525675048/749690364792668301/1232713341663969281).
Couldn't reproduce this on Linux (Wayland), so maybe it's something specific to Windows?
I think you are using the AMDVLK driver. You might want to try the Mesa Radeon drivers, RADV. They are generally better supported. Try uninstalling the `amdvlk` package and installing...
~~Interesting, this is probably #11734, although your error message is different. Does this happen on both Wayland and X11?~~ This is #11734.