bevyengine / bevyengine/bevy

Broken rendering in examples on intel graphics

Open
#8,037 14 comments 0 reactions 0 assignees View on GitHub
A-Rendering C-Bug I-Regression
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

### Bevy version

v0.10.0

### [Optional] Relevant system information

The system is a Dell XPS 13 7390 2-in-1 running windows.

```
2023-03-11T05:22:43.409198Z INFO bevy_winit::system: Creating new window "Bevy App" (0v0)
2023-03-11T05:22:44.121756Z INFO bevy_render::renderer: AdapterInfo { name: "Intel(R) Iris(R) Plus Graphics", vendor: 32902, device: 35410, device_type: IntegratedGpu, driver: "Intel Corporation", driver_info: "Intel driver", backend: Vulkan }
2023-03-11T05:22:45.181282Z INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Windows 11 Home", kernel: "22621", cpu: "Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz", core_count: "4", memory: "7.8 GiB" }
```

### What you did

Ran `cargo run --example breakout`.

Also occurs with other examples, and in release builds, but the breakout one seems to be the most interesting broken output.

### What went wrong

The blocks, paddle, and ball don't render, but the score does. The game plays as normal, with score going up and with correct sound.

A few other examples i've tried only render a grey screen, but some seem to work

![image](https://user-images.githubusercontent.com/809082/224466543-bcbcb08a-b9d4-4b0c-950f-734fd419480e.png)

### Additional Information

Possibly related to #6746 ? Am happy to try and debug on my end by running tools etc.

Additionally, a simple game I was testing/building on my own computer seems to render correctly

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with `cargo run --example breakout` on the reported Intel Iris Plus Graphics system using the Vulkan backend, then compare it with the other examples that render correctly. Done means the breakout blocks, paddle, ball, score, and the affected examples render correctly rather than showing missing elements or a grey screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.