Closed C-Entropy closed 3 days ago
The release number or commit hash of the version you're using.
git log -1 commit 8bbc6b0139974efe7ebe571b1a6a6d488cda0385 (HEAD -> main, origin/main, origin/HEAD)
If you cannot get Bevy to build or run on your machine, please include:
the Rust version you're using (you can get this by running cargo --version)
cargo --version
cargo --version cargo 1.82.0 (8f40fc59f 2024-08-21)
uname -a Linux Gentoo 6.12.0-gentoo #1 SMP PREEMPT_RT Fri Nov 22 17:12:16 CST 2024 x86_64 AMD Ryzen 9 5900HX with Radeon Graphics AuthenticAMD GNU/Linux
If your bug is rendering-related, copy the adapter info that appears when you run Bevy.
INFO bevy_render::renderer: AdapterInfo { name: "AMD Radeon RX 6800M", vendor: 4098, device: 29663, device_type: DiscreteGpu, driver: "AMD proprietary driver", driver_info: "(AMD proprietary shader compiler)", backend: Vulkan }
You should also consider testing the examples of our upstream dependencies to help isolate any setup-specific issue:
wgpu
winit
gilrs
cargo run --example breakout
Describe how you arrived at the problem. If you can, consider providing a code snippet or link.
If it's not clear, break this out into:
Compiling bevy v0.15.0-dev (/home/nil/git-clone/bevy) Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.16s Running `target/debug/examples/breakout` 2024-11-22T14:53:52.379126Z INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux 2.17 Gentoo", kernel: "6.12.0-gentoo", cpu: "AMD Ryzen 9 5900HX with Radeon Graphics", core_count: "8", memory: "30.8 GiB" } 2024-11-22T14:53:52.385626Z WARN winit::platform_impl::linux::x11::xdisplay: error setting XSETTINGS; Xft options won't reload automatically 2024-11-22T14:53:52.465824Z INFO bevy_render::renderer: AdapterInfo { name: "AMD Radeon RX 6800M", vendor: 4098, device: 29663, device_type: DiscreteGpu, driver: "AMD proprietary driver", driver_info: "(AMD proprietary shader compiler)", backend: Vulkan } ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.13/work/alsa-lib-1.2.13/src/pcm/pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave 2024-11-22T14:53:53.009458Z INFO bevy_winit::system: Creating new window "App" (0v1#4294967296) 2024-11-22T14:53:53.009561Z INFO winit::platform_impl::linux::x11::window: Guessed window scale factor: 1.0833333333333333 2024-11-22T14:53:53.011154Z INFO breakout::stepping: Bevy was compiled without stepping support. Run with `--features=bevy_debug_stepping` to enable stepping. 2024-11-22T14:53:53.183836Z ERROR wgpu_hal::vulkan::instance: VALIDATION [VUID-vkGetPhysicalDeviceSurfaceSupportKHR-surface-parameter (0x801f247e)] Validation Error: [ VUID-vkGetPhysicalDeviceSurfaceSupportKHR-surface-parameter ] Object 0: handle = 0x5608658eb960, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x801f247e | vkGetPhysicalDeviceSurfaceSupportKHR(): surface Invalid VkSurfaceKHR Object 0x7fc3dc0064f0. The Vulkan spec states: surface must be a valid VkSurfaceKHR handle (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkGetPhysicalDeviceSurfaceSupportKHR-surface-parameter) 2024-11-22T14:53:53.183880Z ERROR wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x5608658eb960, name: ?) 2024-11-22T14:53:53.183914Z ERROR wgpu_hal::vulkan::instance: VALIDATION [UNASSIGNED-Threading-Info (0x5d6b67e2)] Validation Error: [ UNASSIGNED-Threading-Info ] Object 0: handle = 0x7fc3dc0064f0, type = VK_OBJECT_TYPE_SURFACE_KHR; | MessageID = 0x5d6b67e2 | vkGetPhysicalDeviceSurfaceSupportKHR(): Couldn't find VkSurfaceKHR Object 0x7fc3dc0064f0. This should not happen and may indicate a bug in the application. 2024-11-22T14:53:53.183936Z ERROR wgpu_hal::vulkan::instance: objects: (type: SURFACE_KHR, hndl: 0x7fc3dc0064f0, name: ?) [1] 37995 segmentation fault (core dumped) cargo run --example breakout
Other information that can be used to further reproduce or isolate the problem. This commonly includes:
Update: can run with --features wayland. My desktop: Hyprland, with xwayland.
Rebuilt vulkan-layers wit X enabled, works fine now.
Bevy version
The release number or commit hash of the version you're using.
[Optional] Relevant system information
If you cannot get Bevy to build or run on your machine, please include:
the Rust version you're using (you can get this by running
cargo --version
)If your bug is rendering-related, copy the adapter info that appears when you run Bevy.
You should also consider testing the examples of our upstream dependencies to help isolate any setup-specific issue:
wgpu
for rendering problemswinit
for input and window managementgilrs
for gamepad inputsWhat you did
Describe how you arrived at the problem. If you can, consider providing a code snippet or link.
What went wrong
If it's not clear, break this out into:
Additional information
Other information that can be used to further reproduce or isolate the problem. This commonly includes: