startup: translate shader requests during a -Render run (cold-cache black frames) #2120
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!2120
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2120/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?
@SimSalabimse on GitHub · 2026-11-25 00:51 UTC · original
SimSalabimse:cursor/startup-black-frames-bd69→main· +378 −24 · 9 files · 2 commits · merged 2026-11-25 01:07 UTCCold -Render runs stay black when pipelines write req_* requests but never get manifests (pipelines translated 0 / missing N). Add gfx2hlsl.py --watch and run.ps1 -Translate so translations publish while the title runs; keep #2008 bytecode resume and -TraceCalls.
Rebases reviewed #1749 onto current main. Refs #870.
Change
Cold
-Renderat06cdc47dpresented mean level 0.00/255 withpipelines translated 0 / missing 6andtranslated draws 0 (not drawn 54879). The six pipelines wrotereq_*requests but never loaded a<key>.txtmanifest. Heap-indexed root deferral (#1732) had refuse counts 0 and does not block the translated path.This PR rebases reviewed #1749 onto current
main:tools/startup/gfx2hlsl.py --watchrepeats the pending scan (parallel viaX2W_TRANSLATE_JOBS)run.ps1 -Translate(with-Render) starts the watcher beside the debugger and tears it down withtaskkill /T#2008manifest/bytecode resume and-TraceCallsOriginally authored by @NiiRoZz in #1749. Prefer superseding #1749 after merge.
Verification
Linux pure-Python (this agent), no Windows GPU:
Not run: Windows PowerShell
startup_run_ps1, WARP/hardware GPU fixtures, live title with-Translate(no game files on this agent).Evidence and follow-up
Synthetic request files only; no game data. After merge, cold runs should use
-Render -Translate(docs updated). A warm cache still works without-Translate. Live title mean-level recovery and per-pipeline.failcensus remain for a Windows retest on #870.Checklist
AI-assisted.
@R0Y00 on GitHub · 2026-11-25 01:04 UTC · original
I merged current main into the reviewed branch and retained both CTest registrations. On Windows the PowerShell 5.1 and 7 launcher tests passed, including watcher cleanup and the surviving-child mutations. The ready-marker watcher, worker-pool retry, translator and scalar arity checks also passed. These are source-built checks; cold title rendering still needs an independent run.