Skip to content

Crash due to wgpu during startup on Wayland #14494

@umut-sahin

Description

@umut-sahin

Bevy version

v0.14.0

Relevant system information

  • Rust: v1.82.0-nightly (5f6b9a922 2024-07-19)
  • OS: Arch Linux with kernel v6.10.1-arch1-1

What you did

App::new().add_plugins(DefaultPlugins).run()

What went wrong

2024-07-26T21:40:39.730796Z ERROR wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)]
    setup_loader_term_phys_devs:  Failed to detect any valid GPUs in the current config    
2024-07-26T21:40:39.730807Z ERROR wgpu_hal::vulkan::instance:     objects: (type: INSTANCE, hndl: 0x5d5f80d8b9d0, name: ?)    
2024-07-26T21:40:39.730810Z ERROR wgpu_hal::vulkan::instance: enumerate_adapters: Initialization of an object has failed    
2024-07-26T21:40:39.731380Z  INFO bevy_render::renderer: AdapterInfo { name: "NV172", vendor: 65541, device: 0, device_type: Other, driver: "OpenGL", driver_info: "4.3 (Compatibility Profile) Mesa 24.1.4-arch1.2", backend: Gl }
2024-07-26T21:40:39.780780Z  WARN bevy_pbr::ssao: ScreenSpaceAmbientOcclusionPlugin not loaded. GPU lacks support: TextureFormat::R16Float does not support TextureUsages::STORAGE_BINDING.
2024-07-26T21:40:39.780925Z  INFO bevy_winit::system: Creating new window "App" (Entity { index: 0, generation: 1 })
2024-07-26T21:40:39.781217Z  INFO winit::platform_impl::linux::x11::window: Guessed window scale factor: 1
2024-07-26T21:40:39.791330Z ERROR wgpu_core::device::global: surface configuration failed: incompatible window kind    

Additional information

     description: VGA compatible controller
       product: GA102 [GeForce RTX 3080 Ti]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: /dev/fb0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=nouveau latency=0 mode=2560x1440 resolution=2560,1440 visual=truecolor xres=2560 yres=1440
       resources: iomemory:400-3ff iomemory:440-43f irq:243 memory:84000000-84ffffff memory:4000000000-43ffffffff memory:4400000000-4401ffffff ioport:5000(size=128) memory:85000000-8507ffff

Let me know if anything else is needed!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorC-StartupA crash that occurs when first attempting to run a Bevy appO-LinuxSpecific to the Linux desktop operating systemO-VulkanSpecific to the Vulkan render APIP-CrashA sudden unexpected crash

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions