2D shapes demo flickers
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## Bevy version
v0.12.1
## Relevant system information
- cargo 1.74.1 (ecb9851af 2023-10-18)
- Arch Linux
- Hyprland (Wayland)
- `AdapterInfo { name: "AMD Radeon Graphics (rembrandt, LLVM 16.0.6, DRM 3.54, 6.6.3-zen1-1-zen)", vendor: 4098, device: 0, device_type: Other, driver: "", driver_info: "", backend: Gl }`
- `bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux 20230625.0.160437 Arch Linux", kernel: "6.6.3-zen1-1-zen", cpu: "AMD Ryzen 9 6900HX with Radeon Graphics", core_count: "8", memory: "23.2 GiB" }`
## What you did
`cargo run --features wayland --example 2d_shapes`
## What went wrong
https://github.com/bevyengine/bevy/assets/878458/0959d365-77a8-4a56-92eb-1ee9afa869b2
## Additional information
There is a warning in the log:
```
2023-12-09T07:52:55.988086Z WARN bevy_pbr::ssao: ScreenSpaceAmbientOcclusionPlugin not loaded. GPU lacks support: TextureFormat::R16Float does not support TextureUsages::STORAGE_BINDING.
```
I can't test x11 because `cargo run --features x11 --example 2d_shapes` fails at runtime with:
```
2023-12-09T07:51:08.177244Z INFO bevy_winit::system: Creating new window "App" (0v0)
2023-12-09T07:51:08.178137Z WARN log: XRandR reported that the display's 0mm in size, which is certifiably insane
2023-12-09T07:51:08.178381Z INFO log: Guessed window scale factor: 1
2023-12-09T07:51:08.239390Z INFO bevy_render::renderer: AdapterInfo { name: "AMD Radeon Graphics (rembrandt, LLVM 16.0.6, DRM 3.54, 6.6.3-zen1-1-zen)", vendor: 4098, device: 0, device_type: Other, driver: "", driver_info: "", backend: Gl }
2023-12-09T07:51:08.610113Z WARN bevy_pbr::ssao: ScreenSpaceAmbientOcclusionPlugin not loaded. GPU lacks support: TextureFormat::R16Float does not support TextureUsages::STORAGE_BINDING.
2023-12-09T07:51:08.612960Z INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux 20230625.0.160437 Arch Linux", kernel: "6.6.3-zen1-1-zen", cpu: "AMD Ryzen 9 6900HX with Radeon Graphics", core_count: "8", memory: "23.2 GiB" }
2023-12-09T07:51:08.660015Z ERROR log: surface configuration failed: incompatible window kind
thread 'main' panicked at /home/m1cha/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.17.2/src/backend/direct.rs:771:18:
Error in Surface::configure: Validation Error
Caused by:
Invalid surface
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_render::view::window::prepare_windows`!
thread 'main' panicked at crates/bevy_render/src/pipelined_rendering.rs:145:45:
called `Result::unwrap()` on an `Err` value: RecvError
```
Contributor guide
Assessment
This issue has not been assessed yet.