Open KayZoka opened 2 days ago
Similar fault on wsl, updated from 0.14.0.
But with one more error after Validation Error
.
Code here
2024-12-01T09:05:00.878557Z WARN winit::platform_impl::platform::x11::xdisplay: error setting XSETTINGS; Xft options won't reload automatically
2024-12-01T09:05:01.066613Z INFO bevy_render::renderer: AdapterInfo { name: "D3D12 (AMD Radeon RX 6500 XT)", vendor: 0, device: 0, device_type: Other, driver: "", driver_info: "3.3 (Core Profi
le) Mesa 21.2.6", backend: Gl }
2024-12-01T09:05:01.182596Z WARN bevy_core_pipeline::oit::resolve: OrderIndependentTransparencyPlugin not loaded. GPU lacks support: DownlevelFlags::FRAGMENT_WRITABLE_STORAGE.
2024-12-01T09:05:01.186403Z WARN bevy_pbr::ssao: ScreenSpaceAmbientOcclusionPlugin not loaded. GPU lacks support: TextureFormat::R16Float does not support TextureUsages::STORAGE_BINDING.
2024-12-01T09:05:01.187737Z WARN winit::platform_impl::platform::x11::util::randr: XRandR reported that the display's 0mm in size, which is certifiably insane
2024-12-01T09:05:01.187895Z INFO bevy_winit::system: Creating new window "App" (0v1#4294967296)
2024-12-01T09:05:01.188015Z INFO winit::platform_impl::platform::x11::window: Guessed window scale factor: 1
2024-12-01T09:05:01.213635Z ERROR wgpu_core::device::global: surface configuration failed: incompatible window kind
thread 'Compute Task Pool (1)' panicked at /home/yuki/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-23.0.1/src/backend/wgpu_core.rs:719:18:
Error in Surface::configure: Validation Error
Caused by:
Invalid surface
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_render::view::window::create_surfaces`!
2024-12-01T09:05:01.265077Z ERROR wgpu_hal::gles: GLES: [API/Error] ID 1 : GL_INVALID_VALUE in glTexSubImage2D(yoffset 0 + height 560 > 160)
thread 'main' panicked at /home/yuki/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-23.0.1/src/device/resource.rs:185:14:
called `Option::unwrap()` on a `None` value
can you try by forcing the backend to not be OpenGL?
with WGPU_BACKEND=vulkan
or WGPU_BACKEND=dx12
I tried
.add_plugins(DefaultPlugins.set(RenderPlugin {
render_creation: RenderCreation::Automatic(WgpuSettings {
backends: Some(Backends::VULKAN),
..default()
}),
..default()
}))
and get a mess
two things to note from
AdapterInfo { name: "llvmpipe (LLVM 12.0.0, 256 bits)", vendor: 65541, device: 0, device_type: Cpu, driver: "llvmpipe", driver_info: "Me
sa 21.2.6 (LLVM 12.0.0)", backend: Vulkan }
AdapterInfo { name: "llvmpipe (LLVM 15.0.7, 256 bits)", vendor: 65541, device: 0, device_type: Cpu, driver: "llvmpipe", driver_info: "Mesa 24.2.7 - kisak-mesa PPA (LLVM 15.0.7)", backend: Vulkan }
it's possible the error about cmd_begin_debug_utils_label_ext
could go away in release mode, could you try?
With wsl distro updated, it will get Validation Error / Invalid surface
on 0.14.0 and The selected version doesn't support Features(DYNAMIC_ARRAY_SIZE)
on 0.15.0 by default (OpenGL).
I guess wgpu dropped support for some old things that caused this issue.
After update: Vulkan
will run but the content is scattered except when dragging the window. (Driver update fixed this)
Before and after update: DX12
cannot find gpu.
It maybe something wrong with the sub system.
it's possible the error about
cmd_begin_debug_utils_label_ext
could go away in release mode, could you try?
Cannot reproduce that since I updated my outdated wsl distro version.
AdapterInfo { name: "llvmpipe (LLVM 15.0.7, 256 bits)", vendor: 65541, device: 0, device_type: Cpu, driver: "llvmpipe", driver_info: "Mesa 23.2.1-1ubuntu3.1~22.04.2 (LLVM 15.0.7)", backend: Vulkan }
it's possible the error about
cmd_begin_debug_utils_label_ext
could go away in release mode, could you try?
Yes, in release mode this error does not occur
Bevy version
0.15.0
System information
cargo 1.83.0 (5ffbef321 2024-10-29) Fedora Linux 41 (Workstation Edition)
What you did
In src/main.rs:
What went wrong
Additional information
Graphics card: AMD Radeon R9 390 Video driver: amdgpu Vulkan runs fine WGPU examples run fine Winit examples run fine Bevy examples on
main
branch return the same error Bevy 0.13.2 runs fineSystemInfo says that I have 8 cores, but i have 16 IIRC
This reddit post says that it's probably weird Vulkan configuration, but everything except Bevy works fine