Steam FrameThe worklog
Turnip DX12/UE5 driver work & standalone gaming on Steam Frame

Worklog › Engineering chronology

Full Chronological Record · 2026-10-17 → 2026-11-30 (45 days · 6 weeks · 91 campaign waves)

Full Engineering Chronology: When Issues Were Found & Work Was Done

A complete date-stamped record from Day 1 (2026-10-17) through 2026-11-30 showing exactly when every GPU hang, driver defect, upstream regression, and performance wall was discovered, how it was root-caused, when fixes landed, and which experiments were honestly rejected. Dates come directly from git commits and dated campaign logs.

2026-10-17 – 2026-10-23

Phase 1 · Ray-Tracing Pipeline Bring-Up, Nanite Root-Cause & First VR Flight

Booting DXR 1.0/1.1 on Adreno A750, fixing BVH/Nanite/shader-fault bugs, and getting Ace Combat 8 airborne in VR.

Fix / FeatureTurnip RT

Day 1: VK_KHR_ray_tracing_pipeline monolithic compute lowering spike & first AC8 bring-up

Started standalone Steam Frame bring-up and prototyped monolithic compute lowering of VK_KHR_ray_tracing_pipeline (ray_intersection_ir3 + register-resident payloads, 30× faster on rt_basic: 39.4 → 1.30 ms/trace) so DXR-mandatory UE5 titles could boot on Adreno A750.

Issue FoundTurnip RT / BVH

GPU hang & kernel oops during RT frames — root-caused to stale BLAS pointers after AS compaction/copy

Published turnip-rt and hit our first big BVH win (321.7 → 155.5 ms via in-place BVH refit/update). A GPU hang/kernel oops was root-caused the same night to stale BLAS pointers after acceleration-structure compaction/copy and fixed cleanly.

Issue FoundTurnip / Nanite

Vanishing carrier in UE5 Nanite HW raster root-caused to 2^29 SSBO index wrap; TU_FOVEATE gaze VRS built

Diagnosed why UE5 Nanite hardware rasterization produced zero fragments (NP8–NP12): a 2^29 SSBO index offset wrapping mismatch in Turnip/vkd3d. The same day, built TU_FOVEATE driver-injected gaze foveated VRS pass gating (e24047d, b84ab2a) and gaze shim.

Fix / FeatureTurnip / fdl

TU_UBWC_3D mipmapped 3D texture compression & stereo right-eye translucency fault root-caused

Implemented Adreno hardware UBWC compression on mipmapped 3D volumetric textures (TU_UBWC_3D), confirmed the Nanite wrap fix in-game, and traced high-res stereo right-eye corruption to separate-translucency composition and cloud faults.

MilestoneAC8 VR

First in-mission VR cockpit, take-off & flight; deterministic RT cache key sort; issue #04 fault discovered

Reached the Mission 1 catapult cockpit and completed the first autonomous VR take-off and flight. Added TU_RT_KEY_SORT to fix per-run RT cache misses and opened investigation #04 for an intermittent GPU fault/hang.

Fix / FeatureTurnip / NIR

Issue #04 root-caused to stale SP_PS_INSTR_SIZE (#5892 CS workaround); nir_lower_atomics CAS early-out enabled

Refuted the 1-page pad theory for #04, traced it to stale SP_PS_INSTR_SIZE left by the #5892 CS workaround, and added TU_CS_ISZ_RESTORE=0x20 (6c6a302). Enabled nir_lower_atomics CAS early-out (efe84c0) and TU_GAZE_BLOCK (a1622a6).

2026-10-26 – 2026-11-01

Phase 2 · Multi-Queue Turnip Foundation, Stability Hardening & Core VR Tooling

Moving Turnip from single-queue to multi-queue, sealing memory/lifetime GPU faults, and building gazed-v2 & virtual-wearer.

Fix / FeatureTurnip MQ

Multi-queue Turnip landed (MSM compute queue family) + legacy fence ordering & submit-lock fixes

Exposed a dedicated MSM compute queue family with separate scratch and retirement tracking (9ee1e0f), and fixed two multi-queue concurrency bugs found immediately: publishing legacy submit fences before releasing BO-list lock (36916c3) and releasing submit_mutex on prep error paths (46ef0be).

Issue FoundTurnip MQ / UE4SS

MQ771 VM_BIND serialization, embedded-sampler PSO UAF fault (Q27), push-UBO ban & UE4SS FName repair

Fixed VM_BIND enqueue/fence publication serialization (771d981, becoming standing adopted multi-queue baseline MQ771), u_trace JSON escaping (377e376), and pool allocation recovery (70e0b8c). Banned TU_PUSH_UBO_SPECULATE (1418e70), fixed the Q27 GPU fault reading freed embedded_samplers BOs when games destroy in-flight PSOs (2cc43d38), and repaired the UE4SS FName startup crash (3ce0f2fe).

Fix / FeatureTurnip / Tools

TU_SG32_EMU=v2 (-2.07 ms/f), shader-BO tail guard, UBO witness hoist, gazed-v2 & steamvr-virtual-wearer

Shipped TU_SG32_EMU=v2 (85a4262, matching v1 across 4,936/4,936 CTS subgroup cases and saving -2.07 ms/f in QV41), TU_PIPELINE_TAIL_PAD prefetch guard (01b6946), bounded reset-CB CS BO retention (f82c68d), u_trace copy-once (819346e), and TU_UBO_WITNESS_HOIST (6ed0c13). Built standalone gazed-v2 (2a3d333) and steamvr-virtual-wearer (c67c95b) for deterministic VR CI.

MilestoneAC8 VR (QV64)

UEVR rhlat OpenXR pipeline & 41.72 ms/eye (72 Hz floor); CSM/PerObject shadow invariants established

Combined rhlat (4374566b, OpenXR pose/crop/mirror-off), foveated VRS, and FSR 50% to reach 41.72 ms/eye (38.88 ms/f GPU busy) in QV64. Established standing quality invariants: never cut r.Shadow.CSM.MaxCascades < 3 (QV57) or disable r.Shadow.PerObject (QV64), which delete aircraft self-shadows.

2026-11-02 – 2026-11-15

Phase 3 · H-PLOC BVH Hang, u_trace Race Fix, Cut-Black v5 & Heavy-Segment Profiling

Closing two severe GPU hangs (BVH H-PLOC and u_trace), closing stereo VR correctness, and profiling the final milliseconds to 90 Hz.

Issue FoundMesa vk/bvh (QV70–71)

New GPU hang during UE5 Lumen HWRT level loads — root-caused & fixed in common Mesa vk/bvh H-PLOC

QV70 HPA_1 hit a new msm hangcheck recover GPU hang on level load. Root-caused the same day (QV71, MQa267488) to a missing subgroup+device acquire barrier in Mesa's common vk/bvh H-PLOC range handoff (omitting fence.g.w + ccinv on Adreno a7xx, orphaning internal nodes and spinning encode.comp forever). Fixed with acquire barrier, bounded spins, and TU_AS_VALIDATE=1 (6/6 clean loads, 0 violations; 100+ subsequent loads hang-free).

Issue FoundTurnip u_trace (QV71–72)

SQE bad-packet hang (0x11997) under u_trace & first non-GPU DPU DSI-35 timeout identified

QV71 AMZ1T hung the SQE under u_trace; traced windows were banned across all multi-queue children pending a native repro and fix. Separately, QV72 E72P_1 identified a non-GPU display-controller DPU DSI-35 commit timeout (0 GPU fault lines), leading to fresh-boot & boot-age hygiene (< 1h 40m).

Fix / FeatureTurnip u_trace (QV73–74)

u_trace SQE hang & multi-queue double-free fixed in MQfda6079 (7/7 trace_stress clean)

Replaced shared BR/BV on-chip register CP_COND_REG_EXEC clone barriers with a per-clone 1-dword memory slot (c62c313) and moved u_trace_context_process() under submit_mutex (fda6079), reproducing and eliminating the multi-queue cleanup_chunk double-free crash (7/7 trace_stress clean). Lifted the trace ban for MQfda6079 and adopted it for QV75.

MilestoneAC8 VR (QV76–77)

Launch affinity (2–7) & CPX4 SCHED_RR cut frame time to 33.38 ms (94.55% on 3 vsyncs)

Adopted CPU launch affinity mask 2-7 (+5.16 pp 3-vsync, QV76) and CPX4 SCHED_RR RHI submission-chain scheduling (QV77), bringing AC8 VR to 33.38 ms/eye at 90 Hz (94.55% on 3 vsyncs, 30.83 ms/f busy) — just 0.45 pp shy of the >= 95% M1 bar.

Fix / FeatureTurnip Elide (QV78–79)

Elide v2 (TU_ELIDE_RP_SR) built for vkd3d-proton tiler_suspend_resume chains (-0.248 ms/f ABBA)

Diagnosed why Elide v1 (MQccfb6c0) never fired in AC8 (vkd3d-proton tiler_suspend_resume dynamic rendering) and built Elide v2 (MQecbc845), firing 1.975 elided passes/frame and passing pooled mirrored ABBA timing (-0.248 ms/f busy, 96.17% vs 94.86% 3-vsync).

2026-11-25 – 2026-11-27

Phase 4 · Crossing 90 Hz M1, Six-Pillar DX12 Driver & Cyberpunk 2077 VR Bring-Up

Exact GPU HUD tile masking breaks sub-30 ms GPU busy; FP16 FTZ/NaN root-caused and fixed; Cyberpunk 2077 enters true stereo VR.

MilestoneTurnip / AC8 (QV82–85)

TU_HUD_MASK=1 (-0.549 ms/f, 44/44 blind PASS) & M1 CROSSED: 33.35 ms/eye, 96.33% 3-vsync, 29.89 ms/f busy

Retired external review API in favor of isolated multi-agent blind visual review; adopted cbrh5 (70/70 PASS) and FLAG+HOLD (62/62 PASS). Caught & fixed a STOP-HUDMASK-GPU-FAULT (ST6_UBO[1] unbound in scan_cs) on native gate, then adopted TU_HUD_MASK=1 (MQ6a3f65dc85, 44/44 blind PASS, -0.549 ms/f heavy busy), breaking sub-30 ms GPU busy (29.89 ms/f) and replicating >= 95% 3-vsync (96.33% & 95.31%).

Issue FoundTurnip v2.1 (QV87–88)

Aggressive FP16 FTZ/NaN blind FAIL & TU_VRS=auto cache thrash — both root-caused & fixed same day

Built the 6-pillar general DX12/UE5 Turnip driver (TU_UBO_WITNESS_HOIST, TU_SAFE_FP16, TU_ELIDE_RP_SR, TU_VRS=auto, SR-autotune, TU_RT_OPT=1). Blind review caught FP16 FTZ/NaN bugs (cmps.f/stib.f16) and TU_VRS=auto cache thrash; v2.1 (MQ79aa05df5e) fixed both the same day (bit-exact FP32 default, 99.99% zero-thrash TU_VRS=auto).

2026-11-28 – 2026-11-29

Phase 5 · Upstream Mesa 27.0 Rebase, 4 Major Bugs Crushed & Flagship v3 Promotion

Rebasing onto upstream Mesa 27.0 (86cc7324f655), isolating vk_memory_budget & SteamVR teardown UAF, and shipping zero-D15 honest VR.

Issue FoundMesa 27.0 / SteamVR (QV89)

Four upstream bugs discovered & resolved during Mesa 27.0 rebase (+273 freedreno commits)

(1) Fixed upstream ir3/ra_predicates SSA dominance crash (64342fa2) on UE5 CS; (2) fixed Mesa MR 44523 call_data_out RT payload lowering (e8a972b6); (3) 3-arm bisected a +14.5 ms/eye (34.5%-idle) OpenXR lockstep stall to cross-instance vk_memory_budget (a5b7ecdf), restoring 33.34 ms / 98.32% 3-vsync; (4) decoded a 121 MB devcoredump proving SteamVR xrDestroySession() violates VUID-vkDestroyQueryPool-queryPool-00793 and hardened tu_DestroyQueryPool (77d20179, 40+ runs 0 faults).

Fix / FeatureTurnip (QV89)

TU_ELIDE_CLEAR_RP=1 cuts 62.5 zero-draw clear RPs/f (-2.22 ms/f) in Cyberpunk with active-LRZ safety

Built opt-in TU_ELIDE_CLEAR_RP=1 (7d7852ac + ae8a9848 active-LRZ depth clear fallback & clear-rect containment), eliminating 62.5 zero-draw SYSMEM render passes/frame (-2.22 ms/f, 13/13 native clear_rp_test, blind PASS 0/4 reg).

MilestoneTurnip v3 (QV90)

cin-33 exonerated (D15 sole cause), Turnip v3 (5b82a64c) promoted (98.21%), zero-D15 honest profile PASS

4-way pillar bisect + archived baseline controls proved TU_DX12_PROFILE=vr & Mesa 27.0 100% visually innocent on cin-33. Promoted Turnip v3 (5b82a64c, 98.21% 3-vsync, 94-agent blind PASS). Built zero-D15 honest locked AC8 profile (33.38 ms, 94.72%, 46-agent blind PASS, beating intact-left-eye STOCK_MED 3/3 on aircraft sharpness).

Rejected / CaveatHonest Rejections (QV90)

Rejected TU_SELECTIVE_GMEM, TU_LEAN_BARRIERS, -ForceAsyncCompute, VRS_MED & DRS30; 7,063-draw CP2077 wall proven

Silicon testing honestly rejected TU_SELECTIVE_GMEM=1 (-0.46 FPS), TU_LEAN_BARRIERS=1 (-0.47 FPS CP2077 / -3.46 pp AC8), UE5 -ForceAsyncCompute (-6.92 pp AC8), static 4×4 VRS_MED (CONDITIONAL_FAIL peripheral neon blocks), and DRS30 (4/4 SEVERE soup). Cyberpunk u_trace (54.94 ms/f, 7,063 draws/f) proved hardware single-pass multiview was needed.

2026-11-29 – 2026-11-30

Phase 6 · True A750 Hardware Multiview, Turnip v4 Silicon Proof & Full Upstream Release

Fixing vkd3d-proton's layer-0 View Instancing fallback, validating Turnip v4 (64dc995b) on silicon, and publishing the 26-item upstream dossier.

Issue Foundvkd3d-proton + Turnip (QV91)

Smoking-gun multiview audit: Turnip already runs single-IB HW multiview; vkd3d-vi v1 fell back to 2× draws

Audited A750 multiview emission and proved Turnip already supports single-IB hardware multiview in SYSMEM/GMEM while vkd3d-vi v1 hit a layer-0 bitmask collision (emulated=true). Built 5-file vkd3d-vi v2 + viewMask canonicalization (39/39 VVL 1.3.296 0 errors, 183/183 pixel-exact SBS, 0 dxil-spirv delta) → warm 21.03 FPS (+0.77 FPS, +1.24 minFps, blind PASS) in Cyberpunk 2077 VR.

Rejected / CaveatCyberpunk VR (QV91)

hotswap_v4 pcf6_l1cap6 PASS (21.56 FPS) & 864×872 Perf (25.18 FPS); foveated checkerboard compute REJECTED

Fixed indirect_gi blowout (21.56 FPS, +1.23 FPS, blind PASS) and unlocked custom_res=1 (864×872 Perf 25.18 FPS, 4–0 SEVERE sweep over DRS30 soup). Foveated checkerboard compute (cb_med/cb_aggr) produced 2×1/1×2 combing and failed blind visual review — honestly rejected.

Fix / FeatureTurnip v4 (QV91)

Turnip v4 (64dc995b) built & Round-2 adversarially cleared (0/0/0): NIR LDS barrier hoist + temporal VRS + 13-invariant FP16

Built Turnip v4 (64dc995b, ARM64 5770f38e…, 354/354 knob-OFF RD ident): TU_OPT_UNIFORM_LDS_BARRIER=1 eliminates 160/724 (22.1%) CP2077 CS (596 LDS vars + 160 barriers) & 18 AC8 shaders (0 spills); TU_VRS_TEMPORAL=1 eliminates static 4×4 blocks with binary-signal + 5 ms debounce (200/200 timeline submits ignored); TU_SAFE_FP16=v4 achieves 219 AC8 / 63 CP2077 occ wins (0 hazards). Round-1 review caught 2 blockers & 2 majors — all fixed for Round-2 0/0/0 + native smoke PASS.

MilestoneTurnip v4 Silicon & Upstream Release

Turnip v4 clears 8/8 live VR silicon runs (0 faults); 31/31 upstream patches & 26-card public Proof-of-Record shipped

AC8 zero-D15 honest profile cleared >= 95% M1 (33.39 ms / 97.27% 3-vsync, 0 faults) with static 4×4 ocean sun-glint blocks smoothed by TU_VRS_TEMPORAL=1; CP2077 VRS_MED eliminated static 4×4 neon blocks (19.86 FPS), LDS solo ran bit-exact & fault-free (19.94 warm, neutral on render-pass-bound T2), and full stack composed cleanly at 24.36 FPS (+4.03 FPS, 0 faults). Audited entire stack above upstream (31/31 git apply --check PASS, 29/29 Mesa Generated-by: LLM, 55/55 SHA256SUMS OK) and published 26-card /upstream/, 4-wave /upstream/submission/, and this chronology.