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

Off screen window crashes App #12887

Open
alexk101 opened this issue Apr 5, 2024 · 18 comments
Open

Off screen window crashes App #12887

alexk101 opened this issue Apr 5, 2024 · 18 comments
Labels
A-Windowing Platform-agnostic interface layer to run your app in C-Bug An unexpected or incorrect behavior O-Linux Specific to the Linux desktop operating system

Comments

@alexk101
Copy link

alexk101 commented Apr 5, 2024

Bevy version

0.13.2

Relevant system information

If you cannot get Bevy to build or run on your machine, please include:

cargo: cargo 1.76.0 (c84b36747 2024-01-18)
os: Linux EndeavourOS (6.8.2-arch2-1)
AdapterInfo: { name: "NVIDIA GeForce RTX 3070 Ti Laptop GPU", vendor: 4318, device: 9440, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "550.67", backend: Vulkan }
windowing: Wayland

What you did

When running any app with the default rendering plugin, placing the window offscreen causes the program to crash.

Example

use bevy::prelude::*;

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .run();
}

What went wrong

On my system, I run hyprland, a tiling window manager for Wayland. While running an app without any real content besides the default plugin, navigating to a new workspace causes the App to crash. This shouldn't happen and the app should continue to run without crash when it is off the currently viewed screen. I am unsure if #12875 is related, as the crash log doesn't really look similar, but perhaps that is the case.

Additional information

Error Log ```
2024-04-05T22:34:43.881679Z  WARN log: error setting XSETTINGS; Xft options won't reload automatically    
2024-04-05T22:34:43.895046Z  INFO bevy_winit::system: Creating new window "App" (0v1)
2024-04-05T22:34:43.895247Z  INFO log: Guessed window scale factor: 1.0833333333333333    
2024-04-05T22:34:44.023554Z  INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 3070 Ti Laptop GPU", vendor: 4318, device: 9440, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "550.67", backend: Vulkan }
2024-04-05T22:34:44.198100Z  WARN bevy_render::view::window: Couldn't get swap chain texture. This often happens with the Nvidia 550 driver. It can be safely ignored.
thread 'Compute Task Pool (0)' panicked at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/view/window/mod.rs:362:21:
Couldn't get swap chain texture, operation unrecoverable: A timeout was encountered while trying to acquire the next frame
stack backtrace:
0:     0x79e89a78b6f6 - std::backtrace_rs::backtrace::libunwind::trace::hbee8a7973eeb6c93
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
1:     0x79e89a78b6f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8ac75eea3aa6899
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2:     0x79e89a78b6f6 - std::sys_common::backtrace::_print_fmt::hc7f3e3b5298b1083
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:68:5
3:     0x79e89a78b6f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbb235daedd7c6190
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:44:22
4:     0x79e89a7ddf40 - core::fmt::rt::Argument::fmt::h76c38a80d925a410
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/rt.rs:142:9
5:     0x79e89a7ddf40 - core::fmt::write::h3ed6aeaa977c8e45
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/mod.rs:1120:17
6:     0x79e89a77f53f - std::io::Write::write_fmt::h78b18af5775fedb5
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/io/mod.rs:1810:15
7:     0x79e89a78b4d4 - std::sys_common::backtrace::_print::h5d645a07e0fcfdbb
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:47:5
8:     0x79e89a78b4d4 - std::sys_common::backtrace::print::h85035a511aafe7a8
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:34:9
9:     0x79e89a78e267 - std::panicking::default_hook::{{closure}}::hcce8cea212785a25
10:     0x79e89a78dfc9 - std::panicking::default_hook::hf5fcb0f213fe709a
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:292:9
11:     0x79e89a78e828 - std::panicking::rust_panic_with_hook::h095fccf1dc9379ee
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:779:13
12:     0x79e89a78e702 - std::panicking::begin_panic_handler::{{closure}}::h032ba12139b353db
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:657:13
13:     0x79e89a78bbf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h9259bc2ff8fd0f76
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:171:18
14:     0x79e89a78e460 - rust_begin_unwind
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
15:     0x79e89a7da645 - core::panicking::panic_fmt::h784f20a50eaab275
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
16:     0x79e89c6302d3 - bevy_render::view::window::prepare_windows::h01f13462bd19bd45
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/view/window/mod.rs:362:21
17:     0x79e89c5ff7de - core::ops::function::FnMut::call_mut::h9359518015d589fd
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:166:5
18:     0x79e89c5ff7de - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut::h9ecbf8fead9a625a
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:294:13
19:     0x79e89c5ff7de - <Func as bevy_ecs::system::function_system::SystemParamFunction<fn(F0,F1,F2,F3,F4,F5,F6,F7,F8) .> Out>>::run::call_inner::hd7e009688ad5a4fa
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21
20:     0x79e89c5ff7de - <Func as bevy_ecs::system::function_system::SystemParamFunction<fn(F0,F1,F2,F3,F4,F5,F6,F7,F8) .> Out>>::run::h8257c478eaac64bf
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17
21:     0x79e89c5ff7de - <bevy_ecs::system::function_system::FunctionSystem<Marker,F> as bevy_ecs::system::system::System>::run_unsafe::h3aebd1a071d6d129
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19
22:     0x79e89d304af5 - bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}}::h6f6d4648a8a8e58b
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26
23:     0x79e89d304af5 - core::ops::function::FnOnce::call_once::h98ef9d1ebed3aba5
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
24:     0x79e89d304af5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h84533b6b7d896b7d
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
25:     0x79e89d304af5 - std::panicking::try::do_call::ha1bdddcebef3262f
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
26:     0x79e89d304af5 - std::panicking::try::h9189daa446635661
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
27:     0x79e89d304af5 - std::panic::catch_unwind::ha6b633411d4d6f55
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
28:     0x79e89d304af5 - bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::h257be07be8d6e4a1
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23
29:     0x79e89d304af5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::future::future::Future>::poll::hd9edb16f46b4b975
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:297:9
30:     0x79e89d304af5 - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::{{closure}}::h6eaa8913aab9147b
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42
31:     0x79e89d304af5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h2ee4405a19f3e8a4
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
32:     0x79e89d304af5 - std::panicking::try::do_call::hd008134cd6d3ccbd
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
33:     0x79e89d304af5 - std::panicking::try::h34773b786c0346e2
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
34:     0x79e89d304af5 - std::panic::catch_unwind::h562e298280e82e4e
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
35:     0x79e89d304af5 - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::h69fd18c59a2c9384
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9
36:     0x79e89d300a7e - async_executor::Executor::spawn::{{closure}}::h371d820650092d6c
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:158:20
37:     0x79e89d30c6c4 - async_task::raw::RawTask<F,T,S,M>::run::{{closure}}::h840a8c35ccb4f777
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21
38:     0x79e89d30c6c4 - core::ops::function::FnOnce::call_once::hea37269d53fb3ee6
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
39:     0x79e89d30c6c4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf82452cfa7006b6a
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
40:     0x79e89d30c6c4 - std::panicking::try::do_call::hd3078b1d21a455bf
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
41:     0x79e89d30c6c4 - std::panicking::try::ha0817f58c0aa1cea
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
42:     0x79e89d30c6c4 - std::panic::catch_unwind::h87f2200801edd172
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
43:     0x79e89d30c6c4 - async_task::raw::RawTask<F,T,S,M>::run::hc08add7dff14d650
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23
44:     0x79e89d318d24 - async_task::runnable::Runnable<M>::run::h798d2b53defca3a1
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18
45:     0x79e89d318d24 - async_executor::Executor::run::{{closure}}::{{closure}}::h63bea77f1e1502eb
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:254:21
46:     0x79e89d318d24 - <futures_lite::future::Or<F1,F2> as core::future::future::Future>::poll::h41fff2e46b835a2c
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33
47:     0x79e89d318d24 - async_executor::Executor::run::{{closure}}::h4f576dc30fb2cfd4
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:261:32
48:     0x79e89d318d24 - futures_lite::future::block_on::{{closure}}::hd6aefe07ffae54c8
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19
49:     0x79e89d318d24 - std::thread::local::LocalKey<T>::try_with::hb326291cddfe9f22
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:270:16
50:     0x79e89d318d24 - std::thread::local::LocalKey<T>::with::h267a0613b5738fba
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:9
51:     0x79e89d318d24 - futures_lite::future::block_on::h4e741f0408f64703
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:11
52:     0x79e89d3154c8 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h3440fe6f11d6efee
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:180:37
53:     0x79e89d3154c8 - std::panicking::try::do_call::h0535be88093b4c7d
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
54:     0x79e89d3154c8 - std::panicking::try::h27440c427f861b4c
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
55:     0x79e89d3154c8 - std::panic::catch_unwind::h34e02e96b0a2b6f5
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
56:     0x79e89d3154c8 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::h559a87103dad12e0
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:174:43
57:     0x79e89d3154c8 - std::thread::local::LocalKey<T>::try_with::h1ce7a1b6a9ec67e1
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:270:16
58:     0x79e89d3154c8 - std::thread::local::LocalKey<T>::with::h08355adc34ecad6d
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:9
59:     0x79e89d3154c8 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::hae77d7efa0279da2
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:167:50
60:     0x79e89d3154c8 - std::sys_common::backtrace::__rust_begin_short_backtrace::h8a24f2df7b0890d9
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:155:18
61:     0x79e89d313495 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h046e652d3730c4e0
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:529:17
62:     0x79e89d313495 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h134edfbc8b7f29c0
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
63:     0x79e89d313495 - std::panicking::try::do_call::h45def883aeec3a7c
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
64:     0x79e89d313495 - std::panicking::try::h9e44bb8403cff377
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
65:     0x79e89d313495 - std::panic::catch_unwind::he40cff11f1879025
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
66:     0x79e89d313495 - std::thread::Builder::spawn_unchecked_::{{closure}}::h0cfe80353e0eeb27
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:528:30
67:     0x79e89d313495 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he7600ecd8684977d
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
68:     0x79e89a7988e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h12de4fc57affb195
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
69:     0x79e89a7988e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3c619f45059d5cf1
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
70:     0x79e89a7988e5 - std::sys::unix::thread::Thread::new::thread_start::hbac657605e4b7389
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys/unix/thread.rs:108:17
71:     0x79e89a49755a - <unknown>
72:     0x79e89a514a3c - <unknown>
73:                0x0 - <unknown>
Encountered a panic in system `bevy_render::view::window::prepare_windows`!
thread 'Compute Task Pool (0)' panicked at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:49:67:
called `Result::unwrap()` on an `Err` value: RecvError
stack backtrace:
0:     0x79e89a78b6f6 - std::backtrace_rs::backtrace::libunwind::trace::hbee8a7973eeb6c93
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
1:     0x79e89a78b6f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8ac75eea3aa6899
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2:     0x79e89a78b6f6 - std::sys_common::backtrace::_print_fmt::hc7f3e3b5298b1083
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:68:5
3:     0x79e89a78b6f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbb235daedd7c6190
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:44:22
4:     0x79e89a7ddf40 - core::fmt::rt::Argument::fmt::h76c38a80d925a410
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/rt.rs:142:9
5:     0x79e89a7ddf40 - core::fmt::write::h3ed6aeaa977c8e45
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/mod.rs:1120:17
6:     0x79e89a77f53f - std::io::Write::write_fmt::h78b18af5775fedb5
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/io/mod.rs:1810:15
7:     0x79e89a78b4d4 - std::sys_common::backtrace::_print::h5d645a07e0fcfdbb
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:47:5
8:     0x79e89a78b4d4 - std::sys_common::backtrace::print::h85035a511aafe7a8
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:34:9
9:     0x79e89a78e267 - std::panicking::default_hook::{{closure}}::hcce8cea212785a25
10:     0x79e89a78dfc9 - std::panicking::default_hook::hf5fcb0f213fe709a
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:292:9
11:     0x79e89a78e828 - std::panicking::rust_panic_with_hook::h095fccf1dc9379ee
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:779:13
12:     0x79e89a78e702 - std::panicking::begin_panic_handler::{{closure}}::h032ba12139b353db
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:657:13
13:     0x79e89a78bbf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h9259bc2ff8fd0f76
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:171:18
14:     0x79e89a78e460 - rust_begin_unwind
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
15:     0x79e89a7da645 - core::panicking::panic_fmt::h784f20a50eaab275
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
16:     0x79e89a7dad43 - core::result::unwrap_failed::h03d8a5018196e1cd
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1649:5
17:     0x79e89c53239f - core::result::Result<T,E>::unwrap::he1b602f4e04abfd4
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1073:23
18:     0x79e89c53239f - bevy_render::pipelined_rendering::RenderAppChannels::recv::{{closure}}::h6a369b73e24dc3c3
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:49:26
19:     0x79e89c53239f - bevy_render::pipelined_rendering::update_rendering::{{closure}}::{{closure}}::{{closure}}::{{closure}}::he9c6a71558016cc1
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:185:60
20:     0x79e89c53239f - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::future::future::Future>::poll::h2686eb2d5f6ee3c9
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:297:9
21:     0x79e89c57bab5 - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::{{closure}}::h08921b2d76f1fb46
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42
22:     0x79e89c57bab5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h6b9d16a5f6cc2b37
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
23:     0x79e89c57bab5 - std::panicking::try::do_call::h2f0c46ebccca0efa
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
24:     0x79e89c57bab5 - std::panicking::try::h7a0838e83e1cb0e2
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
25:     0x79e89c57bab5 - std::panic::catch_unwind::h25d790c76bd8cd82
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
26:     0x79e89c57bab5 - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::hf5afd8303cd0b9f3
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9
27:     0x79e89c57bab5 - async_executor::Executor::spawn::{{closure}}::he07c07a84119b87a
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:158:20
28:     0x79e89c57bab5 - async_task::raw::RawTask<F,T,S,M>::run::{{closure}}::hfca61515791a221d
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21
29:     0x79e89c57bab5 - core::ops::function::FnOnce::call_once::h5e4665e218c410df
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
30:     0x79e89c57bab5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h8d143b7366149096
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
31:     0x79e89c57bab5 - std::panicking::try::do_call::hfd310b0cf052b4ea
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
32:     0x79e89c57bab5 - std::panicking::try::hc51ca6878ad2462c
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
33:     0x79e89c458ab2 - std::panic::catch_unwind::hf64b82caa53e4824
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
34:     0x79e89c458ab2 - async_task::raw::RawTask<F,T,S,M>::run::hbe6a2db5ca582efb
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23
35:     0x79e89d318d24 - async_task::runnable::Runnable<M>::run::h798d2b53defca3a1
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18
36:     0x79e89d318d24 - async_executor::Executor::run::{{closure}}::{{closure}}::h63bea77f1e1502eb
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:254:21
37:     0x79e89d318d24 - <futures_lite::future::Or<F1,F2> as core::future::future::Future>::poll::h41fff2e46b835a2c
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33
38:     0x79e89d318d24 - async_executor::Executor::run::{{closure}}::h4f576dc30fb2cfd4
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:261:32
39:     0x79e89d318d24 - futures_lite::future::block_on::{{closure}}::hd6aefe07ffae54c8
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19
40:     0x79e89d318d24 - std::thread::local::LocalKey<T>::try_with::hb326291cddfe9f22
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:270:16
41:     0x79e89d318d24 - std::thread::local::LocalKey<T>::with::h267a0613b5738fba
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:9
42:     0x79e89d318d24 - futures_lite::future::block_on::h4e741f0408f64703
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:11
43:     0x79e89d3154c8 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h3440fe6f11d6efee
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:180:37
44:     0x79e89d3154c8 - std::panicking::try::do_call::h0535be88093b4c7d
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
45:     0x79e89d3154c8 - std::panicking::try::h27440c427f861b4c
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
46:     0x79e89d3154c8 - std::panic::catch_unwind::h34e02e96b0a2b6f5
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
47:     0x79e89d3154c8 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::h559a87103dad12e0
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:174:43
48:     0x79e89d3154c8 - std::thread::local::LocalKey<T>::try_with::h1ce7a1b6a9ec67e1
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:270:16
49:     0x79e89d3154c8 - std::thread::local::LocalKey<T>::with::h08355adc34ecad6d
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:9
50:     0x79e89d3154c8 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::hae77d7efa0279da2
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:167:50
51:     0x79e89d3154c8 - std::sys_common::backtrace::__rust_begin_short_backtrace::h8a24f2df7b0890d9
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:155:18
52:     0x79e89d313495 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h046e652d3730c4e0
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:529:17
53:     0x79e89d313495 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h134edfbc8b7f29c0
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
54:     0x79e89d313495 - std::panicking::try::do_call::h45def883aeec3a7c
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
55:     0x79e89d313495 - std::panicking::try::h9e44bb8403cff377
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
56:     0x79e89d313495 - std::panic::catch_unwind::he40cff11f1879025
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
57:     0x79e89d313495 - std::thread::Builder::spawn_unchecked_::{{closure}}::h0cfe80353e0eeb27
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:528:30
58:     0x79e89d313495 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he7600ecd8684977d
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
59:     0x79e89a7988e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h12de4fc57affb195
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
60:     0x79e89a7988e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3c619f45059d5cf1
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
61:     0x79e89a7988e5 - std::sys::unix::thread::Thread::new::thread_start::hbac657605e4b7389
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys/unix/thread.rs:108:17
62:     0x79e89a49755a - <unknown>
63:     0x79e89a514a3c - <unknown>
64:                0x0 - <unknown>
thread '<unnamed>' panicked at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:26:
cannot access a Thread Local Storage value during or after destruction: AccessError
stack backtrace:
0:     0x79e89a78b6f6 - std::backtrace_rs::backtrace::libunwind::trace::hbee8a7973eeb6c93
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
1:     0x79e89a78b6f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8ac75eea3aa6899
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2:     0x79e89a78b6f6 - std::sys_common::backtrace::_print_fmt::hc7f3e3b5298b1083
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:68:5
3:     0x79e89a78b6f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbb235daedd7c6190
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:44:22
4:     0x79e89a7ddf40 - core::fmt::rt::Argument::fmt::h76c38a80d925a410
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/rt.rs:142:9
5:     0x79e89a7ddf40 - core::fmt::write::h3ed6aeaa977c8e45
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/mod.rs:1120:17
6:     0x79e89a77f53f - std::io::Write::write_fmt::h78b18af5775fedb5
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/io/mod.rs:1810:15
7:     0x79e89a78b4d4 - std::sys_common::backtrace::_print::h5d645a07e0fcfdbb
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:47:5
8:     0x79e89a78b4d4 - std::sys_common::backtrace::print::h85035a511aafe7a8
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:34:9
9:     0x79e89a78e267 - std::panicking::default_hook::{{closure}}::hcce8cea212785a25
10:     0x79e89a78dfc9 - std::panicking::default_hook::hf5fcb0f213fe709a
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:292:9
11:     0x79e89a78e828 - std::panicking::rust_panic_with_hook::h095fccf1dc9379ee
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:779:13
12:     0x79e89a78e702 - std::panicking::begin_panic_handler::{{closure}}::h032ba12139b353db
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:657:13
13:     0x79e89a78bbf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h9259bc2ff8fd0f76
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:171:18
14:     0x79e89a78e460 - rust_begin_unwind
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
15:     0x79e89a7da645 - core::panicking::panic_fmt::h784f20a50eaab275
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
16:     0x79e89a7dad43 - core::result::unwrap_failed::h03d8a5018196e1cd
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1649:5
17:     0x79e89d0a4808 - core::result::Result<T,E>::expect::h1d705b8902ea48ff
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1030:23
18:     0x79e89d0a4808 - std::thread::local::LocalKey<T>::with::h8cb3eb3428f15d33
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:9
19:     0x79e89d0a4808 - <tracing_subscriber::fmt::fmt_layer::Layer<S,N,E,W> as tracing_subscriber::layer::Layer<S>>::on_event::hce32b9bfd1e17482
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-subscriber-0.3.18/src/fmt/fmt_layer.rs:949:13
20:     0x79e89d0b52f5 - tracing_core::dispatcher::Dispatch::event::h603a073f63501864
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/dispatcher.rs:615:13
21:     0x79e89d0b52f5 - tracing_log::dispatch_record::{{closure}}::h84240cb12d0478c8
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-log-0.1.4/src/lib.rs:211:9
22:     0x79e89d0b5cf5 - tracing_log::dispatch_record::h10153d1dde847373
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-log-0.1.4/src/lib.rs:195:5
23:     0x79e89d0b5cf5 - <tracing_log::log_tracer::LogTracer as log::Log>::log::h99da9a8b2c612e32
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-log-0.1.4/src/log_tracer.rs:199:13
24:     0x79e89d25ef18 - log::__private_api::log_impl::hc517980f2d25fad7
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/__private_api.rs:61:5
25:     0x79e89cacfa2e - log::__private_api::log::h0550443878a9f778
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/__private_api.rs:73:5
26:     0x79e89cacfa2e - wgpu_hal::gles::egl::egl_debug_proc::h59649437c2db6f6c
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/macros.rs:50:13
27:     0x79e8908b4843 - <unknown>
28:     0x79e89084df9e - <unknown>
29:     0x79e89084e050 - <unknown>
30:     0x79e8908a2541 - <unknown>
31:     0x79e890834aa1 - <unknown>
32:     0x79e89084942b - <unknown>
33:     0x79e899e0d633 - <unknown>
34:     0x79e899e1036f - <unknown>
35:     0x79e8908ad550 - <unknown>
36:     0x79e8908a3310 - <unknown>
37:     0x79e89a44ab36 - <unknown>
38:     0x79e89a44ac80 - exit
39:     0x79e89a431cd7 - <unknown>
40:     0x79e89a431d8a - __libc_start_main
41:     0x5f46fc04df35 - _start
42:                0x0 - <unknown>
fatal runtime error: failed to initiate panic, error 5
@alexk101 alexk101 added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Apr 5, 2024
@alexk101
Copy link
Author

alexk101 commented Apr 5, 2024

Ah, definitely not related to #12875, as that is rust work spaces, not window compositor workspaces.

@alice-i-cecile alice-i-cecile added A-Windowing Platform-agnostic interface layer to run your app in O-Linux Specific to the Linux desktop operating system and removed S-Needs-Triage This issue needs to be labelled labels Apr 6, 2024
@alice-i-cecile
Copy link
Member

Are you able to reproduce this crash upstream with pure winit? Or with another winit-powered app, such as something built in eframe?

@alexk101
Copy link
Author

alexk101 commented Apr 6, 2024

Tested the eframe template and did not have any issues.

@alice-i-cecile
Copy link
Member

Great, sounds like a Bevy problem in some form then. Thanks for investigating.

I would test this on #12669 next: there's a chance that this resolves the problem.

@alexk101
Copy link
Author

alexk101 commented Apr 8, 2024

unfortunately no. The crash from that branch is included below

Log ```
    Finished dev [optimized + debuginfo] target(s) in 0.19s
   Running `target/debug/rust-game`
    2024-04-08T23:28:49.373101Z  WARN winit::platform_impl::platform::x11::xdisplay: error setting XSETTINGS; Xft options won't reload automatically    
    2024-04-08T23:28:49.387255Z  INFO bevy_winit::system: Creating new window "App" (Entity { index: 0, generation: 1 })
    2024-04-08T23:28:49.387442Z  INFO winit::platform_impl::platform::x11::window: Guessed window scale factor: 1.0833333333333333    
    2024-04-08T23:28:49.508194Z  INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 3070 Ti Laptop GPU", vendor: 4318, device: 9440, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "550.67", backend: Vulkan }
    2024-04-08T23:28:49.668798Z  WARN bevy_render::view::window: Couldn't get swap chain texture. This often happens with the NVIDIA drivers on Linux. It can be safely ignored.
    thread 'Compute Task Pool (6)' panicked at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_render/src/view/window/mod.rs:362:21:
    Couldn't get swap chain texture, operation unrecoverable: A timeout was encountered while trying to acquire the next frame
    stack backtrace:
       0:     0x73f25a58bd16 - std::backtrace_rs::backtrace::libunwind::trace::h6e4a662bea54ccfc
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
       1:     0x73f25a58bd16 - std::backtrace_rs::backtrace::trace_unsynchronized::hb42b4eb2797d9c0e
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
       2:     0x73f25a58bd16 - std::sys_common::backtrace::_print_fmt::h2bc261f3223f4e4d
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:68:5
       3:     0x73f25a58bd16 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h9cca0343d66d16a8
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:44:22
       4:     0x73f25a5de770 - core::fmt::rt::Argument::fmt::h8b666c45176be671
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/rt.rs:142:9
       5:     0x73f25a5de770 - core::fmt::write::h4311bce0ee536615
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/mod.rs:1120:17
       6:     0x73f25a57f58f - std::io::Write::write_fmt::h0685c51539d0a0cd
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/io/mod.rs:1846:15
       7:     0x73f25a58baf4 - std::sys_common::backtrace::_print::h25f19b1d64e81f86
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:47:5
       8:     0x73f25a58baf4 - std::sys_common::backtrace::print::h2fb8f70628a241ed
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:34:9
       9:     0x73f25a58e887 - std::panicking::default_hook::{{closure}}::h05093fe2e3ef454d
      10:     0x73f25a58e5e9 - std::panicking::default_hook::h5ac38aa38e0086d2
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:292:9
      11:     0x73f25a58ee48 - std::panicking::rust_panic_with_hook::hed79743dc8b4b969
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:781:13
      12:     0x73f25a58ed22 - std::panicking::begin_panic_handler::{{closure}}::ha437b5d58f431abf
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:659:13
      13:     0x73f25a58c216 - std::sys_common::backtrace::__rust_end_short_backtrace::hd98e82d5b39ec859
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:171:18
      14:     0x73f25a58ea74 - rust_begin_unwind
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:647:5
      15:     0x73f25a5dae75 - core::panicking::panic_fmt::hc69c4d258fe11477
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panicking.rs:72:14
      16:     0x73f25c6f4d04 - bevy_render::view::window::prepare_windows::hc7655a1dd43e3fb4
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_render/src/view/window/mod.rs:362:21
      17:     0x73f25c6c72d5 - core::ops::function::FnMut::call_mut::h8cfafe9666f8e172
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:166:5
      18:     0x73f25c6c72d5 - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut::h9c014c4aada37f43
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:294:13
      19:     0x73f25c6c72d5 - <Func as bevy_ecs::system::function_system::SystemParamFunction<fn(F0,F1,F2,F3,F4,F5,F6,F7,F8) .> Out>>::run::call_inner::he5c43bcfa512e253
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_ecs/src/system/function_system.rs:661:21
      20:     0x73f25c6c72d5 - <Func as bevy_ecs::system::function_system::SystemParamFunction<fn(F0,F1,F2,F3,F4,F5,F6,F7,F8) .> Out>>::run::hc221d3dda0e6b710
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_ecs/src/system/function_system.rs:664:17
      21:     0x73f25c6c72d5 - <bevy_ecs::system::function_system::FunctionSystem<Marker,F> as bevy_ecs::system::system::System>::run_unsafe::hce1495c0efc54ee3
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_ecs/src/system/function_system.rs:504:19
      22:     0x73f25d3fb21a - bevy_ecs::schedule::executor::__rust_begin_short_backtrace::run_unsafe::h47d5083d3abfe74e
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_ecs/src/schedule/executor/mod.rs:145:9
      23:     0x73f25d40d2ad - bevy_ecs::schedule::executor::multi_threaded::ExecutorState::spawn_system_task::{{closure}}::{{closure}}::hd62b0b9208b9b0cd
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_ecs/src/schedule/executor/multi_threaded.rs:624:21
      24:     0x73f25d40d2ad - core::ops::function::FnOnce::call_once::he83e86282a9d6d78
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:250:5
      25:     0x73f25d40d2ad - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf9d875139e504a11
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:272:9
      26:     0x73f25d40d2ad - std::panicking::try::do_call::hde282b76cc16b968
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
      27:     0x73f25d40d2ad - std::panicking::try::hf7ed268cd1e7d6a0
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
      28:     0x73f25d40d2ad - std::panic::catch_unwind::h96ddaf380789e8de
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
      29:     0x73f25d40d2ad - bevy_ecs::schedule::executor::multi_threaded::ExecutorState::spawn_system_task::{{closure}}::h0bfb774547e7b69b
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_ecs/src/schedule/executor/multi_threaded.rs:616:23
      30:     0x73f25d40d2ad - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::future::future::Future>::poll::hdf602257f7be9b3b
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:297:9
      31:     0x73f25d40d2ad - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::{{closure}}::h37b47c1e5a8de5cc
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42
      32:     0x73f25d40d2ad - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hdacfcbe65a9d4da1
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:272:9
      33:     0x73f25d40d2ad - std::panicking::try::do_call::h0019b15e9f62b5cf
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
      34:     0x73f25d40d2ad - std::panicking::try::h8409e9bcab90e706
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
      35:     0x73f25d40d2ad - std::panic::catch_unwind::h0dcf5c1fd109c7c8
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
      36:     0x73f25d40d2ad - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::h37cb87bd845549ff
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9
      37:     0x73f25d40a7e6 - async_executor::Executor::spawn::{{closure}}::h5a754cd2abdc8166
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:158:20
      38:     0x73f25d3cff4a - async_task::raw::RawTask<F,T,S,M>::run::{{closure}}::h9ca94e8e8553e50f
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21
      39:     0x73f25d3cff4a - core::ops::function::FnOnce::call_once::hb8d59a1ad61c9684
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:250:5
      40:     0x73f25d3cff4a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0f27912582df9c21
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:272:9
      41:     0x73f25d3cff4a - std::panicking::try::do_call::hb5671f483dea56f1
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
      42:     0x73f25d3cff4a - std::panicking::try::hb2cb1d8008363e19
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
      43:     0x73f25d3cff4a - std::panic::catch_unwind::h90b8b1cb9f10662f
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
      44:     0x73f25d3cff4a - async_task::raw::RawTask<F,T,S,M>::run::hf5466e1853d1a125
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23
      45:     0x73f25d414824 - async_task::runnable::Runnable<M>::run::h7bd8020c61dec7f2
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18
      46:     0x73f25d414824 - async_executor::Executor::run::{{closure}}::{{closure}}::hd5b8a2edf60b7244
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:254:21
      47:     0x73f25d414824 - <futures_lite::future::Or<F1,F2> as core::future::future::Future>::poll::hea9dec25026c1ab7
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33
      48:     0x73f25d414824 - async_executor::Executor::run::{{closure}}::hd9e84192a7b09447
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:261:32
      49:     0x73f25d414824 - futures_lite::future::block_on::{{closure}}::hfc49a202d42255a3
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19
      50:     0x73f25d414824 - std::thread::local::LocalKey<T>::try_with::h160d1f34893477b8
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:286:16
      51:     0x73f25d414824 - std::thread::local::LocalKey<T>::with::h1b0c1c3a8b88f4fa
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:262:9
      52:     0x73f25d414824 - futures_lite::future::block_on::h961b7a5c7163c7b0
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:11
      53:     0x73f25d411628 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h7ab86138f3689f6c
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_tasks/src/task_pool.rs:180:37
      54:     0x73f25d411628 - std::panicking::try::do_call::ha6c426b1da217fbc
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
      55:     0x73f25d411628 - std::panicking::try::h56bb64cf9dc51bdc
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
      56:     0x73f25d411628 - std::panic::catch_unwind::haf88a0f72bb511da
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
      57:     0x73f25d411628 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::heb4dd7d61dee4453
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_tasks/src/task_pool.rs:174:43
      58:     0x73f25d411628 - std::thread::local::LocalKey<T>::try_with::h30c342939d01b1a3
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:286:16
      59:     0x73f25d411628 - std::thread::local::LocalKey<T>::with::h353fed5c96771158
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:262:9
      60:     0x73f25d411628 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::hf8256d97d53c92ad
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_tasks/src/task_pool.rs:167:50
      61:     0x73f25d411628 - std::sys_common::backtrace::__rust_begin_short_backtrace::h9c437f29e51747d9
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:155:18
      62:     0x73f25d4178d5 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::he02215e2d18a458a
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/mod.rs:529:17
      63:     0x73f25d4178d5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h43ded0282e11fc97
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:272:9
      64:     0x73f25d4178d5 - std::panicking::try::do_call::h8ab653932f3ee83e
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
      65:     0x73f25d4178d5 - std::panicking::try::h4310971cfac9a7ec
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
      66:     0x73f25d4178d5 - std::panic::catch_unwind::hc551080e82d43ca7
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
      67:     0x73f25d4178d5 - std::thread::Builder::spawn_unchecked_::{{closure}}::h49c1e5032b6ce5a1
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/mod.rs:528:30
      68:     0x73f25d4178d5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h74c26fdc06bf76cf
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:250:5
      69:     0x73f25a598675 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h32ae492e80523c39
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/alloc/src/boxed.rs:2015:9
      70:     0x73f25a598675 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hd05b2dc112b7a972
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/alloc/src/boxed.rs:2015:9
      71:     0x73f25a598675 - std::sys::pal::unix::thread::Thread::new::thread_start::h40e6fd3f8ce15a14
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys/pal/unix/thread.rs:108:17
      72:     0x73f25a38255a - <unknown>
      73:     0x73f25a3ffa3c - <unknown>
      74:                0x0 - <unknown>
    Encountered a panic in system `bevy_render::view::window::prepare_windows`!
    thread '<unnamed>' panicked at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:262:26:
    cannot access a Thread Local Storage value during or after destruction: AccessError
    stack backtrace:
       0:     0x73f25a58bd16 - std::backtrace_rs::backtrace::libunwind::trace::h6e4a662bea54ccfc
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
       1:     0x73f25a58bd16 - std::backtrace_rs::backtrace::trace_unsynchronized::hb42b4eb2797d9c0e
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
       2:     0x73f25a58bd16 - std::sys_common::backtrace::_print_fmt::h2bc261f3223f4e4d
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:68:5
       3:     0x73f25a58bd16 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h9cca0343d66d16a8
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:44:22
       4:     0x73f25a5de770 - core::fmt::rt::Argument::fmt::h8b666c45176be671
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/rt.rs:142:9
       5:     0x73f25a5de770 - core::fmt::write::h4311bce0ee536615
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/mod.rs:1120:17
       6:     0x73f25a57f58f - std::io::Write::write_fmt::h0685c51539d0a0cd
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/io/mod.rs:1846:15
       7:     0x73f25a58baf4 - std::sys_common::backtrace::_print::h25f19b1d64e81f86
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:47:5
       8:     0x73f25a58baf4 - std::sys_common::backtrace::print::h2fb8f70628a241ed
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:34:9
       9:     0x73f25a58e887 - std::panicking::default_hook::{{closure}}::h05093fe2e3ef454d
      10:     0x73f25a58e5e9 - std::panicking::default_hook::h5ac38aa38e0086d2
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:292:9
      11:     0x73f25a58ee48 - std::panicking::rust_panic_with_hook::hed79743dc8b4b969
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:781:13
      12:     0x73f25a58ed22 - std::panicking::begin_panic_handler::{{closure}}::ha437b5d58f431abf
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:659:13
      13:     0x73f25a58c216 - std::sys_common::backtrace::__rust_end_short_backtrace::hd98e82d5b39ec859
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:171:18
      14:     0x73f25a58ea74 - rust_begin_unwind
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:647:5
      15:     0x73f25a5dae75 - core::panicking::panic_fmt::hc69c4d258fe11477
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panicking.rs:72:14
      16:     0x73f25a5db573 - core::result::unwrap_failed::hff299ec748d62aab
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/result.rs:1649:5
      17:     0x73f25ca543e8 - core::result::Result<T,E>::expect::h655093adbf4fa061
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/result.rs:1030:23
      18:     0x73f25ca543e8 - std::thread::local::LocalKey<T>::with::h48e06288cf42d2a2
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:262:9
      19:     0x73f25ca543e8 - <tracing_subscriber::fmt::fmt_layer::Layer<S,N,E,W> as tracing_subscriber::layer::Layer<S>>::on_event::hada5d14c563a2414
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-subscriber-0.3.18/src/fmt/fmt_layer.rs:949:13
      20:     0x73f25cbfa7f3 - tracing_core::dispatcher::Dispatch::event::h100f35249a85755d
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/dispatcher.rs:615:13
      21:     0x73f25cbfa7f3 - tracing_log::dispatch_record::{{closure}}::h42f86a2de49384ed
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-log-0.2.0/src/lib.rs:183:9
      22:     0x73f25cbfa545 - tracing_core::dispatcher::get_default::h8cecf50996c98724
      23:     0x73f25cbfa545 - tracing_log::dispatch_record::h0ab14b19ba57484e
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-log-0.2.0/src/lib.rs:167:5
      24:     0x73f25d19488f - log::__private_api::log_impl::h305216db6cf11c6d
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/__private_api.rs:61:5
      25:     0x73f25d01dcbe - log::__private_api::log::h60a4f174fcd11ee1
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/__private_api.rs:73:5
      26:     0x73f25d01dcbe - wgpu_hal::gles::egl::egl_debug_proc::hd259507099ab6f48
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/macros.rs:50:13
      27:     0x73f2508b4843 - <unknown>
      28:     0x73f25084df9e - <unknown>
      29:     0x73f25084e050 - <unknown>
      30:     0x73f2508a2541 - <unknown>
      31:     0x73f250834aa1 - <unknown>
      32:     0x73f25084942b - <unknown>
      33:     0x73f2595f6633 - <unknown>
      34:     0x73f2595f936f - <unknown>
      35:     0x73f2508ad550 - <unknown>
      36:     0x73f2508a3310 - <unknown>
      37:     0x73f25a335b36 - <unknown>
      38:     0x73f25a335c80 - exit
      39:     0x73f25a31ccd7 - <unknown>
      40:     0x73f25a31cd8a - __libc_start_main
      41:     0x6505a7c60095 - _start
      42:                0x0 - <unknown>
    fatal runtime error: failed to initiate panic, error 5
    [1]    53488 IOT instruction (core dumped)  cargo run
    ```

@s-puig
Copy link
Contributor

s-puig commented Apr 11, 2024

Would you mind testing it with #12524? If not, does it work properly when disabling pipelined rendering?

App::new()
    .add_plugins(
        DefaultPlugins.build()
            .disable::<PipelinedRenderingPlugin>()
    )
    .run();

@eero-lehtinen
Copy link
Contributor

It shows the nvidia related warning added in #12542 just before crashing, so it's probably related.

@alexk101
Copy link
Author

alexk101 commented Apr 14, 2024

@s-puig

Would you mind testing it with #12524?

This branch is worse. The program crashes immediately instead of just when switching windows. I expect this is because is doesn't include the fix from #12542.

Finished dev [optimized + debuginfo] target(s) in 0.43s
Running `target/debug/rust-game`
2024-04-14T19:13:35.242686Z  WARN winit::platform_impl::platform::x11::xdisplay: error setting XSETTINGS; Xft options won't reload automatically    
2024-04-14T19:13:35.255742Z  INFO bevy_winit::system: Creating new window "App" (Entity { index: 0, generation: 1 })
2024-04-14T19:13:35.256116Z  INFO winit::platform_impl::platform::x11::window: Guessed window scale factor: 1.0833333333333333    
2024-04-14T19:13:35.370110Z  INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 3070 Ti Laptop GPU", vendor: 4318, device: 9440, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "550.67", backend: Vulkan }
thread 'Compute Task Pool (1)' panicked at /home/alexk101/.cargo/git/checkouts/bevy-5d89f7390058001c/c095cf8/crates/bevy_render/src/view/window/mod.rs:340:26:
Error reconfiguring surface: Outdated
stack backtrace:
   0:     0x70c6d478bd16 - std::backtrace_rs::backtrace::libunwind::trace::h6e4a662bea54ccfc
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
   1:     0x70c6d478bd16 - std::backtrace_rs::backtrace::trace_unsynchronized::hb42b4eb2797d9c0e
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x70c6d478bd16 - std::sys_common::backtrace::_print_fmt::h2bc261f3223f4e4d
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:68:5
   3:     0x70c6d478bd16 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h9cca0343d66d16a8
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x70c6d47de770 - core::fmt::rt::Argument::fmt::h8b666c45176be671
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/rt.rs:142:9
   5:     0x70c6d47de770 - core::fmt::write::h4311bce0ee536615
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/mod.rs:1120:17
   6:     0x70c6d477f58f - std::io::Write::write_fmt::h0685c51539d0a0cd
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/io/mod.rs:1846:15
   7:     0x70c6d478baf4 - std::sys_common::backtrace::_print::h25f19b1d64e81f86
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x70c6d478baf4 - std::sys_common::backtrace::print::h2fb8f70628a241ed
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x70c6d478e887 - std::panicking::default_hook::{{closure}}::h05093fe2e3ef454d
  10:     0x70c6d478e5e9 - std::panicking::default_hook::h5ac38aa38e0086d2
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:292:9
  11:     0x70c6d478ee48 - std::panicking::rust_panic_with_hook::hed79743dc8b4b969
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:781:13
  12:     0x70c6d478ed22 - std::panicking::begin_panic_handler::{{closure}}::ha437b5d58f431abf
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:659:13
  13:     0x70c6d478c216 - std::sys_common::backtrace::__rust_end_short_backtrace::hd98e82d5b39ec859
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:171:18
  14:     0x70c6d478ea74 - rust_begin_unwind
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:647:5
  15:     0x70c6d47dae75 - core::panicking::panic_fmt::hc69c4d258fe11477
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panicking.rs:72:14
  16:     0x70c6d47db573 - core::result::unwrap_failed::hff299ec748d62aab
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/result.rs:1649:5
  17:     0x70c6d66d6264 - core::result::Result<T,E>::expect::h2d5f7667b319db08
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/result.rs:1030:23
  18:     0x70c6d66d6264 - bevy_render::view::window::prepare_windows::h21d3bc07afd689ee
                               at /home/alexk101/.cargo/git/checkouts/bevy-5d89f7390058001c/c095cf8/crates/bevy_render/src/view/window/mod.rs:338:33
  19:     0x70c6d66af0b5 - core::ops::function::FnMut::call_mut::haf8527e4e56b0d0c
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:166:5
  20:     0x70c6d66af0b5 - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut::h357aab92dd2bfbb6
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:294:13
  21:     0x70c6d66af0b5 - <Func as bevy_ecs::system::function_system::SystemParamFunction<fn(F0,F1,F2,F3,F4,F5,F6,F7,F8) .> Out>>::run::call_inner::h5198059bf31f7981
                               at /home/alexk101/.cargo/git/checkouts/bevy-5d89f7390058001c/c095cf8/crates/bevy_ecs/src/system/function_system.rs:661:21
  22:     0x70c6d66af0b5 - <Func as bevy_ecs::system::function_system::SystemParamFunction<fn(F0,F1,F2,F3,F4,F5,F6,F7,F8) .> Out>>::run::h131631fb4b226cb7
                               at /home/alexk101/.cargo/git/checkouts/bevy-5d89f7390058001c/c095cf8/crates/bevy_ecs/src/system/function_system.rs:664:17
  23:     0x70c6d66af0b5 - <bevy_ecs::system::function_system::FunctionSystem<Marker,F> as bevy_ecs::system::system::System>::run_unsafe::h1724302769516b17
                               at /home/alexk101/.cargo/git/checkouts/bevy-5d89f7390058001c/c095cf8/crates/bevy_ecs/src/system/function_system.rs:504:19
  24:     0x70c6d75aa119 - bevy_ecs::schedule::executor::__rust_begin_short_backtrace::run_unsafe::h15ea3d32d9059291
                               at /home/alexk101/.cargo/git/checkouts/bevy-5d89f7390058001c/c095cf8/crates/bevy_ecs/src/schedule/executor/mod.rs:145:9
  25:     0x70c6d75a9c0e - bevy_ecs::schedule::executor::multi_threaded::ExecutorState::spawn_system_task::{{closure}}::{{closure}}::h824fc0cb298aa81b
                               at /home/alexk101/.cargo/git/checkouts/bevy-5d89f7390058001c/c095cf8/crates/bevy_ecs/src/schedule/executor/multi_threaded.rs:624:21
  26:     0x70c6d75a9c0e - core::ops::function::FnOnce::call_once::hafca505d9c2b589f
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:250:5
  27:     0x70c6d75a9c0e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h3efe84f81ca6ab7c
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:272:9
  28:     0x70c6d75a9c0e - std::panicking::try::do_call::h4972c486663734fb
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
  29:     0x70c6d75a9c0e - std::panicking::try::h22583c98f2c1c176
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
  30:     0x70c6d75a9c0e - std::panic::catch_unwind::h36b86ae76cf4fb58
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
  31:     0x70c6d75a9c0e - bevy_ecs::schedule::executor::multi_threaded::ExecutorState::spawn_system_task::{{closure}}::h91908f7f53a6ebb4
                               at /home/alexk101/.cargo/git/checkouts/bevy-5d89f7390058001c/c095cf8/crates/bevy_ecs/src/schedule/executor/multi_threaded.rs:616:23
  32:     0x70c6d75a9c0e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::future::future::Future>::poll::h75ee62ab7c7a10b0
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:297:9
  33:     0x70c6d75a9c0e - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::{{closure}}::h29687ad4a26b69ea
                               at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42
  34:     0x70c6d75a9c0e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hc790738a16a9ddea
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:272:9
  35:     0x70c6d75a9c0e - std::panicking::try::do_call::h606f3dc741634c80
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
  36:     0x70c6d75a9c0e - std::panicking::try::h694de2fe39cc8e86
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
  37:     0x70c6d75a9c0e - std::panic::catch_unwind::h1e23fa9bdb1c91dc
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
  38:     0x70c6d75a9c0e - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::hdd32059f578dc34c
                               at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9
  39:     0x70c6d75a7296 - async_executor::Executor::spawn::{{closure}}::he306f306c5d5f914
                               at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:158:20
  40:     0x70c6d75753ea - async_task::raw::RawTask<F,T,S,M>::run::{{closure}}::h804ca8523254d3d4
                               at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21
  41:     0x70c6d75753ea - core::ops::function::FnOnce::call_once::h20efc3d21351ff49
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:250:5
  42:     0x70c6d75753ea - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h95950922d31f5c10
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:272:9
  43:     0x70c6d75753ea - std::panicking::try::do_call::h741c90647588f17b
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
  44:     0x70c6d75753ea - std::panicking::try::hc5abc6d27c29fca0
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
  45:     0x70c6d75753ea - std::panic::catch_unwind::h3ff281d14015eedc
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
  46:     0x70c6d75753ea - async_task::raw::RawTask<F,T,S,M>::run::h9a7eaace1fc0c91b
                               at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23
  47:     0x70c6d75b1204 - async_task::runnable::Runnable<M>::run::h40f407a4d99b518b
                               at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18
  48:     0x70c6d75b1204 - async_executor::Executor::run::{{closure}}::{{closure}}::hb3098435c8b609c8
                               at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:254:21
  49:     0x70c6d75b1204 - <futures_lite::future::Or<F1,F2> as core::future::future::Future>::poll::hfda9c220c4a63022
                               at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33
  50:     0x70c6d75b1204 - async_executor::Executor::run::{{closure}}::h735b8f6f20217ddf
                               at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:261:32
  51:     0x70c6d75b1204 - futures_lite::future::block_on::{{closure}}::hd4f630ab26ad7c34
                               at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19
  52:     0x70c6d75b1204 - std::thread::local::LocalKey<T>::try_with::h8b34ab1cdadc34ae
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:286:16
  53:     0x70c6d75b1204 - std::thread::local::LocalKey<T>::with::hd2eb7f8c5912d7c7
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:262:9
  54:     0x70c6d75b1204 - futures_lite::future::block_on::h91f4616d25991d79
                               at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:11
  55:     0x70c6d75ae008 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h13f10e7105829df1
                               at /home/alexk101/.cargo/git/checkouts/bevy-5d89f7390058001c/c095cf8/crates/bevy_tasks/src/task_pool.rs:180:37
  56:     0x70c6d75ae008 - std::panicking::try::do_call::h2b5be03004ae95d9
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
  57:     0x70c6d75ae008 - std::panicking::try::h87117c670a2dd349
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
  58:     0x70c6d75ae008 - std::panic::catch_unwind::h5e5180c8160bded5
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
  59:     0x70c6d75ae008 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::h1ea3f674dabb9e0f
                               at /home/alexk101/.cargo/git/checkouts/bevy-5d89f7390058001c/c095cf8/crates/bevy_tasks/src/task_pool.rs:174:43
  60:     0x70c6d75ae008 - std::thread::local::LocalKey<T>::try_with::hbec7f97235139396
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:286:16
  61:     0x70c6d75ae008 - std::thread::local::LocalKey<T>::with::hfab27b51dcad3562
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:262:9
  62:     0x70c6d75ae008 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::h2dc5429c1dff3ba4
                               at /home/alexk101/.cargo/git/checkouts/bevy-5d89f7390058001c/c095cf8/crates/bevy_tasks/src/task_pool.rs:167:50
  63:     0x70c6d75ae008 - std::sys_common::backtrace::__rust_begin_short_backtrace::h60a1d68984abb579
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:155:18
  64:     0x70c6d75b42b5 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9eb93cd68fa1d14e
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/mod.rs:529:17
  65:     0x70c6d75b42b5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h210acc8d26add8b9
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:272:9
  66:     0x70c6d75b42b5 - std::panicking::try::do_call::h8382cb6ce86227bb
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
  67:     0x70c6d75b42b5 - std::panicking::try::h501cb32db95a2921
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
  68:     0x70c6d75b42b5 - std::panic::catch_unwind::hf593c3958171b1ed
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
  69:     0x70c6d75b42b5 - std::thread::Builder::spawn_unchecked_::{{closure}}::h9b032268b0a313fb
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/mod.rs:528:30
  70:     0x70c6d75b42b5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h80e526074715d03b
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:250:5
  71:     0x70c6d4798675 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h32ae492e80523c39
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/alloc/src/boxed.rs:2015:9
  72:     0x70c6d4798675 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hd05b2dc112b7a972
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/alloc/src/boxed.rs:2015:9
  73:     0x70c6d4798675 - std::sys::pal::unix::thread::Thread::new::thread_start::h40e6fd3f8ce15a14
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys/pal/unix/thread.rs:108:17
  74:     0x70c6d458255a - <unknown>
  75:     0x70c6d45ffa3c - <unknown>
  76:                0x0 - <unknown>
Encountered a panic in system `bevy_render::view::window::prepare_windows`!
thread '<unnamed>' panicked at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:262:26:
cannot access a Thread Local Storage value during or after destruction: AccessError
stack backtrace:
   0:     0x70c6d478bd16 - std::backtrace_rs::backtrace::libunwind::trace::h6e4a662bea54ccfc
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
   1:     0x70c6d478bd16 - std::backtrace_rs::backtrace::trace_unsynchronized::hb42b4eb2797d9c0e
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x70c6d478bd16 - std::sys_common::backtrace::_print_fmt::h2bc261f3223f4e4d
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:68:5
   3:     0x70c6d478bd16 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h9cca0343d66d16a8
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x70c6d47de770 - core::fmt::rt::Argument::fmt::h8b666c45176be671
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/rt.rs:142:9
   5:     0x70c6d47de770 - core::fmt::write::h4311bce0ee536615
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/mod.rs:1120:17
   6:     0x70c6d477f58f - std::io::Write::write_fmt::h0685c51539d0a0cd
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/io/mod.rs:1846:15
   7:     0x70c6d478baf4 - std::sys_common::backtrace::_print::h25f19b1d64e81f86
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x70c6d478baf4 - std::sys_common::backtrace::print::h2fb8f70628a241ed
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x70c6d478e887 - std::panicking::default_hook::{{closure}}::h05093fe2e3ef454d
  10:     0x70c6d478e5e9 - std::panicking::default_hook::h5ac38aa38e0086d2
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:292:9
  11:     0x70c6d478ee48 - std::panicking::rust_panic_with_hook::hed79743dc8b4b969
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:781:13
  12:     0x70c6d478ed22 - std::panicking::begin_panic_handler::{{closure}}::ha437b5d58f431abf
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:659:13
  13:     0x70c6d478c216 - std::sys_common::backtrace::__rust_end_short_backtrace::hd98e82d5b39ec859
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:171:18
  14:     0x70c6d478ea74 - rust_begin_unwind
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:647:5
  15:     0x70c6d47dae75 - core::panicking::panic_fmt::hc69c4d258fe11477
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panicking.rs:72:14
  16:     0x70c6d47db573 - core::result::unwrap_failed::hff299ec748d62aab
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/result.rs:1649:5
  17:     0x70c6d6bf20d8 - core::result::Result<T,E>::expect::h6540e64a5eeb9d82
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/result.rs:1030:23
  18:     0x70c6d6bf20d8 - std::thread::local::LocalKey<T>::with::h85767ef6ec008ffa
                               at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:262:9
  19:     0x70c6d6bf20d8 - <tracing_subscriber::fmt::fmt_layer::Layer<S,N,E,W> as tracing_subscriber::layer::Layer<S>>::on_event::h3522431cb09493d3
                               at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-subscriber-0.3.18/src/fmt/fmt_layer.rs:949:13
  20:     0x70c6d6d984e3 - tracing_core::dispatcher::Dispatch::event::h100f35249a85755d
                               at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/dispatcher.rs:615:13
  21:     0x70c6d6d984e3 - tracing_log::dispatch_record::{{closure}}::h42f86a2de49384ed
                               at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-log-0.2.0/src/lib.rs:183:9
  22:     0x70c6d6d98235 - tracing_core::dispatcher::get_default::h8cecf50996c98724
  23:     0x70c6d6d98235 - tracing_log::dispatch_record::h0ab14b19ba57484e
                               at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-log-0.2.0/src/lib.rs:167:5
  24:     0x70c6d733359f - log::__private_api::log_impl::h305216db6cf11c6d
                               at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/__private_api.rs:61:5
  25:     0x70c6d71bc9ce - log::__private_api::log::h60a4f174fcd11ee1
                               at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/__private_api.rs:73:5
  26:     0x70c6d71bc9ce - wgpu_hal::gles::egl::egl_debug_proc::hd259507099ab6f48
                               at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/macros.rs:50:13
  27:     0x70c6c88b4843 - <unknown>
  28:     0x70c6c884df9e - <unknown>
  29:     0x70c6c884e050 - <unknown>
  30:     0x70c6c88a2541 - <unknown>
  31:     0x70c6c8834aa1 - <unknown>
  32:     0x70c6c884942b - <unknown>
  33:     0x70c6d3a36633 - <unknown>
  34:     0x70c6d3a3936f - <unknown>
  35:     0x70c6c88ad550 - <unknown>
  36:     0x70c6c88a3310 - <unknown>
  37:     0x70c6d4535b36 - <unknown>
  38:     0x70c6d4535c80 - exit
  39:     0x70c6d451ccd7 - <unknown>
  40:     0x70c6d451cd8a - __libc_start_main
  41:     0x569f164f1095 - _start
  42:                0x0 - <unknown>
fatal runtime error: failed to initiate panic, error 5
[1]    37606 IOT instruction (core dumped)  cargo run

If not, does it work properly when disabling pipelined rendering?

Nope.

  Finished dev [optimized + debuginfo] target(s) in 0.16s
  Running `target/debug/rust-game`
  2024-04-14T19:08:28.592035Z  WARN log: error setting XSETTINGS; Xft options won't reload automatically    
  2024-04-14T19:08:28.608128Z  INFO bevy_winit::system: Creating new window "App" (0v1)
  2024-04-14T19:08:28.608344Z  INFO log: Guessed window scale factor: 1.0833333333333333    
  2024-04-14T19:08:28.735569Z  INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 3070 Ti Laptop GPU", vendor: 4318, device: 9440, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "550.67", backend: Vulkan }
  thread 'Compute Task Pool (6)' panicked at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/view/window/mod.rs:362:21:
  Couldn't get swap chain texture, operation unrecoverable: A timeout was encountered while trying to acquire the next frame
  stack backtrace:
     0:     0x793bc698bd16 - std::backtrace_rs::backtrace::libunwind::trace::h6e4a662bea54ccfc
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
     1:     0x793bc698bd16 - std::backtrace_rs::backtrace::trace_unsynchronized::hb42b4eb2797d9c0e
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
     2:     0x793bc698bd16 - std::sys_common::backtrace::_print_fmt::h2bc261f3223f4e4d
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:68:5
     3:     0x793bc698bd16 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h9cca0343d66d16a8
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:44:22
     4:     0x793bc69de770 - core::fmt::rt::Argument::fmt::h8b666c45176be671
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/rt.rs:142:9
     5:     0x793bc69de770 - core::fmt::write::h4311bce0ee536615
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/mod.rs:1120:17
     6:     0x793bc697f58f - std::io::Write::write_fmt::h0685c51539d0a0cd
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/io/mod.rs:1846:15
     7:     0x793bc698baf4 - std::sys_common::backtrace::_print::h25f19b1d64e81f86
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:47:5
     8:     0x793bc698baf4 - std::sys_common::backtrace::print::h2fb8f70628a241ed
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:34:9
     9:     0x793bc698e887 - std::panicking::default_hook::{{closure}}::h05093fe2e3ef454d
    10:     0x793bc698e5e9 - std::panicking::default_hook::h5ac38aa38e0086d2
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:292:9
    11:     0x793bc698ee48 - std::panicking::rust_panic_with_hook::hed79743dc8b4b969
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:781:13
    12:     0x793bc698ed22 - std::panicking::begin_panic_handler::{{closure}}::ha437b5d58f431abf
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:659:13
    13:     0x793bc698c216 - std::sys_common::backtrace::__rust_end_short_backtrace::hd98e82d5b39ec859
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:171:18
    14:     0x793bc698ea74 - rust_begin_unwind
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:647:5
    15:     0x793bc69dae75 - core::panicking::panic_fmt::hc69c4d258fe11477
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panicking.rs:72:14
    16:     0x793bc86ba1ed - bevy_render::view::window::prepare_windows::hd9b30a1ed4a5eadd
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/view/window/mod.rs:362:21
    17:     0x793bc868d908 - core::ops::function::FnMut::call_mut::h910c790d2afe3cf1
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:166:5
    18:     0x793bc868d908 - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut::hf6a158431f2c95a4
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:294:13
    19:     0x793bc868d908 - <Func as bevy_ecs::system::function_system::SystemParamFunction<fn(F0,F1,F2,F3,F4,F5,F6,F7,F8) .> Out>>::run::call_inner::haeb94b92dd8768e0
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21
    20:     0x793bc868d908 - <Func as bevy_ecs::system::function_system::SystemParamFunction<fn(F0,F1,F2,F3,F4,F5,F6,F7,F8) .> Out>>::run::he34203816ee12775
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17
    21:     0x793bc868d908 - <bevy_ecs::system::function_system::FunctionSystem<Marker,F> as bevy_ecs::system::system::System>::run_unsafe::heb0542d9e94396e0
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19
    22:     0x793bc94e50a5 - bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}}::h49561da89f1431a4
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26
    23:     0x793bc94e50a5 - core::ops::function::FnOnce::call_once::h86e1351f1dfe7a54
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:250:5
    24:     0x793bc94e50a5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::haade1f2720ad8f75
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:272:9
    25:     0x793bc94e50a5 - std::panicking::try::do_call::h73e7f4e4a566bcca
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
    26:     0x793bc94e50a5 - std::panicking::try::h0d390d402efd0468
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
    27:     0x793bc94e50a5 - std::panic::catch_unwind::h22a767ef8a36aeb0
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
    28:     0x793bc94e50a5 - bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::h2160616337388adc
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23
    29:     0x793bc94e50a5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::future::future::Future>::poll::h4d750a736c4d872a
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:297:9
    30:     0x793bc94e50a5 - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::{{closure}}::hce2d8d24a8266a75
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42
    31:     0x793bc94e50a5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h3d30da5917f7e174
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:272:9
    32:     0x793bc94e50a5 - std::panicking::try::do_call::h4730de40ffde3b84
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
    33:     0x793bc94e50a5 - std::panicking::try::h42b3934ae7a13d0f
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
    34:     0x793bc94e50a5 - std::panic::catch_unwind::h06594be79c7df9a3
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
    35:     0x793bc94e50a5 - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::h403d8a28959b691c
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9
    36:     0x793bc94e3259 - async_executor::Executor::spawn::{{closure}}::hf6b7b06edbb8f099
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:158:20
    37:     0x793bc94e3259 - async_task::raw::RawTask<F,T,S,M>::run::{{closure}}::h78a6e9f1c2ed5ede
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21
    38:     0x793bc94e3259 - core::ops::function::FnOnce::call_once::hdf8eb41fc9891373
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:250:5
    39:     0x793bc94e3259 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h392d4f0b8a4d25c4
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:272:9
    40:     0x793bc94e3259 - std::panicking::try::do_call::hc47db17e556d1773
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
    41:     0x793bc94e3259 - std::panicking::try::hed6f76b0f97932d0
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
    42:     0x793bc94fd055 - std::panic::catch_unwind::hd0d6862354b1ea9c
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
    43:     0x793bc94fd055 - async_task::raw::RawTask<F,T,S,M>::run::h87cb016a5ce82179
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23
    44:     0x793bc9506da4 - async_task::runnable::Runnable<M>::run::h764ca2e6dd2c750d
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18
    45:     0x793bc9506da4 - async_executor::Executor::run::{{closure}}::{{closure}}::h299ff8667750901f
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:254:21
    46:     0x793bc9506da4 - <futures_lite::future::Or<F1,F2> as core::future::future::Future>::poll::h35678e31322f6245
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33
    47:     0x793bc9506da4 - async_executor::Executor::run::{{closure}}::h474e71277b48fceb
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:261:32
    48:     0x793bc9506da4 - futures_lite::future::block_on::{{closure}}::h7d89313d002f50dd
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19
    49:     0x793bc9506da4 - std::thread::local::LocalKey<T>::try_with::h753982b8b80277f0
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:286:16
    50:     0x793bc9506da4 - std::thread::local::LocalKey<T>::with::h0f4a00d95846cd64
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:262:9
    51:     0x793bc9506da4 - futures_lite::future::block_on::h405fdbfb38bd65ef
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:11
    52:     0x793bc9503ba8 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h174c0a5b8f20a459
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:180:37
    53:     0x793bc9503ba8 - std::panicking::try::do_call::h10489d3814104a8f
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
    54:     0x793bc9503ba8 - std::panicking::try::h82968263a144b6bf
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
    55:     0x793bc9503ba8 - std::panic::catch_unwind::h265d2a07fd374034
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
    56:     0x793bc9503ba8 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::h2768e9dd2e290475
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:174:43
    57:     0x793bc9503ba8 - std::thread::local::LocalKey<T>::try_with::he60aec0810e76f22
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:286:16
    58:     0x793bc9503ba8 - std::thread::local::LocalKey<T>::with::h2e95038a7190ff9f
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:262:9
    59:     0x793bc9503ba8 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::he088009fcc06be7a
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:167:50
    60:     0x793bc9503ba8 - std::sys_common::backtrace::__rust_begin_short_backtrace::h98c776411dcc7a46
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:155:18
    61:     0x793bc9509e55 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h27c62fc524e166cc
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/mod.rs:529:17
    62:     0x793bc9509e55 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h6444add9ebaa16db
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:272:9
    63:     0x793bc9509e55 - std::panicking::try::do_call::hcdf34b4f344a4e9a
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
    64:     0x793bc9509e55 - std::panicking::try::hede9620b6136a0ec
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
    65:     0x793bc9509e55 - std::panic::catch_unwind::ha6aae156c3491def
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
    66:     0x793bc9509e55 - std::thread::Builder::spawn_unchecked_::{{closure}}::hecbe95d865a3f6f6
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/mod.rs:528:30
    67:     0x793bc9509e55 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h179fccb91594079a
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:250:5
    68:     0x793bc6998675 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h32ae492e80523c39
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/alloc/src/boxed.rs:2015:9
    69:     0x793bc6998675 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hd05b2dc112b7a972
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/alloc/src/boxed.rs:2015:9
    70:     0x793bc6998675 - std::sys::pal::unix::thread::Thread::new::thread_start::h40e6fd3f8ce15a14
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys/pal/unix/thread.rs:108:17
    71:     0x793bc678255a - <unknown>
    72:     0x793bc67ffa3c - <unknown>
    73:                0x0 - <unknown>
  Encountered a panic in system `bevy_render::view::window::prepare_windows`!
  thread '<unnamed>' panicked at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:262:26:
  cannot access a Thread Local Storage value during or after destruction: AccessError
  stack backtrace:
     0:     0x793bc698bd16 - std::backtrace_rs::backtrace::libunwind::trace::h6e4a662bea54ccfc
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
     1:     0x793bc698bd16 - std::backtrace_rs::backtrace::trace_unsynchronized::hb42b4eb2797d9c0e
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
     2:     0x793bc698bd16 - std::sys_common::backtrace::_print_fmt::h2bc261f3223f4e4d
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:68:5
     3:     0x793bc698bd16 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h9cca0343d66d16a8
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:44:22
     4:     0x793bc69de770 - core::fmt::rt::Argument::fmt::h8b666c45176be671
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/rt.rs:142:9
     5:     0x793bc69de770 - core::fmt::write::h4311bce0ee536615
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/mod.rs:1120:17
     6:     0x793bc697f58f - std::io::Write::write_fmt::h0685c51539d0a0cd
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/io/mod.rs:1846:15
     7:     0x793bc698baf4 - std::sys_common::backtrace::_print::h25f19b1d64e81f86
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:47:5
     8:     0x793bc698baf4 - std::sys_common::backtrace::print::h2fb8f70628a241ed
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:34:9
     9:     0x793bc698e887 - std::panicking::default_hook::{{closure}}::h05093fe2e3ef454d
    10:     0x793bc698e5e9 - std::panicking::default_hook::h5ac38aa38e0086d2
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:292:9
    11:     0x793bc698ee48 - std::panicking::rust_panic_with_hook::hed79743dc8b4b969
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:781:13
    12:     0x793bc698ed22 - std::panicking::begin_panic_handler::{{closure}}::ha437b5d58f431abf
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:659:13
    13:     0x793bc698c216 - std::sys_common::backtrace::__rust_end_short_backtrace::hd98e82d5b39ec859
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:171:18
    14:     0x793bc698ea74 - rust_begin_unwind
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:647:5
    15:     0x793bc69dae75 - core::panicking::panic_fmt::hc69c4d258fe11477
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panicking.rs:72:14
    16:     0x793bc69db573 - core::result::unwrap_failed::hff299ec748d62aab
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/result.rs:1649:5
    17:     0x793bc9297718 - core::result::Result<T,E>::expect::hb20828037075fe1f
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/result.rs:1030:23
    18:     0x793bc9297718 - std::thread::local::LocalKey<T>::with::h85380a081d874c2f
                                 at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:262:9
    19:     0x793bc9297718 - <tracing_subscriber::fmt::fmt_layer::Layer<S,N,E,W> as tracing_subscriber::layer::Layer<S>>::on_event::h1d73929dac9b7323
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-subscriber-0.3.18/src/fmt/fmt_layer.rs:949:13
    20:     0x793bc92ad500 - tracing_core::dispatcher::Dispatch::event::h100f35249a85755d
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/dispatcher.rs:615:13
    21:     0x793bc92ad500 - tracing_log::dispatch_record::{{closure}}::he4d363ae9d955a6c
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-log-0.1.4/src/lib.rs:211:9
    22:     0x793bc92adf75 - tracing_log::dispatch_record::h1e124088dfe4a21f
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-log-0.1.4/src/lib.rs:195:5
    23:     0x793bc92adf75 - <tracing_log::log_tracer::LogTracer as log::Log>::log::h229b159df3d57e24
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-log-0.1.4/src/log_tracer.rs:199:13
    24:     0x793bc94506bf - log::__private_api::log_impl::h305216db6cf11c6d
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/__private_api.rs:61:5
    25:     0x793bc8cca79e - log::__private_api::log::hc867404d04f2e429
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/__private_api.rs:73:5
    26:     0x793bc8cca79e - wgpu_hal::gles::egl::egl_debug_proc::haca258aeb73b50d3
                                 at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/macros.rs:50:13
    27:     0x793bbccb4843 - <unknown>
    28:     0x793bbcc4df9e - <unknown>
    29:     0x793bbcc4e050 - <unknown>
    30:     0x793bbcca2541 - <unknown>
    31:     0x793bbcc34aa1 - <unknown>
    32:     0x793bbcc4942b - <unknown>
    33:     0x793bc6012633 - <unknown>
    34:     0x793bc601536f - <unknown>
    35:     0x793bbccad550 - <unknown>
    36:     0x793bbcca3310 - <unknown>
    37:     0x793bc6735b36 - <unknown>
    38:     0x793bc6735c80 - exit
    39:     0x793bc671ccd7 - <unknown>
    40:     0x793bc671cd8a - __libc_start_main
    41:     0x5cc038d86095 - _start
    42:                0x0 - <unknown>
  fatal runtime error: failed to initiate panic, error 5
  [1]    35040 IOT instruction (core dumped)  cargo run

@Friz64
Copy link
Contributor

Friz64 commented Apr 15, 2024

Tested the eframe template and did not have any issues.

The eframe template uses OpenGL by default. If you switched its rendering backend to wgpu (by switching out the feature in the Cargo.toml), I expect that you would be spammed with lots of Dropped frame with error messages (as defined here). I think we should do the same and ignore those errors, which would fix this issue.

Consider this commit: Friz64@a2cb2a8. It would massively simplify things.

@alexk101
Copy link
Author

@Friz64

The eframe template uses OpenGL by default. If you switched its rendering backend to wgpu (by switching out the feature in the Cargo.toml), I expect that you would be spammed with lots of Dropped frame with error messages (as defined here)

No, in fact compiling with wgpu doesn't happen at all. When glow is swapped out for wgpu, I am left with a number of compilation errors from winit and no executable. That itself may be another problem entirely.

@Friz64
Copy link
Contributor

Friz64 commented Apr 17, 2024

Oops, my fault. You additionally need to tell eframe which windowing server to support. Add the x11 feature, which is the current default in Bevy. There's also native wayland support, but let's keep that disabled to remove that variable.

eframe = { version = "0.27.0", default-features = false, features = [
    "accesskit",     # Make egui comptaible with screen readers. NOTE: adds a lot of dependencies.
    "default_fonts", # Embed the default egui fonts.
    "wgpu",          # Use the glow rendering backend. Alternative: "wgpu".
    "x11",
    "persistence",   # Enable restoring app state when restarting the app.
] }

@alexk101
Copy link
Author

alexk101 commented Apr 17, 2024

@Friz64
Very good. That fixed compilation. Though, I am not entirely sure that this is helpful, as I don't get any errors or crashes on the wgpu backend with either x11 or wayland (tried each separately). No Dropped frame with error spam either.

Edit: A minor difference from your config, I am on version 0.27.2 for egui and eframe

@Friz64
Copy link
Contributor

Friz64 commented Apr 17, 2024

Okay, next observation: The default log level (when RUST_LOG is not specified) is error. Try setting RUST_LOG=warn, because the Dropped frame with error spam is on the warning log level.

@alexk101
Copy link
Author

@Friz64. Identical log on x11 and wayland features. Still no spam.

[2024-04-17T14:28:50Z WARN  wgpu_hal::gles::egl] No config found!
[2024-04-17T14:28:50Z WARN  wgpu_hal::gles::egl] EGL says it can present to the window but not natively

@Friz64
Copy link
Contributor

Friz64 commented Apr 17, 2024

Why is your wgpu falling back to OpenGL? Is your Vulkan driver broken? Please open the app with RUST_LOG=debug and post the log.

@alexk101
Copy link
Author

@Friz64 Good question...

[2024-04-17T14:42:35Z DEBUG eframe] Using the wgpu renderer
[2024-04-17T14:42:35Z DEBUG eframe::native::wgpu_integration] Event::Resumed
[2024-04-17T14:42:35Z DEBUG eframe::native::file_storage] Loading app state from "/home/alexk101/.local/share/eframetemplate/app.ron"…
[2024-04-17T14:42:35Z INFO  winit::platform_impl::platform::x11::window] Guessed window scale factor: 1.0833333333333333
[2024-04-17T14:42:35Z DEBUG winit::platform_impl::platform::x11::window] Calculated physical dimensions: 1366x729
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Searching for implicit layer manifest files
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	    In following locations:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /home/alexk101/.config/vulkan/implicit_layer.d
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /etc/xdg/vulkan/implicit_layer.d
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /etc/vulkan/implicit_layer.d
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /home/alexk101/.local/share/vulkan/implicit_layer.d
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /usr/local/share/vulkan/implicit_layer.d
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /usr/share/vulkan/implicit_layer.d
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	    Found the following files:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /home/alexk101/.local/share/vulkan/implicit_layer.d/steamfossilize_x86_64.json
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /home/alexk101/.local/share/vulkan/implicit_layer.d/steamoverlay_i386.json
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /home/alexk101/.local/share/vulkan/implicit_layer.d/steamfossilize_i386.json
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /home/alexk101/.local/share/vulkan/implicit_layer.d/steamoverlay_x86_64.json
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /usr/share/vulkan/implicit_layer.d/VkLayer_FROG_gamescope_wsi.x86_64.json
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /usr/share/vulkan/implicit_layer.d/nvidia_layers.json
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Found manifest file /home/alexk101/.local/share/vulkan/implicit_layer.d/steamfossilize_x86_64.json (file version 1.0.0)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Found manifest file /home/alexk101/.local/share/vulkan/implicit_layer.d/steamoverlay_i386.json (file version 1.0.0)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Found manifest file /home/alexk101/.local/share/vulkan/implicit_layer.d/steamfossilize_i386.json (file version 1.0.0)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Found manifest file /home/alexk101/.local/share/vulkan/implicit_layer.d/steamoverlay_x86_64.json (file version 1.0.0)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Found manifest file /usr/share/vulkan/implicit_layer.d/VkLayer_FROG_gamescope_wsi.x86_64.json (file version 1.0.0)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Found manifest file /usr/share/vulkan/implicit_layer.d/nvidia_layers.json (file version 1.0.0)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Searching for explicit layer manifest files
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	    In following locations:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /home/alexk101/.config/vulkan/explicit_layer.d
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /etc/xdg/vulkan/explicit_layer.d
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /etc/vulkan/explicit_layer.d
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /home/alexk101/.local/share/vulkan/explicit_layer.d
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /usr/local/share/vulkan/explicit_layer.d
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /usr/share/vulkan/explicit_layer.d
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	    Found the following files:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /usr/share/vulkan/explicit_layer.d/VkLayer_khronos_validation.json
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_khronos_validation.json (file version 1.2.0)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Searching for driver manifest files
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	    In following locations:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /home/alexk101/.config/vulkan/icd.d
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /etc/xdg/vulkan/icd.d
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /etc/vulkan/icd.d
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /home/alexk101/.local/share/vulkan/icd.d
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /usr/local/share/vulkan/icd.d
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /usr/share/vulkan/icd.d
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	    Found the following files:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	       /usr/share/vulkan/icd.d/nvidia_icd.json
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Found ICD manifest file /usr/share/vulkan/icd.d/nvidia_icd.json, version 1.0.0
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z DEBUG wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Searching for ICD drivers named libGLX_nvidia.so.0
[2024-04-17T14:42:35Z DEBUG wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z DEBUG wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Loading layer library libVkLayer_khronos_validation.so
[2024-04-17T14:42:35Z DEBUG wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Insert instance layer "VK_LAYER_KHRONOS_validation" (libVkLayer_khronos_validation.so)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  vkCreateInstance layer callstack setup to:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	    <Application>
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	      ||
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	    <Loader>
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	      ||
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	    VK_LAYER_KHRONOS_validation
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	            Type: Explicit
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	            Manifest: /usr/share/vulkan/explicit_layer.d/VkLayer_khronos_validation.json
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	            Library:  libVkLayer_khronos_validation.so
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	      ||
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	    <Drivers>
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] VALIDATION [WARNING-CreateInstance-status-message (0x23dfd876)]
  	  Validation Information: [ WARNING-CreateInstance-status-message ] Object 0: handle = 0x5e5ae9434ad0, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x23dfd876 | vkCreateInstance():  Khronos Validation Layer Active:
        Settings File: None. Default location is /home/alexk101/Documents/Extracurricural/eframe_template\vk_layer_settings.txt.
        Current Enables: None.
        Current Disables: None.
    
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  linux_read_sorted_physical_devices:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	      Original order:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	            [0] NVIDIA GeForce RTX 3070 Ti Laptop GPU
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	      Sorted order:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	            [0] NVIDIA GeForce RTX 3070 Ti Laptop GPU  
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  linux_read_sorted_physical_devices:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	      Original order:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	            [0] NVIDIA GeForce RTX 3070 Ti Laptop GPU
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	      Sorted order:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	            [0] NVIDIA GeForce RTX 3070 Ti Laptop GPU  
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z DEBUG wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Copying old device 0 into new device 0
[2024-04-17T14:42:35Z DEBUG wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z DEBUG wgpu_hal::vulkan::instance] Instance version: 0x403117
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] Enabling debug utils
[2024-04-17T14:42:35Z DEBUG wgpu_hal::vulkan::instance] Enabling device properties2
[2024-04-17T14:42:35Z DEBUG wgpu_core::instance] Instance::new: created Vulkan backend
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::egl] Client extensions: [
        "EGL_EXT_platform_base",
        "EGL_EXT_device_base",
        "EGL_EXT_device_enumeration",
        "EGL_EXT_device_query",
        "EGL_KHR_client_get_all_proc_addresses",
        "EGL_EXT_client_extensions",
        "EGL_KHR_debug",
        "EGL_KHR_platform_x11",
        "EGL_EXT_platform_x11",
        "EGL_EXT_platform_device",
        "EGL_MESA_platform_surfaceless",
        "EGL_EXT_explicit_device",
        "EGL_KHR_platform_wayland",
        "EGL_EXT_platform_wayland",
        "EGL_KHR_platform_gbm",
        "EGL_MESA_platform_gbm",
        "EGL_EXT_platform_xcb",
    ]
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::egl] Loading Wayland library to get the current display
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::egl] Loading X11 library to get the current display
[2024-04-17T14:42:35Z INFO  wgpu_hal::gles::egl] Using Wayland platform
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::egl] Enabling EGL debug output
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::egl] Display vendor "NVIDIA", version (1, 5)
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::egl] Display extensions: [
        "EGL_ANDROID_native_fence_sync",
        "EGL_EXT_buffer_age",
        "EGL_EXT_client_sync",
        "EGL_EXT_create_context_robustness",
        "EGL_EXT_image_dma_buf_import",
        "EGL_EXT_image_dma_buf_import_modifiers",
        "EGL_MESA_image_dma_buf_export",
        "EGL_EXT_output_base",
        "EGL_EXT_output_drm",
        "EGL_EXT_protected_content",
        "EGL_EXT_stream_consumer_egloutput",
        "EGL_EXT_stream_acquire_mode",
        "EGL_EXT_sync_reuse",
        "EGL_IMG_context_priority",
        "EGL_KHR_config_attribs",
        "EGL_KHR_create_context_no_error",
        "EGL_KHR_context_flush_control",
        "EGL_KHR_create_context",
        "EGL_KHR_fence_sync",
        "EGL_KHR_get_all_proc_addresses",
        "EGL_KHR_partial_update",
        "EGL_KHR_swap_buffers_with_damage",
        "EGL_KHR_no_config_context",
        "EGL_KHR_gl_colorspace",
        "EGL_KHR_gl_renderbuffer_image",
        "EGL_KHR_gl_texture_2D_image",
        "EGL_KHR_gl_texture_3D_image",
        "EGL_KHR_gl_texture_cubemap_image",
        "EGL_KHR_image",
        "EGL_KHR_image_base",
        "EGL_KHR_reusable_sync",
        "EGL_KHR_stream",
        "EGL_KHR_stream_attrib",
        "EGL_KHR_stream_consumer_gltexture",
        "EGL_KHR_stream_cross_process_fd",
        "EGL_KHR_stream_fifo",
        "EGL_KHR_stream_producer_eglsurface",
        "EGL_KHR_surfaceless_context",
        "EGL_KHR_wait_sync",
        "EGL_NV_nvrm_fence_sync",
        "EGL_NV_quadruple_buffer",
        "EGL_NV_stream_consumer_eglimage",
        "EGL_NV_stream_cross_display",
        "EGL_NV_stream_cross_object",
        "EGL_NV_stream_cross_process",
        "EGL_NV_stream_cross_system",
        "EGL_NV_stream_dma",
        "EGL_NV_stream_flush",
        "EGL_NV_stream_metadata",
        "EGL_NV_stream_remote",
        "EGL_NV_stream_reset",
        "EGL_NV_stream_socket",
        "EGL_NV_stream_socket_inet",
        "EGL_NV_stream_socket_unix",
        "EGL_NV_stream_sync",
        "EGL_NV_stream_fifo_next",
        "EGL_NV_stream_fifo_synchronous",
        "EGL_NV_stream_consumer_gltexture_yuv",
        "EGL_NV_stream_attrib",
        "EGL_NV_stream_origin",
        "EGL_NV_system_time",
        "EGL_NV_output_drm_flip_event",
        "EGL_NV_triple_buffer",
        "EGL_NV_robustness_video_memory_purge",
        "EGL_EXT_present_opaque",
        "EGL_WL_bind_wayland_display",
        "EGL_WL_wayland_eglstream",
    ]
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::egl] 	EGL surface: +srgb
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::egl] 	Trying native-render
[2024-04-17T14:42:35Z WARN  wgpu_hal::gles::egl] No config found!
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::egl] 	Trying presentation
[2024-04-17T14:42:35Z WARN  wgpu_hal::gles::egl] EGL says it can present to the window but not natively
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::egl] 	EGL context: +debug
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::egl] 	EGL context: +robust access
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::egl] 	EGL context: +surfaceless
[2024-04-17T14:42:35Z DEBUG wgpu_core::instance] Instance::new: created Gl backend
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  linux_read_sorted_physical_devices:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	      Original order:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	            [0] NVIDIA GeForce RTX 3070 Ti Laptop GPU
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	      Sorted order:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	            [0] NVIDIA GeForce RTX 3070 Ti Laptop GPU  
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z DEBUG wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Copying old device 0 into new device 0
[2024-04-17T14:42:35Z DEBUG wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  linux_read_sorted_physical_devices:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	      Original order:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	            [0] NVIDIA GeForce RTX 3070 Ti Laptop GPU
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	      Sorted order:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	            [0] NVIDIA GeForce RTX 3070 Ti Laptop GPU  
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z DEBUG wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Copying old device 0 into new device 0
[2024-04-17T14:42:35Z DEBUG wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_core::instance] Adapter Vulkan AdapterInfo { name: "NVIDIA GeForce RTX 3070 Ti Laptop GPU", vendor: 4318, device: 9440, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "550.67", backend: Vulkan }
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::egl] Max label length: 256
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::egl] Enabling GLES debug output
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::adapter] Vendor: NVIDIA Corporation
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::adapter] Renderer: NVIDIA GeForce RTX 3070 Ti Laptop GPU/PCIe/SSE2
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::adapter] Version: OpenGL ES 3.2 NVIDIA 550.67
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::adapter] SL version: OpenGL ES GLSL ES 3.20
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::adapter] Supported GL Extensions: {
        "GL_EXT_primitive_bounding_box",
        "GL_EXT_shader_integer_mix",
        "GL_EXT_shader_io_blocks",
        "GL_OES_texture_half_float",
        "GL_OES_sample_variables",
        "GL_NV_instanced_arrays",
        "GL_NV_scissor_exclusive",
        "GL_EXT_copy_image",
        "GL_NV_viewport_array2",
        "GL_OES_viewport_array",
        "GL_OVR_multiview",
        "GL_ANDROID_extension_pack_es31a",
        "GL_NV_clip_space_w_scaling",
        "GL_NV_memory_attachment",
        "GL_NV_fragment_shader_barycentric",
        "GL_NV_conservative_raster_pre_snap_triangles",
        "GL_EXT_blend_func_extended",
        "GL_NV_texture_barrier",
        "GL_OES_geometry_shader",
        "GL_KHR_texture_compression_astc_ldr",
        "GL_EXT_texture_format_BGRA8888",
        "GL_EXT_texture_query_lod",
        "GL_OES_texture_buffer",
        "GL_NV_texture_compression_s3tc",
        "GL_NV_viewport_array",
        "GL_NV_blend_equation_advanced",
        "GL_OVR_multiview2",
        "GL_OES_get_program_binary",
        "GL_NV_fbo_color_attachments",
        "GL_EXT_draw_elements_base_vertex",
        "GL_KHR_texture_compression_astc_hdr",
        "GL_OES_depth32",
        "GL_EXT_EGL_image_external_wrap_modes",
        "GL_EXT_multisampled_render_to_texture",
        "GL_EXT_base_instance",
        "GL_OES_draw_buffers_indexed",
        "GL_OES_EGL_image",
        "GL_EXT_shadow_samplers",
        "GL_EXT_texture_compression_bptc",
        "GL_OES_EGL_image_external_essl3",
        "GL_EXT_sRGB_write_control",
        "GL_EXT_memory_object_fd",
        "GL_NV_blend_equation_advanced_coherent",
        "GL_OES_texture_view",
        "GL_OES_standard_derivatives",
        "GL_OES_surfaceless_context",
        "GL_EXT_sRGB",
        "GL_EXT_unpack_subimage",
        "GL_OES_packed_depth_stencil",
        "GL_NV_compute_shader_derivatives",
        "GL_EXT_texture_sRGB_R8",
        "GL_EXT_multi_draw_indirect",
        "GL_NV_fill_rectangle",
        "GL_EXT_depth_clamp",
        "GL_KHR_debug",
        "GL_NV_bindless_texture",
        "GL_NV_framebuffer_mixed_samples",
        "GL_EXT_geometry_point_size",
        "GL_OES_texture_stencil8",
        "GL_NV_draw_instanced",
        "GL_NV_texture_compression_latc",
        "GL_OES_primitive_bounding_box",
        "GL_EXT_EGL_image_storage",
        "GL_EXT_semaphore",
        "GL_OES_draw_elements_base_vertex",
        "GL_OES_geometry_point_size",
        "GL_NV_shader_noperspective_interpolation",
        "GL_NV_shadow_samplers_cube",
        "GL_EXT_texture_mirror_clamp_to_edge",
        "GL_EXT_shader_implicit_conversions",
        "GL_NV_blend_minmax_factor",
        "GL_EXT_sparse_texture",
        "GL_NV_internalformat_sample_query",
        "GL_NV_shader_texture_footprint",
        "GL_OES_tessellation_shader",
        "GL_EXT_disjoint_timer_query",
        "GL_OES_element_index_uint",
        "GL_EXT_texture_rg",
        "GL_OES_fbo_render_mipmap",
        "GL_OES_sample_shading",
        "GL_EXT_texture_border_clamp",
        "GL_NV_packed_float_linear",
        "GL_EXT_gpu_shader5",
        "GL_OES_depth_texture",
        "GL_OES_shader_multisample_interpolation",
        "GL_OES_texture_border_clamp",
        "GL_EXT_multisample_compatibility",
        "GL_EXT_discard_framebuffer",
        "GL_OES_texture_npot",
        "GL_NV_path_rendering",
        "GL_EXT_separate_shader_objects",
        "GL_EXT_conservative_depth",
        "GL_KHR_robust_buffer_access_behavior",
        "GL_NV_read_stencil",
        "GL_EXT_render_snorm",
        "GL_EXT_clear_texture",
        "GL_NVX_blend_equation_advanced_multi_draw_buffers",
        "GL_EXT_compressed_ETC1_RGB8_sub_texture",
        "GL_KHR_shader_subgroup",
        "GL_NV_stereo_view_rendering",
        "GL_KHR_parallel_shader_compile",
        "GL_EXT_occlusion_query_boolean",
        "GL_NV_gpu_shader5",
        "GL_NV_shading_rate_image",
        "GL_NV_framebuffer_multisample",
        "GL_KHR_blend_equation_advanced",
        "GL_EXT_tessellation_shader",
        "GL_EXT_texture_compression_dxt1",
        "GL_EXT_shader_group_vote",
        "GL_OES_mapbuffer",
        "GL_NV_read_buffer",
        "GL_EXT_clip_cull_distance",
        "GL_EXT_blend_minmax",
        "GL_EXT_sparse_texture2",
        "GL_EXT_draw_transform_feedback",
        "GL_NV_mesh_shader",
        "GL_OES_compressed_ETC1_RGB8_texture",
        "GL_OES_copy_image",
        "GL_EXT_draw_buffers_indexed",
        "GL_EXT_multiview_timer_query",
        "GL_NV_shader_atomic_fp16_vector",
        "GL_EXT_buffer_storage",
        "GL_KHR_blend_equation_advanced_coherent",
        "GL_EXT_texture_compression_rgtc",
        "GL_NV_draw_texture",
        "GL_EXT_float_blend",
        "GL_NV_shader_subgroup_partitioned",
        "GL_OES_tessellation_point_size",
        "GL_NV_generate_mipmap_sRGB",
        "GL_NV_draw_vulkan_image",
        "GL_NV_texture_border_clamp",
        "GL_NV_image_formats",
        "GL_OES_depth24",
        "GL_OES_shader_io_blocks",
        "GL_NV_texture_dirty_tile_map",
        "GL_NV_read_depth_stencil",
        "GL_EXT_frag_depth",
        "GL_OVR_multiview_multisampled_render_to_texture",
        "GL_EXT_texture_sRGB_decode",
        "GL_NV_polygon_mode",
        "GL_OES_rgb8_rgba8",
        "GL_NV_conservative_raster",
        "GL_NV_non_square_matrices",
        "GL_NV_explicit_attrib_location",
        "GL_NV_viewport_swizzle",
        "GL_OES_depth_texture_cube_map",
        "GL_EXT_post_depth_coverage",
        "GL_EXT_texture_compression_s3tc",
        "GL_NV_conditional_render",
        "GL_NV_fragment_coverage_to_color",
        "GL_NV_fragment_shader_interlock",
        "GL_NV_geometry_shader_passthrough",
        "GL_NV_pack_subimage",
        "GL_NV_path_rendering_shared_edge",
        "GL_NV_sRGB_formats",
        "GL_EXT_texture_norm16",
        "GL_NV_primitive_shading_rate",
        "GL_KHR_context_flush_control",
        "GL_NV_copy_image",
        "GL_NV_sample_locations",
        "GL_EXT_texture_storage",
        "GL_EXT_window_rectangles",
        "GL_EXT_tessellation_point_size",
        "GL_NV_draw_buffers",
        "GL_NV_bgr",
        "GL_NV_shadow_samplers_array",
        "GL_NV_texture_compression_s3tc_update",
        "GL_OES_gpu_shader5",
        "GL_NV_memory_object_sparse",
        "GL_EXT_debug_label",
        "GL_EXT_EGL_image_array",
        "GL_NV_pixel_buffer_object",
        "GL_OES_EGL_sync",
        "GL_EXT_multisampled_render_to_texture2",
        "GL_OES_texture_float",
        "GL_EXT_multiview_texture_multisample",
        "GL_EXT_shader_non_constant_global_initializers",
        "GL_OES_texture_cube_map_array",
        "GL_EXT_geometry_shader",
        "GL_OES_texture_storage_multisample_2d_array",
        "GL_NV_EGL_stream_consumer_external",
        "GL_EXT_shader_texture_lod",
        "GL_EXT_polygon_offset_clamp",
        "GL_EXT_clip_control",
        "GL_EXT_texture_buffer",
        "GL_EXT_texture_shadow_lod",
        "GL_EXT_color_buffer_float",
        "GL_EXT_texture_cube_map_array",
        "GL_KHR_no_error",
        "GL_KHR_texture_compression_astc_sliced_3d",
        "GL_EXT_texture_view",
        "GL_NV_copy_buffer",
        "GL_NV_framebuffer_blit",
        "GL_EXT_texture_filter_anisotropic",
        "GL_NV_occlusion_query_samples",
        "GL_NV_sample_mask_override_coverage",
        "GL_OES_EGL_image_external",
        "GL_OES_texture_half_float_linear",
        "GL_KHR_robustness",
        "GL_OES_vertex_array_object",
        "GL_EXT_semaphore_fd",
        "GL_NV_timeline_semaphore",
        "GL_EXT_memory_object",
        "GL_EXT_color_buffer_half_float",
        "GL_EXT_raster_multisample",
        "GL_EXT_robustness",
        "GL_NV_texture_array",
        "GL_NV_read_depth",
        "GL_OES_vertex_half_float",
        "GL_EXT_read_format_bgra",
        "GL_NV_representative_fragment_test",
        "GL_OES_texture_float_linear",
        "GL_EXT_map_buffer_range",
        "GL_NV_packed_float",
        "GL_NV_timer_query",
        "GL_OES_shader_image_atomic",
        "GL_EXT_texture_filter_minmax",
    }
[2024-04-17T14:42:35Z INFO  wgpu_core::instance] Adapter Gl AdapterInfo { name: "NVIDIA GeForce RTX 3070 Ti Laptop GPU/PCIe/SSE2", vendor: 4318, device: 0, device_type: Other, driver: "", driver_info: "", backend: Gl }
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  linux_read_sorted_physical_devices:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	      Original order:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	            [0] NVIDIA GeForce RTX 3070 Ti Laptop GPU
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	      Sorted order:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	            [0] NVIDIA GeForce RTX 3070 Ti Laptop GPU  
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z DEBUG wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Copying old device 0 into new device 0
[2024-04-17T14:42:35Z DEBUG wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  linux_read_sorted_physical_devices:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	      Original order:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	            [0] NVIDIA GeForce RTX 3070 Ti Laptop GPU
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	      Sorted order:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	            [0] NVIDIA GeForce RTX 3070 Ti Laptop GPU  
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z DEBUG wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Copying old device 0 into new device 0
[2024-04-17T14:42:35Z DEBUG wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::egl] Max label length: 256
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::egl] Enabling GLES debug output
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::adapter] Vendor: NVIDIA Corporation
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::adapter] Renderer: NVIDIA GeForce RTX 3070 Ti Laptop GPU/PCIe/SSE2
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::adapter] Version: OpenGL ES 3.2 NVIDIA 550.67
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::adapter] SL version: OpenGL ES GLSL ES 3.20
[2024-04-17T14:42:35Z DEBUG wgpu_hal::gles::adapter] Supported GL Extensions: {
        "GL_NV_path_rendering",
        "GL_EXT_base_instance",
        "GL_EXT_primitive_bounding_box",
        "GL_EXT_memory_object_fd",
        "GL_NV_viewport_swizzle",
        "GL_OES_sample_shading",
        "GL_EXT_texture_buffer",
        "GL_OES_draw_elements_base_vertex",
        "GL_NV_EGL_stream_consumer_external",
        "GL_NV_shader_subgroup_partitioned",
        "GL_NV_fill_rectangle",
        "GL_NV_primitive_shading_rate",
        "GL_EXT_depth_clamp",
        "GL_NV_representative_fragment_test",
        "GL_OES_depth_texture",
        "GL_EXT_EGL_image_array",
        "GL_EXT_clip_cull_distance",
        "GL_EXT_texture_filter_minmax",
        "GL_EXT_texture_sRGB_decode",
        "GL_NV_copy_buffer",
        "GL_NV_fragment_coverage_to_color",
        "GL_EXT_shadow_samplers",
        "GL_NV_fragment_shader_interlock",
        "GL_NV_occlusion_query_samples",
        "GL_NV_fragment_shader_barycentric",
        "GL_KHR_blend_equation_advanced_coherent",
        "GL_OVR_multiview2",
        "GL_EXT_texture_sRGB_R8",
        "GL_NV_bindless_texture",
        "GL_OES_texture_half_float_linear",
        "GL_EXT_texture_query_lod",
        "GL_OVR_multiview",
        "GL_OVR_multiview_multisampled_render_to_texture",
        "GL_NV_packed_float_linear",
        "GL_KHR_robustness",
        "GL_OES_gpu_shader5",
        "GL_OES_primitive_bounding_box",
        "GL_EXT_multiview_timer_query",
        "GL_NV_draw_vulkan_image",
        "GL_EXT_texture_storage",
        "GL_ANDROID_extension_pack_es31a",
        "GL_OES_shader_io_blocks",
        "GL_EXT_read_format_bgra",
        "GL_OES_vertex_array_object",
        "GL_OES_shader_multisample_interpolation",
        "GL_NV_pixel_buffer_object",
        "GL_OES_tessellation_shader",
        "GL_KHR_shader_subgroup",
        "GL_EXT_disjoint_timer_query",
        "GL_NV_bgr",
        "GL_EXT_clear_texture",
        "GL_EXT_texture_filter_anisotropic",
        "GL_OES_texture_cube_map_array",
        "GL_EXT_texture_cube_map_array",
        "GL_NV_fbo_color_attachments",
        "GL_NV_generate_mipmap_sRGB",
        "GL_NV_texture_barrier",
        "GL_NV_blend_minmax_factor",
        "GL_EXT_raster_multisample",
        "GL_EXT_texture_format_BGRA8888",
        "GL_KHR_texture_compression_astc_ldr",
        "GL_OES_compressed_ETC1_RGB8_texture",
        "GL_OES_packed_depth_stencil",
        "GL_NV_copy_image",
        "GL_OES_texture_float",
        "GL_OES_viewport_array",
        "GL_OES_standard_derivatives",
        "GL_NV_sample_mask_override_coverage",
        "GL_NV_draw_buffers",
        "GL_EXT_blend_minmax",
        "GL_NV_internalformat_sample_query",
        "GL_OES_geometry_point_size",
        "GL_OES_texture_view",
        "GL_KHR_texture_compression_astc_sliced_3d",
        "GL_NV_sample_locations",
        "GL_KHR_texture_compression_astc_hdr",
        "GL_EXT_texture_compression_dxt1",
        "GL_EXT_texture_border_clamp",
        "GL_NV_viewport_array2",
        "GL_OES_EGL_image_external_essl3",
        "GL_OES_rgb8_rgba8",
        "GL_EXT_frag_depth",
        "GL_NV_draw_texture",
        "GL_NV_texture_array",
        "GL_EXT_window_rectangles",
        "GL_OES_vertex_half_float",
        "GL_NV_framebuffer_multisample",
        "GL_EXT_EGL_image_external_wrap_modes",
        "GL_NV_memory_attachment",
        "GL_EXT_multisampled_render_to_texture",
        "GL_EXT_render_snorm",
        "GL_EXT_multisampled_render_to_texture2",
        "GL_OES_EGL_image_external",
        "GL_EXT_post_depth_coverage",
        "GL_NV_texture_compression_s3tc_update",
        "GL_EXT_color_buffer_float",
        "GL_EXT_shader_io_blocks",
        "GL_EXT_geometry_shader",
        "GL_NV_framebuffer_blit",
        "GL_NV_framebuffer_mixed_samples",
        "GL_NV_packed_float",
        "GL_EXT_texture_rg",
        "GL_OES_surfaceless_context",
        "GL_OES_texture_stencil8",
        "GL_EXT_shader_non_constant_global_initializers",
        "GL_EXT_compressed_ETC1_RGB8_sub_texture",
        "GL_EXT_draw_transform_feedback",
        "GL_EXT_separate_shader_objects",
        "GL_NV_non_square_matrices",
        "GL_EXT_multiview_texture_multisample",
        "GL_OES_tessellation_point_size",
        "GL_OES_copy_image",
        "GL_EXT_sRGB_write_control",
        "GL_EXT_texture_mirror_clamp_to_edge",
        "GL_NV_stereo_view_rendering",
        "GL_EXT_buffer_storage",
        "GL_OES_EGL_sync",
        "GL_EXT_polygon_offset_clamp",
        "GL_KHR_blend_equation_advanced",
        "GL_EXT_float_blend",
        "GL_EXT_debug_label",
        "GL_KHR_robust_buffer_access_behavior",
        "GL_EXT_semaphore",
        "GL_NV_instanced_arrays",
        "GL_NV_read_stencil",
        "GL_NV_draw_instanced",
        "GL_EXT_unpack_subimage",
        "GL_EXT_memory_object",
        "GL_KHR_parallel_shader_compile",
        "GL_NV_sRGB_formats",
        "GL_EXT_gpu_shader5",
        "GL_EXT_shader_group_vote",
        "GL_EXT_texture_view",
        "GL_EXT_semaphore_fd",
        "GL_NVX_blend_equation_advanced_multi_draw_buffers",
        "GL_NV_clip_space_w_scaling",
        "GL_EXT_texture_shadow_lod",
        "GL_EXT_multisample_compatibility",
        "GL_NV_gpu_shader5",
        "GL_NV_path_rendering_shared_edge",
        "GL_EXT_color_buffer_half_float",
        "GL_NV_polygon_mode",
        "GL_NV_read_depth_stencil",
        "GL_EXT_texture_compression_s3tc",
        "GL_NV_image_formats",
        "GL_NV_shader_atomic_fp16_vector",
        "GL_NV_shader_noperspective_interpolation",
        "GL_NV_texture_border_clamp",
        "GL_NV_texture_compression_latc",
        "GL_NV_viewport_array",
        "GL_OES_depth_texture_cube_map",
        "GL_OES_texture_border_clamp",
        "GL_OES_texture_buffer",
        "GL_EXT_occlusion_query_boolean",
        "GL_EXT_copy_image",
        "GL_EXT_blend_func_extended",
        "GL_EXT_tessellation_point_size",
        "GL_EXT_sRGB",
        "GL_KHR_no_error",
        "GL_NV_explicit_attrib_location",
        "GL_EXT_conservative_depth",
        "GL_NV_read_depth",
        "GL_NV_shadow_samplers_cube",
        "GL_OES_geometry_shader",
        "GL_NV_timer_query",
        "GL_NV_shading_rate_image",
        "GL_NV_blend_equation_advanced_coherent",
        "GL_NV_conditional_render",
        "GL_EXT_multi_draw_indirect",
        "GL_EXT_discard_framebuffer",
        "GL_EXT_sparse_texture2",
        "GL_NV_geometry_shader_passthrough",
        "GL_NV_read_buffer",
        "GL_EXT_draw_buffers_indexed",
        "GL_NV_timeline_semaphore",
        "GL_NV_memory_object_sparse",
        "GL_OES_depth32",
        "GL_NV_conservative_raster_pre_snap_triangles",
        "GL_NV_shadow_samplers_array",
        "GL_EXT_robustness",
        "GL_NV_compute_shader_derivatives",
        "GL_EXT_shader_texture_lod",
        "GL_NV_shader_texture_footprint",
        "GL_NV_texture_dirty_tile_map",
        "GL_OES_EGL_image",
        "GL_EXT_shader_implicit_conversions",
        "GL_EXT_tessellation_shader",
        "GL_EXT_shader_integer_mix",
        "GL_EXT_texture_compression_bptc",
        "GL_EXT_texture_norm16",
        "GL_EXT_sparse_texture",
        "GL_EXT_texture_compression_rgtc",
        "GL_NV_blend_equation_advanced",
        "GL_NV_pack_subimage",
        "GL_NV_scissor_exclusive",
        "GL_OES_element_index_uint",
        "GL_OES_sample_variables",
        "GL_OES_texture_float_linear",
        "GL_NV_mesh_shader",
        "GL_OES_texture_half_float",
        "GL_OES_texture_storage_multisample_2d_array",
        "GL_OES_fbo_render_mipmap",
        "GL_EXT_clip_control",
        "GL_KHR_context_flush_control",
        "GL_OES_get_program_binary",
        "GL_OES_texture_npot",
        "GL_EXT_draw_elements_base_vertex",
        "GL_EXT_EGL_image_storage",
        "GL_OES_depth24",
        "GL_EXT_map_buffer_range",
        "GL_NV_texture_compression_s3tc",
        "GL_OES_draw_buffers_indexed",
        "GL_EXT_geometry_point_size",
        "GL_OES_mapbuffer",
        "GL_NV_conservative_raster",
        "GL_KHR_debug",
        "GL_OES_shader_image_atomic",
    }
[2024-04-17T14:42:35Z INFO  wgpu_core::instance] Adapter Vulkan AdapterInfo { name: "NVIDIA GeForce RTX 3070 Ti Laptop GPU", vendor: 4318, device: 9440, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "550.67", backend: Vulkan }
[2024-04-17T14:42:35Z INFO  egui_wgpu] There were 2 available wgpu adapters: {backend: Vulkan, device_type: DiscreteGpu, name: "NVIDIA GeForce RTX 3070 Ti Laptop GPU", driver: "NVIDIA", driver_info: "550.67", vendor: 0x10DE, device: 0x24E0}, {backend: Gl, device_type: Other, name: "NVIDIA GeForce RTX 3070 Ti Laptop GPU/PCIe/SSE2", vendor: 0x10DE}
[2024-04-17T14:42:35Z DEBUG egui_wgpu] Picked wgpu adapter: backend: Vulkan, device_type: DiscreteGpu, name: "NVIDIA GeForce RTX 3070 Ti Laptop GPU", driver: "NVIDIA", driver_info: "550.67", vendor: 0x10DE, device: 0x24E0
[2024-04-17T14:42:35Z DEBUG wgpu_hal::vulkan::adapter] Supported extensions: ["VK_KHR_swapchain", "VK_KHR_swapchain_mutable_format", "VK_EXT_robustness2"]
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  Inserted device layer "VK_LAYER_KHRONOS_validation" (libVkLayer_khronos_validation.so)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	  vkCreateDevice layer callstack setup to:
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	    <Application>
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	      ||
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	    <Loader>
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	      ||
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	    VK_LAYER_KHRONOS_validation
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	            Type: Explicit
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	            Manifest: /usr/share/vulkan/explicit_layer.d/VkLayer_khronos_validation.json
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	            Library:  libVkLayer_khronos_validation.so
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	      ||
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	    <Device>
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [Loader Message (0x0)]
  	        Using "NVIDIA GeForce RTX 3070 Ti Laptop GPU" with driver: "libGLX_nvidia.so.0"
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: INSTANCE, hndl: 0x5e5ae9434ad0, name: ?)
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] VALIDATION [WARNING-cache-file-error (0xb8515d13)]
  	  Validation Information: [ WARNING-cache-file-error ] | MessageID = 0xb8515d13 | vkCreateDevice():  Cannot open shader validation cache at /home/alexk101/.cache/shader_validation_cache-1000.bin for reading (it may not exist yet)
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [1] = Literal(AbstractInt(0)) : Value(Scalar(Scalar { kind: AbstractInt, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [2] = Literal(I32(0)) : Value(Scalar(Scalar { kind: Sint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [3] = Literal(AbstractInt(1)) : Value(Scalar(Scalar { kind: AbstractInt, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [4] = Literal(I32(1)) : Value(Scalar(Scalar { kind: Sint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [5] = Literal(AbstractInt(0)) : Value(Scalar(Scalar { kind: AbstractInt, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [6] = Literal(I32(0)) : Value(Scalar(Scalar { kind: Sint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [7] = Literal(AbstractInt(0)) : Value(Scalar(Scalar { kind: AbstractInt, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [1] = FunctionArgument(0) : Handle([6])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [2] = Literal(AbstractFloat(0.04045)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [3] = Literal(F32(0.04045)) : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [4] = Splat { size: Tri, value: [3] } : Value(Vector { size: Tri, scalar: Scalar { kind: Float, width: 4 } })
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["vec3<f32>", "vec3<f32>"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "f32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [5] = Binary { op: Less, left: [1], right: [4] } : Value(Vector { size: Tri, scalar: Scalar { kind: Bool, width: 1 } })
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [6] = Literal(AbstractFloat(12.92)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [7] = Literal(F32(12.92)) : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [8] = Splat { size: Tri, value: [7] } : Value(Vector { size: Tri, scalar: Scalar { kind: Float, width: 4 } })
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["vec3<f32>", "vec3<f32>"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "f32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [9] = Binary { op: Divide, left: [1], right: [8] } : Handle([6])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [10] = Literal(AbstractFloat(0.055)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [11] = Literal(F32(0.055)) : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [12] = Splat { size: Tri, value: [11] } : Value(Vector { size: Tri, scalar: Scalar { kind: Float, width: 4 } })
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["vec3<f32>", "vec3<f32>"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "f32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [13] = Binary { op: Add, left: [1], right: [12] } : Handle([6])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [14] = Literal(AbstractFloat(1.055)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [15] = Literal(F32(1.055)) : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [16] = Splat { size: Tri, value: [15] } : Value(Vector { size: Tri, scalar: Scalar { kind: Float, width: 4 } })
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["vec3<f32>", "vec3<f32>"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "f32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [17] = Binary { op: Divide, left: [13], right: [16] } : Handle([6])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [18] = Literal(AbstractFloat(2.4)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [19] = Literal(F32(2.4)) : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [20] = Splat { size: Tri, value: [19] } : Value(Vector { size: Tri, scalar: Scalar { kind: Float, width: 4 } })
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [21] = Math { fun: Pow, arg: [17], arg1: Some([20]), arg2: None, arg3: None } : Handle([6])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [22] = Select { condition: [5], accept: [9], reject: [21] } : Handle([6])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [1] = FunctionArgument(0) : Handle([6])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [2] = Literal(AbstractFloat(0.0031308)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [3] = Literal(F32(0.0031308)) : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [4] = Splat { size: Tri, value: [3] } : Value(Vector { size: Tri, scalar: Scalar { kind: Float, width: 4 } })
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["vec3<f32>", "vec3<f32>"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "f32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [5] = Binary { op: Less, left: [1], right: [4] } : Value(Vector { size: Tri, scalar: Scalar { kind: Bool, width: 1 } })
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [6] = Literal(AbstractFloat(12.92)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [7] = Literal(F32(12.92)) : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [8] = Splat { size: Tri, value: [7] } : Value(Vector { size: Tri, scalar: Scalar { kind: Float, width: 4 } })
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["vec3<f32>", "vec3<f32>"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "f32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [9] = Binary { op: Multiply, left: [1], right: [8] } : Handle([6])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [10] = Literal(AbstractFloat(1.055)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [11] = Literal(F32(1.055)) : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [12] = Splat { size: Tri, value: [11] } : Value(Vector { size: Tri, scalar: Scalar { kind: Float, width: 4 } })
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [13] = Literal(AbstractFloat(1.0)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [14] = Literal(AbstractFloat(2.4)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["{AbstractFloat}", "{AbstractFloat}"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "{AbstractFloat}"
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [15] = Literal(AbstractFloat(0.4166666666666667)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [16] = Literal(F32(0.41666666)) : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [17] = Splat { size: Tri, value: [16] } : Value(Vector { size: Tri, scalar: Scalar { kind: Float, width: 4 } })
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [18] = Math { fun: Pow, arg: [1], arg1: Some([17]), arg2: None, arg3: None } : Handle([6])
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["vec3<f32>", "vec3<f32>"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "f32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [19] = Binary { op: Multiply, left: [12], right: [18] } : Value(Vector { size: Tri, scalar: Scalar { kind: Float, width: 4 } })
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [20] = Literal(AbstractFloat(0.055)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [21] = Literal(F32(0.055)) : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [22] = Splat { size: Tri, value: [21] } : Value(Vector { size: Tri, scalar: Scalar { kind: Float, width: 4 } })
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["vec3<f32>", "vec3<f32>"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "f32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [23] = Binary { op: Subtract, left: [19], right: [22] } : Value(Vector { size: Tri, scalar: Scalar { kind: Float, width: 4 } })
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [24] = Select { condition: [5], accept: [9], reject: [23] } : Handle([6])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [1] = FunctionArgument(0) : Handle([2])
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [2] = Swizzle { size: Tri, vector: [1], pattern: [X, Y, Z, X] } : Value(Vector { size: Tri, scalar: Scalar { kind: Float, width: 4 } })
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [3] = CallResult([2]) : Handle([6])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [4] = AccessIndex { base: [1], index: 3 } : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [5] = Compose { ty: [2], components: [[3], [4]] } : Handle([2])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [1] = FunctionArgument(0) : Handle([7])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [2] = Literal(U32(255)) : Value(Scalar(Scalar { kind: Uint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["u32", "u32"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "u32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [3] = Binary { op: And, left: [1], right: [2] } : Handle([7])
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [4] = As { expr: [3], kind: Float, convert: Some(4) } : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [5] = Literal(U32(8)) : Value(Scalar(Scalar { kind: Uint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [6] = Binary { op: ShiftRight, left: [1], right: [5] } : Handle([7])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [7] = Literal(U32(255)) : Value(Scalar(Scalar { kind: Uint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["u32", "u32"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "u32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [8] = Binary { op: And, left: [6], right: [7] } : Handle([7])
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [9] = As { expr: [8], kind: Float, convert: Some(4) } : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [10] = Literal(U32(16)) : Value(Scalar(Scalar { kind: Uint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [11] = Binary { op: ShiftRight, left: [1], right: [10] } : Handle([7])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [12] = Literal(U32(255)) : Value(Scalar(Scalar { kind: Uint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["u32", "u32"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "u32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [13] = Binary { op: And, left: [11], right: [12] } : Handle([7])
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [14] = As { expr: [13], kind: Float, convert: Some(4) } : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [15] = Literal(U32(24)) : Value(Scalar(Scalar { kind: Uint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [16] = Binary { op: ShiftRight, left: [1], right: [15] } : Handle([7])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [17] = Literal(U32(255)) : Value(Scalar(Scalar { kind: Uint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["u32", "u32"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "u32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [18] = Binary { op: And, left: [16], right: [17] } : Handle([7])
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [19] = As { expr: [18], kind: Float, convert: Some(4) } : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [20] = Compose { ty: [2], components: [[4], [9], [14], [19]] } : Handle([2])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [21] = Literal(AbstractFloat(255.0)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [22] = Splat { size: Quad, value: [21] } : Value(Vector { size: Quad, scalar: Scalar { kind: AbstractFloat, width: 8 } })
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["vec4<f32>", "vec4<{AbstractFloat}>"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "f32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [23] = Literal(F32(255.0)) : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [24] = Splat { size: Quad, value: [23] } : Value(Vector { size: Quad, scalar: Scalar { kind: Float, width: 4 } })
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [25] = Binary { op: Divide, left: [20], right: [24] } : Handle([2])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [1] = FunctionArgument(0) : Handle([1])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [2] = Literal(AbstractFloat(2.0)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [3] = AccessIndex { base: [1], index: 0 } : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["{AbstractFloat}", "f32"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "f32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [4] = Literal(F32(2.0)) : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [5] = Binary { op: Multiply, left: [4], right: [3] } : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [6] = GlobalVariable([1]) : Value(Pointer { base: [5], space: Uniform })
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [7] = AccessIndex { base: [6], index: 0 } : Value(Pointer { base: [1], space: Uniform })
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [8] = AccessIndex { base: [7], index: 0 } : Value(ValuePointer { size: None, scalar: Scalar { kind: Float, width: 4 }, space: Uniform })
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [9] = Load { pointer: [8] } : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["f32", "f32"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "f32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [10] = Binary { op: Divide, left: [5], right: [9] } : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [11] = Literal(AbstractFloat(1.0)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["f32", "{AbstractFloat}"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "f32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [12] = Literal(F32(1.0)) : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [13] = Binary { op: Subtract, left: [10], right: [12] } : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [14] = Literal(AbstractFloat(1.0)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [15] = Literal(AbstractFloat(2.0)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [16] = AccessIndex { base: [1], index: 1 } : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["{AbstractFloat}", "f32"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "f32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [17] = Literal(F32(2.0)) : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [18] = Binary { op: Multiply, left: [17], right: [16] } : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [19] = GlobalVariable([1]) : Value(Pointer { base: [5], space: Uniform })
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [20] = AccessIndex { base: [19], index: 0 } : Value(Pointer { base: [1], space: Uniform })
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [21] = AccessIndex { base: [20], index: 1 } : Value(ValuePointer { size: None, scalar: Scalar { kind: Float, width: 4 }, space: Uniform })
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [22] = Load { pointer: [21] } : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["f32", "f32"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "f32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [23] = Binary { op: Divide, left: [18], right: [22] } : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["{AbstractFloat}", "f32"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "f32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [24] = Literal(F32(1.0)) : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [25] = Binary { op: Subtract, left: [24], right: [23] } : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [26] = Literal(AbstractFloat(0.0)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [27] = Literal(AbstractFloat(1.0)) : Value(Scalar(Scalar { kind: AbstractFloat, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [28] = Literal(F32(0.0)) : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [29] = Literal(F32(1.0)) : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [30] = Compose { ty: [2], components: [[13], [25], [28], [29]] } : Handle([2])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [8] = Literal(I32(0)) : Value(Scalar(Scalar { kind: Sint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [9] = Literal(AbstractInt(0)) : Value(Scalar(Scalar { kind: AbstractInt, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [10] = Literal(I32(0)) : Value(Scalar(Scalar { kind: Sint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [11] = Literal(AbstractInt(1)) : Value(Scalar(Scalar { kind: AbstractInt, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [12] = Literal(I32(1)) : Value(Scalar(Scalar { kind: Sint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [13] = Literal(AbstractInt(2)) : Value(Scalar(Scalar { kind: AbstractInt, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [1] = FunctionArgument(0) : Handle([1])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [2] = FunctionArgument(1) : Handle([1])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [3] = FunctionArgument(2) : Handle([7])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [4] = LocalVariable([1]) : Value(Pointer { base: [3], space: Function })
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [5] = AccessIndex { base: [4], index: 0 } : Value(Pointer { base: [1], space: Function })
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [6] = AccessIndex { base: [4], index: 1 } : Value(Pointer { base: [2], space: Function })
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [7] = CallResult([4]) : Handle([2])
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [8] = AccessIndex { base: [4], index: 2 } : Value(Pointer { base: [2], space: Function })
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [9] = CallResult([5]) : Handle([2])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [10] = Load { pointer: [4] } : Handle([3])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [14] = Literal(I32(2)) : Value(Scalar(Scalar { kind: Sint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [15] = Literal(AbstractInt(1)) : Value(Scalar(Scalar { kind: AbstractInt, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [16] = Literal(I32(1)) : Value(Scalar(Scalar { kind: Sint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [17] = Literal(AbstractInt(0)) : Value(Scalar(Scalar { kind: AbstractInt, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [18] = Literal(I32(0)) : Value(Scalar(Scalar { kind: Sint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [19] = Literal(AbstractInt(1)) : Value(Scalar(Scalar { kind: AbstractInt, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [20] = Literal(I32(1)) : Value(Scalar(Scalar { kind: Sint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [21] = Literal(AbstractInt(1)) : Value(Scalar(Scalar { kind: AbstractInt, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [22] = Literal(I32(1)) : Value(Scalar(Scalar { kind: Sint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [23] = Literal(AbstractInt(0)) : Value(Scalar(Scalar { kind: AbstractInt, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [1] = FunctionArgument(0) : Handle([3])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [2] = GlobalVariable([2]) : Handle([9])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [3] = GlobalVariable([3]) : Handle([10])
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [4] = AccessIndex { base: [1], index: 0 } : Handle([1])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [5] = ImageSample { image: [2], sampler: [3], gather: None, coordinate: [4], array_index: None, offset: None, level: Auto, depth_ref: None } : Value(Vector { size: Quad, scalar: Scalar { kind: Float, width: 4 } })
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [6] = CallResult([3]) : Handle([2])
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [7] = AccessIndex { base: [1], index: 1 } : Handle([2])
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["vec4<f32>", "vec4<f32>"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "f32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [8] = Binary { op: Multiply, left: [7], right: [6] } : Handle([2])
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [9] = Swizzle { size: Tri, vector: [8], pattern: [X, Y, Z, X] } : Value(Vector { size: Tri, scalar: Scalar { kind: Float, width: 4 } })
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [10] = CallResult([1]) : Handle([6])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [11] = AccessIndex { base: [8], index: 3 } : Value(Scalar(Scalar { kind: Float, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [12] = Compose { ty: [2], components: [[10], [11]] } : Handle([2])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [24] = Literal(I32(0)) : Value(Scalar(Scalar { kind: Sint, width: 4 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [25] = Literal(AbstractInt(0)) : Value(Scalar(Scalar { kind: AbstractInt, width: 8 }))
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [1] = FunctionArgument(0) : Handle([3])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [2] = GlobalVariable([2]) : Handle([9])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [3] = GlobalVariable([3]) : Handle([10])
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [4] = AccessIndex { base: [1], index: 0 } : Handle([1])
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [5] = ImageSample { image: [2], sampler: [3], gather: None, coordinate: [4], array_index: None, offset: None, level: Auto, depth_ref: None } : Value(Vector { size: Quad, scalar: Scalar { kind: Float, width: 4 } })
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [6] = CallResult([3]) : Handle([2])
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [7] = AccessIndex { base: [1], index: 1 } : Handle([2])
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion] wgsl automatic_conversion_consensus: ["vec4<f32>", "vec4<f32>"]
[2024-04-17T14:42:35Z DEBUG naga::front::wgsl::lower::conversion]     consensus: "f32"
[2024-04-17T14:42:35Z DEBUG naga::proc::constant_evaluator] check: SubexpressionsAreNotConstant
[2024-04-17T14:42:35Z DEBUG naga::front] Resolving [8] = Binary { op: Multiply, left: [7], right: [6] } : Handle([2])
[2024-04-17T14:42:35Z DEBUG naga::valid::interface] var GlobalVariable { name: Some("r_locals"), space: Uniform, binding: Some(ResourceBinding { group: 0, binding: 0 }), ty: [5], init: None }
[2024-04-17T14:42:35Z DEBUG naga::valid::interface] var GlobalVariable { name: Some("r_tex_color"), space: Handle, binding: Some(ResourceBinding { group: 1, binding: 0 }), ty: [8], init: None }
[2024-04-17T14:42:35Z DEBUG naga::valid::interface] var GlobalVariable { name: Some("r_tex_sampler"), space: Handle, binding: Some(ResourceBinding { group: 1, binding: 1 }), ty: [9], init: None }
[2024-04-17T14:42:35Z DEBUG naga::valid::function] var LocalVariable { name: Some("out"), ty: [3], init: None }
[2024-04-17T14:42:35Z DEBUG wgpu_core::resource] Buffer Id(0,1,vk) map state -> Idle
[2024-04-17T14:42:35Z INFO  naga::back::spv::writer] Skip function Some("position_from_screen")
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::global] configuring surface with SurfaceConfiguration { usage: TextureUsages(COPY_DST | RENDER_ATTACHMENT), format: Bgra8Unorm, width: 1366, height: 729, present_mode: AutoVsync, desired_maximum_frame_latency: 2, alpha_mode: Auto, view_formats: [Bgra8Unorm] }
[2024-04-17T14:42:35Z DEBUG egui_winit::clipboard] Cannot init smithay clipboard: the 'wayland' feature of 'egui-winit' is not enabled
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::global] configuring surface with SurfaceConfiguration { usage: TextureUsages(COPY_DST | RENDER_ATTACHMENT), format: Bgra8Unorm, width: 1366, height: 729, present_mode: AutoVsync, desired_maximum_frame_latency: 2, alpha_mode: Auto, view_formats: [Bgra8Unorm] }
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(0,1,vk) filters usages to TextureUses(RESOURCE)
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,1,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,1,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,1,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,1,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,1,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 1 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,1,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,2,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,2,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 2 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,2,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,2,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,2,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 3 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,2,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::global] configuring surface with SurfaceConfiguration { usage: TextureUsages(COPY_DST | RENDER_ATTACHMENT), format: Bgra8Unorm, width: 1265, height: 677, present_mode: AutoVsync, desired_maximum_frame_latency: 2, alpha_mode: Auto, view_formats: [Bgra8Unorm] }
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 4 is done
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] GENERAL [NVIDIA (0x4)]
  	  Requested image extent (1265x677) does not match surface (1261x673), marking swapchain out of date
[2024-04-17T14:42:35Z INFO  wgpu_hal::vulkan::instance] 	objects: (type: SWAPCHAIN_KHR, hndl: 0x5e5aebc7cc40, name: ?)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::global] configuring surface with SurfaceConfiguration { usage: TextureUsages(COPY_DST | RENDER_ATTACHMENT), format: Bgra8Unorm, width: 1261, height: 673, present_mode: AutoVsync, desired_maximum_frame_latency: 2, alpha_mode: Auto, view_formats: [Bgra8Unorm] }
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,3,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,3,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,3,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,3,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,3,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 5 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,3,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,4,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,4,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 6 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,4,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,4,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,4,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 7 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,4,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,5,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,5,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 8 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,5,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,5,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,5,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 9 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,5,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,6,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,6,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 10 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,6,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,6,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,6,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 11 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,6,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,7,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,7,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 12 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,7,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,7,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,7,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 13 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,7,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,8,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,8,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 14 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,8,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,8,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,8,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 15 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,8,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,9,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,9,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 16 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,9,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,9,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,9,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 17 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,9,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,10,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,10,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 18 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,10,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,10,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,10,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 19 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,10,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,11,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,11,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 20 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,11,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,11,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,11,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 21 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,11,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,12,vk)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,12,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:35Z DEBUG wgpu_core::device::life] Active submission 22 is done
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,12,vk) from the device tracker
[2024-04-17T14:42:35Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,12,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,12,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 23 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,12,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,13,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,13,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 24 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,13,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,13,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,13,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 25 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,13,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,14,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,14,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 26 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,14,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,14,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,14,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 27 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,14,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,15,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,15,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 28 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,15,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,15,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,15,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 29 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,15,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,16,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,16,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 30 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,16,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,16,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,16,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 31 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,16,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,17,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,17,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 32 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,17,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,17,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,17,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 33 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,17,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,18,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,18,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 34 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,18,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,18,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,18,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 35 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,18,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,19,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,19,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 36 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,19,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,19,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,19,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 37 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,19,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,20,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,20,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 38 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,20,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,20,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,20,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 39 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,20,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,21,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,21,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 40 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,21,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,21,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,21,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 41 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,21,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,22,vk)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,22,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:36Z DEBUG wgpu_core::device::life] Active submission 42 is done
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,22,vk) from the device tracker
[2024-04-17T14:42:36Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:37Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(1,22,vk)
[2024-04-17T14:42:37Z DEBUG wgpu_core::device::resource] Create view for texture Id(1,22,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:37Z DEBUG wgpu_core::device::life] Active submission 43 is done
[2024-04-17T14:42:37Z DEBUG wgpu_core::present] Removing swapchain texture Id(1,22,vk) from the device tracker
[2024-04-17T14:42:37Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:37Z DEBUG eframe::native::wgpu_integration] Received WindowEvent::CloseRequested for viewport Some("FFFF")
[2024-04-17T14:42:37Z DEBUG eframe::native::epi_integration] Closing root viewport (ViewportCommand::CancelClose was not sent)
[2024-04-17T14:42:37Z DEBUG wgpu_core::present] Created CURRENT Surface Texture Id(2,23,vk)
[2024-04-17T14:42:37Z DEBUG wgpu_core::device::resource] Create view for texture Id(2,23,vk) filters usages to TextureUses(COLOR_TARGET)
[2024-04-17T14:42:37Z DEBUG wgpu_core::device::life] Active submission 44 is done
[2024-04-17T14:42:37Z DEBUG wgpu_core::present] Removing swapchain texture Id(2,23,vk) from the device tracker
[2024-04-17T14:42:37Z DEBUG wgpu_core::present] Presented. End of Frame
[2024-04-17T14:42:37Z DEBUG eframe::native::run] Asking to exit event loop…
[2024-04-17T14:42:37Z DEBUG wgpu_core::device::life] Active submission 45 is done
[2024-04-17T14:42:37Z DEBUG wgpu_core::resource] Buffer Id(3,1,vk) map state -> Idle
[2024-04-17T14:42:37Z DEBUG wgpu_core::resource] Buffer Id(2,1,vk) map state -> Idle
[2024-04-17T14:42:37Z DEBUG wgpu_core::resource] Buffer Id(0,1,vk) map state -> Idle
[2024-04-17T14:42:37Z DEBUG eframe::native::run] Received Event::LoopExiting - saving app state…
[2024-04-17T14:42:37Z DEBUG eframe::native::run] eframe window closed

@Friz64
Copy link
Contributor

Friz64 commented Apr 17, 2024

Oh, turns out the log you posted is just the unrelated output of wgpu also initializing OpenGL. Vulkan is working normally, and gets picked over OpenGL. Everything is normal in that front.


Either way. Weird that eframe doesn't experience the surface errors when using wgpu. I'm not sure how to continue debugging from here. Ultimately I still think Bevy should still simply be more lenient with surface errors.

@alexk101
Copy link
Author

alexk101 commented Apr 17, 2024

Though I don't really have much experience with this codebase (or vulkan for that matter), it seems to me that the primary offender is, as @Friz64 points out, some overly strict surface error checks.

More specifically, here...

#[cfg(target_os = "linux")]
Err(wgpu::SurfaceError::Timeout) if may_erroneously_timeout() => {
bevy_utils::tracing::trace!(
"Couldn't get swap chain texture. This is probably a quirk \
of your Linux GPU driver, so it can be safely ignored."
);
}
Err(err) => {
panic!("Couldn't get swap chain texture, operation unrecoverable: {err}");
}

When swapping workspaces, the window is no longer in view, so a timeout occurs. The only case in which a timeout is allowable in the current context is when running Mesa drivers (I am running proprietary nvidia) due to their quirks(?).

I guess the real question is how can we accurately differentiate from valid timeouts (such as in my case) and truly unrecoverable states.

In my case, it is simple to just modify this function to also include Nvidia. But then at that point, you are covering Intel, AMD, and Nvidia (so basically all major desktop vendors).

// A recurring issue is hitting `wgpu::SurfaceError::Timeout` on certain Linux
// mesa driver implementations. This seems to be a quirk of some drivers.
// We'd rather keep panicking when not on Linux mesa, because in those case,
// the `Timeout` is still probably the symptom of a degraded unrecoverable
// application state.
// see https://github.com/bevyengine/bevy/pull/5957
// and https://github.com/gfx-rs/wgpu/issues/1218
#[cfg(target_os = "linux")]
let may_erroneously_timeout = || {
render_instance
.enumerate_adapters(wgpu::Backends::VULKAN)
.iter()
.any(|adapter| {
let name = adapter.get_info().name;
name.starts_with("Radeon")
|| name.starts_with("AMD")
|| name.starts_with("Intel")
})
};

or just change

panic!("Couldn't get swap chain texture, operation unrecoverable: {err}");

from panic! to warn_once!

I have only tested the later, which fixes the crash, but I assume that the prior would also work. I am willing to write a pull request to address the issue if necessary. Perhaps the original authors of the may_erroneously_timeout function @nicopap @cart have some opinions on what to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Windowing Platform-agnostic interface layer to run your app in C-Bug An unexpected or incorrect behavior O-Linux Specific to the Linux desktop operating system
Projects
None yet
Development

No branches or pull requests

5 participants