Skip to content

Protect Vulkan frame resources and presentation - #254

Merged
maxvdec merged 1 commit into
mainfrom
fix/vulkan-frame-resource-lifetime
Oct 2, 2026
Merged

maxvdec merged 1 commit into
mainfrom
fix/vulkan-frame-resource-lifetime

Conversation

@maxvdec

@maxvdec maxvdec commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

Opening and resizing the Linux Vulkan editor reproduced premature vkDestroyBuffer/vkDestroyImage operations, and Wayland presentation reproduced VUID-vkQueueSubmit2-semaphore-03868.

Wait for the previous Vulkan submission before frame updates and before viewport resize replaces render resources. This moves the fence wait that already happens during command-buffer start ahead of resource mutation. Update the canonical neutralsoftware/opal revision to the per-swapchain-image presentation semaphore fix in neutralsoftware/opal#3.

Validation: reproduced with the official e89e379 package under Wayland and Khronos validation layers; reviewed resource ordering and ran git diff --check. No local project build was performed. Updated platform CI and runtime checks remain pending.

Refs #238 and #239.

@maxvdec
maxvdec merged commit 739ebb9 into main Oct 2, 2026
6 checks passed
@maxvdec
maxvdec deleted the fix/vulkan-frame-resource-lifetime branch October 2, 2026 13:39
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

Successfully merging this pull request may close these issues.

1 participant