Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major visual artifacts when running the pipelined renderer examples #3194

Closed
setzer22 opened this issue Nov 26, 2021 · 6 comments
Closed

Major visual artifacts when running the pipelined renderer examples #3194

setzer22 opened this issue Nov 26, 2021 · 6 comments
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior
Milestone

Comments

@setzer22
Copy link

Bevy version

Using the main branch, as of today: f512c853d7e5bcf91c8d411aa4c5ae3058220da8

Operating system & version

OS: Manjaro (rolling), kernel version: 5.13.19-2, using the amdgpu open source driver.
GPU: Radeon RX 6600XT

What you did

  1. Clone latest main branch, after the pipelined renderer has been merged.
  2. Compile and run one of the examples, e.g. cargo run --example 3d_scene_pipelined.

What you expected to happen

A regular-looking 3d scene would be visible on screen.

What actually happened

The 3d scene shown was full of visual artifacts and incorrect colors:
bevy_error

Additional information

I have verified that other wgpu-based applications work fine on my machine by testing the examples in https://github.com/gfx-rs/wgpu

@setzer22 setzer22 added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Nov 26, 2021
@bjorn3 bjorn3 added the A-Rendering Drawing game state to the screen label Nov 26, 2021
@mockersf
Copy link
Member

@superdump could it be related to #3186?

@setzer22
Copy link
Author

I have tested this on two other machines:

  • On a laptop with same OS, but with a Amd Vega 7 integrated graphics, I get very similar artifacts.
  • On a different laptop, also same OS, but with a Nvidia 1050Ti (mobile) GPU, I didn't get any artifacts.

@superdump
Copy link
Contributor

@superdump could it be related to #3186?

Yup. Certainly could be given the bug fixed by that simply means that it reads the shadow map value from uninitialised memory.

@superdump
Copy link
Contributor

Or it could be just a holiday disco ball mode. :)

@alice-i-cecile alice-i-cecile removed the S-Needs-Triage This issue needs to be labelled label Nov 26, 2021
@alice-i-cecile alice-i-cecile added this to the Bevy 0.6 milestone Nov 26, 2021
@mockersf
Copy link
Member

#3186 has been merged, could you retry with latest main?

@setzer22
Copy link
Author

setzer22 commented Nov 26, 2021

Looks like it's fixed 👍 Thanks for the quick response!
bevy_working

@bjorn3 bjorn3 closed this as completed Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

No branches or pull requests

5 participants