-
Notifications
You must be signed in to change notification settings - Fork 966
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
Driver ID and vkResetCommandPool ValidationError #2438
Comments
In other similar issues |
Thank you for filing this!
So there are multiple issues at play here. One is Lavapipe being exposed but non-conformant. It's really difficult to put a finger on who's responsible for fixing this. Your system configuration is somewhat to blame (but not 100%), since it provides the lavapipe implementation visible to Vulkan loader. It's not something However, we can probably do better with priorities. We shouldn't use a software implementation just because the user selected "LowPower" - this is unlikely be welcome. The user should get a software impl only if they either force it, or there is nothing else to choose from. So this is something I'm going to address now.
That's a bit surprising. It'd expect your platform to offer GLES-3 just fine. Could you attach logs with You could also try |
Hmm, interesting. The power preference should already pick your NVidia instead of Lavapipe: let preferred_gpu = match desc.power_preference {
PowerPreference::LowPower => integrated.or(other).or(discrete).or(virt).or(cpu),
PowerPreference::HighPerformance => discrete.or(other).or(integrated).or(virt).or(cpu),
}; |
What does |
Yes, as you have correctly predicted it would seem like the NVidia drivers are already being selected and that Lavapipe is not the issue since running Warmest regards |
EGL reports as unable to present to the window natively:
This may be due to the fact your system considers the display to be attached to AMD, thus it says NVidia can't present on it natively, but it should still be able to present. We just don't know that and we are being conservative here. So that explains why GL doesn't work for you, at least. |
Same problem here |
Closing this as stale - if the issue with vkResetCommandPool still happens, please refile (though may be #3193) |
Hello, if I run
wgpu/examples/cube
usingcargo run --example cube
I get the following errors printed to my terminal: wgpu_error.txtThe cube is shown as expected. But if I try to run any example from the Bevy engine, nothing is drawn. Probably because the Bevy engine treats these errors a something more fatal than the example code does. Either way, even if the cube shows up, the terminal being spammed with errors doesn't seem right.
If I instead try to use the GL backend by running
WGPU_BACKEND=gl cargo run --example cube
, the following happens:When Bevy was using an older version of wgpu, I was able run programs using wgpu just fine. Something that handles device detection must have changed recently, causing this issue.
Platform:
Warmest regards
The text was updated successfully, but these errors were encountered: