startup: translate shader requests during a -Render run (cold-cache black frames) #2112
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2120"
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?
Imported from R0Y00/Xbox2Windows. Originally posted by SimSalabimse on 2026-11-25T00:51:51Z.
Cold -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.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T01:04:23Z.
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.