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

panick on wayland display server #86

Open
Raj2032 opened this issue Nov 15, 2024 · 16 comments
Open

panick on wayland display server #86

Raj2032 opened this issue Nov 15, 2024 · 16 comments
Labels
invalid This doesn't seem right

Comments

@Raj2032
Copy link

Raj2032 commented Nov 15, 2024

When switching to wayland I get these errors:

warning: unused imports: `ObjectStorage`, `Renderer`, and `Window`
 --> src/main.rs:1:36
  |
1 | ...e, Renderer, ObjectStorage, /*ObjectSettings,*/ WindowDescriptor, PowerPreference}, Windo...
  |       ^^^^^^^^  ^^^^^^^^^^^^^                                                          ^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: `xero_time_calc` (bin "xero_time_calc") generated 1 warning (run `cargo fix --bin "xero_time_calc"` to apply 1 suggestion)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s
     Running `/mnt/Windows10/Users/joe/Desktop/My made programs/Projects/Taggle Systems/xero_time_calc/target/debug/xero_time_calc`
[2024-11-15T06:06:16Z ERROR wgpu_hal::gles::egl] EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'main' panicked at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/egl.rs:296:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[2024-11-15T06:06:16Z ERROR wgpu_hal::gles::egl] EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'main' panicked at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/egl.rs:296:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
stack backtrace:
   0:     0x5c24fffd22aa - std::backtrace_rs::backtrace::libunwind::trace::h99efb0985cae5d78
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
   1:     0x5c24fffd22aa - std::backtrace_rs::backtrace::trace_unsynchronized::he2c1aa63b3f7fad8
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x5c24fffd22aa - std::sys::backtrace::_print_fmt::h8a221d40f5e0f88b
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:66:9
   3:     0x5c24fffd22aa - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h304520fd6a30aa07
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:39:26
   4:     0x5c24ffffd05b - core::fmt::rt::Argument::fmt::h5da9c218ec984eaf
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/fmt/rt.rs:177:76
   5:     0x5c24ffffd05b - core::fmt::write::hf5713710ce10ff22
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/fmt/mod.rs:1178:21
   6:     0x5c24fffce103 - std::io::Write::write_fmt::hda708db57927dacf
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/io/mod.rs:1823:15
   7:     0x5c24fffd3612 - std::sys::backtrace::BacktraceLock::print::hbcdbec4d97c91528
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:42:9
   8:     0x5c24fffd3612 - std::panicking::default_hook::{{closure}}::he1ad87607d0c11c5
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:266:22
   9:     0x5c24fffd327e - std::panicking::default_hook::h81c8cd2e7c59ee33
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:293:9
  10:     0x5c24fffd3e9f - std::panicking::rust_panic_with_hook::had2118629c312a4a
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:797:13
  11:     0x5c24fffd3b87 - std::panicking::begin_panic_handler::{{closure}}::h7fa5985d111bafa2
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:671:13
  12:     0x5c24fffd2789 - std::sys::backtrace::__rust_end_short_backtrace::h704d151dbefa09c5
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:170:18
  13:     0x5c24fffd3814 - rust_begin_unwind
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:662:5
  14:     0x5c24fe449143 - core::panicking::panic_fmt::h3eea515d05f7a35e
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/panicking.rs:74:14
  15:     0x5c24fe4496f6 - core::result::unwrap_failed::h7c8d8bbbcf45dc13
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/result.rs:1677:5
  16:     0x5c24ff6ffa9d - core::result::Result<T,E>::unwrap::h45808887a6bd811e
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/result.rs:1102:23
  17:     0x5c24ff6ffa9d - wgpu_hal::gles::egl::EglContext::make_current::h18916c1be8f30f2c
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/egl.rs:294:9
  18:     0x5c24ff6ffea2 - wgpu_hal::gles::egl::AdapterContext::lock::{{closure}}::h806c8e759d08dded
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/egl.rs:408:13
  19:     0x5c24ff74fc4a - core::option::Option<T>::map::he55173d0a7f88499
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/option.rs:1105:29
  20:     0x5c24ff6ffe36 - wgpu_hal::gles::egl::AdapterContext::lock::h80ed757d22cd8a11
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/egl.rs:407:19
  21:     0x5c24ff777973 - wgpu_hal::gles::device::<impl wgpu_hal::Device for wgpu_hal::gles::Device>::destroy_sampler::h55e3153ae9e16aa9
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/device.rs:1102:19
  22:     0x5c24ff5e9589 - <wgpu_core::resource::Sampler<A> as core::ops::drop::Drop>::drop::he893a8295473c6b2
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-22.1.0/src/resource.rs:1738:17
  23:     0x5c24ff59e3d7 - core::ptr::drop_in_place<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>::h952975027ea5c410
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  24:     0x5c24ff56516f - alloc::sync::Arc<T,A>::drop_slow::h015894b7381cf2ee
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:1831:18
  25:     0x5c24ff56942a - <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop::hdbeb9c59dcf9920f
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:2524:13
  26:     0x5c24ff58cf3b - core::ptr::drop_in_place<alloc::sync::Arc<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>>::h4292321e69ed23bc
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  27:     0x5c24ff58e755 - core::ptr::drop_in_place<wgpu_core::storage::Element<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>>::hb2d3f653bbd07dd6
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  28:     0x5c24ff590e30 - core::ptr::drop_in_place<[wgpu_core::storage::Element<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>]>::hda4fe4a4aa5cc5e5
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  29:     0x5c24ff55c0ce - alloc::vec::Vec<T,A>::clear::h31fa7aed9fbed19d
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/vec/mod.rs:2249:13
  30:     0x5c24ff5ad705 - wgpu_core::hub::Hub<A>::clear::hc3faa4e748ff37d1
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-22.1.0/src/hub.rs:231:9
  31:     0x5c24ff5c4b27 - <wgpu_core::global::Global as core::ops::drop::Drop>::drop::h160d33d41f8fdae7
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-22.1.0/src/global.rs:152:13
  32:     0x5c24ff382767 - core::ptr::drop_in_place<wgpu_core::global::Global>::h83e419bef56a1adf
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  33:     0x5c24ff3836e4 - core::ptr::drop_in_place<wgpu::backend::wgpu_core::ContextWgpuCore>::hca654bc0165c6692
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  34:     0x5c24ff382e7d - core::ptr::drop_in_place<dyn wgpu::context::DynContext>::h5869017522439198
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  35:     0x5c24ff3f3e5a - alloc::sync::Arc<T,A>::drop_slow::h8c08d0d3f0117818
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:1831:18
  36:     0x5c24ff3f77a1 - <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop::hb97974d37ee9d9c6
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:2524:13
  37:     0x5c24ff38523b - core::ptr::drop_in_place<alloc::sync::Arc<dyn wgpu::context::DynContext>>::h73a1ad4773943fdd
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  38:     0x5c24fe947ce7 - core::ptr::drop_in_place<wgpu::BindGroup>::h387709b350ec2efd
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  39:     0x5c24fe94849f - core::ptr::drop_in_place<blue_engine::header::Camera>::h460c5c09734831ab
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  40:     0x5c24fe94a01c - core::ptr::drop_in_place<(alloc::sync::Arc<str>,blue_engine::header::Camera)>::h1cf71b8fb1ad4d18
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  41:     0x5c24fe8c245e - core::ptr::mut_ptr::<impl *mut T>::drop_in_place::h447aaaae6b75bbd1
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mut_ptr.rs:1368:18
  42:     0x5c24fe8c245e - hashbrown::raw::Bucket<T>::drop::h7420818c97737f58
                               at /rust/deps/hashbrown-0.14.5/src/raw/mod.rs:590:23
  43:     0x5c24fe8c245e - hashbrown::raw::RawTableInner::drop_elements::h39ea2df6a1c3397e
                               at /rust/deps/hashbrown-0.14.5/src/raw/mod.rs:2377:22
  44:     0x5c24fe8c2d20 - hashbrown::raw::RawTableInner::drop_inner_table::hc825d1d7b928b698
                               at /rust/deps/hashbrown-0.14.5/src/raw/mod.rs:2432:17
  45:     0x5c24fe8c1d5c - <hashbrown::raw::RawTable<T,A> as core::ops::drop::Drop>::drop::h6a6ff1a1c0e3c0aa
                               at /rust/deps/hashbrown-0.14.5/src/raw/mod.rs:3673:13
  46:     0x5c24fe94654b - core::ptr::drop_in_place<hashbrown::raw::RawTable<(alloc::sync::Arc<str>,blue_engine::header::Camera)>>::h17b5a65f97f6a649
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  47:     0x5c24fe946dbb - core::ptr::drop_in_place<hashbrown::map::HashMap<alloc::sync::Arc<str>,blue_engine::header::Camera,std::hash::random::RandomState>>::h24bddfefe364030a
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  48:     0x5c24fe94680b - core::ptr::drop_in_place<std::collections::hash::map::HashMap<alloc::sync::Arc<str>,blue_engine::header::Camera>>::h218cdfafa0f280da
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  49:     0x5c24fe948e7b - core::ptr::drop_in_place<blue_engine::header::CameraContainer>::hf66bfc6b0611d73a
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  50:     0x5c24fe48faf8 - core::ptr::drop_in_place<blue_engine::header::Engine>::hbbcf98c52886a7d5
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  51:     0x5c24fe4b9acc - xero_time_calc::main::hde90ee34acfff2e7
                               at /mnt/Windows10/Users/joe/Desktop/My made programs/Projects/Taggle Systems/xero_time_calc/src/main.rs:70:1
  52:     0x5c24fe48de8b - core::ops::function::FnOnce::call_once::h4a5ef324c238d909
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5
  53:     0x5c24fe457bae - std::sys::backtrace::__rust_begin_short_backtrace::hb9ad49f034fcd883
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:154:18
  54:     0x5c24fe45e4d1 - std::rt::lang_start::{{closure}}::h7b95e5c43035b1f6
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:164:18
  55:     0x5c24fffc4f60 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h08ecba131ab90ec4
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:284:13
  56:     0x5c24fffc4f60 - std::panicking::try::do_call::hf33a59fd8ce953f4
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
  57:     0x5c24fffc4f60 - std::panicking::try::h5005ce80ce949fd8
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:518:19
  58:     0x5c24fffc4f60 - std::panic::catch_unwind::hfbae19e2e2c5b7ed
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panic.rs:345:14
  59:     0x5c24fffc4f60 - std::rt::lang_start_internal::{{closure}}::ha0331c3690741813
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:143:48
  60:     0x5c24fffc4f60 - std::panicking::try::do_call::hcdcbdb616b4d0295
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
  61:     0x5c24fffc4f60 - std::panicking::try::h3f2f1725a07d2256
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:518:19
  62:     0x5c24fffc4f60 - std::panic::catch_unwind::h51869e04b56b2dc3
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panic.rs:345:14
  63:     0x5c24fffc4f60 - std::rt::lang_start_internal::h4d90db0530245041
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:143:20
  64:     0x5c24fe45e4aa - std::rt::lang_start::h1ed77a4c493f02b0
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:163:17
  65:     0x5c24fe4b9e7e - main
  66:     0x7bfb4621ce08 - <unknown>
  67:     0x7bfb4621cecc - __libc_start_main
  68:     0x5c24fe449cf5 - _start
  69:                0x0 - <unknown>
@ElhamAryanpur ElhamAryanpur added the invalid This doesn't seem right label Nov 15, 2024
@ElhamAryanpur
Copy link
Collaborator

This is not an engine issue, by most chances its driver problem

@ElhamAryanpur ElhamAryanpur closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2024
@Raj2032
Copy link
Author

Raj2032 commented Nov 16, 2024

@ElhamAryanpur Actually its only to do with BlueEngine, I tried imgui through wgpu and egui demo and they don't have the same issue as blue engine does.

@ElhamAryanpur
Copy link
Collaborator

@Raj2032 there was no error related to BE in the log that you posted. The closest relation was from an error by WGPU's GL backend that couldn't start.

Probably the wgpu couldn't get a context and run in an unknown environment, hence the assumption of a bad driver. Try using another backend, or set it to pick a default backend.

@ElhamAryanpur ElhamAryanpur reopened this Nov 16, 2024
@Raj2032
Copy link
Author

Raj2032 commented Nov 17, 2024

@ElhamAryanpur I used https://github.com/katharostech/NESImg

ANd that uses wgpu and opengl for backend. So still lost what may be the issue over here?

not too sure other backends vulkan causes a panick (happens with other gui projects as well so need to figure that one out).

@ElhamAryanpur
Copy link
Collaborator

I see, I'm not sure tbh. I am sure it's not an engine issue since I'm using wayland as well and I can't reproduce your errors.

@Raj2032
Copy link
Author

Raj2032 commented Nov 17, 2024

@ElhamAryanpur Yeah I don't get it, all though NESImg uses eframe as its backend which uses wgpu.

I assume maybe that your engine has an issue with amd graphics cards as I assume you use nvidia?

@ElhamAryanpur
Copy link
Collaborator

Can you run one of the examples in this repository? Maybe triangle example

@ElhamAryanpur
Copy link
Collaborator

And nah I use both Nvidia and AMD, shouldn't be the issue

@Raj2032
Copy link
Author

Raj2032 commented Nov 17, 2024

Have you used amd on wayland? Are you using EndeavourOS and are you using SystemD boot? When you run lspci -nnk | grep -i -EA3 "3d|display|vga" what is the output?

Mine is:

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT / Grenada XT [Radeon R9 290X/390X] [1002:67b0]
	Subsystem: ASUSTeK Computer Inc. R9 290X DirectCU II [1043:046a]
	Kernel driver in use: amdgpu
	Kernel modules: radeon, amdgpu

I am using amdgpu drivers, not radeon. What driver are you using for amd graphics card?

Can you run one of the examples in this repository? Maybe triangle example

You want me to run this on wayland?

@ElhamAryanpur
Copy link
Collaborator

Those shouldn't matter much, drivers for both gpu and drivers are good enough for Vulkan and GL. Just try running the triangle example and see if it still errors?

@Raj2032
Copy link
Author

Raj2032 commented Nov 19, 2024

@ElhamAryanpur Last time Vulkan never worked on radeon, only on amdgpu, also mentioned on Debian:

Since the AMDGPU driver overlaps with the older Radeon driver for supporting GCN 1.0/1.1 GPUs, either driver can be used. The older Radeon driver does not support Vulkan or the ACO compiler and is often slower, but it is much more stable and is used by default.


I ran the example on wayland using amdgpu driver and got these errors:

    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
     Running `target/debug/examples/triangle`
WARNING: radv is not a conformant Vulkan implementation, testing use only.
[2024-11-19T12:17:17Z ERROR wgpu_hal::gles::egl] EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'main' panicked at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/egl.rs:296:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[2024-11-19T12:17:17Z ERROR wgpu_hal::gles::egl] EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'main' panicked at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/egl.rs:296:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
stack backtrace:
   0:     0x56ff34b07ada - std::backtrace_rs::backtrace::libunwind::trace::h99efb0985cae5d78
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
   1:     0x56ff34b07ada - std::backtrace_rs::backtrace::trace_unsynchronized::he2c1aa63b3f7fad8
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x56ff34b07ada - std::sys::backtrace::_print_fmt::h8a221d40f5e0f88b
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:66:9
   3:     0x56ff34b07ada - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h304520fd6a30aa07
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:39:26
   4:     0x56ff34b3081b - core::fmt::rt::Argument::fmt::h5da9c218ec984eaf
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/fmt/rt.rs:177:76
   5:     0x56ff34b3081b - core::fmt::write::hf5713710ce10ff22
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/fmt/mod.rs:1178:21
   6:     0x56ff34b04573 - std::io::Write::write_fmt::hda708db57927dacf
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/io/mod.rs:1823:15
   7:     0x56ff34b08dc2 - std::sys::backtrace::BacktraceLock::print::hbcdbec4d97c91528
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:42:9
   8:     0x56ff34b08dc2 - std::panicking::default_hook::{{closure}}::he1ad87607d0c11c5
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:266:22
   9:     0x56ff34b08a2e - std::panicking::default_hook::h81c8cd2e7c59ee33
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:293:9
  10:     0x56ff34b0964f - std::panicking::rust_panic_with_hook::had2118629c312a4a
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:797:13
  11:     0x56ff34b09337 - std::panicking::begin_panic_handler::{{closure}}::h7fa5985d111bafa2
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:671:13
  12:     0x56ff34b07fb9 - std::sys::backtrace::__rust_end_short_backtrace::h704d151dbefa09c5
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:170:18
  13:     0x56ff34b08fc4 - rust_begin_unwind
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:662:5
  14:     0x56ff333a3083 - core::panicking::panic_fmt::h3eea515d05f7a35e
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/panicking.rs:74:14
  15:     0x56ff333a3636 - core::result::unwrap_failed::h7c8d8bbbcf45dc13
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/result.rs:1677:5
  16:     0x56ff342d59ad - core::result::Result<T,E>::unwrap::hbb2d04512639ce18
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/result.rs:1102:23
  17:     0x56ff342d59ad - wgpu_hal::gles::egl::EglContext::make_current::heea7e6f4903ae8da
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/egl.rs:294:9
  18:     0x56ff342d5db2 - wgpu_hal::gles::egl::AdapterContext::lock::{{closure}}::hfb6e62929ac3bda4
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/egl.rs:408:13
  19:     0x56ff342b783a - core::option::Option<T>::map::hb64cf5ff1d4b9a7d
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/option.rs:1105:29
  20:     0x56ff342d5d46 - wgpu_hal::gles::egl::AdapterContext::lock::h764581958f38bd8e
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/egl.rs:407:19
  21:     0x56ff342a4113 - wgpu_hal::gles::device::<impl wgpu_hal::Device for wgpu_hal::gles::Device>::destroy_sampler::hf40916c1bcb9dae7
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/device.rs:1102:19
  22:     0x56ff340f2b99 - <wgpu_core::resource::Sampler<A> as core::ops::drop::Drop>::drop::hfcc6c71ddb30898d
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-22.1.0/src/resource.rs:1738:17
  23:     0x56ff340dda97 - core::ptr::drop_in_place<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>::hec03f81ecb427e92
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  24:     0x56ff340a92cf - alloc::sync::Arc<T,A>::drop_slow::hf51a409326c39546
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:1831:18
  25:     0x56ff340ab37a - <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop::h80891b8b71da2c3f
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:2524:13
  26:     0x56ff340cc5fb - core::ptr::drop_in_place<alloc::sync::Arc<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>>::hee74fab65234a312
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  27:     0x56ff340cde15 - core::ptr::drop_in_place<wgpu_core::storage::Element<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>>::h9239b556be9ab1f1
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  28:     0x56ff340d04f0 - core::ptr::drop_in_place<[wgpu_core::storage::Element<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>]>::h8639909b34b4dc8a
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  29:     0x56ff3409ee3e - alloc::vec::Vec<T,A>::clear::h18fc811df89d13d6
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/vec/mod.rs:2249:13
  30:     0x56ff340ea5e5 - wgpu_core::hub::Hub<A>::clear::hc2febc4f0ff8531a
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-22.1.0/src/hub.rs:231:9
  31:     0x56ff341800e7 - <wgpu_core::global::Global as core::ops::drop::Drop>::drop::h6cbccf3e7980ac59
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-22.1.0/src/global.rs:152:13
  32:     0x56ff33ec61e7 - core::ptr::drop_in_place<wgpu_core::global::Global>::h8e05c133ff71dbf9
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  33:     0x56ff33ec7164 - core::ptr::drop_in_place<wgpu::backend::wgpu_core::ContextWgpuCore>::h15711c75c12430fa
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  34:     0x56ff33ec68fd - core::ptr::drop_in_place<dyn wgpu::context::DynContext>::hacf60f28c1946a03
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  35:     0x56ff33f37b2a - alloc::sync::Arc<T,A>::drop_slow::h86ad29e8c1c43413
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:1831:18
  36:     0x56ff33f3ab11 - <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop::h44cb2f1fd50c5bd7
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:2524:13
  37:     0x56ff33ec8cbb - core::ptr::drop_in_place<alloc::sync::Arc<dyn wgpu::context::DynContext>>::hcee3a3a2ea14a415
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  38:     0x56ff33454937 - core::ptr::drop_in_place<wgpu::BindGroup>::h83b6b5df6730e993
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  39:     0x56ff334550ef - core::ptr::drop_in_place<blue_engine::header::Camera>::h437e03a2c27c22e9
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  40:     0x56ff33456cac - core::ptr::drop_in_place<(alloc::sync::Arc<str>,blue_engine::header::Camera)>::h0c3c1b13d98647bf
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  41:     0x56ff3348f8fe - core::ptr::mut_ptr::<impl *mut T>::drop_in_place::h28b88590378f0a40
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mut_ptr.rs:1368:18
  42:     0x56ff3348f8fe - hashbrown::raw::Bucket<T>::drop::hb10a8c3e9b1bccf9
                               at /rust/deps/hashbrown-0.14.5/src/raw/mod.rs:590:23
  43:     0x56ff3348f8fe - hashbrown::raw::RawTableInner::drop_elements::h140a2d9dd9005c49
                               at /rust/deps/hashbrown-0.14.5/src/raw/mod.rs:2377:22
  44:     0x56ff3348f960 - hashbrown::raw::RawTableInner::drop_inner_table::h6c166d6af1be8a4b
                               at /rust/deps/hashbrown-0.14.5/src/raw/mod.rs:2432:17
  45:     0x56ff334587cc - <hashbrown::raw::RawTable<T,A> as core::ops::drop::Drop>::drop::hf4d5396dd1daca4b
                               at /rust/deps/hashbrown-0.14.5/src/raw/mod.rs:3673:13
  46:     0x56ff334531ab - core::ptr::drop_in_place<hashbrown::raw::RawTable<(alloc::sync::Arc<str>,blue_engine::header::Camera)>>::h214eda385511b424
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  47:     0x56ff33453a1b - core::ptr::drop_in_place<hashbrown::map::HashMap<alloc::sync::Arc<str>,blue_engine::header::Camera,std::hash::random::RandomState>>::h3ca5e9bfdb448218
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  48:     0x56ff3345346b - core::ptr::drop_in_place<std::collections::hash::map::HashMap<alloc::sync::Arc<str>,blue_engine::header::Camera>>::h6565f67b1f5839fe
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  49:     0x56ff33455acb - core::ptr::drop_in_place<blue_engine::header::CameraContainer>::h51a469d38695bc8b
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  50:     0x56ff333fad88 - core::ptr::drop_in_place<blue_engine::header::Engine>::hbd36bbb43b665e08
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  51:     0x56ff333f129b - triangle::main::h12c6128242fcbeca
                               at /mnt/External/BlueEngine/examples/shapes/triangle.rs:28:1
  52:     0x56ff333f8c7b - core::ops::function::FnOnce::call_once::h83d55fe88f48ee7b
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5
  53:     0x56ff334283ce - std::sys::backtrace::__rust_begin_short_backtrace::h13192b20bc25c406
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:154:18
  54:     0x56ff33422721 - std::rt::lang_start::{{closure}}::h4c99cdffd41916c9
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:164:18
  55:     0x56ff34afb710 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h08ecba131ab90ec4
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:284:13
  56:     0x56ff34afb710 - std::panicking::try::do_call::hf33a59fd8ce953f4
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
  57:     0x56ff34afb710 - std::panicking::try::h5005ce80ce949fd8
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:518:19
  58:     0x56ff34afb710 - std::panic::catch_unwind::hfbae19e2e2c5b7ed
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panic.rs:345:14
  59:     0x56ff34afb710 - std::rt::lang_start_internal::{{closure}}::ha0331c3690741813
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:143:48
  60:     0x56ff34afb710 - std::panicking::try::do_call::hcdcbdb616b4d0295
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
  61:     0x56ff34afb710 - std::panicking::try::h3f2f1725a07d2256
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:518:19
  62:     0x56ff34afb710 - std::panic::catch_unwind::h51869e04b56b2dc3
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panic.rs:345:14
  63:     0x56ff34afb710 - std::rt::lang_start_internal::h4d90db0530245041
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:143:20
  64:     0x56ff334226fa - std::rt::lang_start::h4c0dd34d196f2bdb
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:163:17
  65:     0x56ff333f142e - main
  66:     0x7a37418d4e08 - <unknown>
  67:     0x7a37418d4ecc - __libc_start_main
  68:     0x56ff333a3c35 - _start
  69:                0x0 - <unknown>
[2024-11-19T12:17:17Z ERROR wgpu_hal::gles::egl] EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'main' panicked at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/egl.rs:296:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
stack backtrace:
   0:     0x56ff34b07ada - std::backtrace_rs::backtrace::libunwind::trace::h99efb0985cae5d78
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
   1:     0x56ff34b07ada - std::backtrace_rs::backtrace::trace_unsynchronized::he2c1aa63b3f7fad8
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x56ff34b07ada - std::sys::backtrace::_print_fmt::h8a221d40f5e0f88b
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:66:9
   3:     0x56ff34b07ada - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h304520fd6a30aa07
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:39:26
   4:     0x56ff34b3081b - core::fmt::rt::Argument::fmt::h5da9c218ec984eaf
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/fmt/rt.rs:177:76
   5:     0x56ff34b3081b - core::fmt::write::hf5713710ce10ff22
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/fmt/mod.rs:1178:21
   6:     0x56ff34b04573 - std::io::Write::write_fmt::hda708db57927dacf
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/io/mod.rs:1823:15
   7:     0x56ff34b08dc2 - std::sys::backtrace::BacktraceLock::print::hbcdbec4d97c91528
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:42:9
   8:     0x56ff34b08dc2 - std::panicking::default_hook::{{closure}}::he1ad87607d0c11c5
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:266:22
   9:     0x56ff34b08a2e - std::panicking::default_hook::h81c8cd2e7c59ee33
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:293:9
  10:     0x56ff34b0964f - std::panicking::rust_panic_with_hook::had2118629c312a4a
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:797:13
  11:     0x56ff34b09337 - std::panicking::begin_panic_handler::{{closure}}::h7fa5985d111bafa2
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:671:13
  12:     0x56ff34b07fb9 - std::sys::backtrace::__rust_end_short_backtrace::h704d151dbefa09c5
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:170:18
  13:     0x56ff34b08fc4 - rust_begin_unwind
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:662:5
  14:     0x56ff333a3083 - core::panicking::panic_fmt::h3eea515d05f7a35e
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/panicking.rs:74:14
  15:     0x56ff333a3636 - core::result::unwrap_failed::h7c8d8bbbcf45dc13
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/result.rs:1677:5
  16:     0x56ff342d59ad - core::result::Result<T,E>::unwrap::hbb2d04512639ce18
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/result.rs:1102:23
  17:     0x56ff342d59ad - wgpu_hal::gles::egl::EglContext::make_current::heea7e6f4903ae8da
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/egl.rs:294:9
  18:     0x56ff342d5db2 - wgpu_hal::gles::egl::AdapterContext::lock::{{closure}}::hfb6e62929ac3bda4
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/egl.rs:408:13
  19:     0x56ff342b783a - core::option::Option<T>::map::hb64cf5ff1d4b9a7d
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/option.rs:1105:29
  20:     0x56ff342d5d46 - wgpu_hal::gles::egl::AdapterContext::lock::h764581958f38bd8e
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/egl.rs:407:19
  21:     0x56ff342a4113 - wgpu_hal::gles::device::<impl wgpu_hal::Device for wgpu_hal::gles::Device>::destroy_sampler::hf40916c1bcb9dae7
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/device.rs:1102:19
  22:     0x56ff340f2b99 - <wgpu_core::resource::Sampler<A> as core::ops::drop::Drop>::drop::hfcc6c71ddb30898d
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-22.1.0/src/resource.rs:1738:17
  23:     0x56ff340dda97 - core::ptr::drop_in_place<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>::hec03f81ecb427e92
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  24:     0x56ff340a92cf - alloc::sync::Arc<T,A>::drop_slow::hf51a409326c39546
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:1831:18
  25:     0x56ff340ab37a - <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop::h80891b8b71da2c3f
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:2524:13
  26:     0x56ff340cc5fb - core::ptr::drop_in_place<alloc::sync::Arc<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>>::hee74fab65234a312
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  27:     0x56ff340cd7ea - core::ptr::drop_in_place<[alloc::sync::Arc<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>]>::h59a33ec7283092cf
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  28:     0x56ff340a3147 - <alloc::vec::Vec<T,A> as core::ops::drop::Drop>::drop::h7fbd842d18e88ffa
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/vec/mod.rs:3316:13
  29:     0x56ff340d0f27 - core::ptr::drop_in_place<alloc::vec::Vec<alloc::sync::Arc<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>>>::h21e493ecb1b49b48
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  30:     0x56ff340d6ecb - core::ptr::drop_in_place<core::cell::UnsafeCell<alloc::vec::Vec<alloc::sync::Arc<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>>>>::h10e1390cd6b71f83
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  31:     0x56ff340d91af - core::ptr::drop_in_place<lock_api::mutex::Mutex<parking_lot::raw_mutex::RawMutex,alloc::vec::Vec<alloc::sync::Arc<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>>>>::h6de56bad89a404d6
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  32:     0x56ff340d812b - core::ptr::drop_in_place<wgpu_core::lock::vanilla::Mutex<alloc::vec::Vec<alloc::sync::Arc<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>>>>::h5df918826e2b331d
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  33:     0x56ff340d413b - core::ptr::drop_in_place<wgpu_core::track::stateless::StatelessBindGroupState<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>>::h92cc228aa7949978
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  34:     0x56ff340df17c - core::ptr::drop_in_place<wgpu_core::track::BindGroupStates<wgpu_hal::gles::Api>>::h9d5aff9eda83ec93
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  35:     0x56ff340dfa11 - core::ptr::drop_in_place<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>::hb09053f6b4e41452
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  36:     0x56ff340a846f - alloc::sync::Arc<T,A>::drop_slow::h3608d5629fc3672b
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:1831:18
  37:     0x56ff340ac45a - <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop::hd9ab1ffb4fb53574
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:2524:13
  38:     0x56ff340cd25b - core::ptr::drop_in_place<alloc::sync::Arc<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>>::h57d8c74b538e0336
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  39:     0x56ff340cfae5 - core::ptr::drop_in_place<wgpu_core::storage::Element<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>>::hf295bc0162fc2996
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  40:     0x56ff340d2370 - core::ptr::drop_in_place<[wgpu_core::storage::Element<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>]>::h597a9a0b0742dca6
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  41:     0x56ff340a2667 - <alloc::vec::Vec<T,A> as core::ops::drop::Drop>::drop::h2ccbe27dcd5f8b31
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/vec/mod.rs:3316:13
  42:     0x56ff340d5277 - core::ptr::drop_in_place<alloc::vec::Vec<wgpu_core::storage::Element<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>>>::h26ac4216f3be0e26
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  43:     0x56ff340cfbbb - core::ptr::drop_in_place<wgpu_core::storage::Storage<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>>::h21b17101b822a10f
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  44:     0x56ff340d651b - core::ptr::drop_in_place<core::cell::UnsafeCell<wgpu_core::storage::Storage<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>>>::h27a32cf1a46f2d71
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  45:     0x56ff340d910f - core::ptr::drop_in_place<lock_api::rwlock::RwLock<parking_lot::raw_rwlock::RawRwLock,wgpu_core::storage::Storage<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>>>::hdd4d97d1ceaaec88
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  46:     0x56ff340d79ab - core::ptr::drop_in_place<wgpu_core::lock::vanilla::RwLock<wgpu_core::storage::Storage<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>>>::h4eac58034e76134f
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  47:     0x56ff340d013c - core::ptr::drop_in_place<wgpu_core::registry::Registry<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>>::h2ea35d28f4ef09a2
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  48:     0x56ff33ec7b8f - core::ptr::drop_in_place<wgpu_core::hub::Hub<wgpu_hal::gles::Api>>::h4de07a02f4aad0fa
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  49:     0x56ff33ec5e82 - core::ptr::drop_in_place<wgpu_core::hub::Hubs>::h58eddf4596542604
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  50:     0x56ff33ec626c - core::ptr::drop_in_place<wgpu_core::global::Global>::h8e05c133ff71dbf9
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  51:     0x56ff33ec7164 - core::ptr::drop_in_place<wgpu::backend::wgpu_core::ContextWgpuCore>::h15711c75c12430fa
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  52:     0x56ff33ec68fd - core::ptr::drop_in_place<dyn wgpu::context::DynContext>::hacf60f28c1946a03
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  53:     0x56ff33f37b2a - alloc::sync::Arc<T,A>::drop_slow::h86ad29e8c1c43413
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:1831:18
  54:     0x56ff33f3ab11 - <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop::h44cb2f1fd50c5bd7
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:2524:13
  55:     0x56ff33ec8cbb - core::ptr::drop_in_place<alloc::sync::Arc<dyn wgpu::context::DynContext>>::hcee3a3a2ea14a415
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  56:     0x56ff33454937 - core::ptr::drop_in_place<wgpu::BindGroup>::h83b6b5df6730e993
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  57:     0x56ff334550ef - core::ptr::drop_in_place<blue_engine::header::Camera>::h437e03a2c27c22e9
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  58:     0x56ff33456cac - core::ptr::drop_in_place<(alloc::sync::Arc<str>,blue_engine::header::Camera)>::h0c3c1b13d98647bf
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  59:     0x56ff3348f8fe - core::ptr::mut_ptr::<impl *mut T>::drop_in_place::h28b88590378f0a40
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mut_ptr.rs:1368:18
  60:     0x56ff3348f8fe - hashbrown::raw::Bucket<T>::drop::hb10a8c3e9b1bccf9
                               at /rust/deps/hashbrown-0.14.5/src/raw/mod.rs:590:23
  61:     0x56ff3348f8fe - hashbrown::raw::RawTableInner::drop_elements::h140a2d9dd9005c49
                               at /rust/deps/hashbrown-0.14.5/src/raw/mod.rs:2377:22
  62:     0x56ff3348f960 - hashbrown::raw::RawTableInner::drop_inner_table::h6c166d6af1be8a4b
                               at /rust/deps/hashbrown-0.14.5/src/raw/mod.rs:2432:17
  63:     0x56ff334587cc - <hashbrown::raw::RawTable<T,A> as core::ops::drop::Drop>::drop::hf4d5396dd1daca4b
                               at /rust/deps/hashbrown-0.14.5/src/raw/mod.rs:3673:13
  64:     0x56ff334531ab - core::ptr::drop_in_place<hashbrown::raw::RawTable<(alloc::sync::Arc<str>,blue_engine::header::Camera)>>::h214eda385511b424
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  65:     0x56ff33453a1b - core::ptr::drop_in_place<hashbrown::map::HashMap<alloc::sync::Arc<str>,blue_engine::header::Camera,std::hash::random::RandomState>>::h3ca5e9bfdb448218
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  66:     0x56ff3345346b - core::ptr::drop_in_place<std::collections::hash::map::HashMap<alloc::sync::Arc<str>,blue_engine::header::Camera>>::h6565f67b1f5839fe
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  67:     0x56ff33455acb - core::ptr::drop_in_place<blue_engine::header::CameraContainer>::h51a469d38695bc8b
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  68:     0x56ff333fad88 - core::ptr::drop_in_place<blue_engine::header::Engine>::hbd36bbb43b665e08
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  69:     0x56ff333f129b - triangle::main::h12c6128242fcbeca
                               at /mnt/External/BlueEngine/examples/shapes/triangle.rs:28:1
  70:     0x56ff333f8c7b - core::ops::function::FnOnce::call_once::h83d55fe88f48ee7b
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5
  71:     0x56ff334283ce - std::sys::backtrace::__rust_begin_short_backtrace::h13192b20bc25c406
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:154:18
  72:     0x56ff33422721 - std::rt::lang_start::{{closure}}::h4c99cdffd41916c9
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:164:18
  73:     0x56ff34afb710 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h08ecba131ab90ec4
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:284:13
  74:     0x56ff34afb710 - std::panicking::try::do_call::hf33a59fd8ce953f4
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
  75:     0x56ff34afb710 - std::panicking::try::h5005ce80ce949fd8
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:518:19
  76:     0x56ff34afb710 - std::panic::catch_unwind::hfbae19e2e2c5b7ed
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panic.rs:345:14
  77:     0x56ff34afb710 - std::rt::lang_start_internal::{{closure}}::ha0331c3690741813
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:143:48
  78:     0x56ff34afb710 - std::panicking::try::do_call::hcdcbdb616b4d0295
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
  79:     0x56ff34afb710 - std::panicking::try::h3f2f1725a07d2256
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:518:19
  80:     0x56ff34afb710 - std::panic::catch_unwind::h51869e04b56b2dc3
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panic.rs:345:14
  81:     0x56ff34afb710 - std::rt::lang_start_internal::h4d90db0530245041
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:143:20
  82:     0x56ff334226fa - std::rt::lang_start::h4c0dd34d196f2bdb
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:163:17
  83:     0x56ff333f142e - main
  84:     0x7a37418d4e08 - <unknown>
  85:     0x7a37418d4ecc - __libc_start_main
  86:     0x56ff333a3c35 - _start
  87:                0x0 - <unknown>
[2024-11-19T12:17:17Z ERROR wgpu_hal::gles::egl] EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'main' panicked at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/egl.rs:296:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
stack backtrace:
   0:     0x56ff34b07ada - std::backtrace_rs::backtrace::libunwind::trace::h99efb0985cae5d78
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
   1:     0x56ff34b07ada - std::backtrace_rs::backtrace::trace_unsynchronized::he2c1aa63b3f7fad8
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x56ff34b07ada - std::sys::backtrace::_print_fmt::h8a221d40f5e0f88b
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:66:9
   3:     0x56ff34b07ada - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h304520fd6a30aa07
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:39:26
   4:     0x56ff34b3081b - core::fmt::rt::Argument::fmt::h5da9c218ec984eaf
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/fmt/rt.rs:177:76
   5:     0x56ff34b3081b - core::fmt::write::hf5713710ce10ff22
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/fmt/mod.rs:1178:21
   6:     0x56ff34b04573 - std::io::Write::write_fmt::hda708db57927dacf
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/io/mod.rs:1823:15
   7:     0x56ff34b08dc2 - std::sys::backtrace::BacktraceLock::print::hbcdbec4d97c91528
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:42:9
   8:     0x56ff34b08dc2 - std::panicking::default_hook::{{closure}}::he1ad87607d0c11c5
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:266:22
   9:     0x56ff34b08a2e - std::panicking::default_hook::h81c8cd2e7c59ee33
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:293:9
  10:     0x56ff34b0964f - std::panicking::rust_panic_with_hook::had2118629c312a4a
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:797:13
  11:     0x56ff34b09337 - std::panicking::begin_panic_handler::{{closure}}::h7fa5985d111bafa2
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:671:13
  12:     0x56ff34b07fb9 - std::sys::backtrace::__rust_end_short_backtrace::h704d151dbefa09c5
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:170:18
  13:     0x56ff34b08fc4 - rust_begin_unwind
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:662:5
  14:     0x56ff333a3083 - core::panicking::panic_fmt::h3eea515d05f7a35e
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/panicking.rs:74:14
  15:     0x56ff333a3636 - core::result::unwrap_failed::h7c8d8bbbcf45dc13
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/result.rs:1677:5
  16:     0x56ff342d59ad - core::result::Result<T,E>::unwrap::hbb2d04512639ce18
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/result.rs:1102:23
  17:     0x56ff342d59ad - wgpu_hal::gles::egl::EglContext::make_current::heea7e6f4903ae8da
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/egl.rs:294:9
  18:     0x56ff342d5db2 - wgpu_hal::gles::egl::AdapterContext::lock::{{closure}}::hfb6e62929ac3bda4
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/egl.rs:408:13
  19:     0x56ff342b783a - core::option::Option<T>::map::hb64cf5ff1d4b9a7d
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/option.rs:1105:29
  20:     0x56ff342d5d46 - wgpu_hal::gles::egl::AdapterContext::lock::h764581958f38bd8e
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/egl.rs:407:19
  21:     0x56ff342a4113 - wgpu_hal::gles::device::<impl wgpu_hal::Device for wgpu_hal::gles::Device>::destroy_sampler::hf40916c1bcb9dae7
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-22.0.0/src/gles/device.rs:1102:19
  22:     0x56ff340f2b99 - <wgpu_core::resource::Sampler<A> as core::ops::drop::Drop>::drop::hfcc6c71ddb30898d
                               at /home/joe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-22.1.0/src/resource.rs:1738:17
  23:     0x56ff340dda97 - core::ptr::drop_in_place<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>::hec03f81ecb427e92
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  24:     0x56ff340a92cf - alloc::sync::Arc<T,A>::drop_slow::hf51a409326c39546
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:1831:18
  25:     0x56ff340ab37a - <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop::h80891b8b71da2c3f
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:2524:13
  26:     0x56ff340cc5fb - core::ptr::drop_in_place<alloc::sync::Arc<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>>::hee74fab65234a312
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  27:     0x56ff340cd7ea - core::ptr::drop_in_place<[alloc::sync::Arc<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>]>::h59a33ec7283092cf
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  28:     0x56ff340a3147 - <alloc::vec::Vec<T,A> as core::ops::drop::Drop>::drop::h7fbd842d18e88ffa
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/vec/mod.rs:3316:13
  29:     0x56ff340d0f27 - core::ptr::drop_in_place<alloc::vec::Vec<alloc::sync::Arc<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>>>::h21e493ecb1b49b48
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  30:     0x56ff340d6ecb - core::ptr::drop_in_place<core::cell::UnsafeCell<alloc::vec::Vec<alloc::sync::Arc<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>>>>::h10e1390cd6b71f83
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  31:     0x56ff340d91af - core::ptr::drop_in_place<lock_api::mutex::Mutex<parking_lot::raw_mutex::RawMutex,alloc::vec::Vec<alloc::sync::Arc<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>>>>::h6de56bad89a404d6
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  32:     0x56ff340d812b - core::ptr::drop_in_place<wgpu_core::lock::vanilla::Mutex<alloc::vec::Vec<alloc::sync::Arc<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>>>>::h5df918826e2b331d
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  33:     0x56ff340d413b - core::ptr::drop_in_place<wgpu_core::track::stateless::StatelessBindGroupState<wgpu_core::resource::Sampler<wgpu_hal::gles::Api>>>::h92cc228aa7949978
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  34:     0x56ff340df17c - core::ptr::drop_in_place<wgpu_core::track::BindGroupStates<wgpu_hal::gles::Api>>::h9d5aff9eda83ec93
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  35:     0x56ff340dfa11 - core::ptr::drop_in_place<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>::hb09053f6b4e41452
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  36:     0x56ff340a846f - alloc::sync::Arc<T,A>::drop_slow::h3608d5629fc3672b
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:1831:18
  37:     0x56ff340ac45a - <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop::hd9ab1ffb4fb53574
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:2524:13
  38:     0x56ff340cd25b - core::ptr::drop_in_place<alloc::sync::Arc<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>>::h57d8c74b538e0336
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  39:     0x56ff340cfae5 - core::ptr::drop_in_place<wgpu_core::storage::Element<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>>::hf295bc0162fc2996
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  40:     0x56ff340d23b9 - core::ptr::drop_in_place<[wgpu_core::storage::Element<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>]>::h597a9a0b0742dca6
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  41:     0x56ff340a2667 - <alloc::vec::Vec<T,A> as core::ops::drop::Drop>::drop::h2ccbe27dcd5f8b31
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/vec/mod.rs:3316:13
  42:     0x56ff340d5277 - core::ptr::drop_in_place<alloc::vec::Vec<wgpu_core::storage::Element<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>>>::h26ac4216f3be0e26
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  43:     0x56ff340cfbbb - core::ptr::drop_in_place<wgpu_core::storage::Storage<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>>::h21b17101b822a10f
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  44:     0x56ff340d651b - core::ptr::drop_in_place<core::cell::UnsafeCell<wgpu_core::storage::Storage<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>>>::h27a32cf1a46f2d71
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  45:     0x56ff340d910f - core::ptr::drop_in_place<lock_api::rwlock::RwLock<parking_lot::raw_rwlock::RawRwLock,wgpu_core::storage::Storage<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>>>::hdd4d97d1ceaaec88
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  46:     0x56ff340d79ab - core::ptr::drop_in_place<wgpu_core::lock::vanilla::RwLock<wgpu_core::storage::Storage<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>>>::h4eac58034e76134f
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  47:     0x56ff340d013c - core::ptr::drop_in_place<wgpu_core::registry::Registry<wgpu_core::binding_model::BindGroup<wgpu_hal::gles::Api>>>::h2ea35d28f4ef09a2
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  48:     0x56ff33ec7b8f - core::ptr::drop_in_place<wgpu_core::hub::Hub<wgpu_hal::gles::Api>>::h4de07a02f4aad0fa
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  49:     0x56ff33ec5e82 - core::ptr::drop_in_place<wgpu_core::hub::Hubs>::h58eddf4596542604
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  50:     0x56ff33ec626c - core::ptr::drop_in_place<wgpu_core::global::Global>::h8e05c133ff71dbf9
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  51:     0x56ff33ec7164 - core::ptr::drop_in_place<wgpu::backend::wgpu_core::ContextWgpuCore>::h15711c75c12430fa
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  52:     0x56ff33ec68fd - core::ptr::drop_in_place<dyn wgpu::context::DynContext>::hacf60f28c1946a03
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  53:     0x56ff33f37b2a - alloc::sync::Arc<T,A>::drop_slow::h86ad29e8c1c43413
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:1831:18
  54:     0x56ff33f3ab11 - <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop::h44cb2f1fd50c5bd7
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/sync.rs:2524:13
  55:     0x56ff33ec8cbb - core::ptr::drop_in_place<alloc::sync::Arc<dyn wgpu::context::DynContext>>::hcee3a3a2ea14a415
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  56:     0x56ff33454937 - core::ptr::drop_in_place<wgpu::BindGroup>::h83b6b5df6730e993
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  57:     0x56ff334550ef - core::ptr::drop_in_place<blue_engine::header::Camera>::h437e03a2c27c22e9
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  58:     0x56ff33456cac - core::ptr::drop_in_place<(alloc::sync::Arc<str>,blue_engine::header::Camera)>::h0c3c1b13d98647bf
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  59:     0x56ff3348f8fe - core::ptr::mut_ptr::<impl *mut T>::drop_in_place::h28b88590378f0a40
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mut_ptr.rs:1368:18
  60:     0x56ff3348f8fe - hashbrown::raw::Bucket<T>::drop::hb10a8c3e9b1bccf9
                               at /rust/deps/hashbrown-0.14.5/src/raw/mod.rs:590:23
  61:     0x56ff3348f8fe - hashbrown::raw::RawTableInner::drop_elements::h140a2d9dd9005c49
                               at /rust/deps/hashbrown-0.14.5/src/raw/mod.rs:2377:22
  62:     0x56ff3348f960 - hashbrown::raw::RawTableInner::drop_inner_table::h6c166d6af1be8a4b
                               at /rust/deps/hashbrown-0.14.5/src/raw/mod.rs:2432:17
  63:     0x56ff334587cc - <hashbrown::raw::RawTable<T,A> as core::ops::drop::Drop>::drop::hf4d5396dd1daca4b
                               at /rust/deps/hashbrown-0.14.5/src/raw/mod.rs:3673:13
  64:     0x56ff334531ab - core::ptr::drop_in_place<hashbrown::raw::RawTable<(alloc::sync::Arc<str>,blue_engine::header::Camera)>>::h214eda385511b424
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  65:     0x56ff33453a1b - core::ptr::drop_in_place<hashbrown::map::HashMap<alloc::sync::Arc<str>,blue_engine::header::Camera,std::hash::random::RandomState>>::h3ca5e9bfdb448218
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  66:     0x56ff3345346b - core::ptr::drop_in_place<std::collections::hash::map::HashMap<alloc::sync::Arc<str>,blue_engine::header::Camera>>::h6565f67b1f5839fe
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  67:     0x56ff33455acb - core::ptr::drop_in_place<blue_engine::header::CameraContainer>::h51a469d38695bc8b
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  68:     0x56ff333fad88 - core::ptr::drop_in_place<blue_engine::header::Engine>::hbd36bbb43b665e08
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ptr/mod.rs:574:1
  69:     0x56ff333f129b - triangle::main::h12c6128242fcbeca
                               at /mnt/External/BlueEngine/examples/shapes/triangle.rs:28:1
  70:     0x56ff333f8c7b - core::ops::function::FnOnce::call_once::h83d55fe88f48ee7b
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5
  71:     0x56ff334283ce - std::sys::backtrace::__rust_begin_short_backtrace::h13192b20bc25c406
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:154:18
  72:     0x56ff33422721 - std::rt::lang_start::{{closure}}::h4c99cdffd41916c9
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:164:18
  73:     0x56ff34afb710 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h08ecba131ab90ec4
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:284:13
  74:     0x56ff34afb710 - std::panicking::try::do_call::hf33a59fd8ce953f4
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
  75:     0x56ff34afb710 - std::panicking::try::h5005ce80ce949fd8
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:518:19
  76:     0x56ff34afb710 - std::panic::catch_unwind::hfbae19e2e2c5b7ed
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panic.rs:345:14
  77:     0x56ff34afb710 - std::rt::lang_start_internal::{{closure}}::ha0331c3690741813
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:143:48
  78:     0x56ff34afb710 - std::panicking::try::do_call::hcdcbdb616b4d0295
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
  79:     0x56ff34afb710 - std::panicking::try::h3f2f1725a07d2256
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:518:19
  80:     0x56ff34afb710 - std::panic::catch_unwind::h51869e04b56b2dc3
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panic.rs:345:14
  81:     0x56ff34afb710 - std::rt::lang_start_internal::h4d90db0530245041
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:143:20
  82:     0x56ff334226fa - std::rt::lang_start::h4c0dd34d196f2bdb
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:163:17
  83:     0x56ff333f142e - main
  84:     0x7a37418d4e08 - <unknown>
  85:     0x7a37418d4ecc - __libc_start_main
  86:     0x56ff333a3c35 - _start
  87:                0x0 - <unknown>
thread 'main' panicked at core/src/panicking.rs:229:5:
panic in a destructor during cleanup
thread caused non-unwinding panic. aborting.

Also ran this:

> vulkaninfo --summary
WARNING: radv is not a conformant Vulkan implementation, testing use only.
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.295


Instance Extensions: count = 24
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_headless_surface                : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 4
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1

Instance Layers:
----------------

Devices:
========
GPU0:
	apiVersion         = 1.3.289
	driverVersion      = 24.2.6
	vendorID           = 0x1002
	deviceID           = 0x67b0
	deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
	deviceName         = AMD Radeon R9 200 Series (RADV HAWAII)
	driverID           = DRIVER_ID_MESA_RADV
	driverName         = radv
	driverInfo         = Mesa 24.2.6-arch1.1
	conformanceVersion = 0.0.0.0
	deviceUUID         = 00000000-0100-0000-0000-000000000000
	driverUUID         = 414d442d-4d45-5341-2d44-525600000000

Just in case there is something useful you can find.

@ElhamAryanpur
Copy link
Collaborator

Possibly related to gfx-rs/wgpu/issues/5505

@Raj2032
Copy link
Author

Raj2032 commented Nov 19, 2024

@ElhamAryanpur Ah right

What's weird is I am using gtk-rs and that uses wgpu, weird that I have no issues on wayland.

@ElhamAryanpur
Copy link
Collaborator

Do they? I'm not sure then, perhaps different versions

@Raj2032
Copy link
Author

Raj2032 commented Nov 20, 2024

@ElhamAryanpur My mistake, actually they use vulkan but not too sure about wgpu I should have read more carefully.

@ElhamAryanpur
Copy link
Collaborator

@Raj2032 It's all good, lets keep this issue opened until theres a wgpu fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants