Repository navigation
Conversation
mjnhbg3
marked this pull request as ready for review
November 23, 2026 09:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Keep
GuestGpualive throughCommandScheduler::Finish()andDrainPriorityOperations(), then clear it and the VideoOut pointer. Shutdown now drains an active scheduler even when VideoOut was not initialized. A regression queues a priority completion and checks that the stopped GPU is still available while the renderer drains.Refs #251. This addresses scheduler completion ordering. The guest-fault admission window described in the issue remains open, and Anger Foot's window-close failure has not been retested.
Tested
kyty_shim_renderer_shutdown,kyty_shim_cross_queue_label_order,kyty_shim_write_fault_tracking,kyty_shim_cross_queue_compute_waits_graphics_clock, andkyty_shim_cross_queue_recycled_labelpassed (5/5). The shutdown regression also passed 10 repeated runs. The two cross-queue order fixtures reported their expected ordering failures.AnyKytybase7de61e3451: the four pre-existing focused tests passed. Applying only the new regression to the base madekyty_shim_renderer_shutdownfail withthe renderer did not finish its scheduler during GPU shutdown; the test files were then restored.ANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1,VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation,VK_LOADER_DEBUG=layer, and Khronos validation 1.4.363. Every GPU test log and replay log showed the loader inserting the layer; neither side logged a missing-layer warning or aVUID-error. The four replay logs on each side reportedunfinished=0.python3 tools/check_conventions.py --base origin/AnyKytyandpython3 tools/check_kyty_settings.pypassed. Theorigin/mainconventions command was also run; its diagnostics were byte identical on the base and candidate because this PR targetsAnyKytyasdocs/dev/START_HERE.mdrequires.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)