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

wgpu error: Validation Error in Windows 10 #57

Closed
imxood opened this issue Jan 17, 2022 · 2 comments · Fixed by #62
Closed

wgpu error: Validation Error in Windows 10 #57

imxood opened this issue Jan 17, 2022 · 2 comments · Fixed by #62
Labels
bug Something isn't working

Comments

@imxood
Copy link

imxood commented Jan 17, 2022

The issue is in Windows 10, and the Deepin Linux is ok
bevy or egui master code examples are Ok

in current bevy_egui example,
cargo run --example simple
cargo run --example ui

When clicking minimize on the title bar, an error occurs,

    Finished dev [unoptimized + debuginfo] target(s) in 15.41s
     Running `target\debug\examples\simple.exe`
2022-01-17T14:30:40.319193Z  INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 2080 Ti", vendor: 4318, device: 7687, device_type: DiscreteGpu, backend: Vulkan }
2022-01-17T14:30:45.951209Z ERROR wgpu::backend::direct: Handling wgpu errors as fatal by default
thread 'main' panicked at 'wgpu error: Validation Error

Caused by:
    In a RenderPass
      note: encoder = `<CommandBuffer-(0, 305, Vulkan)>`
    In a set_scissor_rect command
    Invalid ScissorRect parameters

', C:\Users\Administrator\.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\wgpu-0.12.0\src\backend\direct.rs:2273:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\debug\examples\simple.exe` (exit code: 101)
@mvlabat mvlabat added the bug Something isn't working label Jan 23, 2022
@Weasy666
Copy link
Contributor

I got the same error on minimizing the window on Windows 10.
I ran in debug and got a little bit of extra info:

ERROR bevy_app:frame:renderer subapp:stage{name="render"}:exclusive_system{name="bevy_render::renderer::render_system"}:run_graph{name="main_graph"}:node{name="bevy_egui::egui_node::EguiNode"}

The rest of the error message is the same, except my commandbuffer was (0, 190, Vulkan).

@imxood
Copy link
Author

imxood commented Jan 28, 2022

@aevyrie thank you very much for your help, it is useful~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants