tests: accept hardware adapter selection notices in compute readfirstlane #2693
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!2693
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2693/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@RavenCurseBurg on GitHub · 2026-11-26 02:12 UTC · original
RavenCurseBurg:tests/readfirstlane-adapter-selection-notices→main· +8 −2 · 1 files · 1 commits · merged 2026-11-26 02:39 UTCChange
On a Windows 11 machine with an RTX 4060 and Intel UHD 770,
XBOX2WINDOWS_ADAPTER=Intelselects the Intel device and logs the skipped NVIDIA adapter to stderr. I reproduced a failure instartup_compute_readfirstlane_hardwareonf06646ba: the renderer returned 0 withcompared_words=320 mismatches=0, then the Python fixture failed the baseline on the adapter notice. The same notice also precedes the first wrong word in each mutation run.The readfirstlane fixture now echoes the hardware selector's
XBOX2WINDOWS_ADAPTER: skippinglines and checks the remaining diagnostics, followingstartup_gfx2hlsl_compute_check.py. A regular renderer error still fails the baseline. Each mutation still requires exit 1 and its specific first wrong word.Verification
At
fa691dd6, I ran the normal dispatch entry point on Intel UHD 770, RTX 4060 and WARP. All three baseline readbacks matched 320 words. On each backend the three controls first mismatched at word 0, with actual values00000019,0000007fand00000087against expected0000008b. The selected Intel run echoed the four skipped-adapter notices.I also injected renderer results through
dispatch: hardware notice only passed; a notice followed by a real diagnostic, an unexpected nonzero exit, the wrong mutation word, noise ahead of the mutation word, and the hardware-only notice on WARP each failed. Device-unavailable exit 77 still skipped.Discovered while verifying #2644. AI-assisted contribution using Codex (GPT-6.2 Astra, xhigh).