-
Notifications
You must be signed in to change notification settings - Fork 437
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
Examples continue to run long after exit on Mac #1022
Comments
As an additional data point, the same samples run fine on Windows/NVidia (as expected), which tends to point to a MoltenVK-specific issue, or some sort difference in the way MoltenVK handles frame submit. |
The workaround is fine, albeit likely negatively impacting performance, but are we sure this is a MoltenVK bug, and not an issue between Vulkano and varying interpretations of the spec? KhronosGroup/MoltenVK#146 does look very similar to this. |
Yeah, someone needs to either:
|
I'm encountering a similar problem.. exiting from triangle simply causes it to hang forever without closing the window. I'm not sure if it is the same problem, but it seems to be waiting on a fence?
|
Is this still an issue? |
The triangle example hangs for a long time (10-20 seconds) after one presses the close button on Mac (Mojave developer beta 7, using MoltenVK via vulkansdk-macos-1.1.82.1).
The Teapot example exposes something much more interesting - it isn't hanging per se, because the teapot continues to animate after the close event is processed. If you add a
println!
as the very last statement inmain
, you can see that the program exits the main loop entirely, but continues to render and animate for 10 seconds or so.I'm not entirely sure where to start debugging this. It seems as thought the program is only actually displaying 1 frame each time it should display 2, and after the program ends it proceeds to play back all the missing frames that have been queued up. I can't really tell if that's a Vulkano issue, a MoltenVK issue, or an issue in the sample code?
The text was updated successfully, but these errors were encountered: