Repository navigation
Conversation
… missing before_guest installed SCREEN and set ACTIVE, then returned early with `?` when ensure_window() timed out (3 s). Neither was reset, so the window procedure kept routing messages to a preparation screen that nobody was running. Install the screen and acquire the window in activate(), which clears both again when no window comes back. The normal path is unchanged. Fixes xcl-dev#2839 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
rootw0rm
pushed a commit
to rootw0rm/xcl
that referenced
this pull request
Nov 26, 2026
…xcl-dev#2847/xcl-dev#2848 triaged, all SKIP, all pins re-verified)
|
I exercised the real
With the delay disabled, both revisions left ACTIVE false and SCREEN empty, and the synthetic guest exited successfully with zero failures. This validates timeout cleanup and its normal-path control, not retail-title behavior. AI use: OpenAI Codex with GPT-6.2 Astra instrumented and ran the synthetic comparisons; Codex coordinated and prepared this report. |
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.
preparation::before_guestinstalledSCREENand setACTIVE, then returned early with?whenensure_window()timed out, leaving both set. This installs the screen and acquires the window in a smallactivate()helper that clears both again when no window comes back. The normal path (READY handoff, window creation order) is unchanged.Fixes #2839
What is in it
crates/xcl/src/hle/d3d12x/present/preparation.rs:activate()helper used bybefore_guest; two unit tests (window missing clearsACTIVE/SCREEN; window acquired keeps them).Tested
cargo check --workspace --tests -j 4: finished, no errors.cargo test -p xcl --lib -j 4 preparation: 6 passed, 0 failed, 0 ignored.a_missing_window_leaves_no_active_screenfails (5 passed, 1 failed).Regression run
mainand headxcl-smokeblocks will be added when it is.Not tested
cargo test --workspace -- --test-threads=4) and the pairedscripts/smoke.ps1runs are pending a free RX 7800 XT. The real 3 sensure_window()timeout was not triggered.AI use
🤖 Generated with Claude Code