Open Will-Carson opened 2 months ago
I have tried 3 3d examples and all have segfaulted. Specifically I have tried 3d bloom, 3d shapes, and 3d scene. I should also note that this project works fine on my other machine.
Did you mean bevy 0.14?
Try running a bunch of the wgpu examples and see if the issue happens there https://github.com/gfx-rs/wgpu/tree/trunk/examples.
Bevy version
0.15
Relevant system information
Rust version: cargo 1.80.1 (376290515 2024-07-16) OS: Windows 11 Business GPU: AMD Radeon 780M
What you did
I ran the example
cargo run --example 3d_shapes
What went wrong
I expected not to segfault. Instead I segfaulted.
Additional information
All error text:
2024-09-05T00:30:38.510611Z INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Windows 11 Pro", kernel: "22631", cpu: "AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics", core_count: "8", memory: "30.7 GiB" } 2024-09-05T00:30:38.744435Z INFO bevy_render::renderer: AdapterInfo { name: "AMD Radeon(TM) 780M", vendor: 4098, device: 5567, device_type: IntegratedGpu, driver: "AMD proprietary driver", driver_info: "23.20.48.10 (LLPC)", backend: Vulkan } 2024-09-05T00:30:39.649581Z INFO bevy_winit::system: Creating new window "App" (0v1#4294967296) 2024-09-05T00:30:39.943042Z ERROR wgpu_hal::auxil::dxgi::exception: ID3D12CommandQueue::ExecuteCommandLists: Using ClearRenderTargetView on Command List (0x000001C6EC93EC80:'Unnamed ID3D12GraphicsCommandList Object'): Resource state (0x5A37DA70: D3D12_RESOURCE_STATE_[COMMON|PRESENT]) of resource (0x000001C6EC93A090:'Unnamed ID3D12Resource Object') (subresource: 0) is invalid for use as a render target. Expected State Bits (all): 0x5A37DA50: D3D12_RESOURCE_STATE_RENDER_TARGET, Actual State: 0x5A37DA30: D3D12_RESOURCE_STATE_[COMMON|PRESENT], Missing State: 0x4: D3D12_RESOURCE_STATE_RENDER_TARGET. [ EXECUTION ERROR #538: INVALID_SUBRESOURCE_STATE] error: process didn't exit successfully:
target\debug\examples\3d_shapes.exe(exit code: 0xc0000005, STATUS_ACCESS_VIOLATION) Segmentation fault