You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Pretty much all examples crash on swapchain creation, when running on wayland.
Repro steps
Just run one of the examples with graphical output on linux + wayland.
Expected vs observed behavior
I observe the following crash:
#0 0x00007ffff7fb69d4 in wl_proxy_get_version () from /usr/lib/libwayland-client.so
#1 0x00007ffff7190eca in ?? () from /usr/lib/libvulkan_radeon.so
#2 0x00007ffff71869cf in ?? () from /usr/lib/libvulkan_radeon.so
#3 0x00007ffff7aeb8ca in ?? () from /usr/lib/libvulkan.so.1
#4 0x00007fffea83887e in DispatchCreateSwapchainKHR (device=0x555557ce71a0, pCreateInfo=0x7fffffff9f20, pAllocator=0x0, pSwapchain=0x7fffffff9be8)
at /usr/src/debug/vulkan-validation-layers/Vulkan-ValidationLayers-sdk-1.3.250.0/layers/vulkan/generated/layer_chassis_dispatch.cpp:572
#5 0x00007fffea76f602 in vulkan_layer_chassis::CreateSwapchainKHR (device=0x555557ce71a0, pCreateInfo=0x7fffffff9f20, pAllocator=0x0, pSwapchain=0x7fffffff9be8)
at /usr/src/debug/vulkan-validation-layers/Vulkan-ValidationLayers-sdk-1.3.250.0/layers/vulkan/generated/chassis.cpp:5638
#6 0x000055555604789c in ash::extensions::khr::swapchain::Swapchain::create_swapchain (self=0x7fffffff9d30, create_info=0x7fffffff9f20, allocation_callbacks=...)
at /home/rruckerbauer/.cargo/registry/src/github.com-1ecc6299db9ec823/ash-0.37.3+1.3.251/src/extensions/khr/swapchain.rs:54
#7 0x0000555555ed4b62 in wgpu_hal::vulkan::Device::create_swapchain (self=0x555558053c20, surface=0x555557da14f0, config=0x7fffffffb760, provided_old_swapchain=...) at wgpu-hal/src/vulkan/device.rs:606
#8 0x0000555555ee4eb5 in wgpu_hal::vulkan::instance::{impl#5}::configure (self=0x555557da14f0, device=0x555558053c20, config=0x7fffffffb760) at wgpu-hal/src/vulkan/instance.rs:802
#9 0x0000555555a5ec82 in wgpu_core::global::Global<wgpu_core::identity::IdentityManagerFactory>::surface_configure<wgpu_core::identity::IdentityManagerFactory, wgpu_hal::vulkan::Api> (self=0x555557c12dc0,
surface_id=..., device_id=..., config=0x7fffffffc9d8) at wgpu-core/src/device/global.rs:2211
#10 0x0000555555a1195b in wgpu::backend::direct::{impl#7}::surface_configure (self=0x555557c12dc0, surface=0x7fffffffbe50, surface_data=0x555557c46bb0, device=0x7fffffffbe58, _device_data=0x5555580535c0,
config=0x7fffffffc9d8) at wgpu/src/backend/direct.rs:769
#11 0x0000555555aff167 in wgpu::context::{impl#5}::surface_configure<wgpu::backend::direct::Context> (self=0x555557c12dc0, surface=0x7fffffffd8e8, surface_data=..., device=0x7fffffffc240, device_data=...,
config=0x7fffffffc9d8) at wgpu/src/context.rs:2192
#12 0x00005555559ed4fc in wgpu::Surface::configure (self=0x7fffffffd8d8, device=0x7fffffffc230, config=0x7fffffffc9d8) at wgpu/src/lib.rs:4724
#13 0x00005555556f5b65 in hello_triangle::run::{async_fn#0} () at examples/hello-triangle/src/main.rs:83
#14 0x0000555555727f4c in core::future::from_generator::{impl#1}::poll<hello_triangle::run::{async_fn_env#0}> (self=..., cx=0x7fffffffcfc8)
at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/core/src/future/mod.rs:91
#15 0x000055555570877a in pollster::block_on<core::future::from_generator::GenFuture<hello_triangle::run::{async_fn_env#0}>> (fut=...)
at /home/rruckerbauer/.cargo/registry/src/github.com-1ecc6299db9ec823/pollster-0.3.0/src/lib.rs:128
#16 0x000055555574370a in hello_triangle::main () at examples/hello-triangle/src/main.rs:150
Good news, its a driver issue! I accidentally tested with the wrong applications (not using wayland). Seems like all my vulkan + wayland apps are broken.
Description
Pretty much all examples crash on swapchain creation, when running on wayland.
Repro steps
Just run one of the examples with graphical output on linux + wayland.
Expected vs observed behavior
I observe the following crash:
I expect no crash, and a working example.
Platform
The text was updated successfully, but these errors were encountered: