launcher: reuse one bounded verified DXIL snapshot #247
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/247"
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 brcly/TuxBox. Originally posted by Valdi320 on 2026-11-26T16:23:53Z.
Changes
Read a content-cache DXIL entry once as a bounded regular-file snapshot; verify its digest and container before writing it to the private staging file, and return those same bytes to the caller for stage validation. Save the already validated bytes instead of rereading the output. Incrementally hash the HLSL key without allocating a concatenated copy. Share bounded file helpers with the runtime cache; identity and checksum reads are bounded and non-following. Keep existing cache keys and publication semantics.
Validation
Imported from brcly/TuxBox. Originally posted by Valdi320 on 2026-11-26T16:40:07Z.
Integration follow-up, not a new merge request:
github.com/Valdi320/TuxBox@a54533a2bbCombined the existing four paired Wave64 optimizations with #228, #236, #238, #239, #240, #247 and #248. Resolved overlap in the launcher: content-lock wait time separately reported; large cold requests reserve capacity before waiting for a shared content lock; deferrals are not reported as failures; bounded snapshot bytes reused directly. Fast lane remains opt-in. The new interaction test passes.
Real DXC/DXV, synthetic mixed request queue (three equivalent large shaders and a small shader, two workers, three runs per mode): baseline 3 DXC calls, small and batch median 932 ms; combined without fast lane 2 calls, 845 ms; combined with fast lane 2 calls, small 33 ms and batch 754 ms. All output hashes identical across nine runs. Two deferrals correctly reported per fast-lane run. Synthetic translator stub supplies generated HLSL fixtures; no title performance claim.
Six code-check groups passed at final head. Earlier integration stage passed 31 guest controls, including presentation/4K; final D3D12 rebuild produced the same provider SHA-256, and 8 Lanes gates plus 4 XG-provider checks were rerun at final head. Private Xvfb automatically starts/restores environment, NVIDIA RTX 4080, GE-Proton11-14. XG provider reused from #248 after verifying its source equality. Native reference XG DLL unavailable; full GPU suite, AMD and retail validation outstanding. Branch is for interaction validation; individual PRs remain separately reviewable.
Imported from brcly/TuxBox. Originally posted by Valdi320 on 2026-11-26T22:22:42Z.
Follow-up at
ce7edf2bf2: launcher: reject wrong-stage snapshots before counting reuse. 383 tests, 27 skipped; stage mismatch rejects a structurally valid digest-matched snapshot before staging or counting it as reused. Host tooling only; no new GPU or title performance claim.Imported from brcly/TuxBox. Originally posted by Valdi320 on 2026-11-26T23:20:48Z.
Consolidated into #239 (
b460d1c); the bounded snapshot, stage validation and tests are preserved and tested there. Closing this draft to make the review queue manageable, per the maintainer's request. The branch and history remain intact atce7edf2; no branch deleted.Pull request closed