egui icon indicating copy to clipboard operation
egui copied to clipboard

Enabling the wgpu feature results in a panic "The surface isn't supported by this adapter"

Open VorpalBlade opened this issue 1 year ago • 18 comments

Describe the bug Enabling the wgpu feature causes the program to crash immediately at startup. This can be reproduced on the hello world example even.

❯ cargo run    
    Finished dev [unoptimized + debuginfo] target(s) in 0.17s
     Running `/home/arvid/src/egui/target/debug/hello_world`
wp_linux_drm_syncobj_manager_v1#55: error 0: surface already exists
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@55: 
[2024-10-15T20:47:48Z ERROR wgpu_hal::vulkan::adapter] get_physical_device_surface_present_modes: ERROR_SURFACE_LOST_KHR
[2024-10-15T20:47:48Z ERROR wgpu_hal::vulkan::adapter] get_physical_device_surface_formats: ERROR_SURFACE_LOST_KHR
thread 'main' panicked at crates/egui-wgpu/src/winit.rs:173:18:
The surface isn't supported by this adapter
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The full backtrace is:

stack backtrace:
   0: rust_begin_unwind
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
   1: core::panicking::panic_fmt
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
   2: core::panicking::panic_display
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:196:5
   3: core::panicking::panic_str
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:171:5
   4: core::option::expect_failed
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/option.rs:1980:5
   5: core::option::Option<T>::expect
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/option.rs:894:21
   6: egui_wgpu::winit::Painter::configure_surface
             at /home/arvid/src/egui/crates/egui-wgpu/src/winit.rs:170:15
   7: egui_wgpu::winit::Painter::resize_and_generate_depth_texture_view_and_msaa_view
             at /home/arvid/src/egui/crates/egui-wgpu/src/winit.rs:342:9
   8: egui_wgpu::winit::Painter::on_window_resized
             at /home/arvid/src/egui/crates/egui-wgpu/src/winit.rs:405:13
   9: eframe::native::wgpu_integration::WgpuWinitRunning::on_window_event
             at /home/arvid/src/egui/crates/eframe/src/native/wgpu_integration.rs:779:25
  10: <eframe::native::wgpu_integration::WgpuWinitApp as eframe::native::winit_integration::WinitApp>::window_event
             at /home/arvid/src/egui/crates/eframe/src/native/wgpu_integration.rs:457:16
  11: <eframe::native::run::WinitAppWrapper<T> as winit::application::ApplicationHandler<eframe::native::winit_integration::UserEvent>>::window_event::{{closure}}
             at /home/arvid/src/egui/crates/eframe/src/native/run.rs:285:22
  12: eframe::native::event_loop_context::with_event_loop_context
             at /home/arvid/src/egui/crates/eframe/src/native/event_loop_context.rs:53:5
  13: <eframe::native::run::WinitAppWrapper<T> as winit::application::ApplicationHandler<eframe::native::winit_integration::UserEvent>>::window_event
             at /home/arvid/src/egui/crates/eframe/src/native/run.rs:280:9
  14: winit::event_loop::dispatch_event_for_app
             at /home/arvid/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.30.5/src/event_loop.rs:642:52
  15: winit::platform::run_on_demand::EventLoopExtRunOnDemand::run_app_on_demand::{{closure}}
             at /home/arvid/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.30.5/src/platform/run_on_demand.rs:76:13
  16: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:294:13
  17: winit::platform_impl::linux::wayland::event_loop::EventLoop<T>::single_iteration
             at /home/arvid/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.30.5/src/platform_impl/linux/wayland/event_loop/mod.rs:398:17
  18: winit::platform_impl::linux::wayland::event_loop::EventLoop<T>::pump_events
             at /home/arvid/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.30.5/src/platform_impl/linux/wayland/event_loop/mod.rs:211:13
  19: winit::platform_impl::linux::wayland::event_loop::EventLoop<T>::run_on_demand
             at /home/arvid/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.30.5/src/platform_impl/linux/wayland/event_loop/mod.rs:181:19
  20: winit::platform_impl::linux::EventLoop<T>::run_on_demand
             at /home/arvid/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.30.5/src/platform_impl/linux/mod.rs:813:56
  21: <winit::event_loop::EventLoop<T> as winit::platform::run_on_demand::EventLoopExtRunOnDemand>::run_on_demand
             at /home/arvid/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.30.5/src/platform/run_on_demand.rs:89:9
  22: winit::platform::run_on_demand::EventLoopExtRunOnDemand::run_app_on_demand
             at /home/arvid/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.30.5/src/platform/run_on_demand.rs:75:9
  23: eframe::native::run::run_and_return
             at /home/arvid/src/egui/crates/eframe/src/native/run.rs:300:5
  24: eframe::native::run::run_wgpu::{{closure}}
             at /home/arvid/src/egui/crates/eframe/src/native/run.rs:357:13
  25: eframe::native::run::with_event_loop::{{closure}}
             at /home/arvid/src/egui/crates/eframe/src/native/run.rs:52:12
  26: std::thread::local::LocalKey<T>::try_with
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:270:16
  27: std::thread::local::LocalKey<T>::with
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:9
  28: eframe::native::run::with_event_loop
             at /home/arvid/src/egui/crates/eframe/src/native/run.rs:42:5
  29: eframe::native::run::run_wgpu
             at /home/arvid/src/egui/crates/eframe/src/native/run.rs:355:16
  30: eframe::run_native
             at /home/arvid/src/egui/crates/eframe/src/lib.rs:265:13
  31: hello_world::main
             at ./src/main.rs:12:5
  32: core::ops::function::FnOnce::call_once
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5

To Reproduce Steps to reproduce the behavior:

  1. Go to the egui/eframe examples/hello_world directory
  2. Enable wgpu feature for eframe in Cargo.toml
  3. cargo run

Expected behavior Program should start without errors. Or at least not panic (return an Error instead). And that error should be less cryptic. (I'm not a GPU expert, I'm trying to make a simple GUI.).

I don't know what the error means, but it should probably select a suitable surface instead of an unsupported surface. Whatever a surface is in this context.

Screenshots

Desktop (please complete the following information):

  • OS: Arch Linux (rolling release)
  • Browser: Not applicable, doing a native program, not WASM.
  • Desktop environment: KDE Plasma 6.2.0 Wayland
  • Eframe version: 0.29.1 (but also reproduces on latest master as of writing this, commit g707cd033)
  • Mesa 24.2.4-1
  • Kernel 6.11.2
  • Intel i7-8550U (Skylake) + nVidia MX150 running in pure Intel graphics mode. (But it doesn't make a difference to use hybrid mode or prime-run to run on the nVidia GPU).

Additional context

VorpalBlade avatar Oct 15 '24 20:10 VorpalBlade

I agree we shouldn't panic here. Maybe @Wumpf wants to take a look at some point? 🙏

emilk avatar Oct 23 '24 09:10 emilk

yep, we definitely shouldn't crash and instead try to forward an error if needed

As to actual source of the issue (and how to show it better): this might be a tricky one. This piece of log output seems to come directly from wayland

wp_linux_drm_syncobj_manager_v1#55: error 0: surface already exists
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@55: 

And searching for this a bit brings up people recommending to downgrade the nvidia driver from 560 to 555, e.g. here This is also being discussed in the nvidia forum here. Given that you're saying you're only running with Intel, that's probably not the whole story 🤔

Wumpf avatar Oct 23 '24 12:10 Wumpf

Is it possible to force Egui/eframe with wgpu to use xwayland as a test? Some environment variable perhaps?

Also, vkcube and glxgears both work fine under Wayland with both Intel and nvidia graphics. This indicates to me that both basic platform APIs work (at least to some extent). So it seems like the issue could be on the wgpu side.

VorpalBlade avatar Oct 23 '24 12:10 VorpalBlade

Hmm yeah then it is probably something that wgpu could do different. There's unfortunately quite many wayland issues there that are waiting for contributors to look into (the maintainers either don't have local repro cases (that includes myself) or no high priority to look into these (most of the time both)).

You could try with unset WAYLAND_DISPLAY and see if that makes a difference

Wumpf avatar Oct 23 '24 12:10 Wumpf

So uh, tried this again. It isn't happening any more (at least in hybrid mode, with and without prime-run, I will reboot to pure Intel and see if it happens there).

Though according to nvidia-smi in hybrid mode without prime-run the WGPU build is still selecting the nVidia GPU. That sounds like a bug (the glow build respects the environment variables prime-run sets). What a mess (and I don't know if this is a nvidia, mesa or wgpu bug).

As I'm on Arch Linux (which is rolling release) that could be from some update or other. In this case the only difference I can find is that I'm now on KDE Plasma 6.2.1 and Kernel 6.11.3. Mesa is the same version.

I did not note down the nvidia driver version before, but now it is 560.35.03-16.

VorpalBlade avatar Oct 23 '24 15:10 VorpalBlade

Unsetting WAYLAND_DISPLAY does not make the program use X for some reason (program is not listed in output of xlsclients which some other programs are). No idea how that works.

Building eframe without the wayland feature disabled doesn't make it use X11 either (huh?).

VorpalBlade avatar Oct 23 '24 15:10 VorpalBlade

Aha, in pure Intel mode it still fails. That is interesting. If WGPU incorrectly uses the nVidia GPU when it is not supposed to (as indicated above, in hybrid mode) that could definitely cause issues.

As the programs exits too quickly, it is hard to know. I tried to set a breakpoint to where it crashes and use nvidia-smi to see if anything was using the nVidia GPU at that point, but nvidia-smi comes up blank (so unclear).

However, if I run vkcube while booted into pure Intel mode, it does select the nvidia GPU by default, and manages to run on it somehow. nvidia-smi reports that. For vkcube you can override this with --gpu_number 0. I can't spot any way to force one GPU or the other for eframe + WGPU though? Maybe this field has something but the link to the actual type is broken (goes to a page reading "docs.rs failed to build egui-wgpu-0.29.1")

VorpalBlade avatar Oct 23 '24 15:10 VorpalBlade

Huh, strange why would docs fail for 0.29 Oo. They're up for 0.28 and the struct hasn't changed. Yes, indeed you should be able to adjust which gpu is choosen by changing the power_preference. To figure out more about the device selection process you may also want to run with RUST_LOG=trace

Wumpf avatar Oct 24 '24 08:10 Wumpf

Docs were fixed by this: https://github.com/emilk/egui/pull/5204

But we'd need to make a new patch release for the docs to show up

lucasmerlin avatar Oct 24 '24 08:10 lucasmerlin

Setting WGPU_BACKEND=opengl works around this issue. So it is an issue with vulkan + wgpu + some not yet clear combo of mesa/kernel/PRIME/nvidia.

There should be a way (either automatically by egui/eframe or by the application) to fall back to opengl if vulkan isn't working. Possibly this also means being able to fall back to glow if wgpu isn't working and you compiled in support for both.

A prerequisite for this is to not panic though (I would rather not mess around with catch_unwind, I believe it is generally a bad idea to do so).

Yes, indeed you should be able to adjust which gpu is choosen by changing the power_preference.

I will try to look into that soon, I'm currently dealing with a rather nasty cold, so it may take a few days.

VorpalBlade avatar Oct 24 '24 09:10 VorpalBlade

Yeah I think that "this surface doesn't have any formats" should be an exclusion criteirum for an adapter. That ofc still leaves the separate issue of the surface mysteriously not advertising any formats. I think this should actually already on the wgpu level within its "compatible surface" check, but we should be able to do this on within egui-wgpu in addition to getting a patch upstream 🤔

Wumpf avatar Oct 24 '24 11:10 Wumpf

Unfortunately WGPU_POWER_PREF (the environment variable variant of this) has absolutely no effect regardless of the value it is set to:

  • In Intel mode it always crashes.
  • In hybrid mode it always uses the nvidia GPU.

I have not tested messing with this programatically.

VorpalBlade avatar Oct 24 '24 15:10 VorpalBlade

for reference, found this issue on egl-wayland today which might be related. However, the user there reports that glxgears has the issue as well which wasn't the case for you 🤔 https://github.com/NVIDIA/egl-wayland/issues/96

Wumpf avatar Oct 24 '24 17:10 Wumpf

This probably relevant fix landed in wgpu 23.0.1: https://github.com/gfx-rs/wgpu/pull/6510 this fixes vulkan sometimes incorrectly being identified as a viable adapter

we have to update wgpu in the egui lock file as well for this to take effect on the egui demo

there are ofc two remaining issues:

  • egui shouldn't crash in the first place here - replace except with error
  • why is vulkan not a viable adapter here, something else is likely wrong as well

Wumpf avatar Dec 04 '24 15:12 Wumpf

wgpu 23.0.1 is now on egui master branch. @VorpalBlade could you please check if that makes any difference for you?

Wumpf avatar Dec 04 '24 16:12 Wumpf

I had time to test it today, using commit 13352d60 I enabled the wgpu feature and ran the hello world demo. (I think this is what I did last time, but it has been a while.)

It appears to work fine. I don't know for sure how to tell if it uses OpenGL or Vulkan though. But this seems to indicate GLES?

❯ RUST_LOG=warn cargo run 
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s
     Running `/home/arvid/src/egui/target/debug/hello_world`
[2024-12-09T21:58:21Z WARN  wgpu_hal::vulkan::instance] InstanceFlags::VALIDATION requested, but unable to find layer: VK_LAYER_KHRONOS_validation
[2024-12-09T21:58:21Z WARN  wgpu_hal::gles::egl] Re-initializing Gles context due to Wayland window
[2024-12-09T21:58:21Z WARN  wgpu_hal::gles::adapter] Detected skylake derivative running on mesa i915. Clears to srgb textures will use manual shader clears.
[2024-12-09T21:58:21Z WARN  wgpu_hal::gles::adapter] Detected skylake derivative running on mesa i915. Clears to srgb textures will use manual shader clears.

VorpalBlade avatar Dec 09 '24 21:12 VorpalBlade

nice! That's probably GLES: the way we run with wgpu here it tries through all adapters before it settles on one. If you run with RUST_LOG=debug it should show up somewhere more clearly

regardless let's keep this ticket open: egui still shouldn't panic on surface not supported also (harder and orthogonal) we still need to figure out why wgpu fails picking Vulkan in some cases where it evidently (== vkcube works) should work

Wumpf avatar Dec 10 '24 09:12 Wumpf

I'm also getting this error, sadly WGPU_BACKEND=opengl doesn't help. eframe = { version="0.31.0", features=["wayland", "x11", "accesskit", "default_fonts", "wgpu"], default-features = false }

Log output:

    Finished `dev` profile [optimized + debuginfo] target(s) in 0.34s
     Running `target/debug/gui`
2025-05-27T18:36:26.932584Z DEBUG eframe: Using the wgpu renderer    
2025-05-27T18:36:26.941906Z TRACE winit::EventLoopBuilder::build: polling::epoll: created eventfd for notifier
2025-05-27T18:36:26.941980Z TRACE winit::EventLoopBuilder::build: polling::epoll: new epoll_fd=4 notifier=EventFd(OwnedFd { fd: 5 })
2025-05-27T18:36:26.942064Z DEBUG winit::EventLoopBuilder::build: sctk: Bound new global [59] wl_output v4    
2025-05-27T18:36:26.942089Z DEBUG winit::EventLoopBuilder::build: sctk: Bound new global [31] zxdg_output_manager_v1 v3    
2025-05-27T18:36:26.942132Z DEBUG winit::EventLoopBuilder::build: sctk: Bound new global [10] wl_seat v7    
2025-05-27T18:36:26.947220Z DEBUG winit::EventLoopBuilder::build: sctk: Bound new global [16] wp_cursor_shape_manager_v1 v1    
2025-05-27T18:36:26.947272Z DEBUG winit::EventLoopBuilder::build: sctk: supported wl_shm format Argb8888    
2025-05-27T18:36:26.947284Z DEBUG winit::EventLoopBuilder::build: sctk: supported wl_shm format Xrgb8888    
2025-05-27T18:36:26.947293Z DEBUG winit::EventLoopBuilder::build: sctk: supported wl_shm format Argb2101010    
2025-05-27T18:36:26.947303Z DEBUG winit::EventLoopBuilder::build: sctk: supported wl_shm format Xrgb2101010    
2025-05-27T18:36:26.947312Z DEBUG winit::EventLoopBuilder::build: sctk: supported wl_shm format Abgr2101010    
2025-05-27T18:36:26.947320Z DEBUG winit::EventLoopBuilder::build: sctk: supported wl_shm format Xbgr2101010    
2025-05-27T18:36:26.947328Z DEBUG winit::EventLoopBuilder::build: sctk: supported wl_shm format Abgr16161616    
2025-05-27T18:36:26.947336Z DEBUG winit::EventLoopBuilder::build: sctk: supported wl_shm format Xbgr16161616    
2025-05-27T18:36:26.947344Z DEBUG winit::EventLoopBuilder::build: sctk: supported wl_shm format Bgr888    
2025-05-27T18:36:26.947352Z DEBUG winit::EventLoopBuilder::build: sctk: supported wl_shm format Rgb888    
2025-05-27T18:36:26.947370Z TRACE winit::EventLoopBuilder::build: calloop::loop_logic: [calloop] Inserting new source #0    
2025-05-27T18:36:26.947419Z TRACE winit::EventLoopBuilder::build: calloop::loop_logic: [calloop] Inserting new source #1    
2025-05-27T18:36:26.947442Z TRACE winit::EventLoopBuilder::build: calloop::loop_logic: [calloop] Inserting new source #2    
2025-05-27T18:36:26.947471Z TRACE eframe::native::run: Entering the winit event loop (run_app_on_demand)…    
2025-05-27T18:36:26.947487Z DEBUG eframe::native::wgpu_integration: Event::Resumed    
2025-05-27T18:36:26.953639Z DEBUG egui_wgpu::setup: Creating wgpu instance with backends Backends(GL)    
2025-05-27T18:36:26.953693Z TRACE wgpu_core::instance: Instance::new: backend Vulkan not requested    
2025-05-27T18:36:26.978736Z DEBUG wgpu_hal::gles::egl: Client extensions: [
    "EGL_EXT_device_base",
    "EGL_EXT_device_enumeration",
    "EGL_EXT_device_query",
    "EGL_EXT_platform_base",
    "EGL_KHR_client_get_all_proc_addresses",
    "EGL_EXT_client_extensions",
    "EGL_KHR_debug",
    "EGL_EXT_platform_device",
    "EGL_EXT_explicit_device",
    "EGL_EXT_platform_wayland",
    "EGL_KHR_platform_wayland",
    "EGL_EXT_platform_x11",
    "EGL_KHR_platform_x11",
    "EGL_EXT_platform_xcb",
    "EGL_MESA_platform_gbm",
    "EGL_KHR_platform_gbm",
    "EGL_MESA_platform_surfaceless",
]    
2025-05-27T18:36:26.978805Z DEBUG wgpu_hal::gles::egl: Loading Wayland library to get the current display    
2025-05-27T18:36:26.979198Z DEBUG wgpu_hal::gles::egl: Loading X11 library to get the current display    
2025-05-27T18:36:26.980127Z  INFO wgpu_hal::gles::egl: Using Wayland platform    
2025-05-27T18:36:26.980157Z DEBUG wgpu_hal::gles::egl: Enabling EGL debug output    
2025-05-27T18:36:27.003656Z DEBUG wgpu_hal::gles::egl: Display vendor "Mesa Project", version (1, 5)    
2025-05-27T18:36:27.003709Z DEBUG wgpu_hal::gles::egl: Display extensions: [
    "EGL_ANDROID_blob_cache",
    "EGL_ANDROID_native_fence_sync",
    "EGL_EXT_buffer_age",
    "EGL_EXT_config_select_group",
    "EGL_EXT_create_context_robustness",
    "EGL_EXT_image_dma_buf_import",
    "EGL_EXT_image_dma_buf_import_modifiers",
    "EGL_EXT_present_opaque",
    "EGL_EXT_query_reset_notification_strategy",
    "EGL_EXT_surface_compression",
    "EGL_EXT_swap_buffers_with_damage",
    "EGL_IMG_context_priority",
    "EGL_KHR_cl_event2",
    "EGL_KHR_config_attribs",
    "EGL_KHR_context_flush_control",
    "EGL_KHR_create_context",
    "EGL_KHR_create_context_no_error",
    "EGL_KHR_fence_sync",
    "EGL_KHR_get_all_proc_addresses",
    "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_base",
    "EGL_KHR_no_config_context",
    "EGL_KHR_reusable_sync",
    "EGL_KHR_surfaceless_context",
    "EGL_KHR_swap_buffers_with_damage",
    "EGL_EXT_pixel_format_float",
    "EGL_KHR_wait_sync",
    "EGL_MESA_configless_context",
    "EGL_MESA_drm_image",
    "EGL_MESA_gl_interop",
    "EGL_MESA_image_dma_buf_export",
    "EGL_MESA_query_driver",
    "EGL_MESA_x11_native_visual_id",
    "EGL_WL_bind_wayland_display",
    "EGL_WL_create_wayland_buffer_from_image",
]    
2025-05-27T18:36:27.003777Z DEBUG wgpu_hal::gles::egl:  EGL surface: +srgb    
2025-05-27T18:36:27.003786Z TRACE wgpu_hal::gles::egl: Configurations:    
2025-05-27T18:36:27.003805Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=2    
2025-05-27T18:36:27.003820Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=2    
2025-05-27T18:36:27.003834Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=2    
2025-05-27T18:36:27.003846Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=2    
2025-05-27T18:36:27.003858Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=2    
2025-05-27T18:36:27.003871Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=2    
2025-05-27T18:36:27.003881Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=2    
2025-05-27T18:36:27.003892Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=2    
2025-05-27T18:36:27.003904Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=2    
2025-05-27T18:36:27.003915Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.003926Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.003938Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.003950Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.003962Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.003974Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.003986Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.003998Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004010Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004022Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=8    
2025-05-27T18:36:27.004033Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=8    
2025-05-27T18:36:27.004045Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=8    
2025-05-27T18:36:27.004057Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=8    
2025-05-27T18:36:27.004069Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=8    
2025-05-27T18:36:27.004082Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=8    
2025-05-27T18:36:27.004094Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=8    
2025-05-27T18:36:27.004106Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=8    
2025-05-27T18:36:27.004118Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=8    
2025-05-27T18:36:27.004132Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004145Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004156Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004168Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004180Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004193Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004205Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004218Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004230Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004242Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004255Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004267Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004280Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=16    
2025-05-27T18:36:27.004292Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=16    
2025-05-27T18:36:27.004305Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=16    
2025-05-27T18:36:27.004317Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=16    
2025-05-27T18:36:27.004329Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=16    
2025-05-27T18:36:27.004340Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=16    
2025-05-27T18:36:27.004351Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=16    
2025-05-27T18:36:27.004364Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=16    
2025-05-27T18:36:27.004376Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=16    
2025-05-27T18:36:27.004389Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004402Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004414Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004426Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004439Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004452Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004464Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004476Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004489Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=0    
2025-05-27T18:36:27.004502Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=1    
2025-05-27T18:36:27.004515Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=1    
2025-05-27T18:36:27.004528Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=1    
2025-05-27T18:36:27.004540Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=4    
2025-05-27T18:36:27.004553Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=4    
2025-05-27T18:36:27.004566Z TRACE wgpu_hal::gles::egl:  CONFORMANT=0x4D, RENDERABLE=0x4D, NATIVE_RENDERABLE=0x1, SURFACE_TYPE=0x4, ALPHA_SIZE=4    
2025-05-27T18:36:27.004576Z DEBUG wgpu_hal::gles::egl:  Trying native-render    
2025-05-27T18:36:27.004612Z DEBUG wgpu_hal::gles::egl:  EGL context: +debug    
2025-05-27T18:36:27.004622Z DEBUG wgpu_hal::gles::egl:  EGL context: +robust access    
2025-05-27T18:36:27.004639Z ERROR wgpu_hal::gles::egl: EGL 'eglCreateContext' code 0x3009: eglCreateContext    
2025-05-27T18:36:27.004652Z ERROR wgpu_hal::gles::egl: EGL 'eglCreateContext' code 0x3009: eglCreateContext    
2025-05-27T18:36:27.004998Z DEBUG wgpu_core::instance: Instance::new: failed to create Gl backend: InstanceError { message: "unable to create OpenGL or GLES 3.x context", source: Some(BadMatch) }    
2025-05-27T18:36:27.005087Z TRACE wgpu_core::global: Global::drop    
2025-05-27T18:36:27.005132Z TRACE eframe::native::run: event_result: Err(Wgpu(CreateSurfaceError(CreateSurfaceError { inner: Hal(FailedToCreateSurfaceForAnyBackend({})) })))    
2025-05-27T18:36:27.005147Z ERROR eframe::native::run: Exiting because of error: WGPU error: Failed to create surface for any enabled backend: {}    
2025-05-27T18:36:27.005157Z DEBUG eframe::native::run: Asking to exit event loop…    
2025-05-27T18:36:27.005174Z TRACE eframe::native::run: event_result: Ok(Wait)    
2025-05-27T18:36:27.005184Z TRACE eframe::native::run: event_result: Ok(Wait)    
2025-05-27T18:36:27.005223Z TRACE eframe::native::run: event_result: Ok(Wait)    
2025-05-27T18:36:27.005233Z DEBUG eframe::native::run: Received Event::LoopExiting - saving app state…    
2025-05-27T18:36:27.006132Z DEBUG eframe::native::run: eframe window closed    

thread 'main' panicked at crates/gui/src/main.rs:19:6:
Failed starting gui: Wgpu(CreateSurfaceError(CreateSurfaceError { inner: Hal(FailedToCreateSurfaceForAnyBackend({})) }))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

thread 'main' panicked at /home/kerle/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sharded-slab-0.1.7/src/shard.rs:295:9:
Thread count overflowed the configured max count. Thread index = 18446744073709551615, max threads = 4096.

thread 'main' panicked at /home/kerle/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sharded-slab-0.1.7/src/shard.rs:295:9:
Thread count overflowed the configured max count. Thread index = 18446744073709551615, max threads = 4096.
stack backtrace:
   0:     0x557d3174cb62 - std::backtrace_rs::backtrace::libunwind::trace::hfa739835f7f2a685
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
   1:     0x557d3174cb62 - std::backtrace_rs::backtrace::trace_unsynchronized::h67951c4e83116592
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
   2:     0x557d3174cb62 - std::sys::backtrace::_print_fmt::h7dcf2f36775e275e
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/std/src/sys/backtrace.rs:66:9
   3:     0x557d3174cb62 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h3b17f03bfda6667a
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/std/src/sys/backtrace.rs:39:26
   4:     0x557d3177a033 - core::fmt::rt::Argument::fmt::ha8b346e5bb0a3a24
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/fmt/rt.rs:173:76
   5:     0x557d3177a033 - core::fmt::write::hc9b0f8a9fc12f427
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/fmt/mod.rs:1446:25
   6:     0x557d31747bf3 - std::io::default_write_fmt::hcff395632d6d23c5
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/std/src/io/mod.rs:639:11
   7:     0x557d31747bf3 - std::io::Write::write_fmt::h3527c8b296dc0f02
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/std/src/io/mod.rs:1914:13
   8:     0x557d3174c9b2 - std::sys::backtrace::BacktraceLock::print::hd36278a8c5cab9b5
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/std/src/sys/backtrace.rs:42:9
   9:     0x557d3174dda2 - std::panicking::default_hook::{{closure}}::h7a69b161a35337b9
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/std/src/panicking.rs:300:27
  10:     0x557d3174dba5 - std::panicking::default_hook::h2e367b1c9f07bdf3
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/std/src/panicking.rs:327:9
  11:     0x557d3174e7c2 - std::panicking::rust_panic_with_hook::h2123f995843b7dd0
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/std/src/panicking.rs:833:13
  12:     0x557d3174e54a - std::panicking::begin_panic_handler::{{closure}}::hc5fde0e30a8e7300
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/std/src/panicking.rs:706:13
  13:     0x557d3174d069 - std::sys::backtrace::__rust_end_short_backtrace::h69bf0e3bdccf0b7f
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/std/src/sys/backtrace.rs:168:18
  14:     0x557d3174e1dd - __rustc[53087dda3a4e2ae6]::rust_begin_unwind
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/std/src/panicking.rs:697:5
  15:     0x557d31776f30 - core::panicking::panic_fmt::had792022e1f8a90e
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/panicking.rs:75:14
  16:     0x557d30a9f2b9 - sharded_slab::shard::Array<T,C>::current::h7424f2019c7abacc
                               at /home/kerle/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sharded-slab-0.1.7/src/shard.rs:295:9
  17:     0x557d30a9f2b9 - sharded_slab::pool::Pool<T,C>::create::h0004020a38f4a60d
                               at /home/kerle/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sharded-slab-0.1.7/src/pool.rs:452:40
  18:     0x557d30a9f2b9 - sharded_slab::pool::Pool<T,C>::create_with::h5f220be7ea38bc63
                               at /home/kerle/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sharded-slab-0.1.7/src/pool.rs:656:30
  19:     0x557d30aa2f04 - <tracing_subscriber::registry::sharded::Registry as tracing_core::subscriber::Subscriber>::new_span::h28530e1ac8ae1542
                               at /home/kerle/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-subscriber-0.3.19/src/registry/sharded.rs:252:14
  20:     0x557d30aa1809 - <tracing_subscriber::layer::layered::Layered<L,S> as tracing_core::subscriber::Subscriber>::new_span::h1a3b7b471b0878a5
                               at /home/kerle/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-subscriber-0.3.19/src/layer/layered.rs:126:29
  21:     0x557d30aa1809 - <tracing_subscriber::layer::layered::Layered<L,S> as tracing_core::subscriber::Subscriber>::new_span::haa52d2075ad7e14d
                               at /home/kerle/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-subscriber-0.3.19/src/layer/layered.rs:126:29
  22:     0x557d30aa1809 - <tracing_subscriber::fmt::Subscriber<N,E,F,W> as tracing_core::subscriber::Subscriber>::new_span::h6401d5650bcc19a7
                               at /home/kerle/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-subscriber-0.3.19/src/fmt/mod.rs:388:20
  23:     0x557d3131eab3 - tracing_core::dispatcher::get_default::h20377fb8864cbc81
  24:     0x557d3131eab3 - tracing::span::Span::new::hc2397cf28fab5bcf
                               at /home/kerle/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.41/src/span.rs:437:9
  25:     0x557d312fb825 - polling::epoll::Poller::delete::h9fb047a54544901f
                               at /home/kerle/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/polling-3.7.4/src/epoll.rs:145:20
  26:     0x557d30dd7a55 - polling::Poller::delete::h1182a53e0a6d8c6b
                               at /home/kerle/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/polling-3.7.4/src/lib.rs:689:21
  27:     0x557d30dd7a55 - <calloop::sources::generic::Generic<F,E> as core::ops::drop::Drop>::drop::h8ac592a91ce2c884
                               at /home/kerle/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/calloop-0.13.0/src/sources/generic.rs:255:18
  28:     0x557d30d86c9c - core::ptr::drop_in_place<calloop::sources::generic::Generic<calloop::sources::ping::eventfd::ArcAsFd>>::h9fe1bfb200aa6e9d
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  29:     0x557d30d86c9c - core::ptr::drop_in_place<calloop::sources::ping::eventfd::PingSource>::h2e7d77f1e79b3784
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  30:     0x557d30d86b49 - core::ptr::drop_in_place<calloop::sources::channel::Channel<eframe::native::winit_integration::UserEvent>>::h3f418f1da1e9a763
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  31:     0x557d30d86b49 - core::ptr::drop_in_place<calloop::sources::DispatcherInner<calloop::sources::channel::Channel<eframe::native::winit_integration::UserEvent>,winit::platform_impl::linux::wayland::event_loop::EventLoop<eframe::native::winit_integration::UserEvent>::new::{{closure}}>>::hd5a7f8af274c9e5f
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  32:     0x557d30d86b49 - core::ptr::drop_in_place<core::cell::UnsafeCell<calloop::sources::DispatcherInner<calloop::sources::channel::Channel<eframe::native::winit_integration::UserEvent>,winit::platform_impl::linux::wayland::event_loop::EventLoop<eframe::native::winit_integration::UserEvent>::new::{{closure}}>>>::hcf4015d6277c0b5a
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  33:     0x557d30d86b49 - core::ptr::drop_in_place<core::cell::RefCell<calloop::sources::DispatcherInner<calloop::sources::channel::Channel<eframe::native::winit_integration::UserEvent>,winit::platform_impl::linux::wayland::event_loop::EventLoop<eframe::native::winit_integration::UserEvent>::new::{{closure}}>>>::h86aacdc96152d2b3
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  34:     0x557d311f2f51 - core::ptr::drop_in_place<dyn calloop::sources::EventDispatcher<winit::platform_impl::linux::wayland::state::WinitState>>::h50cf60b9715e7e78
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  35:     0x557d311f2f51 - alloc::rc::Rc<T,A>::drop_slow::hbbc875ae1d8b3560
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/alloc/src/rc.rs:388:13
  36:     0x557d311ee81c - <alloc::rc::Rc<T,A> as core::ops::drop::Drop>::drop::hdeee016dadd43bfc
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/alloc/src/rc.rs:2312:22
  37:     0x557d311ee81c - core::ptr::drop_in_place<alloc::rc::Rc<dyn calloop::sources::EventDispatcher<winit::platform_impl::linux::wayland::state::WinitState>>>::hf8eea067aab0e000
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  38:     0x557d311ee81c - core::ptr::drop_in_place<core::option::Option<alloc::rc::Rc<dyn calloop::sources::EventDispatcher<winit::platform_impl::linux::wayland::state::WinitState>>>>::h85279a9209838afb
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  39:     0x557d311ee81c - core::ptr::drop_in_place<calloop::list::SourceEntry<winit::platform_impl::linux::wayland::state::WinitState>>::h857bc108fb8c5551
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  40:     0x557d311ee81c - core::ptr::drop_in_place<[calloop::list::SourceEntry<winit::platform_impl::linux::wayland::state::WinitState>]>::hb77303e9ff921571
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  41:     0x557d311ee81c - <alloc::vec::Vec<T,A> as core::ops::drop::Drop>::drop::hc9bf65923845fe97
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/alloc/src/vec/mod.rs:3804:13
  42:     0x557d311f2c02 - core::ptr::drop_in_place<alloc::vec::Vec<calloop::list::SourceEntry<winit::platform_impl::linux::wayland::state::WinitState>>>::hafc9b931c93346db
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  43:     0x557d311f2c02 - core::ptr::drop_in_place<calloop::list::SourceList<winit::platform_impl::linux::wayland::state::WinitState>>::ha8ce1d0b3ef59345
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  44:     0x557d311f2c02 - core::ptr::drop_in_place<core::cell::UnsafeCell<calloop::list::SourceList<winit::platform_impl::linux::wayland::state::WinitState>>>::h4dc1b2bef9ab33f4
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  45:     0x557d311f2c02 - core::ptr::drop_in_place<core::cell::RefCell<calloop::list::SourceList<winit::platform_impl::linux::wayland::state::WinitState>>>::h4ae185dc7b9f7919
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  46:     0x557d311f2c02 - core::ptr::drop_in_place<calloop::loop_logic::LoopInner<winit::platform_impl::linux::wayland::state::WinitState>>::h62b85d6098ff1389
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  47:     0x557d311f2c02 - alloc::rc::Rc<T,A>::drop_slow::h03aeb88f4ed84529
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/alloc/src/rc.rs:388:13
  48:     0x557d30def50e - <alloc::rc::Rc<T,A> as core::ops::drop::Drop>::drop::h576014487c696d2f
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/alloc/src/rc.rs:2312:22
  49:     0x557d30def50e - core::ptr::drop_in_place<alloc::rc::Rc<calloop::loop_logic::LoopInner<winit::platform_impl::linux::wayland::state::WinitState>>>::h2158de39e5e29fc9
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  50:     0x557d30def50e - core::ptr::drop_in_place<calloop::loop_logic::LoopHandle<winit::platform_impl::linux::wayland::state::WinitState>>::h2b32ee075c4c39cb
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  51:     0x557d30def50e - core::ptr::drop_in_place<calloop::loop_logic::EventLoop<winit::platform_impl::linux::wayland::state::WinitState>>::ha506dd34addf3193
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  52:     0x557d30deebc9 - core::ptr::drop_in_place<winit::platform_impl::linux::wayland::event_loop::EventLoop<eframe::native::winit_integration::UserEvent>>::haac6098d77a089a4
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  53:     0x557d30deebc9 - core::ptr::drop_in_place<alloc::boxed::Box<winit::platform_impl::linux::wayland::event_loop::EventLoop<eframe::native::winit_integration::UserEvent>>>::h5446abdd84cce2c3
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  54:     0x557d30deebc9 - core::ptr::drop_in_place<winit::platform_impl::linux::EventLoop<eframe::native::winit_integration::UserEvent>>::h965e8762db1a3cb8
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  55:     0x557d30deebc9 - core::ptr::drop_in_place<winit::event_loop::EventLoop<eframe::native::winit_integration::UserEvent>>::h83d403df51ce198a
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  56:     0x557d30dee6b7 - core::ptr::drop_in_place<core::option::Option<winit::event_loop::EventLoop<eframe::native::winit_integration::UserEvent>>>::h48774ec798d83fe4
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  57:     0x557d30dee6b7 - core::ptr::drop_in_place<core::cell::UnsafeCell<core::option::Option<winit::event_loop::EventLoop<eframe::native::winit_integration::UserEvent>>>>::h910dfe74d53f53a0
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  58:     0x557d30dee6b7 - core::ptr::drop_in_place<core::cell::RefCell<core::option::Option<winit::event_loop::EventLoop<eframe::native::winit_integration::UserEvent>>>>::ha66629b53cd1fb6a
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/core/src/ptr/mod.rs:797:1
  59:     0x557d30dee6b7 - std::sys::thread_local::native::eager::destroy::{{closure}}::h7fc3aa3ee20fb5e9
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/std/src/sys/thread_local/native/eager.rs:70:13
  60:     0x557d30dee6b7 - std::sys::thread_local::abort_on_dtor_unwind::h82d8542646d8ff07
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/std/src/sys/thread_local/mod.rs:188:5
  61:     0x557d30dee6b7 - std::sys::thread_local::native::eager::destroy::hc367ba9d8b1f693d
                               at /rustc/283db70ace62a0ae704a624e43b68c2ee44b87a6/library/std/src/sys/thread_local/native/eager.rs:64:5
  62:     0x7f0709bea21f - __call_tls_dtors
  63:     0x7f0709bea664 - <unknown>
  64:     0x7f0709bea6be - exit
  65:     0x7f0709bd16bc - <unknown>
  66:     0x7f0709bd1769 - __libc_start_main
  67:     0x557d30a7d255 - _start
  68:                0x0 - <unknown>

thread 'main' panicked at library/core/src/panicking.rs:233:5:
panic in a destructor during cleanup
thread caused non-unwinding panic. aborting.
fish: Job 1, 'WGPU_BACKEND=opengl RUST_LOG=tr…' terminated by signal SIGABRT (Abort)

obsoleszenz avatar May 27 '25 18:05 obsoleszenz