Skip to content

fix(vulkan): avoid freeing GPU resources after failed teardown waits - #48

Draft
repparw wants to merge 7 commits into
hgaiser:mainfrom
repparw:fix/gpu-teardown-failed-waits
Draft

repparw wants to merge 7 commits into
hgaiser:mainfrom
repparw:fix/gpu-teardown-failed-waits

Conversation

@repparw

@repparw repparw commented Nov 1, 2026

Copy link
Copy Markdown

Summary

Prevent premature Vulkan resource destruction when fence or queue waits cannot prove GPU completion. Cover converter, encoder, and context teardown including retired semaphores. Distinguish successful waits and device loss from other errors.

Validation

Source-reviewed; Rust CI, fault-injection tests, and Vulkan validation remain pending.

Limitations

Exceptional failure paths may leak resources. Borrowed-device queue synchronization requires review. External DMA-BUF lifetime is not addressed. Do not merge until validated.

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