-
-
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 load get_semaphore_counter_value #3172
Comments
I just realized, that I get the same error with the |
Given that this is an |
Looks like we are waiting on a "timeline semaphore", and wgpu's Vulkan backend detects (and enables) it as a part of Vulkan-1.2, but the entry point isn't found. Moreover, all of that happens during shutdown of the context. So my first question would be if the shutdown is requested explicitly (e.g. dropping the device/instance), or is it happening because of another panic somewhere else. Currently, wgpu doesn't properly keep the Instance/Adapter/Device alive, so it would help to make sure that Bevy doesn't drop them in the wrong order. Ideally, they are dropped in the opposite order of creation, so first comes Device, then Adapter, finally the Instance. |
After a quick binary search in the Bevy commit history I found the breaking commit: 213839f |
This is way over my head but I tried to debug the crash a bit more.
Creating the logical device results in As far as I understand this code should run fine for me, but maybe someone with more ash knowledge could confirm before I open an issue upstream? Some more device information due to the comments on the linked ash issue (from running
|
This code isn't valid Vulkan, because you are calling the @NiklasEi would you mind running any of |
I am getting the same crash running the |
Ok, great! Could you file a quick issue to |
This crash is now fixed in wgpu. @kvark will there be a patch release? |
Yes, we can make a patch release now with all the 1000 fixes to Vulkan init that were done during investigation of your nasty issue :) |
Ok, it wasn't easy, but wgpu-hal-0.11.5 is now up for grabs 🎉 |
Bevy version
Broken from commit 213839f onwards
Operating system & version
Ubuntu 18.04
What you did
Ran an example (e.g.
bevymark_pipelined
,bevymark
, orsprite
)What you expected to happen
The example to run
What actually happened
The example crashed
Additional information
The text was updated successfully, but these errors were encountered: