Bevy Engine 图形后端以及窗口启动失败

编译需要使用clang和mold

dsoe1024@M1-MUSE-BOOK:~/bevy$ cat .cargo/config.toml 
[target.riscv64gc-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=mold"]

使用gles后端报错如下:

dsoe1024@M1-MUSE-BOOK:~/bevy$ RUST_BACKTRACE=full WINIT_UNIX_BACKEND=wayland WGPU_BACKEND=gl cargo run --example breakout
warning: implicit autoref creates a reference to the dereference of a raw pointer
   --> crates/bevy_mikktspace/src/generated.rs:759:25
    |
759 |         bStillSame = if (*pg1).pTriMembers[i] == (*pg2).pTriMembers[i] {
    |                         ^^^^^^^^^^^^^^^^^^^^^
    |
    = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
    = note: `#[warn(dangerous_implicit_autorefs)]` on by default
help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
    |
759 |         bStillSame = if (&(*pg1).pTriMembers)[i] == (*pg2).pTriMembers[i] {
    |                         ++                  +

warning: implicit autoref creates a reference to the dereference of a raw pointer
   --> crates/bevy_mikktspace/src/generated.rs:759:50
    |
759 |         bStillSame = if (*pg1).pTriMembers[i] == (*pg2).pTriMembers[i] {
    |                                                  ^^^^^^^^^^^^^^^^^^^^^
    |
    = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
    |
759 |         bStillSame = if (*pg1).pTriMembers[i] == (&(*pg2).pTriMembers)[i] {
    |                                                  ++                  +

warning: `bevy_mikktspace` (lib) generated 2 warnings
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.52s
     Running `target/debug/examples/breakout`
2025-09-28T04:54:35.070931Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux (Bianbu 3.0.1)", kernel: "6.6.63", cpu: "Spacemit(R) X60", core_count: "8", memory: "7.7 GiB" }
2025-09-28T04:54:35.268662Z  INFO bevy_render::renderer: AdapterInfo { name: "PowerVR B-Series BXE-2-32", vendor: 0, device: 0, device_type: Other, driver: "", driver_info: "OpenGL ES 3.2 build 24.2@6603887", backend: Gl }
2025-09-28T04:54:39.228614Z  INFO bevy_render::batching::gpu_preprocessing: Some GPU preprocessing are limited on this device.
2025-09-28T04:54:39.325084Z  WARN bevy_pbr::ssao: ScreenSpaceAmbientOcclusionPlugin not loaded. GPU lacks support: TextureFormat::R16Float does not support TextureUsages::STORAGE_BINDING.
2025-09-28T04:54:39.342033Z  INFO bevy_winit::system: Creating new window App (0v1)
2025-09-28T04:54:39.342789Z  INFO winit::platform_impl::linux::x11::window: Guessed window scale factor: 1
2025-09-28T04:54:39.353114Z  INFO breakout::stepping: Bevy was compiled without stepping support. Run with `--features=bevy_debug_stepping` to enable stepping.
2025-09-28T04:54:40.816307Z ERROR wgpu_core::device::global: surface configuration failed: incompatible window kind
2025-09-28T04:54:40.816534Z ERROR wgpu::backend::wgpu_core: Handling wgpu errors as fatal by default

thread 'Compute Task Pool (3)' panicked at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-24.0.5/src/backend/wgpu_core.rs:3432:18:
wgpu error: Validation Error

Caused by:
  In Surface::configure
    Invalid surface


stack backtrace:
   0:       0x2ab0ce6ed6 - std::backtrace_rs::backtrace::libunwind::trace::h1139eb3926bb2a2a
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
   1:       0x2ab0ce6ed6 - std::backtrace_rs::backtrace::trace_unsynchronized::hc36c3dbe86c9c0ea
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
   2:       0x2ab0ce6ed6 - std::sys::backtrace::_print_fmt::h155e6f3ac72c1900
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/sys/backtrace.rs:66:9
   3:       0x2ab0ce6ed6 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h0b3ef8c37cd1a1d4
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/sys/backtrace.rs:39:26
   4:       0x2ab0d0a2e0 - core::fmt::rt::Argument::fmt::h83bdd45283267e42
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/fmt/rt.rs:181:76
   5:       0x2ab0d0a2e0 - core::fmt::write::h18c6928f241d53c4
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/fmt/mod.rs:1446:25
   6:       0x2ab0ce35ce - std::io::default_write_fmt::hf8be4622d99ea035
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/io/mod.rs:639:11
   7:       0x2ab0ce35ce - std::io::Write::write_fmt::h8b21596828f7ee1d
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/io/mod.rs:1914:13
   8:       0x2ab0ce6d7c - std::sys::backtrace::BacktraceLock::print::hbb54401e9093b652
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/sys/backtrace.rs:42:9
   9:       0x2ab0ce87d0 - std::panicking::default_hook::{{closure}}::hcfd855044766f39d
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:300:22
  10:       0x2ab0ce85f6 - std::panicking::default_hook::h1996c2a17250d563
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:327:9
  11:       0x2ab0a8ef90 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h768f7b757b318b62
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/alloc/src/boxed.rs:1980:9
  12:       0x2ab0a9c888 - bevy_ecs::error::bevy_error::bevy_error_panic_hook::{{closure}}::h20a7257cf43c01ef
                               at /home/dsoe1024/bevy/crates/bevy_ecs/src/error/bevy_error.rs:162:9
  13:       0x2ab0ce91f0 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd61a0e1a3db9bd9d
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/alloc/src/boxed.rs:1980:9
  14:       0x2ab0ce91f0 - std::panicking::rust_panic_with_hook::h0581fb185de1863c
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:841:13
  15:       0x2ab0ce8f16 - std::panicking::begin_panic_handler::{{closure}}::h1aa0026306483940
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:706:13
  16:       0x2ab0ce7332 - std::sys::backtrace::__rust_end_short_backtrace::h3e1c62852482661f
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/sys/backtrace.rs:168:18
  17:       0x2ab0ce8bc4 - __rustc[4794b31dd7191200]::rust_begin_unwind
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:697:5
  18:       0x2ab0d07c3a - core::panicking::panic_fmt::hd32b8e7fa7073866
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/panicking.rs:75:14
  19:       0x2aafdcdb26 - wgpu::backend::wgpu_core::default_error_handler::h35bc7a565db01a5f
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-24.0.5/src/backend/wgpu_core.rs:653:5
  20:       0x2aafdcd90c - wgpu::backend::wgpu_core::ErrorSinkRaw::handle_error::hb59b3d35a93461cb
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-24.0.5/src/backend/wgpu_core.rs:637:21
  21:       0x2aafdcbd84 - wgpu::backend::wgpu_core::ContextWgpuCore::handle_error_inner::h60b0a7b8235bdfb1
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-24.0.5/src/backend/wgpu_core.rs:298:9
  22:       0x2aafdcce66 - wgpu::backend::wgpu_core::ContextWgpuCore::handle_error_nolabel::hc8a9e0b571e8b8f9
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-24.0.5/src/backend/wgpu_core.rs:321:9
  23:       0x2aafdd92e8 - <wgpu::backend::wgpu_core::CoreSurface as wgpu::dispatch::SurfaceInterface>::configure::h1415ca41448555e8
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-24.0.5/src/backend/wgpu_core.rs:3431:13
  24:       0x2aafe07454 - wgpu::api::surface::Surface::configure::hec72b28ec5efb26f
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-24.0.5/src/api/surface.rs:84:9
  25:       0x2aaf8d27fa - bevy_render::renderer::render_device::RenderDevice::configure_surface::h1f9d17f2a2bee551
                               at /home/dsoe1024/bevy/crates/bevy_render/src/renderer/render_device.rs:253:9
  26:       0x2aaf5f1564 - bevy_render::view::window::create_surfaces::{{closure}}::h38794bac4d5cb3ea
                               at /home/dsoe1024/bevy/crates/bevy_render/src/view/window/mod.rs:384:17
  27:       0x2aaf904598 - hashbrown::map::Entry<K,V,S,A>::or_insert_with::hf723259587f3ae33
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/hashbrown-0.15.5/src/map.rs:3585:50
  28:       0x2aaf94f6a4 - bevy_render::view::window::create_surfaces::h5b42e75dcb0daa25
                               at /home/dsoe1024/bevy/crates/bevy_render/src/view/window/mod.rs:317:20
  29:       0x2aaf7cbdb8 - core::ops::function::FnMut::call_mut::h4a543cfc4bf854bc
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/ops/function.rs:166:5
  30:       0x2aaf5f0744 - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut::h23fda0c140e40c35
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/ops/function.rs:294:13
  31:       0x2aaf64897c - <Func as bevy_ecs::system::function_system::SystemParamFunction<fn(F0,F1,F2,F3,F4) .> Out>>::run::call_inner::h61ee09273222e9fd
                               at /home/dsoe1024/bevy/crates/bevy_ecs/src/system/function_system.rs:945:21
  32:       0x2aaf5f0218 - <Func as bevy_ecs::system::function_system::SystemParamFunction<fn(F0,F1,F2,F3,F4) .> Out>>::run::hc4ce5caa4114dce6
                               at /home/dsoe1024/bevy/crates/bevy_ecs/src/system/function_system.rs:948:17
  33:       0x2aaf635966 - <bevy_ecs::system::function_system::FunctionSystem<Marker,F> as bevy_ecs::system::system::System>::run_unsafe::h81f1c81541260e17
                               at /home/dsoe1024/bevy/crates/bevy_ecs/src/system/function_system.rs:735:19
  34:       0x2aaf9c1ea4 - <bevy_ecs::system::schedule_system::InfallibleSystemWrapper<S> as bevy_ecs::system::system::System>::run_unsafe::h583aa2f27fcbf12c
                               at /home/dsoe1024/bevy/crates/bevy_ecs/src/system/schedule_system.rs:64:9
  35:       0x2ab0b40340 - bevy_ecs::schedule::executor::__rust_begin_short_backtrace::run_unsafe::h84949c29e8d84913
                               at /home/dsoe1024/bevy/crates/bevy_ecs/src/schedule/executor/mod.rs:280:22
  36:       0x2ab0b0b242 - bevy_ecs::schedule::executor::multi_threaded::ExecutorState::spawn_system_task::{{closure}}::{{closure}}::h332e000b23e90a8f
                               at /home/dsoe1024/bevy/crates/bevy_ecs/src/schedule/executor/multi_threaded.rs:634:39
  37:       0x2ab0adf3e8 - core::ops::function::FnOnce::call_once::h87d2e3d0080e1d98
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/ops/function.rs:250:5
  38:       0x2ab0abaf1a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h13f230b72b2b8cf5
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/panic/unwind_safe.rs:272:9
  39:       0x2ab0ada008 - std::panicking::try::do_call::h23262cd1b624e7a7
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:589:40
  40:       0x2ab0aef358 - __rust_try
  41:       0x2ab0aeef44 - std::panicking::try::h2d1f6f566ed94dd5
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:552:19
  42:       0x2ab0aeef44 - std::panic::catch_unwind::ha0bfb8962fc9dd1e
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panic.rs:359:14
  43:       0x2ab0b0b1a2 - bevy_ecs::schedule::executor::multi_threaded::ExecutorState::spawn_system_task::{{closure}}::ha844722bef72a091
                               at /home/dsoe1024/bevy/crates/bevy_ecs/src/schedule/executor/multi_threaded.rs:627:23
  44:       0x2ab0abae96 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::future::future::Future>::poll::hb7770710f47dec03
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/panic/unwind_safe.rs:297:9
  45:       0x2ab0b29c58 - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::{{closure}}::h69194b5b3528303d
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-lite-2.6.1/src/future.rs:653:42
  46:       0x2ab0abb09a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::he2b359b5334db411
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/panic/unwind_safe.rs:272:9
  47:       0x2ab0ad9ede - std::panicking::try::do_call::h04b72b0bd1203818
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:589:40
  48:       0x2ab0aef358 - __rust_try
  49:       0x2ab0aef110 - std::panicking::try::h550ace944f95d78f
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:552:19
  50:       0x2ab0aef110 - std::panic::catch_unwind::hd820606ff5c85388
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panic.rs:359:14
  51:       0x2ab0b29a8e - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::h850d1ad5a3103070
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-lite-2.6.1/src/future.rs:653:9
  52:       0x2ab0b15f8e - <async_executor::AsyncCallOnDrop<Fut,Cleanup> as core::future::future::Future>::poll::hc370b5e257976cd8
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-executor-1.13.3/src/lib.rs:1197:9
  53:       0x2ab0b022dc - async_task::raw::RawTask<F,T,S,M>::run::{{closure}}::h45d11b573731f817
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-task-4.7.1/src/raw.rs:550:21
  54:       0x2ab0adf10a - core::ops::function::FnOnce::call_once::h76f7d516fd1ef014
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/ops/function.rs:250:5
  55:       0x2ab0abaf5c - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4d7e1bf745d68261
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/panic/unwind_safe.rs:272:9
  56:       0x2ab0ad9f9e - std::panicking::try::do_call::h1b362688c2d0ef56
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:589:40
  57:       0x2ab0aef358 - __rust_try
  58:       0x2ab0aeed44 - std::panicking::try::h512d6f479e3deb72
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:552:19
  59:       0x2ab0aeed44 - std::panic::catch_unwind::h3b3fc7fd019324b6
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panic.rs:359:14
  60:       0x2ab0aff0f2 - async_task::raw::RawTask<F,T,S,M>::run::h52fda7444e1bbae0
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-task-4.7.1/src/raw.rs:549:23
  61:       0x2ab0bbb284 - async_task::runnable::Runnable<M>::run::h473639c0dd831376
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-task-4.7.1/src/runnable.rs:781:18
  62:       0x2ab0bb5622 - async_executor::State::run::{{closure}}::{{closure}}::hda062192b3f470a7
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-executor-1.13.3/src/lib.rs:751:21
  63:       0x2ab0bb01f4 - <futures_lite::future::Or<F1,F2> as core::future::future::Future>::poll::haad72c7fa8c1d806
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-lite-2.6.1/src/future.rs:454:33
  64:       0x2ab0bb53a0 - async_executor::State::run::{{closure}}::h732a03034ff6fffd
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-executor-1.13.3/src/lib.rs:758:32
  65:       0x2ab0bb6524 - async_executor::Executor::run::{{closure}}::h776e5e01f2d7f7b4
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-executor-1.13.3/src/lib.rs:344:34
  66:       0x2ab0baffda - futures_lite::future::block_on::{{closure}}::h8fdbdf2b5e994842
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-lite-2.6.1/src/future.rs:96:19
  67:       0x2ab0baf850 - std::thread::local::LocalKey<T>::try_with::h6b2e6b5900f4a66d
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/thread/local.rs:315:12
  68:       0x2ab0baf666 - std::thread::local::LocalKey<T>::with::hcadf93dd24c337dd
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/thread/local.rs:279:15
  69:       0x2ab0bafec8 - futures_lite::future::block_on::hd6a0f005602e4afe
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-lite-2.6.1/src/future.rs:75:5
  70:       0x2ab0bb30d4 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h427006f563196f27
                               at /home/dsoe1024/bevy/crates/bevy_tasks/src/task_pool.rs:203:37
  71:       0x2ab0bb2028 - std::panicking::try::do_call::hdeef8da43310945a
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:589:40
  72:       0x2ab0baa124 - __rust_try
  73:       0x2ab0baa0e4 - std::panicking::try::h49adfe9c6c993abc
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:552:19
  74:       0x2ab0baa0e4 - std::panic::catch_unwind::he783ab557dd8feda
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panic.rs:359:14
  75:       0x2ab0bb2f20 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::h4292a6ff6e64c010
                               at /home/dsoe1024/bevy/crates/bevy_tasks/src/task_pool.rs:197:43
  76:       0x2ab0baf7ba - std::thread::local::LocalKey<T>::try_with::h167c6771786410a1
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/thread/local.rs:315:12
  77:       0x2ab0baf610 - std::thread::local::LocalKey<T>::with::h43f1005ad7e5eae0
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/thread/local.rs:279:15
  78:       0x2ab0bb2df0 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::hc6b27f38dd62cd8b
                               at /home/dsoe1024/bevy/crates/bevy_tasks/src/task_pool.rs:190:25
  79:       0x2ab0bafc84 - std::sys::backtrace::__rust_begin_short_backtrace::h62b49fba3fd29b6e
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/sys/backtrace.rs:152:18
  80:       0x2ab0bae1c4 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hb570049b7fbda9ec
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/thread/mod.rs:559:17
  81:       0x2ab0bb1ca0 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h402e48c68f1bb0eb
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/panic/unwind_safe.rs:272:9
  82:       0x2ab0bb1fe4 - std::panicking::try::do_call::h263b987ff72521af
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:589:40
  83:       0x2ab0bae27e - __rust_try
  84:       0x2ab0bade94 - std::panicking::try::h4e7a4ed6cc73d27f
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:552:19
  85:       0x2ab0bade94 - std::panic::catch_unwind::hecdb5576f64559fb
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panic.rs:359:14
  86:       0x2ab0bade94 - std::thread::Builder::spawn_unchecked_::{{closure}}::h2ef5e179008e20af
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/thread/mod.rs:557:30
  87:       0x2ab0bb70d8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc9c6df31656eb4b1
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/ops/function.rs:250:5
  88:       0x2ab0cea60c - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hcc97c2ea1f7a4463
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/alloc/src/boxed.rs:1966:9
  89:       0x2ab0cea60c - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::he9873865e97d4406
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/alloc/src/boxed.rs:1966:9
  90:       0x2ab0cea60c - std::sys::pal::unix::thread::Thread::new::thread_start::ha4ff069983a5cabf
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/sys/pal/unix/thread.rs:97:17
  91:       0x3fa558b4f8 - start_thread
                               at ./nptl/pthread_create.c:448:8
  92:       0x3fa55de150 - __thread_start_clone3
                               at ./misc/../sysdeps/unix/sysv/linux/riscv/clone3.S:71:0
  93:                0x0 - <unknown>
Encountered a panic in system `bevy_render::view::window::create_surfaces`!

补充vulkan报错:

dsoe1024@M1-MUSE-BOOK:~/bevy$ RUST_BACKTRACE=full WINIT_UNIX_BACKEND=wayland WGPU_BACKEND=vulkan cargo run --example breakout
warning: implicit autoref creates a reference to the dereference of a raw pointer
   --> crates/bevy_mikktspace/src/generated.rs:759:25
    |
759 |         bStillSame = if (*pg1).pTriMembers[i] == (*pg2).pTriMembers[i] {
    |                         ^^^^^^^^^^^^^^^^^^^^^
    |
    = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
    = note: `#[warn(dangerous_implicit_autorefs)]` on by default
help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
    |
759 |         bStillSame = if (&(*pg1).pTriMembers)[i] == (*pg2).pTriMembers[i] {
    |                         ++                  +

warning: implicit autoref creates a reference to the dereference of a raw pointer
   --> crates/bevy_mikktspace/src/generated.rs:759:50
    |
759 |         bStillSame = if (*pg1).pTriMembers[i] == (*pg2).pTriMembers[i] {
    |                                                  ^^^^^^^^^^^^^^^^^^^^^
    |
    = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
    |
759 |         bStillSame = if (*pg1).pTriMembers[i] == (&(*pg2).pTriMembers)[i] {
    |                                                  ++                  +

warning: `bevy_mikktspace` (lib) generated 2 warnings
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.51s
     Running `target/debug/examples/breakout`
2025-09-28T05:03:18.206546Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux (Bianbu 3.0.1)", kernel: "6.6.63", cpu: "Spacemit(R) X60", core_count: "8", memory: "7.7 GiB" }
2025-09-28T05:03:18.355675Z  INFO bevy_render::renderer: AdapterInfo { name: "PowerVR B-Series BXE-2-32 MC1", vendor: 4112, device: 906305922, device_type: IntegratedGpu, driver: "PowerVR B-Series Vulkan Driver", driver_info: "24.2@6603887", backend: Vulkan }
2025-09-28T05:03:22.371228Z  INFO bevy_render::batching::gpu_preprocessing: Some GPU preprocessing are limited on this device.
2025-09-28T05:03:22.534932Z  INFO bevy_winit::system: Creating new window App (0v1)
2025-09-28T05:03:22.535598Z  INFO winit::platform_impl::linux::x11::window: Guessed window scale factor: 1
2025-09-28T05:03:22.552781Z  INFO breakout::stepping: Bevy was compiled without stepping support. Run with `--features=bevy_debug_stepping` to enable stepping.
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config

thread 'Compute Task Pool (0)' panicked at crates/bevy_render/src/view/window/mod.rs:338:51:
No supported formats for surface
stack backtrace:
   0:       0x2ac6abeed6 - std::backtrace_rs::backtrace::libunwind::trace::h1139eb3926bb2a2a
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
   1:       0x2ac6abeed6 - std::backtrace_rs::backtrace::trace_unsynchronized::hc36c3dbe86c9c0ea
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
   2:       0x2ac6abeed6 - std::sys::backtrace::_print_fmt::h155e6f3ac72c1900
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/sys/backtrace.rs:66:9
   3:       0x2ac6abeed6 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h0b3ef8c37cd1a1d4
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/sys/backtrace.rs:39:26
   4:       0x2ac6ae22e0 - core::fmt::rt::Argument::fmt::h83bdd45283267e42
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/fmt/rt.rs:181:76
   5:       0x2ac6ae22e0 - core::fmt::write::h18c6928f241d53c4
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/fmt/mod.rs:1446:25
   6:       0x2ac6abb5ce - std::io::default_write_fmt::hf8be4622d99ea035
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/io/mod.rs:639:11
   7:       0x2ac6abb5ce - std::io::Write::write_fmt::h8b21596828f7ee1d
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/io/mod.rs:1914:13
   8:       0x2ac6abed7c - std::sys::backtrace::BacktraceLock::print::hbb54401e9093b652
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/sys/backtrace.rs:42:9
   9:       0x2ac6ac07d0 - std::panicking::default_hook::{{closure}}::hcfd855044766f39d
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:300:22
  10:       0x2ac6ac05f6 - std::panicking::default_hook::h1996c2a17250d563
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:327:9
  11:       0x2ac6866f90 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h768f7b757b318b62
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/alloc/src/boxed.rs:1980:9
  12:       0x2ac6874888 - bevy_ecs::error::bevy_error::bevy_error_panic_hook::{{closure}}::h20a7257cf43c01ef
                               at /home/dsoe1024/bevy/crates/bevy_ecs/src/error/bevy_error.rs:162:9
  13:       0x2ac6ac11f0 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd61a0e1a3db9bd9d
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/alloc/src/boxed.rs:1980:9
  14:       0x2ac6ac11f0 - std::panicking::rust_panic_with_hook::h0581fb185de1863c
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:841:13
  15:       0x2ac6ac0f16 - std::panicking::begin_panic_handler::{{closure}}::h1aa0026306483940
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:706:13
  16:       0x2ac6abf332 - std::sys::backtrace::__rust_end_short_backtrace::h3e1c62852482661f
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/sys/backtrace.rs:168:18
  17:       0x2ac6ac0bc4 - __rustc[4794b31dd7191200]::rust_begin_unwind
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:697:5
  18:       0x2ac6adfc3a - core::panicking::panic_fmt::hd32b8e7fa7073866
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/panicking.rs:75:14
  19:       0x2ac6adfc18 - core::panicking::panic_display::h5bfb0d7f82795db5
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/panicking.rs:269:5
  20:       0x2ac6adfc18 - core::option::expect_failed::hfb8540ec0eea4366
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/option.rs:2049:5
  21:       0x2ac5466bfc - core::option::Option<T>::expect::h152795698b3a818b
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/option.rs:958:21
  22:       0x2ac53c9226 - bevy_render::view::window::create_surfaces::{{closure}}::h38794bac4d5cb3ea
                               at /home/dsoe1024/bevy/crates/bevy_render/src/view/window/mod.rs:338:35
  23:       0x2ac56dc598 - hashbrown::map::Entry<K,V,S,A>::or_insert_with::hf723259587f3ae33
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/hashbrown-0.15.5/src/map.rs:3585:50
  24:       0x2ac57276a4 - bevy_render::view::window::create_surfaces::h5b42e75dcb0daa25
                               at /home/dsoe1024/bevy/crates/bevy_render/src/view/window/mod.rs:317:20
  25:       0x2ac55a3db8 - core::ops::function::FnMut::call_mut::h4a543cfc4bf854bc
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/ops/function.rs:166:5
  26:       0x2ac53c8744 - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut::h23fda0c140e40c35
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/ops/function.rs:294:13
  27:       0x2ac542097c - <Func as bevy_ecs::system::function_system::SystemParamFunction<fn(F0,F1,F2,F3,F4) .> Out>>::run::call_inner::h61ee09273222e9fd
                               at /home/dsoe1024/bevy/crates/bevy_ecs/src/system/function_system.rs:945:21
  28:       0x2ac53c8218 - <Func as bevy_ecs::system::function_system::SystemParamFunction<fn(F0,F1,F2,F3,F4) .> Out>>::run::hc4ce5caa4114dce6
                               at /home/dsoe1024/bevy/crates/bevy_ecs/src/system/function_system.rs:948:17
  29:       0x2ac540d966 - <bevy_ecs::system::function_system::FunctionSystem<Marker,F> as bevy_ecs::system::system::System>::run_unsafe::h81f1c81541260e17
                               at /home/dsoe1024/bevy/crates/bevy_ecs/src/system/function_system.rs:735:19
  30:       0x2ac5799ea4 - <bevy_ecs::system::schedule_system::InfallibleSystemWrapper<S> as bevy_ecs::system::system::System>::run_unsafe::h583aa2f27fcbf12c
                               at /home/dsoe1024/bevy/crates/bevy_ecs/src/system/schedule_system.rs:64:9
  31:       0x2ac6918340 - bevy_ecs::schedule::executor::__rust_begin_short_backtrace::run_unsafe::h84949c29e8d84913
                               at /home/dsoe1024/bevy/crates/bevy_ecs/src/schedule/executor/mod.rs:280:22
  32:       0x2ac68e3242 - bevy_ecs::schedule::executor::multi_threaded::ExecutorState::spawn_system_task::{{closure}}::{{closure}}::h332e000b23e90a8f
                               at /home/dsoe1024/bevy/crates/bevy_ecs/src/schedule/executor/multi_threaded.rs:634:39
  33:       0x2ac68b73e8 - core::ops::function::FnOnce::call_once::h87d2e3d0080e1d98
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/ops/function.rs:250:5
  34:       0x2ac6892f1a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h13f230b72b2b8cf5
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/panic/unwind_safe.rs:272:9
  35:       0x2ac68b2008 - std::panicking::try::do_call::h23262cd1b624e7a7
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:589:40
  36:       0x2ac68c7358 - __rust_try
  37:       0x2ac68c6f44 - std::panicking::try::h2d1f6f566ed94dd5
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:552:19
  38:       0x2ac68c6f44 - std::panic::catch_unwind::ha0bfb8962fc9dd1e
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panic.rs:359:14
  39:       0x2ac68e31a2 - bevy_ecs::schedule::executor::multi_threaded::ExecutorState::spawn_system_task::{{closure}}::ha844722bef72a091
                               at /home/dsoe1024/bevy/crates/bevy_ecs/src/schedule/executor/multi_threaded.rs:627:23
  40:       0x2ac6892e96 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::future::future::Future>::poll::hb7770710f47dec03
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/panic/unwind_safe.rs:297:9
  41:       0x2ac6901c58 - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::{{closure}}::h69194b5b3528303d
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-lite-2.6.1/src/future.rs:653:42
  42:       0x2ac689309a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::he2b359b5334db411
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/panic/unwind_safe.rs:272:9
  43:       0x2ac68b1ede - std::panicking::try::do_call::h04b72b0bd1203818
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:589:40
  44:       0x2ac68c7358 - __rust_try
  45:       0x2ac68c7110 - std::panicking::try::h550ace944f95d78f
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:552:19
  46:       0x2ac68c7110 - std::panic::catch_unwind::hd820606ff5c85388
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panic.rs:359:14
  47:       0x2ac6901a8e - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::h850d1ad5a3103070
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-lite-2.6.1/src/future.rs:653:9
  48:       0x2ac68edf8e - <async_executor::AsyncCallOnDrop<Fut,Cleanup> as core::future::future::Future>::poll::hc370b5e257976cd8
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-executor-1.13.3/src/lib.rs:1197:9
  49:       0x2ac68da2dc - async_task::raw::RawTask<F,T,S,M>::run::{{closure}}::h45d11b573731f817
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-task-4.7.1/src/raw.rs:550:21
  50:       0x2ac68b710a - core::ops::function::FnOnce::call_once::h76f7d516fd1ef014
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/ops/function.rs:250:5
  51:       0x2ac6892f5c - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4d7e1bf745d68261
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/panic/unwind_safe.rs:272:9
  52:       0x2ac68b1f9e - std::panicking::try::do_call::h1b362688c2d0ef56
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:589:40
  53:       0x2ac68c7358 - __rust_try
  54:       0x2ac68c6d44 - std::panicking::try::h512d6f479e3deb72
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:552:19
  55:       0x2ac68c6d44 - std::panic::catch_unwind::h3b3fc7fd019324b6
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panic.rs:359:14
  56:       0x2ac68d70f2 - async_task::raw::RawTask<F,T,S,M>::run::h52fda7444e1bbae0
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-task-4.7.1/src/raw.rs:549:23
  57:       0x2ac6993284 - async_task::runnable::Runnable<M>::run::h473639c0dd831376
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-task-4.7.1/src/runnable.rs:781:18
  58:       0x2ac698d622 - async_executor::State::run::{{closure}}::{{closure}}::hda062192b3f470a7
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-executor-1.13.3/src/lib.rs:751:21
  59:       0x2ac69881f4 - <futures_lite::future::Or<F1,F2> as core::future::future::Future>::poll::haad72c7fa8c1d806
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-lite-2.6.1/src/future.rs:454:33
  60:       0x2ac698d3a0 - async_executor::State::run::{{closure}}::h732a03034ff6fffd
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-executor-1.13.3/src/lib.rs:758:32
  61:       0x2ac698e524 - async_executor::Executor::run::{{closure}}::h776e5e01f2d7f7b4
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-executor-1.13.3/src/lib.rs:344:34
  62:       0x2ac6987fda - futures_lite::future::block_on::{{closure}}::h8fdbdf2b5e994842
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-lite-2.6.1/src/future.rs:96:19
  63:       0x2ac6987850 - std::thread::local::LocalKey<T>::try_with::h6b2e6b5900f4a66d
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/thread/local.rs:315:12
  64:       0x2ac6987666 - std::thread::local::LocalKey<T>::with::hcadf93dd24c337dd
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/thread/local.rs:279:15
  65:       0x2ac6987ec8 - futures_lite::future::block_on::hd6a0f005602e4afe
                               at /home/dsoe1024/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-lite-2.6.1/src/future.rs:75:5
  66:       0x2ac698b0d4 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h427006f563196f27
                               at /home/dsoe1024/bevy/crates/bevy_tasks/src/task_pool.rs:203:37
  67:       0x2ac698a028 - std::panicking::try::do_call::hdeef8da43310945a
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:589:40
  68:       0x2ac6982124 - __rust_try
  69:       0x2ac69820e4 - std::panicking::try::h49adfe9c6c993abc
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:552:19
  70:       0x2ac69820e4 - std::panic::catch_unwind::he783ab557dd8feda
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panic.rs:359:14
  71:       0x2ac698af20 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::h4292a6ff6e64c010
                               at /home/dsoe1024/bevy/crates/bevy_tasks/src/task_pool.rs:197:43
  72:       0x2ac69877ba - std::thread::local::LocalKey<T>::try_with::h167c6771786410a1
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/thread/local.rs:315:12
  73:       0x2ac6987610 - std::thread::local::LocalKey<T>::with::h43f1005ad7e5eae0
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/thread/local.rs:279:15
  74:       0x2ac698adf0 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::hc6b27f38dd62cd8b
                               at /home/dsoe1024/bevy/crates/bevy_tasks/src/task_pool.rs:190:25
  75:       0x2ac6987c84 - std::sys::backtrace::__rust_begin_short_backtrace::h62b49fba3fd29b6e
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/sys/backtrace.rs:152:18
  76:       0x2ac69861c4 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hb570049b7fbda9ec
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/thread/mod.rs:559:17
  77:       0x2ac6989ca0 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h402e48c68f1bb0eb
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/panic/unwind_safe.rs:272:9
  78:       0x2ac6989fe4 - std::panicking::try::do_call::h263b987ff72521af
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:589:40
  79:       0x2ac698627e - __rust_try
  80:       0x2ac6985e94 - std::panicking::try::h4e7a4ed6cc73d27f
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:552:19
  81:       0x2ac6985e94 - std::panic::catch_unwind::hecdb5576f64559fb
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panic.rs:359:14
  82:       0x2ac6985e94 - std::thread::Builder::spawn_unchecked_::{{closure}}::h2ef5e179008e20af
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/thread/mod.rs:557:30
  83:       0x2ac698f0d8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc9c6df31656eb4b1
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/ops/function.rs:250:5
  84:       0x2ac6ac260c - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hcc97c2ea1f7a4463
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/alloc/src/boxed.rs:1966:9
  85:       0x2ac6ac260c - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::he9873865e97d4406
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/alloc/src/boxed.rs:1966:9
  86:       0x2ac6ac260c - std::sys::pal::unix::thread::Thread::new::thread_start::ha4ff069983a5cabf
                               at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/sys/pal/unix/thread.rs:97:17
  87:       0x3f8ae0b4f8 - start_thread
                               at ./nptl/pthread_create.c:448:8
  88:       0x3f8ae5e150 - __thread_start_clone3
                               at ./misc/../sysdeps/unix/sysv/linux/riscv/clone3.S:71:0
  89:                0x0 - <unknown>
Encountered a panic in system `bevy_render::view::window::create_surfaces`!

dsoe1024@M1-MUSE-BOOK:~/bevy$ RUST_BACKTRACE=full WINIT_UNIX_BACKEND=wayland WGPU_BACKEND=vulkan cargo run --example breakout --release
warning: implicit autoref creates a reference to the dereference of a raw pointer
→ crates/bevy_mikktspace/src/generated.rs:759:25
|
759 | bStillSame = if (*pg1).pTriMembers[i] == (*pg2).pTriMembers[i] {
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
= note: #[warn(dangerous_implicit_autorefs)] on by default
help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
|
759 | bStillSame = if (&(*pg1).pTriMembers)[i] == (*pg2).pTriMembers[i] {
| ++ +

warning: implicit autoref creates a reference to the dereference of a raw pointer
→ crates/bevy_mikktspace/src/generated.rs:759:50
|
759 | bStillSame = if (*pg1).pTriMembers[i] == (*pg2).pTriMembers[i] {
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
|
759 | bStillSame = if (*pg1).pTriMembers[i] == (&(*pg2).pTriMembers)[i] {
| ++ +

warning: bevy_mikktspace (lib) generated 2 warnings
Finished release profile [optimized] target(s) in 3.55s
Running target/release/examples/breakout
2025-09-28T06:45:28.282498Z INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: “Linux (Bianbu 3.0.1)”, kernel: “6.6.63”, cpu: “Spacemit(R) X60”, core_count: “8”, memory: “7.7 GiB” }
2025-09-28T06:45:28.406218Z INFO bevy_render::renderer: AdapterInfo { name: “PowerVR B-Series BXE-2-32 MC1”, vendor: 4112, device: 906305922, device_type: IntegratedGpu, driver: “PowerVR B-Series Vulkan Driver”, driver_info: “24.2@6603887”, backend: Vulkan }
2025-09-28T06:45:29.011113Z INFO bevy_render::batching::gpu_preprocessing: Some GPU preprocessing are limited on this device.
2025-09-28T06:45:29.087321Z INFO bevy_winit::system: Creating new window App (0v1)
2025-09-28T06:45:29.087671Z INFO winit::platform_impl::linux::x11::window: Guessed window scale factor: 1
2025-09-28T06:45:29.093988Z INFO breakout::stepping: Bevy was compiled without stepping support. Run with --features=bevy_debug_stepping to enable stepping.
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config

thread ‘main’ panicked at crates/bevy_render/src/view/window/mod.rs:338:51:
No supported formats for surface
stack backtrace:
0: 0x2abbf29aba - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h0b3ef8c37cd1a1d4
1: 0x2abbf4cba2 - core::fmt::write::h18c6928f241d53c4
2: 0x2abbf261b2 - std::io::Write::write_fmt::h8b21596828f7ee1d
3: 0x2abbf29960 - std::sys::backtrace::BacktraceLock::print::hbb54401e9093b652
4: 0x2abbf2b3b4 - std::panicking::default_hook::{{closure}}::hcfd855044766f39d
5: 0x2abbf2b1da - std::panicking::default_hook::h1996c2a17250d563
6: 0x2abbf2bdd4 - std::panicking::rust_panic_with_hook::h0581fb185de1863c
7: 0x2abbf2bafa - std::panicking::begin_panic_handler::{{closure}}::h1aa0026306483940
8: 0x2abbf29f16 - std::sys::backtrace::__rust_end_short_backtrace::h3e1c62852482661f
9: 0x2abbf2b7a8 - __rustc[4794b31dd7191200]::rust_begin_unwind
10: 0x2abbf4a596 - core::panicking::panic_fmt::hd32b8e7fa7073866
11: 0x2abbf4a574 - core::option::expect_failed::hfb8540ec0eea4366
12: 0x2abb245b20 - hashbrown::map::Entry<K,V,S,A>::or_insert_with::hcff5652bcbd3d7b7
13: 0x2abb39fd9e - bevy_render::view::window::create_surfaces::hcdd10397549c943b
14: 0x2abb379b9a - <bevy_ecs::system::schedule_system::InfallibleSystemWrapper as bevy_ecs::system::system::System>::run_unsafe::hc6a67ed8ec7528e4
15: 0x2abbe5ecea - bevy_ecs::schedule::executor::__rust_begin_short_backtrace::run_unsafe::h1654925739278204
16: 0x2abbe609a6 - std::panic::catch_unwind::h096048a37110df1b
17: 0x2abbe2fce6 - <futures_lite::future::CatchUnwind as core::future::future::Future>::poll::hefaca750aa8fc049
18: 0x2abbe36626 - async_task::raw::RawTask<F,T,S,M>::run::hd05ac0bf386975d7
19: 0x2abb2e3f02 - <futures_lite::future::Or<F1,F2> as core::future::future::Future>::poll::h929c09a560e9ecbd
20: 0x2abb3bb25a - std::thread::local::LocalKey::with::ha35bf7e48a34a8b8
21: 0x2abb2cb92c - bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::h7ad08a0d5c2f17aa
22: 0x2abb21709e - bevy_ecs::world::World::resource_scope::h38f1bcde3db67901
23: 0x2abbe0c216 - bevy_app::sub_app::SubApps::update::hc5ead77eadd52b0b
24: 0x2ab9eb965a - <bevy_winit::state::WinitAppRunnerState as winit::application::ApplicationHandler>::about_to_wait::h45b60b001a4a38a0
25: 0x2ab9eea604 - winit::platform_impl::linux::x11::EventLoop::run_on_demand::h41b7b887d3812128
26: 0x2ab9eb336a - bevy_winit::state::winit_runner::h695095bd5902f703
27: 0x2ab9eef08e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h0b19f43b6f11d70f
28: 0x2abbdf5eec - bevy_app::app::App::run::h55a2f63db33b0d66
29: 0x2ab9e69080 - breakout::main::hab65d0d9c0f8a805
30: 0x2ab9e8be7c - std::sys::backtrace::__rust_begin_short_backtrace::hfb0613f3bb2375da
31: 0x2ab9e836b2 - std::rt::lang_start::{{closure}}::h8b1d7ed703333021
32: 0x2abbf1efe0 - std::rt::lang_start_internal::h9ff551ebecc36590
33: 0x2ab9e69550 - main
34: 0x3f9b425a5a - __libc_start_call_main
at ./csu/…/sysdeps/nptl/libc_start_call_main.h:58:16
35: 0x3f9b425b06 - __libc_start_main_impl
at ./csu/libc-start.c:360:3
36: 0x2ab9e5f980 - _start
37: 0x0 -
Encountered a panic in system bevy_render::view::window::create_surfaces!