-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Unable to render sprites #8395
Comments
This sounds like #8037. Have you tried updating your graphics drivers? |
Seem like it could be related. I'm trying to update my drivers now. |
Updating drivers did not seem to help |
I haven't been able to replicate this with the vulkan backend on any of these intel devices:
Can you do a bisect to help identify the commit that introduced the problem? Another thing you could try is the wgpu examples to see if you have any issues with upstream (bevy currently uses wgpu v0.15). |
@HaNaK0 Try setting wgpu to use dx12 |
Do you have the Could you run the sprites example again and copy all the text it outputs to the terminal here? |
I've been testing this on a Intel UHD 630 IGP
Renderdoc shows the main_pass_2d running and shows the expected draw calls. But does not show the sprite in the texture viewer. The renderdoc ui also does not show up. git bisect shows this:
|
Manually setting wgpu to use dx12 seems to solve the problem |
Works with Bevy 0.10.1 on my device, but the mentioned issue shows up on 0.11.0. In both cases it automatically used Dx12, not Vulkan. Windows 10.0.1 21H2 9044.3086 v0.10.1Sprite is shown as expected. 2023-07-11T17:32:42.431329Z INFO bevy_render::renderer: AdapterInfo { name: "Intel(R) HD Graphics", vendor: 32902, device: 8880, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Dx12 } v0.11.0Sprite not displayed - just a gray area 2023-07-11T15:03:09.124037Z INFO bevy_render::renderer: AdapterInfo { name: "Intel(R) HD Graphics", vendor: 32902, device: 8880, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Dx12 } Side effectCPU usage: 30% |
Just tested bevy 0.11 on a Intel UHD 630 IGP with the sprite example. Vulkan showed nothing, DX12 showed the sprite and seemed to work. It was using around 12% CPU and 18% GPU with DX12. |
I figured out my GPU maxed out because Windows did DPI virtualization |
I have the same issue on bevy 0.11 with:
|
I believe this should be fixed in bevy 0.13. Could people with intel GPUs effected by this test to see if it's fixed? |
For me it also seem to work on 0.11 |
It seems to be fixed now |
Bevy version
v0.10.1
Relevant system information
SystemInfo { os: "Windows 11 Home", kernel: "22621", cpu: "Intel(R) Core(TM) i5-1035G4 CPU @ 1.10GHz", core_count: "4", memory: "7.6 GiB" }
AdapterInfo { name: "Intel(R) Iris(R) Plus Graphics", vendor: 32902, device: 35418, device_type: IntegratedGpu, driver: "Intel Corporation", driver_info: "Intel driver", backend: Vulkan }
What you did
I have cloned the bevy repo and try to run some of the examples after realising my game doesn't render after updating version
What went wrong
If I run the sprite example i get nothing but a gray background
If I run the contributor example i get the names of the contriutors but not the sprites just a gray backgound
I have tried to run both examples with version 0.9.0 and there they work as expeted so it seems that the issue got introduced in version 0.10.0 because it persists on the main branch
I have also tried the Boids example in the wgpu repo and it seems to work as intended
The text was updated successfully, but these errors were encountered: