ID3D12CommandQueue errors cause blank screen and error spam
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
Bevy version: 0.14.1
Relevant system information: Windows 11 Laptop with Ryzen 7 7840HS CPU, 780M intergrated graphics and 7700S GPU
If you cannot get Bevy to build or run on your machine, please include:
cargo 1.80.1 (376290515 2024-07-16)
OS Name: Microsoft Windows 11 Pro
Version: 10.0.22631 Build 22631 (23H2)
If your bug is rendering-related, copy the adapter info that appears when you run Bevy.
AdapterInfo { name: "AMD Radeon(TM) RX 7700S", vendor: 4098, device: 29824, device_type: DiscreteGpu, driver: "AMD proprietary driver", driver_info: "23.40.18.02 (LLPC)", backend: Vulkan }
Here is the code:
```rs
use bevy::prelude::*;
struct Graph3DPlugin;
#[derive(Resource)]
struct Frames(u32);
impl Plugin for Graph3DPlugin {
fn build(&self, app: &mut App) {
app.insert_resource(Frames(0))
.add_systems(Update, exit_system);
}
}
fn main() {
App::new()
.add_plugins((DefaultPlugins, Graph3DPlugin))
.run();
}
fn exit_system(
mut app_exit_events: ResMut>,
mut frames: ResMut,
) {
frames.0 += 1;
if frames.0 == 3 {
app_exit_events.send(AppExit::Success);
}
}
```
And here is the error:
https://pastebin.com/bxT4nCTH
P.S. The reason it exits after 3 frames is because otherwise the error spam would fill the console up so much that I couldn't copy the adapter info.
I also tried a bunch of wgpu examples including halmark and they worked just fine: https://github.com/gfx-rs/wgpu/tree/trunk/wgpu-hal
## What went wrong
I wanted to learn how to make a 3D graph, so I started out with the 3D Shapes WebGL example and removed all objects except the cube. It worked fine on my PC, but when I moved the project to my laptop everything started to break. I got a blank screen with a bunch of errors spammed in the console and it would close after a few frames. I then removed everything except the boilerplate code for a new bevy project and it stopped closing on its own but continued spamming errors.
Bevy is unusable for me right now, and I would really like to do some coding so any help would be appreciated!
Contributor guide
Assessment
This issue has not been assessed yet.