Raspberry Pi 5 - Arch Linux Arm - vulkan-broadcom - Example crashes with "Too many bindings of type StorageBuffers" #18867
Labels
A-Rendering
Drawing game state to the screen
C-Bug
An unexpected or incorrect behavior
C-Machine-Specific
This bug is isolated to specific hardware or driver configurations
O-Embedded
Weird hardware and no_std platforms
S-Needs-Investigation
This issue requires detective work to figure out what's going wrong
Bevy version
0.16.0-dev
18e1bf1
Relevant system information
Raspberry PI 5
Archlinuxarm
Linux __ 6.12.22-1-rpi-16k #1 SMP PREEMPT Fri Apr 11 06:12:22 MDT 2025 aarch64 GNU/Linux
vulkan-broadcom 1:25.0.3-1
Crash log with backtrace
#> RUST_BACKTRACE=full cargo run --example 2d_shapes
Finished
dev
profile [unoptimized + debuginfo] target(s) in 0.42sRunning
target/debug/examples/2d_shapes
2025-04-16T19:37:35.218864Z INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux (Arch Linux ARM)", kernel: "6.12.22-1-rpi-16k", cpu: "Cortex-A76", core_count: "4", memory: "7.9 GiB" }
2025-04-16T19:37:35.317920Z ERROR wgpu_hal::gles::egl: EGL 'eglCreateContext' code 0x3009: eglCreateContext
2025-04-16T19:37:35.317979Z ERROR wgpu_hal::gles::egl: EGL 'eglCreateContext' code 0x3009: eglCreateContext
2025-04-16T19:37:35.342994Z INFO bevy_render::renderer: AdapterInfo { name: "V3D 7.1.7.0", vendor: 5348, device: 1433410611, device_type: IntegratedGpu, driver: "V3DV Mesa", driver_info: "Mesa 25.0.3-arch1.1", backend: Vulkan }
2025-04-16T19:37:36.459148Z INFO bevy_render::batching::gpu_preprocessing: Some GPU preprocessing are limited on this device.
2025-04-16T19:37:36.542022Z WARN bevy_pbr::ssao: ScreenSpaceAmbientOcclusionPlugin not loaded. GPU lacks support: Limits::max_storage_textures_per_shader_stage is less than 5.
2025-04-16T19:37:36.542673Z ERROR wgpu::backend::wgpu_core: Handling wgpu errors as fatal by default
thread 'main' panicked at /home/espen/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-24.0.3/src/backend/wgpu_core.rs:1079:26:
wgpu error: Validation Error
Caused by:
In Device::create_bind_group_layout, label = 'build mesh uniforms GPU early occlusion culling bind group layout'
Too many bindings of type StorageBuffers in Stage ShaderStages(COMPUTE), limit is 8, count was 9. Check the limit
max_storage_buffers_per_shader_stage
passed toAdapter::request_device
stack backtrace:
0: 0x5555ca8773b8 - std::backtrace_rs::backtrace::libunwind::trace::h5a314f6f44ff5e34
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
1: 0x5555ca8773b8 - std::backtrace_rs::backtrace::trace_unsynchronized::h3dcd841efd088552
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
2: 0x5555ca8773b8 - std::sys::backtrace::_print_fmt::hcc2a45776caa467d
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9
3: 0x5555ca8773b8 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hb2a43d0c7729d3ed
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26
4: 0x5555ca8a2310 - core::fmt::rt::Argument::fmt::hf2df9f80222bc4f4
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76
5: 0x5555ca8a2310 - core::fmt::write::h1d49cd3d24cca042
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21
6: 0x5555ca873988 - std::io::Write::write_fmt::h8c1433405b406d1a
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15
7: 0x5555ca87726c - std::sys::backtrace::BacktraceLock::print::h46591f8d4fa2df59
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9
8: 0x5555ca8785c8 - std::panicking::default_hook::{{closure}}::h7d209d9851f5330d
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22
9: 0x5555ca878410 - std::panicking::default_hook::h0fcf455e69951211
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:325:9
10: 0x5555ca5439e4 - <alloc::boxed::Box<F,A> as core::ops::function::Fn>::call::h7bc3961843e31bed
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9
11: 0x5555ca54362c - bevy_ecs::error::bevy_error::bevy_error_panic_hook::{{closure}}::h02522841272d51e7
at /home/espen/rust/bevy/crates/bevy_ecs/src/error/bevy_error.rs:162:9
12: 0x5555ca878fec - <alloc::boxed::Box<F,A> as core::ops::function::Fn>::call::h7137efcdb5889e40
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9
13: 0x5555ca878fec - std::panicking::rust_panic_with_hook::h1c18c15d711594e4
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:839:13
14: 0x5555ca878ce4 - std::panicking::begin_panic_handler::{{closure}}::hd3211af19ee70e29
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:704:13
15: 0x5555ca8778c4 - std::sys::backtrace::__rust_end_short_backtrace::hfd23042401acff2b
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18
16: 0x5555ca8789a4 - rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
17: 0x5555c617c7e8 - core::panicking::panic_fmt::hb1a1942be410633f
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
18: 0x5555c946f438 - wgpu::backend::wgpu_core::default_error_handler::hb9b8a14fed17bcde
at /home/espen/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-24.0.3/src/backend/wgpu_core.rs:653:5
19: 0x5555c946f1ac - wgpu::backend::wgpu_core::ErrorSinkRaw::handle_error::heebd2ce4a5f33a32
at /home/espen/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-24.0.3/src/backend/wgpu_core.rs:637:21
20: 0x5555c946cd84 - wgpu::backend::wgpu_core::ContextWgpuCore::handle_error_inner::h84c60eceb9ee6697
at /home/espen/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-24.0.3/src/backend/wgpu_core.rs:298:9
21: 0x5555c946d48c - wgpu::backend::wgpu_core::ContextWgpuCore::handle_error::h9139ce265afff946
at /home/espen/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-24.0.3/src/backend/wgpu_core.rs:310:9
22: 0x5555c9470aec - <wgpu::backend::wgpu_core::CoreDevice as wgpu::dispatch::DeviceInterface>::create_bind_group_layout::h142c6cc7478f1589
at /home/espen/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-24.0.3/src/backend/wgpu_core.rs:1079:13
23: 0x5555c94ae7c0 - wgpu::api::device::Device::create_bind_group_layout::hb6d6213ce64b2afb
at /home/espen/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-24.0.3/src/api/device.rs:182:22
24: 0x5555c8af04e0 - bevy_render::renderer::render_device::RenderDevice::create_bind_group_layout::h3a24f6ea454caf62
at /home/espen/rust/bevy/crates/bevy_render/src/renderer/render_device.rs:167:13
25: 0x5555c7d396f4 - <bevy_pbr::render::gpu_preprocess::PreprocessPipelines as bevy_ecs::world::FromWorld>::from_world::ha74bac8d3d77d0e8
at /home/espen/rust/bevy/crates/bevy_pbr/src/render/gpu_preprocess.rs:1343:61
26: 0x5555c7ba18d8 - bevy_ecs::world::World::init_resource::h0ef3f18a34b2f080
at /home/espen/rust/bevy/crates/bevy_ecs/src/world/mod.rs:1697:25
27: 0x5555c7d68a88 - bevy_app::sub_app::SubApp::init_resource::h51f25af0eea45375
at /home/espen/rust/bevy/crates/bevy_app/src/sub_app.rs:206:9
28: 0x5555c7d33ba0 - <bevy_pbr::render::gpu_preprocess::GpuMeshPreprocessPlugin as bevy_app::plugin::Plugin>::finish::he95d32f765946d0e
at /home/espen/rust/bevy/crates/bevy_pbr/src/render/gpu_preprocess.rs:466:9
29: 0x5555ca551274 - bevy_app::app::App::finish::h87b2979a17e8a576
at /home/espen/rust/bevy/crates/bevy_app/src/app.rs:257:13
30: 0x5555c61f8434 - bevy_winit::state::winit_runner::hfdf2fea3790264e4
at /home/espen/rust/bevy/crates/bevy_winit/src/state.rs:925:9
31: 0x5555c61bdfe0 - <bevy_winit::WinitPlugin as bevy_app::plugin::Plugin>::build::{{closure}}::he9a96ceca090a996
at /home/espen/rust/bevy/crates/bevy_winit/src/lib.rs:132:31
32: 0x5555c61a50fc - core::ops::function::FnOnce::call_once{{vtable.shim}}::he57f39fe35a6a004
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
33: 0x5555ca543a50 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once::h180da252474d6078
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9
34: 0x5555ca550eb4 - bevy_app::app::App::run::h3b2e985272a266e6
at /home/espen/rust/bevy/crates/bevy_app/src/app.rs:186:9
35: 0x5555c618c7b4 - _2d_shapes::main::hb878ad8c5ae33ccd
at /home/espen/rust/bevy/examples/2d/2d_shapes.rs:20:5
36: 0x5555c618460c - core::ops::function::FnOnce::call_once::hdbdb7eb356baa37a
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
37: 0x5555c618611c - std::sys::backtrace::__rust_begin_short_backtrace::hc0104bdf5a3f6be7
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:152:18
38: 0x5555c61860f0 - std::rt::lang_start::{{closure}}::h842958f4d308475b
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/rt.rs:199:18
39: 0x5555ca86b9b0 - core::ops::function::impls::<impl core::ops::function::FnOnce for &F>::call_once::h2cac2a103a1b40ad
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:284:13
40: 0x5555ca86b9b0 - std::panicking::try::do_call::hfcb1798b784e6b38
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40
41: 0x5555ca86b9b0 - std::panicking::try::h7a3ea380b22c67c9
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19
42: 0x5555ca86b9b0 - std::panic::catch_unwind::hc58a17d373435673
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14
43: 0x5555ca86b9b0 - std::rt::lang_start_internal::{{closure}}::hc4ae7a2131c6fbcc
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/rt.rs:168:24
44: 0x5555ca86b9b0 - std::panicking::try::do_call::h933a3da11aa77dac
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40
45: 0x5555ca86b9b0 - std::panicking::try::h516ff0cd90c4fe54
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19
46: 0x5555ca86b9b0 - std::panic::catch_unwind::hd6fff416cfada4b7
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14
47: 0x5555ca86b9b0 - std::rt::lang_start_internal::h5e621041f01a4c14
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/rt.rs:164:5
48: 0x5555c61860cc - std::rt::lang_start::h6f836c229426a449
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/rt.rs:198:5
49: 0x5555c618d4a8 - main
50: 0x7fffa59f20d4 -
51: 0x7fffa59f21b8 - __libc_start_main
52: 0x5555c617cff0 - _start
53: 0x0 -
The text was updated successfully, but these errors were encountered: