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

Validation Error with bevy #3322

Closed
T0mstone opened this issue Dec 20, 2022 · 2 comments
Closed

Validation Error with bevy #3322

T0mstone opened this issue Dec 20, 2022 · 2 comments

Comments

@T0mstone
Copy link

I encountered this error while trying out bevy and after looking into similar errors1,
I came to the conclusion that it is probably a bug in wgpu.

1) What led me here was bevy#5419 in particular,
which links to #2925 here, which has apparently been resolved now;
My error message looks very similar to that one (though not the exact same, mind you).

Description
A basic dummy bevy project gives several VALIDATION error messages when run.

Repro steps
add bevy = "0.9.1" as a dependency to a new cargo project,
then write the following in main.rs:

use bevy::prelude::*;

fn main() {
    App::new().add_plugins(DefaultPlugins).run()
}

and finally run it.

Expected vs observed behavior
I expected it to open a window and sit there doing nothing.
Instead, there are lots of error messages (a lot of which are repeated, probably because bevy tries the same thing each frame).
The specific errors I get are VUID-vkResetCommandPool-commandPool-00040, VUID-vkDestroyBuffer-buffer-00922 and VUID-vkDestroyImage-image-01000.

Extra materials
The whole output log (with repeated error messages): output.zip

Platform
OS: Ubuntu 20.04.5 LTS
Graphics Card: AMD Radeon RX 5700 XT
Rust: bevy 0.9.1, which uses wgpu 0.14.2

@cwfitzgerald
Copy link
Member

Your validation layers seem a bit old, try updating them from https://vulkan.lunarg.com/sdk/home#linux

@T0mstone
Copy link
Author

That fixed it, thank you very much!

@cwfitzgerald cwfitzgerald closed this as not planned Won't fix, can't repro, duplicate, stale Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants