Work needed: game-run tests of important PRs, and rendering packages (kept up to date) #2464

Open
opened 2026-11-27 13:00:33 +00:00 by aslan2142 · 38 comments
aslan2142 commented 2026-11-27 13:00:33 +00:00 (Migrated from github.com)
Contributor

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-11-27T13:00:33Z.


This issue lists work that is open for anyone to take. The maintainer keeps it up to date: items are added, changed and struck out here, and each change gets a dated line at the bottom.

  • Claims do not go here. Claim in the coordination issue, as always: gh issue list -R ProjectLeonida/mandy --state open --search "Coordinating who works on what in:title".
  • No game data on GitHub: no screenshots, shader text, program names, title log lines or addresses. Pictures and discussion go on Discord.
  • Two parts for a start: A. game-run tests of important pull requests, and B. rendering work packages.

Before you open a pull request: a self-review pass

One maintainer reads all of this, and about 1,500 pull requests are open. Have your agent review and polish its own work before the pull request is created, not after a reviewer asks.

  • Review the diff as a stranger would. A fresh pass over the whole diff, looking for bugs, missed cases, leftover debug code and anything the description does not explain. A second agent or a fresh session reads more honestly than the one that wrote it.
  • Cut it down. One concern per pull request. Remove what the change does not need: drive-by edits, unused helpers, new settings that only keep an old path alive, comments that repeat the code.
  • Prove it. A test that fails on main and passes with the change. Run it, and say what you ran and on which GPU and driver. Say plainly what you did not test.
  • Check the rules. python -I scripts/check_no_game_data.py <files> is clean; no game data in the diff, the description or the test fixtures.
  • Read your own description once more. It says what changes and why, whether it removes a cause or works around one, what it depends on, and that it was AI-assisted, with the tool and model.
  • Then open it. A pull request that went through this pass gets merged in a batch. One that did not waits for someone to do the pass for you.

A. Game-run tests of important pull requests

The test suites run without the game. What they cannot show is whether a change makes the game go further, look different or stop. That needs people who run it, on as many GPUs as possible.

Step 1: a baseline on main, before anything else

Without a baseline on your machine, no comparison means anything.

  • Build current main, nothing else applied. Use the documented recipe for your profile in docs/running.md, with no deviations you cannot name.
  • Run it twice with the same recipe: once with cold caches, once warm.
  • Post one RUN block per run (format in docs/agent_collaboration.md, "Three blocks") as a comment on this issue. Fill in BASE (the short commit of main), MACHINE, RECIPE, END, CACHES and how far it got.
  • "How far" in fixed words, so runs compare: first-run UI, menu, story load, opening sequence, world load, play. Add the frame rate where the window title or the log gives one.
  • Profiles wanted most: Windows NVIDIA (any generation, say the video memory), Windows AMD, Linux RADV, and any card with 8 GB or less.

Step 2: one pull request against that baseline

  • Same machine, same recipe, same caches state. A = your baseline commit of main. B = the same commit plus the one pull request (for a merged one: the commit before its merge and the merge itself).
  • One variable per comparison. If you change a setting too, that is a second comparison.
  • Post both RUN blocks as a comment on the pull request, and one line here: tested: #N on <GPU>, <same | better | worse>: <how far A> / <how far B>.
  • Worse counts as much as better: a device loss, a stall, a crash or a picture class that appears only in B is exactly what this is for. Describe a picture defect with words and numbers, never with a picture on GitHub.

Which pull requests

Merged recently: do they regress anything?

PR What it changed Watch for / tested so far
#2566 Integration performance & stability stack (PageMirror, GPU detile, async submit/compile, replay state cache, RDNA2→SPIR-V FTZ32/SMEM/absent-lane UB fixes, LEONIDA_GPU_PROFILE, LEONIDA_DEVICE_MARKERS; merged at 012b79a67) Tested on RX 7900 XTX Linux RADV (7.4–13.9 fps opening, 5.3–7.4 fps play, 0 faults across 20 min) and Windows 11 RX 7900 XTX (better: 60.1 → 30.1 subs/s, ~9.3 → ~3.8 ms/f heaps in menu, 0 faults). Watch for: GPUVM faults/stalls, VRAM / page-mirror spill, and rebuilt-pack regressions across Windows NVIDIA, Windows AMD (into play), and 8–16 GB cards
#2714, #2715 D3D12 runtime: faster BCPack BC7 LUTs and SWAR BC1/BC3/BC4/BC5 post-processing Corrupted BCn textures or streaming regressions in D3D12-runtime play runs
#2692, #2693 D3D12 runtime: landing-pool limit checked once per batch; texture/staging pools grow with lock released Frame-pacing changes, stalls, or races during heavy streaming in D3D12-runtime play runs
#2662 D3D12 shader: Wave64 loop convergence, lane provenance, and wide/sub-dword paired LDS Shading/geometry differences or compile regressions in D3D12-runtime play runs
#2649 Programmable sample positions only for multisampled targets (RT-SAMPLE-LOCATIONS-MSAA-ONLY) 1x depth/shadow artifacts or Vulkan validation errors across vendors
#2615 D3D12 runtime: FSR 3 frame generation for cards without DLSS FG Frame pacing, HUD artifacts, or crashes on AMD and older NVIDIA cards in D3D12-runtime runs
#2599 Windows boot defaults to LEONIDA_DEVICE_FAULT=2 so NVIDIA boots read the precompiled compute journal Journal hits on Windows NVIDIA boots and fault diagnostics still firing on device loss
#2508 present_compose: premultiplied sRGB and additive alpha plane 1 decoding 2D / loading-screen / UI alpha and brightness regressions across SDR and HDR presenters
#2407 Per-slot records for the console descriptor heaps Tested on RTX 3090 24 GB (0 device losses, 2+2, PROVISIONAL) and RTX 5080 16 GB (0 device losses across 12 runs, -7.6% ECLX/s and 309–340 ms max heaps in warm Round 2). Still watch for NVIDIA device losses or heaps spikes in play
#1867 Aliased shadow pages guarded, copied only after a write Stale or missing geometry; stalls at the world load
#2404 Title write-back asks the write watch first Tested on Windows AMD Radeon gfx1036 (3+3 warm: write-back 611–19,239 KiB → 0 KiB, 0 faults). Watch for missing GPU-written data and Windows vs Wine differences
#2406 Bindless table limits raised to 65,536 Tested on Windows AMD Radeon gfx1036 (3+3 cold: 0 ECL fail, 0 device lost). Watch for start-up failures or lost textures on drivers with small limits
#2418 A write-back that faults no longer re-takes its lock Tested on RTX 4070 Laptop 8 GB (better: stall at 290 s → play through 648 s, n=1). Watch for the freeze after world load on other 8 GB cards
#2440 LEONIDA_ASYNC_MIN_BYTES Only with the variable set: stalls while pipelines compile
#2412 Adaptive compile gate, now the default Tested on RTX 5080 16 GB (3+3 exploratory classic vs adaptive cold: worst hold 8,040–9,438 ms → 1,405–2,499 ms, ECLX/s +62.8%, 0 device lost). Watch on old NVIDIA drivers
#2439 Smaller typed-load decode in the translator Wrong colours or missing draws after a pack rebuild
#2397 Mesh primitive indices kept below the vertex count Stray or missing geometry, after a pack rebuild
#2230, #2408 Indirect dispatch bound, with counters Dispatches cut that should run
#2102 Mesh shader epilogue Missing geometry, after a pack rebuild
#2260 Prewarm graphics pipelines in recorded order on the compile pool Compile pauses at start-up with and without a recorded order
#2467 LEONIDA_ASYNC_MIN_BYTES_GRAPHICS, separate async threshold for graphics Tested on RTX 4070 Laptop 8 GB (same: play 600 s, 0 device lost). Watch for graphics draw skips vs compile stalls on other GPUs when set
#2468 Write-back tile reopen after faulting copy Tested on RTX 4070 Laptop 8 GB (same: play 600 s, 0 device lost). Watch for missing GPU-written data or write-back hangs on other 8 GB cards

Open: waiting for a game run before they can be merged

PR What it does Needs / tested so far
#2275 Vulkan runtime: warm-up creates no longer hold the compile gate Tested on Windows 11 RTX 5080 16 GB (3+3 cold: waits 955–997 → 2–7, ECLX/s +22.9%, 0 device lost) + Wine synthetic checks on RTX 4070 SUPER & Radeon 610M. Needs additional GPUs / game runs (after small test-comment merge with main)
#2392 make_game.py --stages pipelines fills the runtime's own journal (main merged in) Tested on Windows 11 RTX 5080 16 GB (3+3 cold A/B: in-game compiles 1,721–1,725 → 1, PresentX/s +32.3%, 0 device lost) + real-library precompile on RTX 3080 10 GB & RTX 5070 12 GB. Needs cold-start game runs on AMD and Linux RADV
#2402 Vulkan runtime: retirement records read under their own lock Tested on RTX 3070 Ti 8 GB (Linux+Wine, same through world load), RTX 5080 16 GB (Win11, 2+2 warm, -3.2% ECLX/s in short boots, PROVISIONAL), and Windows 11 RX 7900 XTX 24 GB (same: 30.0 vs 29.6 fps menu, 0 faults). Needs sustained play runs across GPUs
#2645 Vulkan runtime: sparse buffer memory types checked before sharing tile heaps (supersedes #2405) Synthetic/unit tests passed on Intel Arc Pro B60, RTX 4090, RTX 3090, RTX 4070 SUPER, RADV (plus prior #2405 boot runs on RTX 3060 Ti / 3070 Ti / 5080 / RX 7900 XTX). Needs a game run that exercises UpdateTileMappings on NVIDIA, AMD, and Intel
#2367 Translator restarts a tool when a Windows job refuses it (ERROR_NOT_ENOUGH_QUOTA) Part 1 unit / worker-parity / Win32 Job Object checks passed on 4 Windows 11 machines. Needs a full Windows shader-pack translation under memory pressure
#2126 (draft) Vulkan runtime: decline file-backed / multi-VMA host imports under Wine (RT-WINE-HOST-IMPORT-POLICY) Tested on RTX 3070 Ti 8 GB Linux+Wine (better: fixes 24–28 s vkAllocateMemory -1 / E_OUTOFMEMORY crash with LEONIDA_XMEM_BACKING_DIR, saves ~6.6 GiB RAM). Needs additional Linux/Wine NVIDIA & AMD runs
#2572 Vulkan runtime: write watching on by default under Wine too (RT-WRITE-WATCH-WINE-DEFAULT) Unit-checked on Windows. Needs Linux/Wine game-run A/B on RADV and NVIDIA to verify MEM_WRITE_WATCH behaviour and performance under Wine
#2651 Vulkan runtime: compile pool defaults to 2 large builds and sizes from the affinity mask Synthetic checks on RTX 4090 & Wine. Needs cold-start game runs on 8–16 GB RAM and high-core-count CPUs to verify lower peak RAM without compile stalls
#2670 D3D12 runtime: keep RDNA2's 2 GB aperture segment from filling (D3D12-RDNA2-APERTURE-SEGMENT) Fixes device lost at the first heavy scene with LEONIDA_RELAY=2 on RDNA2. Needs Windows AMD RDNA2 (RX 6000) and RDNA3 play A/B runs
#2694 D3D12 runtime: serialize driver PSO creation on AMD (D3D12-PIPELINE-CREATE-LOCK-AMD) Fixes deterministic amdxc64.dll crash / internal error during multi-thread early compile on RDNA3; synthetic/Wine cache round-trips checked on RTX 4090 & AMD Wine. Needs native Windows AMD cold/warm game runs
#2622 D3D12 runtime: prioritize pipelines a frame is waiting for ahead of background queue (D3D12-PIPELINE-WAIT-QUEUE) Initial provisional A/B runs on RTX 4070 Laptop 8 GB and RTX 4080 Laptop. Needs additional cold/warm play A/B runs across NVIDIA & AMD
#2643 D3D12 runtime: separate upload VA from BVH arenas so DLSS FG runs with ray tracing (D3D12-RT-FG-ARENA-VA-STORM) Unit-tested on RTX 3090. Needs RTX 40/50 series game runs with DLSS Frame Generation + RT enabled
#2580, #2581 D3D12 runtime: compute fallback for mesh shaders and geometry-stage fallback for barycentrics Unit/GPU tests verified on Windows/macOS. Needs game runs on pre-Turing NVIDIA (Pascal/Maxwell) or mesh-shader-tier-0 GPUs
#2589 D3D12 runtime: render-target reserve expires once targets settle (LEONIDA_CARD_ROOM_FOR_TARGETS_SETTLE_MS, off by default) Needs 8 GB GPU play A/B runs (with the env var enabled) to measure VRAM headroom and frame pacing
#2688 D3D12 shader: double-buffer wave64 exchange banks to halve loop barriers Synthetic DXIL/GPU check on RTX 4090. Needs play A/B runs (with rebuilt shader cache) for GPU frame-time impact and visual parity
#2699 D3D12 runtime: AVX2 fast paths for shadow merge, back_piece, and changed_runs Microbenchmarked on Windows & Wine. Needs play A/B runs with LEONIDA_RELAY=1 and LEONIDA_LAND=1 to confirm CPU frame-time gain and visual parity
#2577 Linux: build leonida.exe and run it under Proton or Wine Needs Linux Proton/Wine game runs on RADV and NVIDIA (including VKD3D-Proton v3.1+) to verify end-to-end build and launch

(Removed from open list: #2566 merged at 012b79a67, #2260 merged, #2405 closed as superseded by #2645, #2416 closed.)

This list is a start. If a pull request you depend on is missing, say so in a comment and it is added.

B. Rendering work packages

The maintainer's own work is CPU performance for the coming rounds. Rendering is open to everyone else, in packages that do not collide with each other or with that work.

Base

  • Branch from main. Pull requests target main.
  • The maintainer's performance stack (#2566) landed on main at 012b79a67 (current main head: b17b22d33). Rebase open branches onto current main before final verification.
  • Some defects below were seen in the maintainer's own runs (Linux, RADV, RX 7900 XTX). Check first that current main shows the defect on your GPU.

Rules for a package

  • Claim first in the coordination issue on GitHub: claiming: <ID>, one package per person or named pair. Find the issue by title:
gh issue list -R ProjectLeonida/mandy --state open --search "Coordinating who works on what in:title"
  • No game data on GitHub: no screenshots, shader text, program names, title log lines or addresses. Pictures and discussion go on Discord, never here.
  • Stay in your package's files. The performance rewrite's files are off limits (next section).
  • Every PR has a test that fails on main and passes with it, runs (or skips with 77) on RADV under Wine, and is one concern.
  • Say it was AI-assisted and name the tool and model, and list GPUs tested:.

Off limits: the performance rewrite

The maintainer is rewriting these for CPU time. Read them, do not change them. If your fix lands here, post a finding: instead (see "Something outside your package?").

  • runtime/shims/xmem.cpp, xmem.h
  • runtime/src/title_*watch.h, title_mirror*.h, title_frames.h, title_va_alias.h, arena_*.h
  • runtime/src/console_heap_slot_records.h, console_heap_fix.*, console_heap_gpu.h
  • runtime/shims/d3d12_geometry_views.h, d3d12_title_buffer_windows.h, d3d12_title_image_upload.h, d3d12_xs_list_values.h
  • the title-texture refresh and upload, slot-133 shadows, title windows, console heaps and T#/V# fixing in runtime/shims/d3d12_vulkan_device.cpp
  • the title upload and wait parts of runtime/src/vulkan_backend.h
  • in tools/rdna2spirv.py: the descriptor paths, the v_dot4 rules and scalar_load

runtime/src/vulkan_replay.h is open, but keep hooks to a call or two: it gets restructured later.

d3d12_vulkan_device.cpp is not split yet (a refactor round comes later). Until then each package owns a region of it, named in its block, and new code goes into a new header with a short hook.

Tools first (they multiply everyone's work)

RT-PASS-TARGET-DUMP: dump a frame's render targets per pass (medium) — open PR: #2466

  • What: LEONIDA_TARGET_DUMP=<dir>,<frame>: after each rendering scope and each dispatch that writes a storage image, the targets of one frame as PNG or raw, plus an index.json (pass number, format, size). Today only the presented frame can be dumped.
  • Where: a new runtime/src/target_dump.h, one hook each in emit_commands (runtime/src/vulkan_replay.h); share the writer of present_dump.h (see #2146).
  • Needs: no game for the test, any Vulkan GPU; the game to use it.
  • Done when: a new test with two scopes and one dispatch gets exact pixels back; off by default, free when off.
  • Do not touch: console heaps, xmem, title watches, texture refresh. Dumps stay on your disk.

RT-FRAME-TRACE: a pass and draw trace that names pipelines (medium)

  • What: one JSON line per command of one frame: pass, attachments, pipeline id (ours, never the title's names), topology, counts, indirect or not, viewport, blend/depth digest, unbound textures by reason. tools/frame_trace.py summarises and diffs two traces.
  • Note: draw markers (LEONIDA_DEVICE_MARKERS) and GPU time per pipeline (LEONIDA_GPU_PROFILE) are now on main (landed via #2566 at 012b79a67), so the recorder can wire them directly. One recorder only: talk to the holder of RT-FAULT-DRAW-RESOURCE-RANGES.
  • Needs: no game for the test.
  • Done when: a synthetic list with a rect-list, a quad, an indirect draw and a dispatch gives four right records.

RT-GPU-CAPTURE-LAYERS: RenderDoc and GFXReconstruct captures (medium)

  • What: find out whether these capture tools work on our layer under Wine/Proton and on Windows, and what breaks them (sparse binding, buffer device addresses, mesh shaders, host image copies, memory size). A setting to trigger one frame, and a recipe page in docs/. This would give per-pass targets and a replay without the game.
  • Needs: the game, any GPU.
  • Done when: one menu frame and one world frame captured and replayed on RADV and on one Windows driver, reported in a RUN block.
  • Do not touch: anything but a setting (off by default) and docs.

RT-FRAME-REPLAY: our own frame record and replay (large, later)

  • Only if the capture tools fail on our memory model. Record one frame's prepared lists and the memory they touch; replay them through vulkan_replay.h in a standalone tool. Waits for the maintainer's GPU mirror of title memory; design note first.

TOOLS-PICTURE-REPORT: describe a defect without a picture (small) — open PR: #2455

  • What: a PICTURE block (like the RUN block of docs/agent_collaboration.md) and tools/picture_metrics.py (standard library): from a frame on your disk, numbers only: luma stats, dark share per region, a lattice detector (tile, period, phase), a block-grid detector, a per-8×8 diff of two frames, a defect class.
  • Classes: LATTICE, BLACK-NEAR, BLOCKS, FLASH, CHAR-BLACK, CHAR-MISSING, 2D-MISSING, STRAY-GEO, SMEAR, OK.
  • Needs: no game.
  • Done when: tests on synthetic PNGs recover the drawn parameters.

Defects

RT-PICTURE-LATTICE: small dark triangles on a screen-space lattice (medium)

  • What: in 8×8-pixel tiles at 720p, on one diagonal in sixteen, fixed phase, one orientation, since the first world frames. Ruled out: memory swizzle, skipped compute, ray tracing off, the shadow-mask ray tracers (by reading); the shape is not a set of wave lanes.
  • Leads, in order: the rect-list corner rule (next block; #2416 is now closed), whatever builds a tile list.
  • Needs: the game, AMD first (seen on RADV); the target dump and picture metrics.
  • Done when: the first pass that carries it is named, an A/B with one variable removes it, and the fix has a test.

RT-RECT-LIST-CORNER: the fourth corner of a rectangle (small) — open PRs: #2478, #1970

  • What: ours takes the corner opposite the longest side, from x and y before the divide by w. Another implementation takes the vertex that shares x with one vertex and y with the other, and refuses when w differs. Add cases (w ≠ 1, near-square, right angle at each vertex, degenerate) and keep the rule that passes them.
  • Where: runtime/src/rect_list_geometry.h, d3d12_rect_list_test, the "Console rectangle and quad lists" part of docs/d3d12_vulkan.md. #1970 touches the same header.
  • Needs: no game, any GPU with geometry shaders.
  • Done when: the new cases fail on main, or show the rules agree (that closes a lattice lead too).

SHADER-TSHARP-2D-DEPTH: the depth field of a plain 2D texture descriptor (small)

  • What: the decoder reads WORD4 DEPTH as the last layer for every non-3D type; on RDNA2 that field may be the pitch of a linear 2D texture, so valid full-screen 2D textures may be refused.
  • Where: runtime/src/gfx10_descriptors.h decode() and its test; measure with tools/image_fuzz.py --oracle hw; Mesa ac_descriptors.c as reference. #2089 (merged) and #2223 (open) touch the same header.
  • Needs: no game; an AMD GPU (RDNA2 for the oracle).
  • Done when: the oracle result is in the PR, a unit test fails on main, and a run's count of that refusal drops.
  • Do not touch: the texture binding and waiting code in d3d12_vulkan_device.cpp.

RT-PICTURE-CHARACTERS: faces black, bodies missing (medium)

  • What: faces drawn black with the eyes drawn; bodies missing in play. Seen in the maintainer's local work and reported by others; first check whether current main shows it on your GPU. Known: the title writes GPU addresses into its own buffers that point into GPU-only memory (the maintainer's rewrite); another implementation found a one-time decoration bake that stays black for the whole run if its textures are not uploaded before it.
  • Needs: the game, 8 GB of video memory or more; target dump and trace.
  • Done when: the pass and the missing input are named; a test without the game reproduces the order problem. The upload fix itself goes to the maintainer as a finding:.
  • Do not touch: texture refresh and uploads, xmem.

RT-PICTURE-EXPOSURE: exposure flashing white, black, good (medium)

  • What: find the luminance reduction and its readers with the trace; log that small buffer's values per frame (numbers only); separate frame order, a history buffer reset, NaN or denormals in the translation, missing ray-traced light.
  • Needs: the game, any GPU.
  • Done when: an A/B with one variable names the cause.
  • Do not touch: value-wait code.

RT-PICTURE-2D-LAYERS: loading-screen art, 2D layers, video artwork (medium) — merged PR: #2508; open PRs: #2001, #2014

  • What: the UI and button prompts are drawn; the loading art is missing; the opening's video art (CPU-decoded video in 8-bit planes) is partly missing. One Windows user sees the loading art.
  • Where: composition in runtime/shims/xbox_present.cpp and runtime/src/present_compose.* (plane alpha, BGRX, sRGB fallback, HDR10, SDR white level: #2508 merged; #2001 and #2014 open); the trace for which texture of the loading draw is unbound and why.
  • Needs: no game for composition tests; the game for the diagnosis. Region: WindowPresenter.
  • Do not touch: descriptor refill and texture refresh (report those as findings).

RT-PICTURE-STRAY-GEOMETRY: misplaced geometry, stray geometry in the sky (medium)

  • What: classify the stray draws with the trace (mesh or vertex path, indirect, skinned); A/B the mesh primitive clamp (#2397). A GPU-written vertex buffer overwritten by a stale CPU copy is the rewrite's: report it with a test.
  • Needs: the game.
  • Do not touch: geometry views, shadows.

RT-TILED-LIGHTING-INPUTS: the slow tiled-lighting pass and its compute partner (large)

  • What: both took 85–230 ms a call on main and depend on data; their loop counts may be inflated by wrong inputs. With #2566 (now on main at 012b79a67; RX 7900 XTX, Linux RADV, rebuilt shader pack), play is now GPU-bound (101–121 ms/f Direct GPU busy: 57–76 ms/f Mesh, 34–39 ms/f Compute, 5.6–8.9 ms/f Graphics; 5.3–7.4 fps in play, 7.4–13.9 fps opening sequence), and VRAM reached 21.3 GiB (14 page-mirror units / 448 MiB spilling to host RAM over PCIe). A translator debug option that counts loop trips per draw into a buffer; compare with the light and tile counts the inputs imply; name the wrong input.
  • Needs: the game, AMD.
  • Do not touch: descriptor lookups, v_dot4, scalar_load.

State audits and the vendor matrix

RT-STATE-AUDIT-FORMATS: formats, views, clears, copies, resolve (medium) — merged PR: #1179; open PRs: #2479, #2480, #2482, #2483

  • What: walk the format table and view rules against D3D12 and the console's extras; #1179 merged; review or finish #1456, #2223, #2268, #1830, #2271; a count of the formats the title creates ranks the gaps.
  • Region: Format and the format checks in d3d12_vulkan_device.cpp; clears and copies in vulkan_replay.h.
  • Needs: no game, any GPU.
  • Done when: each gap has a GPU test that fails on main.

RT-STATE-AUDIT-PIPELINE: blend, depth, stencil, raster, samplers (medium) — merged PRs: #2473, #2476, #2089; open PRs: #2474, #2475, #2477, #2023, #1695, #1774

  • What: the same for pipeline state and samplers: native pipeline state (#2473, #2476 merged), integer-target blend (#2023), depth bounds (#2234, #1695, #2474, #2477), sampler LOD and anisotropy (#2089 merged; #2475 open), MoltenVK LOD bias (#1774).
  • Region: PipelineStream and PipelineState in d3d12_vulkan_device.cpp, d3d12_xs_pso_stream.*, runtime/src/native_pso.h.
  • Needs: no game, any GPU.
  • Done when: each gap has a GPU test that fails on main.

RT-PICTURE-RAY-TRACING: the picture with ray tracing on (large, lowest priority)

  • Shadow masks and reflections against ray tracing off; structure builds that resolve. Needs the game and 24 GB of video memory. Do not touch arena code.

RT-PICTURE-CROSS-VENDOR: which defect shows on which GPU (small per run)

  • The same build and recipe on Linux RADV, Windows AMD, Windows NVIDIA (macOS later); one PICTURE block per class; a page in docs/ with classes and counts. NVIDIA translation is quartz-heron-58's and HasiKe's: the matrix reports, it does not fix.

Showing results, findings, merging

Pictures

  • Post shots and dumps on Discord, with a PICTURE block beside them.
  • On GitHub only the block: classes, numbers, pass number, our pipeline id. Never the picture, program names, log lines or addresses.
  • Runs and test requests use the RUN and TEST-WANTED blocks of docs/agent_collaboration.md.

Something outside your package?

  • finding: <one line> in the coordination issue: file and line, the package it belongs to, whether it needs the game or particular hardware.
  • Inside the performance rewrite: add needs: perf rewrite and link a failing test. Keep the diagnosis, do not fix it.
  • If your package turns out to depend on the rewrite: post that as a new claim comment ("parked on rewrite") and keep the diagnosis half.

What makes a PR batchable

  • One concern, small, on current main, inside its package's files and region; the ID in the title.
  • A test that fails on main and passes with it, and runs or skips with 77 on RADV under Wine. Translator rules get an .asm fixture and a row in docs/design.md.
  • New settings off by default, unless a RUN block shows the fix right on two vendors. Diagnostics free when off.
  • Say whether it removes the cause or works around it.
  • python -I scripts/check_no_game_data.py <files> is clean; GPUs tested: names vendor, model, driver, OS.

How merging works: the maintainer merges in batches by area, tools first. He merges main into each branch, runs the Wine suite on RADV and the translator suite, and runs the game once per batch. A PR that conflicts with its batch waits for the next one.

Updates

  • 2026-11-27: created, with part A (game-run tests) and part B (rendering packages).
  • 2026-11-27: added "Before you open a pull request: a self-review pass".
  • 2026-11-28: moved merged #2260, #2467, #2468 and closed #2416 out of the open list; added #2566 (performance & stability integration stack, merged through main 0318164b8 — RX 7900 XTX RADV now GPU-bound at 5.3–7.4 fps in play / 7.4–13.9 fps opening sequence, 0 faults across 20-minute runs, 29,268/29,268 spirv-val-valid shaders with 0 absent-lane UB sites) for cross-vendor game-run testing; linked open rendering-package PRs (#2455, #2466, #2473–#2480, #2482–#2483, #2508).
  • 2026-11-30: moved merged #2566 (landed on main at 012b79a67; current main b17b22d33) into the recently-merged regression table alongside newly merged high-impact PRs (#2508, #2599, #2615, #2649, #2662, #2692, #2693, #2714, #2715); replaced closed #2405 with its successor #2645; recorded tested: / RUN hardware reports from comments on #2407, #2404, #2406, #2418, #2412, #2467, #2468, #2275, #2392, #2402, #2367, #2566; added newly opened high-impact Vulkan & D3D12 runtime PRs needing game runs (#2126, #2572, #2577, #2580, #2581, #2589, #2622, #2643, #2651, #2670, #2688, #2694, #2699); updated Part B base/status refs for merged rendering-package PRs (#1179, #2089, #2473, #2476, #2508) and repo URL (ProjectLeonida/mandy).

AI-assisted (Claude Code, Claude Opus 5.5, Claude Fable 5.2, and Antigravity Gemini 4 Neon)

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:6646938861 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-11-27T13:00:33Z. --- This issue lists work that is open for anyone to take. The maintainer keeps it up to date: items are added, changed and struck out here, and each change gets a dated line at the bottom. - **Claims do not go here.** Claim in the coordination issue, as always: `gh issue list -R ProjectLeonida/mandy --state open --search "Coordinating who works on what in:title"`. - **No game data on GitHub:** no screenshots, shader text, program names, title log lines or addresses. Pictures and discussion go on Discord. - Two parts for a start: **A. game-run tests of important pull requests**, and **B. rendering work packages**. ## Before you open a pull request: a self-review pass One maintainer reads all of this, and about 1,500 pull requests are open. Have your agent review and polish its own work **before** the pull request is created, not after a reviewer asks. - **Review the diff as a stranger would.** A fresh pass over the whole diff, looking for bugs, missed cases, leftover debug code and anything the description does not explain. A second agent or a fresh session reads more honestly than the one that wrote it. - **Cut it down.** One concern per pull request. Remove what the change does not need: drive-by edits, unused helpers, new settings that only keep an old path alive, comments that repeat the code. - **Prove it.** A test that fails on `main` and passes with the change. Run it, and say what you ran and on which GPU and driver. Say plainly what you did not test. - **Check the rules.** `python -I scripts/check_no_game_data.py <files>` is clean; no game data in the diff, the description or the test fixtures. - **Read your own description once more.** It says what changes and why, whether it removes a cause or works around one, what it depends on, and that it was AI-assisted, with the tool and model. - **Then open it.** A pull request that went through this pass gets merged in a batch. One that did not waits for someone to do the pass for you. # A. Game-run tests of important pull requests The test suites run without the game. What they cannot show is whether a change makes the game go further, look different or stop. That needs people who run it, on as many GPUs as possible. ## Step 1: a baseline on `main`, before anything else Without a baseline on your machine, no comparison means anything. - Build current `main`, nothing else applied. Use the documented recipe for your profile in `docs/running.md`, with no deviations you cannot name. - Run it twice with the same recipe: once with cold caches, once warm. - Post one `RUN` block per run (format in `docs/agent_collaboration.md`, "Three blocks") as a comment **on this issue**. Fill in `BASE` (the short commit of `main`), `MACHINE`, `RECIPE`, `END`, `CACHES` and how far it got. - "How far" in fixed words, so runs compare: `first-run UI`, `menu`, `story load`, `opening sequence`, `world load`, `play`. Add the frame rate where the window title or the log gives one. - Profiles wanted most: Windows NVIDIA (any generation, say the video memory), Windows AMD, Linux RADV, and any card with 8 GB or less. ## Step 2: one pull request against that baseline - Same machine, same recipe, same caches state. **A** = your baseline commit of `main`. **B** = the same commit plus the one pull request (for a merged one: the commit before its merge and the merge itself). - One variable per comparison. If you change a setting too, that is a second comparison. - Post both `RUN` blocks as a comment **on the pull request**, and one line here: `tested: #N on <GPU>, <same | better | worse>: <how far A> / <how far B>`. - Worse counts as much as better: a device loss, a stall, a crash or a picture class that appears only in B is exactly what this is for. Describe a picture defect with words and numbers, never with a picture on GitHub. ## Which pull requests **Merged recently: do they regress anything?** | PR | What it changed | Watch for / tested so far | | --- | --- | --- | | #2566 | Integration performance & stability stack (PageMirror, GPU detile, async submit/compile, replay state cache, RDNA2→SPIR-V FTZ32/SMEM/absent-lane UB fixes, `LEONIDA_GPU_PROFILE`, `LEONIDA_DEVICE_MARKERS`; merged at `012b79a67`) | Tested on RX 7900 XTX Linux RADV (`7.4–13.9 fps` opening, `5.3–7.4 fps` play, `0` faults across 20 min) and Windows 11 RX 7900 XTX (`better`: `60.1 → 30.1 subs/s`, `~9.3 → ~3.8 ms/f` heaps in menu, `0` faults). Watch for: GPUVM faults/stalls, VRAM / page-mirror spill, and rebuilt-pack regressions across Windows NVIDIA, Windows AMD (into play), and 8–16 GB cards | | #2714, #2715 | D3D12 runtime: faster BCPack BC7 LUTs and SWAR BC1/BC3/BC4/BC5 post-processing | Corrupted BCn textures or streaming regressions in D3D12-runtime play runs | | #2692, #2693 | D3D12 runtime: landing-pool limit checked once per batch; texture/staging pools grow with lock released | Frame-pacing changes, stalls, or races during heavy streaming in D3D12-runtime play runs | | #2662 | D3D12 shader: Wave64 loop convergence, lane provenance, and wide/sub-dword paired LDS | Shading/geometry differences or compile regressions in D3D12-runtime play runs | | #2649 | Programmable sample positions only for multisampled targets (`RT-SAMPLE-LOCATIONS-MSAA-ONLY`) | 1x depth/shadow artifacts or Vulkan validation errors across vendors | | #2615 | D3D12 runtime: FSR 3 frame generation for cards without DLSS FG | Frame pacing, HUD artifacts, or crashes on AMD and older NVIDIA cards in D3D12-runtime runs | | #2599 | Windows boot defaults to `LEONIDA_DEVICE_FAULT=2` so NVIDIA boots read the precompiled compute journal | Journal hits on Windows NVIDIA boots and fault diagnostics still firing on device loss | | #2508 | `present_compose`: premultiplied sRGB and additive alpha plane 1 decoding | 2D / loading-screen / UI alpha and brightness regressions across SDR and HDR presenters | | #2407 | Per-slot records for the console descriptor heaps | Tested on RTX 3090 24 GB (`0` device losses, 2+2, `PROVISIONAL`) and RTX 5080 16 GB (`0` device losses across 12 runs, `-7.6%` ECLX/s and `309–340 ms` max `heaps` in warm Round 2). Still watch for NVIDIA device losses or `heaps` spikes in play | | #1867 | Aliased shadow pages guarded, copied only after a write | Stale or missing geometry; stalls at the world load | | #2404 | Title write-back asks the write watch first | Tested on Windows AMD Radeon `gfx1036` (3+3 warm: write-back `611–19,239 KiB → 0 KiB`, `0` faults). Watch for missing GPU-written data and Windows vs Wine differences | | #2406 | Bindless table limits raised to 65,536 | Tested on Windows AMD Radeon `gfx1036` (3+3 cold: `0` ECL fail, `0` device lost). Watch for start-up failures or lost textures on drivers with small limits | | #2418 | A write-back that faults no longer re-takes its lock | Tested on RTX 4070 Laptop 8 GB (`better`: stall at 290 s → play through 648 s, `n=1`). Watch for the freeze after world load on other 8 GB cards | | #2440 | `LEONIDA_ASYNC_MIN_BYTES` | Only with the variable set: stalls while pipelines compile | | #2412 | Adaptive compile gate, now the default | Tested on RTX 5080 16 GB (3+3 exploratory `classic` vs `adaptive` cold: worst hold `8,040–9,438 ms → 1,405–2,499 ms`, ECLX/s `+62.8%`, `0` device lost). Watch on old NVIDIA drivers | | #2439 | Smaller typed-load decode in the translator | Wrong colours or missing draws after a pack rebuild | | #2397 | Mesh primitive indices kept below the vertex count | Stray or missing geometry, after a pack rebuild | | #2230, #2408 | Indirect dispatch bound, with counters | Dispatches cut that should run | | #2102 | Mesh shader epilogue | Missing geometry, after a pack rebuild | | #2260 | Prewarm graphics pipelines in recorded order on the compile pool | Compile pauses at start-up with and without a recorded order | | #2467 | `LEONIDA_ASYNC_MIN_BYTES_GRAPHICS`, separate async threshold for graphics | Tested on RTX 4070 Laptop 8 GB (`same`: play 600 s, `0` device lost). Watch for graphics draw skips vs compile stalls on other GPUs when set | | #2468 | Write-back tile reopen after faulting copy | Tested on RTX 4070 Laptop 8 GB (`same`: play 600 s, `0` device lost). Watch for missing GPU-written data or write-back hangs on other 8 GB cards | **Open: waiting for a game run before they can be merged** | PR | What it does | Needs / tested so far | | --- | --- | --- | | #2275 | Vulkan runtime: warm-up creates no longer hold the compile gate | Tested on Windows 11 RTX 5080 16 GB (3+3 cold: waits `955–997 → 2–7`, ECLX/s `+22.9%`, `0` device lost) + Wine synthetic checks on RTX 4070 SUPER & Radeon 610M. Needs additional GPUs / game runs (after small test-comment merge with `main`) | | #2392 | `make_game.py --stages pipelines` fills the runtime's own journal (`main` merged in) | Tested on Windows 11 RTX 5080 16 GB (3+3 cold A/B: in-game compiles `1,721–1,725 → 1`, PresentX/s `+32.3%`, `0` device lost) + real-library precompile on RTX 3080 10 GB & RTX 5070 12 GB. Needs cold-start game runs on AMD and Linux RADV | | #2402 | Vulkan runtime: retirement records read under their own lock | Tested on RTX 3070 Ti 8 GB (Linux+Wine, `same` through world load), RTX 5080 16 GB (Win11, 2+2 warm, `-3.2%` ECLX/s in short boots, `PROVISIONAL`), and Windows 11 RX 7900 XTX 24 GB (`same`: 30.0 vs 29.6 fps menu, `0` faults). Needs sustained play runs across GPUs | | #2645 | Vulkan runtime: sparse buffer memory types checked before sharing tile heaps (supersedes #2405) | Synthetic/unit tests passed on Intel Arc Pro B60, RTX 4090, RTX 3090, RTX 4070 SUPER, RADV (plus prior #2405 boot runs on RTX 3060 Ti / 3070 Ti / 5080 / RX 7900 XTX). Needs a game run that exercises `UpdateTileMappings` on NVIDIA, AMD, and Intel | | #2367 | Translator restarts a tool when a Windows job refuses it (`ERROR_NOT_ENOUGH_QUOTA`) | Part 1 unit / worker-parity / Win32 Job Object checks passed on 4 Windows 11 machines. Needs a full Windows shader-pack translation under memory pressure | | #2126 *(draft)* | Vulkan runtime: decline file-backed / multi-VMA host imports under Wine (`RT-WINE-HOST-IMPORT-POLICY`) | Tested on RTX 3070 Ti 8 GB Linux+Wine (`better`: fixes 24–28 s `vkAllocateMemory -1` / `E_OUTOFMEMORY` crash with `LEONIDA_XMEM_BACKING_DIR`, saves ~6.6 GiB RAM). Needs additional Linux/Wine NVIDIA & AMD runs | | #2572 | Vulkan runtime: write watching on by default under Wine too (`RT-WRITE-WATCH-WINE-DEFAULT`) | Unit-checked on Windows. Needs Linux/Wine game-run A/B on RADV and NVIDIA to verify `MEM_WRITE_WATCH` behaviour and performance under Wine | | #2651 | Vulkan runtime: compile pool defaults to 2 large builds and sizes from the affinity mask | Synthetic checks on RTX 4090 & Wine. Needs cold-start game runs on 8–16 GB RAM and high-core-count CPUs to verify lower peak RAM without compile stalls | | #2670 | D3D12 runtime: keep RDNA2's 2 GB aperture segment from filling (`D3D12-RDNA2-APERTURE-SEGMENT`) | Fixes device lost at the first heavy scene with `LEONIDA_RELAY=2` on RDNA2. Needs Windows AMD RDNA2 (RX 6000) and RDNA3 play A/B runs | | #2694 | D3D12 runtime: serialize driver PSO creation on AMD (`D3D12-PIPELINE-CREATE-LOCK-AMD`) | Fixes deterministic `amdxc64.dll` crash / internal error during multi-thread early compile on RDNA3; synthetic/Wine cache round-trips checked on RTX 4090 & AMD Wine. Needs native Windows AMD cold/warm game runs | | #2622 | D3D12 runtime: prioritize pipelines a frame is waiting for ahead of background queue (`D3D12-PIPELINE-WAIT-QUEUE`) | Initial provisional A/B runs on RTX 4070 Laptop 8 GB and RTX 4080 Laptop. Needs additional cold/warm play A/B runs across NVIDIA & AMD | | #2643 | D3D12 runtime: separate upload VA from BVH arenas so DLSS FG runs with ray tracing (`D3D12-RT-FG-ARENA-VA-STORM`) | Unit-tested on RTX 3090. Needs RTX 40/50 series game runs with DLSS Frame Generation + RT enabled | | #2580, #2581 | D3D12 runtime: compute fallback for mesh shaders and geometry-stage fallback for barycentrics | Unit/GPU tests verified on Windows/macOS. Needs game runs on pre-Turing NVIDIA (Pascal/Maxwell) or mesh-shader-tier-0 GPUs | | #2589 | D3D12 runtime: render-target reserve expires once targets settle (`LEONIDA_CARD_ROOM_FOR_TARGETS_SETTLE_MS`, off by default) | Needs 8 GB GPU play A/B runs (with the env var enabled) to measure VRAM headroom and frame pacing | | #2688 | D3D12 shader: double-buffer wave64 exchange banks to halve loop barriers | Synthetic DXIL/GPU check on RTX 4090. Needs play A/B runs (with rebuilt shader cache) for GPU frame-time impact and visual parity | | #2699 | D3D12 runtime: AVX2 fast paths for shadow merge, `back_piece`, and `changed_runs` | Microbenchmarked on Windows & Wine. Needs play A/B runs with `LEONIDA_RELAY=1` and `LEONIDA_LAND=1` to confirm CPU frame-time gain and visual parity | | #2577 | Linux: build `leonida.exe` and run it under Proton or Wine | Needs Linux Proton/Wine game runs on RADV and NVIDIA (including VKD3D-Proton v3.1+) to verify end-to-end build and launch | *(Removed from open list: `#2566` merged at `012b79a67`, `#2260` merged, `#2405` closed as superseded by `#2645`, `#2416` closed.)* This list is a start. If a pull request you depend on is missing, say so in a comment and it is added. # B. Rendering work packages The maintainer's own work is CPU performance for the coming rounds. Rendering is open to everyone else, in packages that do not collide with each other or with that work. ## Base - Branch from `main`. Pull requests target `main`. - The maintainer's performance stack (**#2566**) landed on `main` at `012b79a67` (current `main` head: `b17b22d33`). Rebase open branches onto current `main` before final verification. - Some defects below were seen in the maintainer's own runs (Linux, RADV, RX 7900 XTX). Check first that current `main` shows the defect on your GPU. ## Rules for a package - **Claim first** in the coordination issue on GitHub: `claiming: <ID>`, one package per person or named pair. Find the issue by title: ``` gh issue list -R ProjectLeonida/mandy --state open --search "Coordinating who works on what in:title" ``` - **No game data on GitHub:** no screenshots, shader text, program names, title log lines or addresses. Pictures and discussion go on Discord, never here. - **Stay in your package's files.** The performance rewrite's files are off limits (next section). - **Every PR has a test** that fails on `main` and passes with it, runs (or skips with 77) on RADV under Wine, and is one concern. - **Say it was AI-assisted** and name the tool and model, and list `GPUs tested:`. ## Off limits: the performance rewrite The maintainer is rewriting these for CPU time. Read them, do not change them. If your fix lands here, post a `finding:` instead (see "Something outside your package?"). - `runtime/shims/xmem.cpp`, `xmem.h` - `runtime/src/title_*watch.h`, `title_mirror*.h`, `title_frames.h`, `title_va_alias.h`, `arena_*.h` - `runtime/src/console_heap_slot_records.h`, `console_heap_fix.*`, `console_heap_gpu.h` - `runtime/shims/d3d12_geometry_views.h`, `d3d12_title_buffer_windows.h`, `d3d12_title_image_upload.h`, `d3d12_xs_list_values.h` - the title-texture refresh and upload, slot-133 shadows, title windows, console heaps and T#/V# fixing in `runtime/shims/d3d12_vulkan_device.cpp` - the title upload and wait parts of `runtime/src/vulkan_backend.h` - in `tools/rdna2spirv.py`: the descriptor paths, the `v_dot4` rules and `scalar_load` `runtime/src/vulkan_replay.h` is open, but keep hooks to a call or two: it gets restructured later. **`d3d12_vulkan_device.cpp` is not split yet** (a refactor round comes later). Until then each package owns a region of it, named in its block, and new code goes into a new header with a short hook. ## Tools first (they multiply everyone's work) **`RT-PASS-TARGET-DUMP`: dump a frame's render targets per pass** (medium) — *open PR: #2466* - What: `LEONIDA_TARGET_DUMP=<dir>,<frame>`: after each rendering scope and each dispatch that writes a storage image, the targets of one frame as PNG or raw, plus an `index.json` (pass number, format, size). Today only the presented frame can be dumped. - Where: a new `runtime/src/target_dump.h`, one hook each in `emit_commands` (`runtime/src/vulkan_replay.h`); share the writer of `present_dump.h` (see #2146). - Needs: no game for the test, any Vulkan GPU; the game to use it. - Done when: a new test with two scopes and one dispatch gets exact pixels back; off by default, free when off. - Do not touch: console heaps, xmem, title watches, texture refresh. Dumps stay on your disk. **`RT-FRAME-TRACE`: a pass and draw trace that names pipelines** (medium) - What: one JSON line per command of one frame: pass, attachments, pipeline id (ours, never the title's names), topology, counts, indirect or not, viewport, blend/depth digest, unbound textures by reason. `tools/frame_trace.py` summarises and diffs two traces. - Note: draw markers (`LEONIDA_DEVICE_MARKERS`) and GPU time per pipeline (`LEONIDA_GPU_PROFILE`) are now on `main` (landed via **#2566** at `012b79a67`), so the recorder can wire them directly. One recorder only: talk to the holder of `RT-FAULT-DRAW-RESOURCE-RANGES`. - Needs: no game for the test. - Done when: a synthetic list with a rect-list, a quad, an indirect draw and a dispatch gives four right records. **`RT-GPU-CAPTURE-LAYERS`: RenderDoc and GFXReconstruct captures** (medium) - What: find out whether these capture tools work on our layer under Wine/Proton and on Windows, and what breaks them (sparse binding, buffer device addresses, mesh shaders, host image copies, memory size). A setting to trigger one frame, and a recipe page in `docs/`. This would give per-pass targets and a replay without the game. - Needs: the game, any GPU. - Done when: one menu frame and one world frame captured and replayed on RADV and on one Windows driver, reported in a RUN block. - Do not touch: anything but a setting (off by default) and docs. **`RT-FRAME-REPLAY`: our own frame record and replay** (large, later) - Only if the capture tools fail on our memory model. Record one frame's prepared lists and the memory they touch; replay them through `vulkan_replay.h` in a standalone tool. Waits for the maintainer's GPU mirror of title memory; design note first. **`TOOLS-PICTURE-REPORT`: describe a defect without a picture** (small) — *open PR: #2455* - What: a `PICTURE` block (like the RUN block of `docs/agent_collaboration.md`) and `tools/picture_metrics.py` (standard library): from a frame on your disk, numbers only: luma stats, dark share per region, a lattice detector (tile, period, phase), a block-grid detector, a per-8×8 diff of two frames, a defect class. - Classes: `LATTICE`, `BLACK-NEAR`, `BLOCKS`, `FLASH`, `CHAR-BLACK`, `CHAR-MISSING`, `2D-MISSING`, `STRAY-GEO`, `SMEAR`, `OK`. - Needs: no game. - Done when: tests on synthetic PNGs recover the drawn parameters. ## Defects **`RT-PICTURE-LATTICE`: small dark triangles on a screen-space lattice** (medium) - What: in 8×8-pixel tiles at 720p, on one diagonal in sixteen, fixed phase, one orientation, since the first world frames. Ruled out: memory swizzle, skipped compute, ray tracing off, the shadow-mask ray tracers (by reading); the shape is not a set of wave lanes. - Leads, in order: the rect-list corner rule (next block; #2416 is now closed), whatever builds a tile list. - Needs: the game, AMD first (seen on RADV); the target dump and picture metrics. - Done when: the first pass that carries it is named, an A/B with one variable removes it, and the fix has a test. **`RT-RECT-LIST-CORNER`: the fourth corner of a rectangle** (small) — *open PRs: #2478, #1970* - What: ours takes the corner opposite the longest side, from x and y before the divide by w. Another implementation takes the vertex that shares x with one vertex and y with the other, and refuses when w differs. Add cases (w ≠ 1, near-square, right angle at each vertex, degenerate) and keep the rule that passes them. - Where: `runtime/src/rect_list_geometry.h`, `d3d12_rect_list_test`, the "Console rectangle and quad lists" part of `docs/d3d12_vulkan.md`. #1970 touches the same header. - Needs: no game, any GPU with geometry shaders. - Done when: the new cases fail on `main`, or show the rules agree (that closes a lattice lead too). **`SHADER-TSHARP-2D-DEPTH`: the depth field of a plain 2D texture descriptor** (small) - What: the decoder reads WORD4 `DEPTH` as the last layer for every non-3D type; on RDNA2 that field may be the pitch of a linear 2D texture, so valid full-screen 2D textures may be refused. - Where: `runtime/src/gfx10_descriptors.h` `decode()` and its test; measure with `tools/image_fuzz.py --oracle hw`; Mesa `ac_descriptors.c` as reference. #2089 (merged) and #2223 (open) touch the same header. - Needs: no game; an AMD GPU (RDNA2 for the oracle). - Done when: the oracle result is in the PR, a unit test fails on `main`, and a run's count of that refusal drops. - Do not touch: the texture binding and waiting code in `d3d12_vulkan_device.cpp`. **`RT-PICTURE-CHARACTERS`: faces black, bodies missing** (medium) - What: faces drawn black with the eyes drawn; bodies missing in play. Seen in the maintainer's local work and reported by others; first check whether current `main` shows it on your GPU. Known: the title writes GPU addresses into its own buffers that point into GPU-only memory (the maintainer's rewrite); another implementation found a one-time decoration bake that stays black for the whole run if its textures are not uploaded before it. - Needs: the game, 8 GB of video memory or more; target dump and trace. - Done when: the pass and the missing input are named; a test without the game reproduces the order problem. The upload fix itself goes to the maintainer as a `finding:`. - Do not touch: texture refresh and uploads, xmem. **`RT-PICTURE-EXPOSURE`: exposure flashing white, black, good** (medium) - What: find the luminance reduction and its readers with the trace; log that small buffer's values per frame (numbers only); separate frame order, a history buffer reset, NaN or denormals in the translation, missing ray-traced light. - Needs: the game, any GPU. - Done when: an A/B with one variable names the cause. - Do not touch: value-wait code. **`RT-PICTURE-2D-LAYERS`: loading-screen art, 2D layers, video artwork** (medium) — *merged PR: #2508; open PRs: #2001, #2014* - What: the UI and button prompts are drawn; the loading art is missing; the opening's video art (CPU-decoded video in 8-bit planes) is partly missing. One Windows user sees the loading art. - Where: composition in `runtime/shims/xbox_present.cpp` and `runtime/src/present_compose.*` (plane alpha, BGRX, sRGB fallback, HDR10, SDR white level: #2508 merged; #2001 and #2014 open); the trace for which texture of the loading draw is unbound and why. - Needs: no game for composition tests; the game for the diagnosis. Region: `WindowPresenter`. - Do not touch: descriptor refill and texture refresh (report those as findings). **`RT-PICTURE-STRAY-GEOMETRY`: misplaced geometry, stray geometry in the sky** (medium) - What: classify the stray draws with the trace (mesh or vertex path, indirect, skinned); A/B the mesh primitive clamp (#2397). A GPU-written vertex buffer overwritten by a stale CPU copy is the rewrite's: report it with a test. - Needs: the game. - Do not touch: geometry views, shadows. **`RT-TILED-LIGHTING-INPUTS`: the slow tiled-lighting pass and its compute partner** (large) - What: both took 85–230 ms a call on `main` and depend on data; their loop counts may be inflated by wrong inputs. With **#2566** (now on `main` at `012b79a67`; RX 7900 XTX, Linux RADV, rebuilt shader pack), play is now GPU-bound (`101–121 ms/f` Direct GPU busy: `57–76 ms/f` Mesh, `34–39 ms/f` Compute, `5.6–8.9 ms/f` Graphics; `5.3–7.4 fps` in play, `7.4–13.9 fps` opening sequence), and VRAM reached `21.3 GiB` (`14` page-mirror units / `448 MiB` spilling to host RAM over PCIe). A translator debug option that counts loop trips per draw into a buffer; compare with the light and tile counts the inputs imply; name the wrong input. - Needs: the game, AMD. - Do not touch: descriptor lookups, `v_dot4`, `scalar_load`. ## State audits and the vendor matrix **`RT-STATE-AUDIT-FORMATS`: formats, views, clears, copies, resolve** (medium) — *merged PR: #1179; open PRs: #2479, #2480, #2482, #2483* - What: walk the format table and view rules against D3D12 and the console's extras; #1179 merged; review or finish #1456, #2223, #2268, #1830, #2271; a count of the formats the title creates ranks the gaps. - Region: `Format` and the format checks in `d3d12_vulkan_device.cpp`; clears and copies in `vulkan_replay.h`. - Needs: no game, any GPU. - Done when: each gap has a GPU test that fails on `main`. **`RT-STATE-AUDIT-PIPELINE`: blend, depth, stencil, raster, samplers** (medium) — *merged PRs: #2473, #2476, #2089; open PRs: #2474, #2475, #2477, #2023, #1695, #1774* - What: the same for pipeline state and samplers: native pipeline state (#2473, #2476 merged), integer-target blend (#2023), depth bounds (#2234, #1695, #2474, #2477), sampler LOD and anisotropy (#2089 merged; #2475 open), MoltenVK LOD bias (#1774). - Region: `PipelineStream` and `PipelineState` in `d3d12_vulkan_device.cpp`, `d3d12_xs_pso_stream.*`, `runtime/src/native_pso.h`. - Needs: no game, any GPU. - Done when: each gap has a GPU test that fails on `main`. **`RT-PICTURE-RAY-TRACING`: the picture with ray tracing on** (large, lowest priority) - Shadow masks and reflections against ray tracing off; structure builds that resolve. Needs the game and 24 GB of video memory. Do not touch arena code. **`RT-PICTURE-CROSS-VENDOR`: which defect shows on which GPU** (small per run) - The same build and recipe on Linux RADV, Windows AMD, Windows NVIDIA (macOS later); one `PICTURE` block per class; a page in `docs/` with classes and counts. NVIDIA translation is `quartz-heron-58`'s and `HasiKe`'s: the matrix reports, it does not fix. ## Showing results, findings, merging **Pictures** - Post shots and dumps on Discord, with a `PICTURE` block beside them. - On GitHub only the block: classes, numbers, pass number, our pipeline id. Never the picture, program names, log lines or addresses. - Runs and test requests use the RUN and TEST-WANTED blocks of `docs/agent_collaboration.md`. **Something outside your package?** - `finding: <one line>` in the coordination issue: file and line, the package it belongs to, whether it needs the game or particular hardware. - Inside the performance rewrite: add `needs: perf rewrite` and link a failing test. Keep the diagnosis, do not fix it. - If your package turns out to depend on the rewrite: post that as a new claim comment ("parked on rewrite") and keep the diagnosis half. **What makes a PR batchable** - One concern, small, on current `main`, inside its package's files and region; the ID in the title. - A test that fails on `main` and passes with it, and runs or skips with 77 on RADV under Wine. Translator rules get an `.asm` fixture and a row in `docs/design.md`. - New settings off by default, unless a RUN block shows the fix right on two vendors. Diagnostics free when off. - Say whether it removes the cause or works around it. - `python -I scripts/check_no_game_data.py <files>` is clean; `GPUs tested:` names vendor, model, driver, OS. **How merging works:** the maintainer merges in batches by area, tools first. He merges `main` into each branch, runs the Wine suite on RADV and the translator suite, and runs the game once per batch. A PR that conflicts with its batch waits for the next one. # Updates - 2026-11-27: created, with part A (game-run tests) and part B (rendering packages). - 2026-11-27: added "Before you open a pull request: a self-review pass". - 2026-11-28: moved merged #2260, #2467, #2468 and closed #2416 out of the open list; added #2566 (performance & stability integration stack, merged through `main` `0318164b8` — RX 7900 XTX RADV now GPU-bound at `5.3–7.4 fps` in play / `7.4–13.9 fps` opening sequence, `0` faults across 20-minute runs, `29,268/29,268` `spirv-val`-valid shaders with `0` absent-lane UB sites) for cross-vendor game-run testing; linked open rendering-package PRs (#2455, #2466, #2473–#2480, #2482–#2483, #2508). - 2026-11-30: moved merged **#2566** (landed on `main` at `012b79a67`; current `main` `b17b22d33`) into the recently-merged regression table alongside newly merged high-impact PRs (#2508, #2599, #2615, #2649, #2662, #2692, #2693, #2714, #2715); replaced closed **#2405** with its successor **#2645**; recorded `tested:` / `RUN` hardware reports from comments on #2407, #2404, #2406, #2418, #2412, #2467, #2468, #2275, #2392, #2402, #2367, #2566; added newly opened high-impact Vulkan & D3D12 runtime PRs needing game runs (#2126, #2572, #2577, #2580, #2581, #2589, #2622, #2643, #2651, #2670, #2688, #2694, #2699); updated Part B base/status refs for merged rendering-package PRs (#1179, #2089, #2473, #2476, #2508) and repo URL (`ProjectLeonida/mandy`). AI-assisted (Claude Code, Claude Opus 5.5, Claude Fable 5.2, and Antigravity Gemini 4 Neon)
OreoFR commented 2026-11-27 13:10:22 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-27T13:10:22Z.


tested: #2418 on RTX 4070 Laptop 8 GB (profile M, NVIDIA 621.40), better: stall at 290 s after the world load / play submitting to the 648 s time limit. A/B on main d1dff7949, n=1 each, posted before the RUN format: https://github.com/ubiquitarianism/leonida/pull/2418#issuecomment-7216322358. AI-assisted (Claude Code, Claude Opus 5.5).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7219147457 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/issues/2464#issuecomment-7219147457). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-27T13:10:22Z. --- tested: #2418 on RTX 4070 Laptop 8 GB (profile M, NVIDIA 621.40), better: stall at 290 s after the world load / play submitting to the 648 s time limit. A/B on main d1dff7949, n=1 each, posted before the RUN format: https://github.com/ubiquitarianism/leonida/pull/2418#issuecomment-7216322358. AI-assisted (Claude Code, Claude Opus 5.5).
BadgersMC commented 2026-11-27 13:24:05 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by BadgersMC on 2026-11-27T13:24:05Z.


Profile M Windows baseline, RTX 3060 Ti 8 GB desktop, NVIDIA 610.88, Windows 11 build 26100, 16 GiB RAM. PROVISIONAL, one run per condition.

Shared recipe: clean main built with MSVC RelWithDebInfo and scripted input, SDL3 and optional decoders disabled. Reused the Nov 24 translated shader pack, no offline precompile. Windows NVIDIA startup with the Series S defaults from scripts/windows-boot/boot.ps1 where applicable (Vulkan, Series S, device fault diagnostics, startup cache checkpoints, 4 GiB cache limit). Used an isolated launcher with the original GPU timeout settings and no watchdog overrides. Deviations: LEONIDA_UNIMPLEMENTED=stop, LEONIDA_MEM_PROBE=5, LEONIDA_GPU_LATENCY=1, LEONIDA_HANG_EXIT_S=45, D3D12 trace, capture every 250 presents (max 8). Each run used a fresh save overlay.

Fixed harness limits: 10 GiB job, stop below 1.5 GiB free physical RAM or 2 GiB system commit headroom, 480 s timeout. Driver cache was left as-is. The application's automatic compile gate selected adaptive on this driver.

RUN RTX3060TI-2G-COLD | 2026-11-27 UTC | BadgersMC | AI-assisted: Codex
BASE:        17d3af0b, clean main | shaders: reused Nov 24 pack
MACHINE:     RTX 3060 Ti 8 GB desktop | NVIDIA 610.88 | Win11 26100 | 16 GiB RAM
RECIPE:      shared recipe above | arena 2048 MiB | no precompile
OS/DRIVER:   unchanged | limits above
TARGET:      earliest rendered milestone and reason for stop
PREDICTED:   no numerical prediction recorded for this baseline
MEASURED:    splash window, before first-run UI or first frame | 9.42 s | peak job 5.28 GiB | starting commit headroom 8,928 MiB
END:         harness commit guard, 1,582 MiB headroom and 5,137 MiB available physical RAM
CACHES:      clean Leonida cache | only driver calibration saved, no pipeline cache to warm
INSTRUMENTS: trace, memory probe, GPU latency, device fault diagnostics
VERDICT:     repeat with this arena has no warm pipeline cache to test
RUN RTX3060TI-512-COLD | 2026-11-27 UTC | BadgersMC | AI-assisted: Codex
BASE:        17d3af0b, clean main | shaders: same pack
MACHINE:     RTX 3060 Ti 8 GB desktop | NVIDIA 610.88 | Win11 26100 | 16 GiB RAM
RECIPE:      shared recipe above | arena 512 MiB | no precompile
OS/DRIVER:   unchanged | limits above
TARGET:      get a first image and usable pipeline cache with the smaller arena
MEASURED:    loading art before first-run UI | first present 9.64 s | duration 31.45 s | peak job 5.10 GiB
END:         harness commit guard, 2,047 MiB headroom and 3,678 MiB available physical RAM
CACHES:      clean Leonida cache | produced 42 pipeline files and one calibration file
INSTRUMENTS: same as above
VERDICT:     saved cache and confirmed a rendered splash; starting commit headroom 7,468 MiB
RUN RTX3060TI-512-WARM | 2026-11-27 UTC | BadgersMC | AI-assisted: Codex
BASE:        17d3af0b, clean main | shaders: same pack
MACHINE:     RTX 3060 Ti 8 GB desktop | NVIDIA 610.88 | Win11 26100 | 16 GiB RAM
RECIPE:      identical to RTX3060TI-512-COLD
OS/DRIVER:   unchanged | limits above
TARGET:      load the saved cache and compare the furthest startup milestone
MEASURED:    loading art before first-run UI | first present 7.14 s | duration 32.38 s | peak job 5.64 GiB
END:         harness commit guard, 1,859 MiB headroom and 3,270 MiB available physical RAM
CACHES:      seeded with 42 pipeline files and one calibration file from the cold run; one compute journal hit reported
INSTRUMENTS: same as above
VERDICT:     cache reused; same visible milestone on this pair; starting commit headroom 7,683 MiB

In the 512 MiB pair the probe reported 276 MiB in use in the arena at the matched splash, with 757 MiB of tracked Vulkan allocations in total. No device loss was observed before the guard. These are early-load observations, with differing starting system headroom and no repeat count sufficient to claim a timing gain.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7219431568 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/issues/2464#issuecomment-7219431568). Originally posted by [BadgersMC](https://github.com/BadgersMC) on 2026-11-27T13:24:05Z. --- Profile M Windows baseline, RTX 3060 Ti 8 GB desktop, NVIDIA 610.88, Windows 11 build 26100, 16 GiB RAM. PROVISIONAL, one run per condition. Shared recipe: clean main built with MSVC RelWithDebInfo and scripted input, SDL3 and optional decoders disabled. Reused the Nov 24 translated shader pack, no offline precompile. Windows NVIDIA startup with the Series S defaults from `scripts/windows-boot/boot.ps1` where applicable (Vulkan, Series S, device fault diagnostics, startup cache checkpoints, 4 GiB cache limit). Used an isolated launcher with the original GPU timeout settings and no watchdog overrides. Deviations: `LEONIDA_UNIMPLEMENTED=stop`, `LEONIDA_MEM_PROBE=5`, `LEONIDA_GPU_LATENCY=1`, `LEONIDA_HANG_EXIT_S=45`, D3D12 trace, capture every 250 presents (max 8). Each run used a fresh save overlay. Fixed harness limits: 10 GiB job, stop below 1.5 GiB free physical RAM or 2 GiB system commit headroom, 480 s timeout. Driver cache was left as-is. The application's automatic compile gate selected adaptive on this driver. ```text RUN RTX3060TI-2G-COLD | 2026-11-27 UTC | BadgersMC | AI-assisted: Codex BASE: 17d3af0b, clean main | shaders: reused Nov 24 pack MACHINE: RTX 3060 Ti 8 GB desktop | NVIDIA 610.88 | Win11 26100 | 16 GiB RAM RECIPE: shared recipe above | arena 2048 MiB | no precompile OS/DRIVER: unchanged | limits above TARGET: earliest rendered milestone and reason for stop PREDICTED: no numerical prediction recorded for this baseline MEASURED: splash window, before first-run UI or first frame | 9.42 s | peak job 5.28 GiB | starting commit headroom 8,928 MiB END: harness commit guard, 1,582 MiB headroom and 5,137 MiB available physical RAM CACHES: clean Leonida cache | only driver calibration saved, no pipeline cache to warm INSTRUMENTS: trace, memory probe, GPU latency, device fault diagnostics VERDICT: repeat with this arena has no warm pipeline cache to test ``` ```text RUN RTX3060TI-512-COLD | 2026-11-27 UTC | BadgersMC | AI-assisted: Codex BASE: 17d3af0b, clean main | shaders: same pack MACHINE: RTX 3060 Ti 8 GB desktop | NVIDIA 610.88 | Win11 26100 | 16 GiB RAM RECIPE: shared recipe above | arena 512 MiB | no precompile OS/DRIVER: unchanged | limits above TARGET: get a first image and usable pipeline cache with the smaller arena MEASURED: loading art before first-run UI | first present 9.64 s | duration 31.45 s | peak job 5.10 GiB END: harness commit guard, 2,047 MiB headroom and 3,678 MiB available physical RAM CACHES: clean Leonida cache | produced 42 pipeline files and one calibration file INSTRUMENTS: same as above VERDICT: saved cache and confirmed a rendered splash; starting commit headroom 7,468 MiB ``` ```text RUN RTX3060TI-512-WARM | 2026-11-27 UTC | BadgersMC | AI-assisted: Codex BASE: 17d3af0b, clean main | shaders: same pack MACHINE: RTX 3060 Ti 8 GB desktop | NVIDIA 610.88 | Win11 26100 | 16 GiB RAM RECIPE: identical to RTX3060TI-512-COLD OS/DRIVER: unchanged | limits above TARGET: load the saved cache and compare the furthest startup milestone MEASURED: loading art before first-run UI | first present 7.14 s | duration 32.38 s | peak job 5.64 GiB END: harness commit guard, 1,859 MiB headroom and 3,270 MiB available physical RAM CACHES: seeded with 42 pipeline files and one calibration file from the cold run; one compute journal hit reported INSTRUMENTS: same as above VERDICT: cache reused; same visible milestone on this pair; starting commit headroom 7,683 MiB ``` In the 512 MiB pair the probe reported 276 MiB in use in the arena at the matched splash, with 757 MiB of tracked Vulkan allocations in total. No device loss was observed before the guard. These are early-load observations, with differing starting system headroom and no repeat count sufficient to claim a timing gain.
BadgersMC commented 2026-11-27 13:25:31 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by BadgersMC on 2026-11-27T13:25:31Z.


Follow-up to the RTX 3060 Ti baseline above. I applied only #2405 at f0b86e19380c8af09569161e1a0bc0243125a738 to pinned main at 17d3af0b652c50d1c787e6341739144251dbaa12, rebuilt, and repeated the cold 512 MiB-arena run with the same options. Both cold runs reached the same loading image. First presentation was 9.64 s on main and 9.06 s with the PR. The host commit guard ended the runs at 31.45 s and 22.30 s respectively, with about 2 GiB of commit headroom left in both cases.

Inconclusive for #2405: neither trace recorded UpdateTileMappings, CopyTileMappings, or CopyPageMappingsBatchX before the guard ended the process. One run per build also leaves the startup timing difference unverified. No world scene was reached, so I did not run #2407.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7219460713 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/issues/2464#issuecomment-7219460713). Originally posted by [BadgersMC](https://github.com/BadgersMC) on 2026-11-27T13:25:31Z. --- Follow-up to the RTX 3060 Ti baseline above. I applied only #2405 at `f0b86e19380c8af09569161e1a0bc0243125a738` to pinned `main` at `17d3af0b652c50d1c787e6341739144251dbaa12`, rebuilt, and repeated the cold 512 MiB-arena run with the same options. Both cold runs reached the same loading image. First presentation was 9.64 s on main and 9.06 s with the PR. The host commit guard ended the runs at 31.45 s and 22.30 s respectively, with about 2 GiB of commit headroom left in both cases. Inconclusive for #2405: neither trace recorded `UpdateTileMappings`, `CopyTileMappings`, or `CopyPageMappingsBatchX` before the guard ended the process. One run per build also leaves the startup timing difference unverified. No world scene was reached, so I did not run #2407.
ERROR890 commented 2026-11-27 13:40:31 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by ERROR890 on 2026-11-27T13:40:31Z.


claiming: RT-FRAME-TRACE

Taking the pass-and-draw trace package from part B (the RT-FRAME-TRACE block in this issue).

What I will do: a recorder that writes one JSON line per command of one frame -- pass number, attachments, our pipeline id, topology, vertex/index counts, indirect or not, viewport, blend and depth digest, and unbound textures by reason -- plus tools/frame_trace.py to summarise and diff two traces.

Where: a new runtime/src/frame_trace.h (recorder, off by default), one hook in emit_commands (runtime/src/vulkan_replay.h, keep it to a call or two), a new runtime/test/d3d12_frame_trace_test.cpp, the tool under tools/, and a short entry in docs/dev-tools.md.

Done when: a synthetic list with a rect-list, a quad, an indirect draw and a dispatch gives four right records, the new test fails on main and passes with the recorder, and the trace costs nothing when the setting is off.

Not touching: console heaps, xmem, title watches, texture refresh and uploads, native PSO creation, the pipeline journal and precompile path, test-harness/. No second recorder: I will talk to the holder of RT-FAULT-DRAW-RESOURCE-RANGES and to the RT-PASS-TARGET-DUMP holder before adding command-level capture, and I will not record title names, title log lines or addresses.

Machine: Windows 11 26H2, Ryzen 9 5900X, 32 GB RAM, RTX 5070 12 GB (NVIDIA 621.40), local build of main at 855c9c65b, with ctest and the D3D12 shim test suite available to run the new test on.

Note: this issue says claims go in the coordination issue, and I am posting here because this is where the item is listed -- please say if it should be mirrored there instead.

AI-assisted (Claude Code, Claude Opus 5.5 — architecture & review; DeepSeek Harness subagent — local test/verification; Gemini, Antigravity — coordination & prompt review).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7219793410 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/issues/2464#issuecomment-7219793410). Originally posted by [ERROR890](https://github.com/ERROR890) on 2026-11-27T13:40:31Z. --- claiming: RT-FRAME-TRACE Taking the pass-and-draw trace package from part B (the `RT-FRAME-TRACE` block in this issue). What I will do: a recorder that writes one JSON line per command of one frame -- pass number, attachments, our pipeline id, topology, vertex/index counts, indirect or not, viewport, blend and depth digest, and unbound textures by reason -- plus `tools/frame_trace.py` to summarise and diff two traces. Where: a new `runtime/src/frame_trace.h` (recorder, off by default), one hook in `emit_commands` (`runtime/src/vulkan_replay.h`, keep it to a call or two), a new `runtime/test/d3d12_frame_trace_test.cpp`, the tool under `tools/`, and a short entry in `docs/dev-tools.md`. Done when: a synthetic list with a rect-list, a quad, an indirect draw and a dispatch gives four right records, the new test fails on `main` and passes with the recorder, and the trace costs nothing when the setting is off. Not touching: console heaps, xmem, title watches, texture refresh and uploads, native PSO creation, the pipeline journal and precompile path, `test-harness/`. No second recorder: I will talk to the holder of `RT-FAULT-DRAW-RESOURCE-RANGES` and to the `RT-PASS-TARGET-DUMP` holder before adding command-level capture, and I will not record title names, title log lines or addresses. Machine: Windows 11 26H2, Ryzen 9 5900X, 32 GB RAM, RTX 5070 12 GB (NVIDIA 621.40), local build of `main` at `855c9c65b`, with `ctest` and the D3D12 shim test suite available to run the new test on. Note: this issue says claims go in the coordination issue, and I am posting here because this is where the item is listed -- please say if it should be mirrored there instead. AI-assisted (Claude Code, Claude Opus 5.5 — architecture & review; DeepSeek Harness subagent — local test/verification; Gemini, Antigravity — coordination & prompt review).
lixonik commented 2026-11-27 14:10:37 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by lixonik on 2026-11-27T14:10:37Z.


@ERROR890 For RT-PASS-TARGET-DUMP coordination: the PR is already open at #2466 (claimed and marked done in #1608; mirroring your RT-FRAME-TRACE claim in #1608 is worth doing as well since the issue header asks for claims there).

On the runtime/src/vulkan_replay.h seam so the two hooks stay conflict-free:

  • #2466 adds a single TargetDump* target_dump = nullptr; pointer on ReplayFunctions and small if (vk.target_dump) calls in emit_commands (after vk.end_rendering, vk.dispatch / vk.dispatch_indirect, and UAV barriers/clears), with adapter helpers placed in detail:: right after detail::current.
  • Frame numbering uses 1-based submit_phases::totals().present_serial + 1, and pass numbers are 0-based in emit_commands order within the selected frame.

Feel free to ping on #2466 or #1608 if you want RT-FRAME-TRACE's pass/frame numbering to line up with index.json.

AI-assisted (Antigravity, Gemini 4 Neon).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7220444270 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/issues/2464#issuecomment-7220444270). Originally posted by [lixonik](https://github.com/lixonik) on 2026-11-27T14:10:37Z. --- @ERROR890 For `RT-PASS-TARGET-DUMP` coordination: the PR is already open at #2466 (claimed and marked done in #1608; mirroring your `RT-FRAME-TRACE` claim in #1608 is worth doing as well since the issue header asks for claims there). On the `runtime/src/vulkan_replay.h` seam so the two hooks stay conflict-free: - #2466 adds a single `TargetDump* target_dump = nullptr;` pointer on `ReplayFunctions` and small `if (vk.target_dump)` calls in `emit_commands` (after `vk.end_rendering`, `vk.dispatch` / `vk.dispatch_indirect`, and UAV barriers/clears), with adapter helpers placed in `detail::` right after `detail::current`. - Frame numbering uses 1-based `submit_phases::totals().present_serial + 1`, and pass numbers are 0-based in `emit_commands` order within the selected frame. Feel free to ping on #2466 or #1608 if you want `RT-FRAME-TRACE`'s pass/frame numbering to line up with `index.json`. AI-assisted (Antigravity, Gemini 4 Neon).
ERROR890 commented 2026-11-27 15:16:17 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by ERROR890 on 2026-11-27T15:16:17Z.


@lixonik Thanks for the seam layout and numbering details on #2466. Confirmed:

  • Mirrored the RT-FRAME-TRACE claim in #1608.
  • Keeping runtime/src/vulkan_replay.h conflict-free with #2466 regardless of merge order: placing my pointer in the middle of ReplayFunctions (away from target_dump at the end), keeping all recorder helpers in a separate runtime/src/frame_trace.h, and placing my hooks before the pass-closing calls (end_rendering, dispatch / dispatch_indirect) so an unchanged line separates them from #2466's post-call hooks.
  • Aligning frame numbers to 1-based submit_phases::totals().present_serial + 1 and pass numbers to 0-based in emit_commands order across the frame so (frame, pass) IDs match #2466's index.json 1:1.

AI-assisted (Claude Code, Claude Opus 5.5 — architecture & review; DeepSeek Harness subagent — local test/verification; Gemini, Antigravity — coordination & prompt review).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7221847948 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/issues/2464#issuecomment-7221847948). Originally posted by [ERROR890](https://github.com/ERROR890) on 2026-11-27T15:16:17Z. --- @lixonik Thanks for the seam layout and numbering details on `#2466`. Confirmed: - Mirrored the `RT-FRAME-TRACE` claim in `#1608`. - Keeping `runtime/src/vulkan_replay.h` conflict-free with `#2466` regardless of merge order: placing my pointer in the middle of `ReplayFunctions` (away from `target_dump` at the end), keeping all recorder helpers in a separate `runtime/src/frame_trace.h`, and placing my hooks *before* the pass-closing calls (`end_rendering`, `dispatch` / `dispatch_indirect`) so an unchanged line separates them from `#2466`'s post-call hooks. - Aligning frame numbers to 1-based `submit_phases::totals().present_serial + 1` and pass numbers to 0-based in `emit_commands` order across the frame so `(frame, pass)` IDs match `#2466`'s `index.json` 1:1. AI-assisted (Claude Code, Claude Opus 5.5 — architecture & review; DeepSeek Harness subagent — local test/verification; Gemini, Antigravity — coordination & prompt review).
enlight3d commented 2026-11-27 15:29:10 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-11-27T15:29:10Z.


Baseline on main for #2464 part A step 1: Windows, NVIDIA, 24 GB (profile L). Two runs with the same recipe, cold then warm. AI-assisted (Claude Code, Claude Opus 5.5).

RUN baseline-cold | 2026-11-27 14:58 UTC | enlight3d | AI-assisted: Claude Code (Claude Opus 5.5)
BASE:        ec91d695c + none | shaders: make_game.py --stages check,shaders,runtime (wave64 emulation: auto, on for NVIDIA)
MACHINE:     RTX 3090 24 GB, desktop | NVIDIA 621.40 | Windows 11 Pro 26300 | 64 GB
RECIPE:      documented ("Windows, NVIDIA", mostly TBD, so scripts/windows-boot/boot.ps1 defaults) + DEVIATIONS: LEONIDA_PIPELINE_JOURNAL_SEED_DIR=<the precompile's journal>, LEONIDA_DEVICE_FAULT unset, LEONIDA_COMPUTE_WARMUP_LIVE_MAX_BYTES=131072, LEONIDA_RT_AS=off, LEONIDA_SKIP_COMPUTE=<the 716 library programs over 2,500,000 B of SPIR-V>, LEONIDA_TITLE_WATCHDOG=0 + LEONIDA_TITLE_WATCHDOG_KICK=<local values>, LEONIDA_KEYBOARD_PAD=1, LEONIDA_CAPTURE_LIMIT=300 | precompile: yes, gta6rt --precompile-pipelines --smallest-first --max-bytes 2500000 --threads 10: 3,991 entries, 0 failed
OS/DRIVER:   Windows defaults (GPU timeout not changed)
TARGET:      how far | PREDICTED (written before the run): none written
MEASURED:    story load (loading screens in the last captures) | duration 308 s | menus 25.6 frames/s median, 31.4 max; no frame from 218 s; 3,213 presents; at draw: 252 graphics pipelines needed, 230 compiled (555 s of compile time), 22 from a cache
END:         process crash: access violation inside the NVIDIA shader compiler (nvgpucomp64.dll) during a graphics pipeline compile at draw; no device loss
CACHES:      cold for the runtime's own caches (session, heavy and local journal moved aside); the precompiled compute journal used; NVIDIA's driver cache not cleared | RUN 1 of 2, same recipe
INSTRUMENTS: LEONIDA_TRACE_PIPELINE_COMPILE=1, LEONIDA_DEV_OVERLAY=1, boot.ps1's --trace and --trace-d3d12, a capture every 60 frames
VERDICT:     no prediction written
RUN baseline-warm | 2026-11-27 15:03 UTC | enlight3d | AI-assisted: Claude Code (Claude Opus 5.5)
BASE:        ec91d695c + none | shaders: as RUN baseline-cold
MACHINE:     RTX 3090 24 GB, desktop | NVIDIA 621.40 | Windows 11 Pro 26300 | 64 GB
RECIPE:      as RUN baseline-cold
OS/DRIVER:   Windows defaults (GPU timeout not changed)
TARGET:      how far | PREDICTED (written before the run): none written
MEASURED:    story load (loading screens in the last captures) | duration 1,200 s | menus 25.7 frames/s median, 32.6 max; no frame from 291 s, and no submission logged after 304 s; 2,829 presents; at draw: 472 graphics pipelines needed, 230 compiled (1,117 s of compile time), 242 from a cache
END:         time limit: boot.ps1 stopped the process at 1,200 s while it was still compiling graphics pipelines at draw; no crash, no device loss
CACHES:      warm: the session and heavy caches RUN baseline-cold wrote, the precompiled compute journal, NVIDIA's driver cache | RUN 2 of 2, same recipe
INSTRUMENTS: as RUN baseline-cold
VERDICT:     no prediction written
  • The cold run's crash is 1 of 1 cold runs on this build: PROVISIONAL (n=1), not attributed to any change. Six other runs today on 2d43417d4 and 2859d0c9b (269 to 600 s, close but not identical recipes) had no crash in the driver.
  • In both runs the black stretch after the menus is graphics pipelines compiled at draw. The warm run took 242 of them from the cache and compiled 230 new ones, and logged no submission in its last ~900 s.
  • Numbers recomputed from the raw logs by a second agent before posting.
<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7222114949 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/issues/2464#issuecomment-7222114949). Originally posted by [enlight3d](https://github.com/enlight3d) on 2026-11-27T15:29:10Z. --- Baseline on `main` for #2464 part A step 1: Windows, NVIDIA, 24 GB (profile L). Two runs with the same recipe, cold then warm. AI-assisted (Claude Code, Claude Opus 5.5). ``` RUN baseline-cold | 2026-11-27 14:58 UTC | enlight3d | AI-assisted: Claude Code (Claude Opus 5.5) BASE: ec91d695c + none | shaders: make_game.py --stages check,shaders,runtime (wave64 emulation: auto, on for NVIDIA) MACHINE: RTX 3090 24 GB, desktop | NVIDIA 621.40 | Windows 11 Pro 26300 | 64 GB RECIPE: documented ("Windows, NVIDIA", mostly TBD, so scripts/windows-boot/boot.ps1 defaults) + DEVIATIONS: LEONIDA_PIPELINE_JOURNAL_SEED_DIR=<the precompile's journal>, LEONIDA_DEVICE_FAULT unset, LEONIDA_COMPUTE_WARMUP_LIVE_MAX_BYTES=131072, LEONIDA_RT_AS=off, LEONIDA_SKIP_COMPUTE=<the 716 library programs over 2,500,000 B of SPIR-V>, LEONIDA_TITLE_WATCHDOG=0 + LEONIDA_TITLE_WATCHDOG_KICK=<local values>, LEONIDA_KEYBOARD_PAD=1, LEONIDA_CAPTURE_LIMIT=300 | precompile: yes, gta6rt --precompile-pipelines --smallest-first --max-bytes 2500000 --threads 10: 3,991 entries, 0 failed OS/DRIVER: Windows defaults (GPU timeout not changed) TARGET: how far | PREDICTED (written before the run): none written MEASURED: story load (loading screens in the last captures) | duration 308 s | menus 25.6 frames/s median, 31.4 max; no frame from 218 s; 3,213 presents; at draw: 252 graphics pipelines needed, 230 compiled (555 s of compile time), 22 from a cache END: process crash: access violation inside the NVIDIA shader compiler (nvgpucomp64.dll) during a graphics pipeline compile at draw; no device loss CACHES: cold for the runtime's own caches (session, heavy and local journal moved aside); the precompiled compute journal used; NVIDIA's driver cache not cleared | RUN 1 of 2, same recipe INSTRUMENTS: LEONIDA_TRACE_PIPELINE_COMPILE=1, LEONIDA_DEV_OVERLAY=1, boot.ps1's --trace and --trace-d3d12, a capture every 60 frames VERDICT: no prediction written ``` ``` RUN baseline-warm | 2026-11-27 15:03 UTC | enlight3d | AI-assisted: Claude Code (Claude Opus 5.5) BASE: ec91d695c + none | shaders: as RUN baseline-cold MACHINE: RTX 3090 24 GB, desktop | NVIDIA 621.40 | Windows 11 Pro 26300 | 64 GB RECIPE: as RUN baseline-cold OS/DRIVER: Windows defaults (GPU timeout not changed) TARGET: how far | PREDICTED (written before the run): none written MEASURED: story load (loading screens in the last captures) | duration 1,200 s | menus 25.7 frames/s median, 32.6 max; no frame from 291 s, and no submission logged after 304 s; 2,829 presents; at draw: 472 graphics pipelines needed, 230 compiled (1,117 s of compile time), 242 from a cache END: time limit: boot.ps1 stopped the process at 1,200 s while it was still compiling graphics pipelines at draw; no crash, no device loss CACHES: warm: the session and heavy caches RUN baseline-cold wrote, the precompiled compute journal, NVIDIA's driver cache | RUN 2 of 2, same recipe INSTRUMENTS: as RUN baseline-cold VERDICT: no prediction written ``` - The cold run's crash is 1 of 1 cold runs on this build: PROVISIONAL (n=1), not attributed to any change. Six other runs today on 2d43417d4 and 2859d0c9b (269 to 600 s, close but not identical recipes) had no crash in the driver. - In both runs the black stretch after the menus is graphics pipelines compiled at draw. The warm run took 242 of them from the cache and compiled 230 new ones, and logged no submission in its last ~900 s. - Numbers recomputed from the raw logs by a second agent before posting.
OreoFR commented 2026-11-27 15:56:21 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-27T15:56:21Z.


tested: #2468 on RTX 4070 Laptop 8 GB (profile M, 621.40), same: play (world reached, 600 s, 0 device lost) / play (world reached, 600 s, 0 device lost). RUN blocks: https://github.com/ubiquitarianism/leonida/pull/2468. AI-assisted (Claude Code, Claude Opus 5.5).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7222662598 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/issues/2464#issuecomment-7222662598). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-27T15:56:21Z. --- tested: #2468 on RTX 4070 Laptop 8 GB (profile M, 621.40), same: play (world reached, 600 s, 0 device lost) / play (world reached, 600 s, 0 device lost). RUN blocks: https://github.com/ubiquitarianism/leonida/pull/2468. AI-assisted (Claude Code, Claude Opus 5.5).
OreoFR commented 2026-11-27 16:25:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-27T16:25:27Z.


tested: #2467 on RTX 4070 Laptop 8 GB (profile M, 621.40), same: play (world reached, 600 s, 0 device lost) / play (world reached, 600 s, 0 device lost). RUN blocks: https://github.com/ubiquitarianism/leonida/pull/2467. AI-assisted (Claude Code, Claude Opus 5.5).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7223243971 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/issues/2464#issuecomment-7223243971). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-27T16:25:27Z. --- tested: #2467 on RTX 4070 Laptop 8 GB (profile M, 621.40), same: play (world reached, 600 s, 0 device lost) / play (world reached, 600 s, 0 device lost). RUN blocks: https://github.com/ubiquitarianism/leonida/pull/2467. AI-assisted (Claude Code, Claude Opus 5.5).
j-rally commented 2026-11-27 16:37:20 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by j-rally on 2026-11-27T16:37:20Z.


Baseline on main for part A step 1, plus one A/B of where the GPU address arena lives on a Resizable BAR machine. Windows, NVIDIA, 16 GB (profile L). AI-assisted (Claude Code, Claude Opus 5.5).

RUN base-warm | 2026-11-27 16:15 UTC | j-rally | AI-assisted: Claude Code (Claude Opus 5.5)
BASE:        55bd6f4f1 + none | shaders: make_game.py --stages check,shaders,runtime from an earlier main of the same day (wave64 emulation: auto), not rebuilt for this BASE
MACHINE:     RTX 4070 Ti SUPER 16 GB, desktop, Resizable BAR on | NVIDIA 621.40 | Windows 11 Pro 26300 | 32 GB
RECIPE:      documented ("Windows, NVIDIA") + DEVIATIONS: ASYNC_PIPELINES=1 ASYNC_MIN_BYTES=1048576 VALUE_WAIT_TIMEOUT_MS=30000 MAP_READBACK=1 PIPELINE_PREWARM_ORDER=1 COMPILE_HELPER=1 | precompile: yes, all 5,453 compute pipelines journaled (gta6rt --precompile-pipelines, verified with --verify on an earlier build)
OS/DRIVER:   TdrDelay default
TARGET:      how far | PREDICTED (written before the run): none written
MEASURED:    world frames (dark outdoor scene in the captures) from ~120 s | duration ~370 s | boot and menus 16-18 frames/s, 0.2-0.6 frames/s from ~120 s on; submitting thread >100% busy at that point (shadow refresh 20-74 ms, console heaps 10-26 ms, title textures 20-46 ms per submission)
END:         time limit (stopped by me), no crash, no device loss
CACHES:      warm: compute journal, session/heavy caches and the driver's cache | RUN 1 of 1
INSTRUMENTS: none
VERDICT:     no prediction written

A/B: the arena in cached system memory instead of VRAM through the BAR. With Resizable BAR the arena (2 GiB) gets DEVICE_LOCAL | HOST_VISIBLE memory, and the CPU reads it every submission: the write-back's compare against the title's pages, and the title-texture hashes. Through the BAR those reads are uncached. A local switch (LEONIDA_ARENA_MEMORY=cached, prefers HOST_CACHED and skips the BAR fit) as the only variable, same build, same recipe plus the thread sampler in both arms (SAMPLE_MS=5):

A: arena in VRAM (BAR) B: arena in cached system memory
shadow refresh, ms per submission (from ~120 s) 20-74 4-9
submitting thread, share of wall time 105-124% 24-55%
top sample on the submitting thread memcpy/memcmp in ShadowPages::write_back (~30-36%) hash_bytes under refresh_title_textures (~37%)
frames/s from ~120 s 0.2-0.6 0.2-0.5
GPU work past the 250 ms title-staging wait 32+ times 64+ times
end time limit title null read at ~243 s (one run; a null read at the same place was seen once before on a non-BAR build, so not attributed)

So on this machine the CPU side of the slow phase is mostly uncached reads of a BAR arena, but fixing that does not change the frame rate: the GPU is the limit there in both arms. n=1 each. I can open the switch as a pull request if it is wanted; the default stays as it is.

tested: base-warm on RTX 4070 Ti SUPER 16 GB, world frames at 0.2-0.6 frames/s from ~120 s

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7223475289 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/issues/2464#issuecomment-7223475289). Originally posted by [j-rally](https://github.com/j-rally) on 2026-11-27T16:37:20Z. --- Baseline on `main` for part A step 1, plus one A/B of where the GPU address arena lives on a Resizable BAR machine. Windows, NVIDIA, 16 GB (profile L). AI-assisted (Claude Code, Claude Opus 5.5). ``` RUN base-warm | 2026-11-27 16:15 UTC | j-rally | AI-assisted: Claude Code (Claude Opus 5.5) BASE: 55bd6f4f1 + none | shaders: make_game.py --stages check,shaders,runtime from an earlier main of the same day (wave64 emulation: auto), not rebuilt for this BASE MACHINE: RTX 4070 Ti SUPER 16 GB, desktop, Resizable BAR on | NVIDIA 621.40 | Windows 11 Pro 26300 | 32 GB RECIPE: documented ("Windows, NVIDIA") + DEVIATIONS: ASYNC_PIPELINES=1 ASYNC_MIN_BYTES=1048576 VALUE_WAIT_TIMEOUT_MS=30000 MAP_READBACK=1 PIPELINE_PREWARM_ORDER=1 COMPILE_HELPER=1 | precompile: yes, all 5,453 compute pipelines journaled (gta6rt --precompile-pipelines, verified with --verify on an earlier build) OS/DRIVER: TdrDelay default TARGET: how far | PREDICTED (written before the run): none written MEASURED: world frames (dark outdoor scene in the captures) from ~120 s | duration ~370 s | boot and menus 16-18 frames/s, 0.2-0.6 frames/s from ~120 s on; submitting thread >100% busy at that point (shadow refresh 20-74 ms, console heaps 10-26 ms, title textures 20-46 ms per submission) END: time limit (stopped by me), no crash, no device loss CACHES: warm: compute journal, session/heavy caches and the driver's cache | RUN 1 of 1 INSTRUMENTS: none VERDICT: no prediction written ``` **A/B: the arena in cached system memory instead of VRAM through the BAR.** With Resizable BAR the arena (2 GiB) gets `DEVICE_LOCAL | HOST_VISIBLE` memory, and the CPU reads it every submission: the write-back's compare against the title's pages, and the title-texture hashes. Through the BAR those reads are uncached. A local switch (`LEONIDA_ARENA_MEMORY=cached`, prefers `HOST_CACHED` and skips the BAR fit) as the only variable, same build, same recipe plus the thread sampler in both arms (`SAMPLE_MS=5`): | | A: arena in VRAM (BAR) | B: arena in cached system memory | |---|---|---| | shadow refresh, ms per submission (from ~120 s) | 20-74 | 4-9 | | submitting thread, share of wall time | 105-124% | 24-55% | | top sample on the submitting thread | memcpy/memcmp in `ShadowPages::write_back` (~30-36%) | `hash_bytes` under `refresh_title_textures` (~37%) | | frames/s from ~120 s | 0.2-0.6 | 0.2-0.5 | | GPU work past the 250 ms title-staging wait | 32+ times | 64+ times | | end | time limit | title null read at ~243 s (one run; a null read at the same place was seen once before on a non-BAR build, so not attributed) | So on this machine the CPU side of the slow phase is mostly uncached reads of a BAR arena, but fixing that does not change the frame rate: the GPU is the limit there in both arms. n=1 each. I can open the switch as a pull request if it is wanted; the default stays as it is. tested: base-warm on RTX 4070 Ti SUPER 16 GB, world frames at 0.2-0.6 frames/s from ~120 s
j-rally commented 2026-11-27 17:12:15 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by j-rally on 2026-11-27T17:12:15Z.


Follow-up to my baseline above: what limits the world load to 0.2-0.8 frames/s on this machine. Same build (55bd6f4f1 + two local diagnostics described below), same recipe, warm caches, n=1 per run. AI-assisted (Claude Code, Claude Opus 5.5).

AGENT-MSG | 2026-11-27 18:40 UTC | j-rally | AI-assisted: Claude Code (Claude Opus 5.5)
BASE:     55bd6f4f1 + none + local: a GPU timestamp pair around each compute dispatch (LEONIDA_GPU_COST=1, rides on the LEONIDA_DEVICE_FAULT=1 checkpoint recorder)
MACHINE:  RTX 4070 Ti SUPER 16 GB, desktop, Resizable BAR on | NVIDIA 621.40 | Windows 11 Pro 26300 | 32 GB
RECIPE:   documented ("Windows, NVIDIA") + DEVIATIONS: as my base-warm run above, plus the diagnostics named per row
ASK:      none
RETURNED: table below
RUNS:     5 (base-warm above, gpu-cost x2, skip one program, gpu-latency)
EVIDENCE: MEASURED for every number; READ IN CODE for what a gate is
Question Run Result (from ~120 s, in the world)
Is it the compute shaders? GPU timestamps around every compute dispatch 50-190 ms of dispatch spans per second of wall time. One emulated-wave64 program takes 110-610 ms per dispatch, 60-100% of the compute time in each 10 s window
Is that program the limit? the same, with it in LEONIDA_SKIP_COMPUTE compute time halves; frames/s median 0.20 (vs 0.35): no
Is the GPU busy? LEONIDA_GPU_LATENCY=1 direct queue had work 35% of the time; compute 2-3%; copy 0%
What holds the work? same direct queue: 29-76 batches and 48-146 Signals per 10 s were held, 265-918 ms on average, up to 2,041 ms
Held on what? list values line in 300 s: 4,174 memory-value waits recorded, 2,443 met at submission, 552 relayed; 1,115 gates held, released after 103.5 s in all (93 ms each on average, longest 1,575 ms), 0 timed out. The total grows by ~9.5 s per 10 s

So in the world load on this machine, the queue spends most of the wall time behind gates: a list waits for a memory value that earlier GPU work writes, and the waiting work is released only after that write has completed and been seen on the CPU. The CPU is not saturated (submitting thread 24-55% busy with the arena in cached memory) and the GPU is idle about two thirds of the time.

I am going to look at why these waits are held rather than relayed onto the write in flight, and will claim it in the coordination issue before opening anything.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7224144108 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/issues/2464#issuecomment-7224144108). Originally posted by [j-rally](https://github.com/j-rally) on 2026-11-27T17:12:15Z. --- Follow-up to my baseline above: what limits the world load to 0.2-0.8 frames/s on this machine. Same build (`55bd6f4f1` + two local diagnostics described below), same recipe, warm caches, n=1 per run. AI-assisted (Claude Code, Claude Opus 5.5). ``` AGENT-MSG | 2026-11-27 18:40 UTC | j-rally | AI-assisted: Claude Code (Claude Opus 5.5) BASE: 55bd6f4f1 + none + local: a GPU timestamp pair around each compute dispatch (LEONIDA_GPU_COST=1, rides on the LEONIDA_DEVICE_FAULT=1 checkpoint recorder) MACHINE: RTX 4070 Ti SUPER 16 GB, desktop, Resizable BAR on | NVIDIA 621.40 | Windows 11 Pro 26300 | 32 GB RECIPE: documented ("Windows, NVIDIA") + DEVIATIONS: as my base-warm run above, plus the diagnostics named per row ASK: none RETURNED: table below RUNS: 5 (base-warm above, gpu-cost x2, skip one program, gpu-latency) EVIDENCE: MEASURED for every number; READ IN CODE for what a gate is ``` | Question | Run | Result (from ~120 s, in the world) | |---|---|---| | Is it the compute shaders? | GPU timestamps around every compute dispatch | 50-190 ms of dispatch spans per second of wall time. One emulated-wave64 program takes 110-610 ms per dispatch, 60-100% of the compute time in each 10 s window | | Is that program the limit? | the same, with it in `LEONIDA_SKIP_COMPUTE` | compute time halves; frames/s median 0.20 (vs 0.35): **no** | | Is the GPU busy? | `LEONIDA_GPU_LATENCY=1` | direct queue had work 35% of the time; compute 2-3%; copy 0% | | What holds the work? | same | direct queue: 29-76 batches and 48-146 Signals per 10 s were **held**, 265-918 ms on average, up to 2,041 ms | | Held on what? | `list values` line | in 300 s: 4,174 memory-value waits recorded, 2,443 met at submission, 552 relayed; **1,115 gates held, released after 103.5 s in all** (93 ms each on average, longest 1,575 ms), 0 timed out. The total grows by ~9.5 s per 10 s | So in the world load on this machine, the queue spends most of the wall time behind gates: a list waits for a memory value that earlier GPU work writes, and the waiting work is released only after that write has completed and been seen on the CPU. The CPU is not saturated (submitting thread 24-55% busy with the arena in cached memory) and the GPU is idle about two thirds of the time. I am going to look at why these waits are held rather than relayed onto the write in flight, and will claim it in the coordination issue before opening anything.
MoonEyes commented 2026-11-27 17:41:59 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-27T17:41:59Z.


Baseline of current main on one machine, cold then warm pipeline cache, same recipe. No PR in the build. n=1 per cache state, indicative only. Not tied to any claim about the cause of the display stop.

RUN w70 | 2026-11-27 | MoonEyes | AI-assisted: Claude Code (Claude Opus 5.5)
BASE:        main ec91d695c, no PR | shaders: main's own translation, retranslated locally
MACHINE:     RTX 4060 8 GB, desktop, only GPU, display attached | NVIDIA 610.88 | Windows 11 Pro 26300 | Ryzen 5 3600 | 32 GB
RECIPE:      docs/running.md Windows NVIDIA recipe + Proton NVIDIA list (title windows 4096 MB, arena 4095 MB, async pipelines 0, serial big compiles 0, RT_AS off, large compute programs skipped, device type 6, map readback 1, host image copy 0, frame pacing 1, present no tear 1, title watchdog off) | scripted button presses every 10 s from 150 s
DEVIATIONS:  Windows GPU timeout left at the default (2 s, no TdrDelay change); ASYNC_MIN_BYTES and COMPILE_GATE left at main's defaults
CACHES:      pipeline cache COLD (empty folder at start, filled by this run) | RUN 1 of 2
INSTRUMENTS: device fault report 1, device markers 1, memory probe 5, overlay, stall checkpoints, capture every 300 s (documented in runtime/README.md; the capture setting in docs/d3d12_vulkan.md)
MEASURED:    world entered at 200 s | last window >= 1 img/s: 282 s | 0 frames after world entry + 240 s | PresentX ok 3219, failed 0 | private RAM max 18.2 GB | free RAM min 659 MB
END:         stopped by my local stall guard (no submit-phases line for 182 s; last such line at 308 s) | device loss: no (no fault report, no device-lost line)
VERDICT:     display stops about 80 s after the world is entered; not a crash
RUN w71 | 2026-11-27 | MoonEyes | AI-assisted: Claude Code (Claude Opus 5.5)
BASE / MACHINE / RECIPE / DEVIATIONS / INSTRUMENTS: same as w70 (my recipe-diff tool: 0 differences in settings; only the cache content differs)
CACHES:      pipeline cache WARM (the folder filled by w70) | RUN 2 of 2
MEASURED:    world entered at 185 s | last window >= 1 img/s: 267 s | 0 frames after world entry + 240 s | PresentX ok 3112, failed 0 | private RAM max 17.6 GB | free RAM min 2800 MB
END:         stopped by my local stall guard (no submit-phases line for 183 s; last such line at 267 s) | device loss: no
VERDICT:     same stop pattern as the cold run; world entered 15 s earlier

Reading (marked):

  • MEASURED: with the cache warm, the world is entered 15 s sooner (185 s against 200 s) and the display still stops: last window >= 1 img/s is 82 s after world entry in both runs.
  • MEASURED: the free-RAM minimum differs a lot between the two runs (659 MB cold, 2800 MB warm); the private maximum is about 0.6 GB higher cold.
  • NOT SHOWN: why it stops. These two runs do not isolate a cause, and the stall guard end time depends on its own threshold, so use the last-window figure to compare, not the end time.

Limits: one machine, one run per cache state; the cache was not snapshotted between the two runs.

AI-assisted (Claude Code, Claude Opus 5.5)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7224691429 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/issues/2464#issuecomment-7224691429). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-27T17:41:59Z. --- Baseline of current main on one machine, cold then warm pipeline cache, same recipe. No PR in the build. n=1 per cache state, indicative only. Not tied to any claim about the cause of the display stop. ``` RUN w70 | 2026-11-27 | MoonEyes | AI-assisted: Claude Code (Claude Opus 5.5) BASE: main ec91d695c, no PR | shaders: main's own translation, retranslated locally MACHINE: RTX 4060 8 GB, desktop, only GPU, display attached | NVIDIA 610.88 | Windows 11 Pro 26300 | Ryzen 5 3600 | 32 GB RECIPE: docs/running.md Windows NVIDIA recipe + Proton NVIDIA list (title windows 4096 MB, arena 4095 MB, async pipelines 0, serial big compiles 0, RT_AS off, large compute programs skipped, device type 6, map readback 1, host image copy 0, frame pacing 1, present no tear 1, title watchdog off) | scripted button presses every 10 s from 150 s DEVIATIONS: Windows GPU timeout left at the default (2 s, no TdrDelay change); ASYNC_MIN_BYTES and COMPILE_GATE left at main's defaults CACHES: pipeline cache COLD (empty folder at start, filled by this run) | RUN 1 of 2 INSTRUMENTS: device fault report 1, device markers 1, memory probe 5, overlay, stall checkpoints, capture every 300 s (documented in runtime/README.md; the capture setting in docs/d3d12_vulkan.md) MEASURED: world entered at 200 s | last window >= 1 img/s: 282 s | 0 frames after world entry + 240 s | PresentX ok 3219, failed 0 | private RAM max 18.2 GB | free RAM min 659 MB END: stopped by my local stall guard (no submit-phases line for 182 s; last such line at 308 s) | device loss: no (no fault report, no device-lost line) VERDICT: display stops about 80 s after the world is entered; not a crash ``` ``` RUN w71 | 2026-11-27 | MoonEyes | AI-assisted: Claude Code (Claude Opus 5.5) BASE / MACHINE / RECIPE / DEVIATIONS / INSTRUMENTS: same as w70 (my recipe-diff tool: 0 differences in settings; only the cache content differs) CACHES: pipeline cache WARM (the folder filled by w70) | RUN 2 of 2 MEASURED: world entered at 185 s | last window >= 1 img/s: 267 s | 0 frames after world entry + 240 s | PresentX ok 3112, failed 0 | private RAM max 17.6 GB | free RAM min 2800 MB END: stopped by my local stall guard (no submit-phases line for 183 s; last such line at 267 s) | device loss: no VERDICT: same stop pattern as the cold run; world entered 15 s earlier ``` Reading (marked): - MEASURED: with the cache warm, the world is entered 15 s sooner (185 s against 200 s) and the display still stops: last window >= 1 img/s is 82 s after world entry in both runs. - MEASURED: the free-RAM minimum differs a lot between the two runs (659 MB cold, 2800 MB warm); the private maximum is about 0.6 GB higher cold. - NOT SHOWN: why it stops. These two runs do not isolate a cause, and the stall guard end time depends on its own threshold, so use the last-window figure to compare, not the end time. Limits: one machine, one run per cache state; the cache was not snapshotted between the two runs. AI-assisted (Claude Code, Claude Opus 5.5)
enlight3d commented 2026-11-27 18:28:21 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-11-27T18:28:21Z.


tested: #2407 on RTX 3090 24 GB (NVIDIA 621.40, Windows 11), same for device losses: none in 2 runs before the merge and none in 2 runs with it; how far not comparable (the input script missed the profile page in one run per side): menu, story load / story load, menu. PROVISIONAL (n=2 per side), RUN blocks: https://github.com/ubiquitarianism/leonida/pull/2407#issuecomment-7225521658. AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7225522890 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/issues/2464#issuecomment-7225522890). Originally posted by [enlight3d](https://github.com/enlight3d) on 2026-11-27T18:28:21Z. --- tested: #2407 on RTX 3090 24 GB (NVIDIA 621.40, Windows 11), same for device losses: none in 2 runs before the merge and none in 2 runs with it; how far not comparable (the input script missed the profile page in one run per side): menu, story load / story load, menu. PROVISIONAL (n=2 per side), RUN blocks: https://github.com/ubiquitarianism/leonida/pull/2407#issuecomment-7225521658. AI-assisted (Claude Code).
djrolfes commented 2026-11-27 19:23:07 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by djrolfes on 2026-11-27T19:23:07Z.


Step 1 baseline of clean main (43a9d562d, no PRs applied) on an 8 GB NVIDIA card under Linux + Wine 11.22 (Profile M): cold caches then warm caches, identical binary (runtime_sha256 matched) and identical settings (0 env differences apart from the per-run capture folder), 100% hands-free via LEONIDA_INPUT_SCRIPT. All numbers independently recomputed from raw logs and resource samples by a second agent (codex / gpt-6-luna) before posting. n=1 per cache state (PROVISIONAL (n=1)).

RUN C1 | 2026-11-27 | djrolfes | AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification)
BASE:        main 43a9d562d + none | shaders: main ec91d695c local translation (wave64 emulated; no overlays)
MACHINE:     RTX 3070 Ti 8 GB, desktop, display attached | NVIDIA 620.73.04 | Arch Linux 7.2.15 + Wine 11.22 | Ryzen 7 5800X | 31 GiB RAM
RECIPE:      documented ("Linux, Proton, NVIDIA") + DEVIATIONS: --run mode (no LEONIDA_XMEM_BACKING_DIR), LEONIDA_ARENA_MB=1024, LEONIDA_GEOMETRY_MB=2048, LEONIDA_ASYNC_PIPELINES=1, LEONIDA_ASYNC_MIN_BYTES=2097152, LEONIDA_ASYNC_MIN_BYTES_GRAPHICS=0 (no LEONIDA_SKIP_COMPUTE skip list), LEONIDA_COMPUTE_WARMUP=0, LEONIDA_VALUE_WAIT_TIMEOUT_MS=30000, LEONIDA_DEVICE_TYPE=6, LEONIDA_MAP_READBACK=1, LEONIDA_DEVICE_FAULT=1, LEONIDA_STARTUP_CACHE_CHECKPOINTS=1, LEONIDA_TITLE_WATCHDOG=0 + local KICK, LEONIDA_TITLE_HUD=1, LEONIDA_KEYBOARD_PAD=1, hands-free LEONIDA_INPUT_SCRIPT, 600 s limit; RT_AS / HOST_IMAGE_COPY / TITLE_WINDOWS_MB / COMPILE_GATE left at main defaults | precompile: no
OS/DRIVER:   default Linux NVIDIA driver settings; Wine 11.22 Wayland driver; isolated network namespace; window placed on silent workspace
TARGET:      how far clean main gets on 8 GB NVIDIA + end class | PREDICTED (written before the run): first-run UI -> menu -> story load -> world load; unhandled exception near world entry (~280-360 s) or 600 s time limit, 0 device losses
MEASURED:    first-run UI -> menu -> story load -> world load (did not reach play); PresentX ok 13,384, failed 0; 26,780 submissions; submit-phases frame rate 0.39-90.93 frames/s across 52 windows (final window 1.45 frames/s); 2 missing-shader compute refusals; 16 small-BAR (246 MiB heap 2) vkAllocateMemory fallbacks (0 fatal); min available RAM 6.455 GiB; max GPU memory 7,850 MiB; adaptive compile gate turned graphics gate off | duration 298.12 s
END:         process crash (Wine unhandled exception, exit 126; device loss: no)
CACHES:      cold (empty NVIDIA shader cache and Leonida pipeline cache) | RUN 1 of 2, same recipe
INSTRUMENTS: device fault 1, resource sampling (2 s), frame capture every 600 frames (local only), startup cache checkpoints
VERDICT:     prediction held (reached world load and hit the predicted unhandled exception near world entry at 298.12 s, 0 device losses)
RUN C2 | 2026-11-27 | djrolfes | AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification)
BASE:        main 43a9d562d + none | shaders: main ec91d695c local translation (wave64 emulated; no overlays)
MACHINE:     RTX 3070 Ti 8 GB, desktop, display attached | NVIDIA 620.73.04 | Arch Linux 7.2.15 + Wine 11.22 | Ryzen 7 5800X | 31 GiB RAM
RECIPE:      same as C1 (0 setting differences) | precompile: no
OS/DRIVER:   same as C1
TARGET:      how far clean main gets warm + speedup vs C1 | PREDICTED (written before the run): menu -> story load -> world load 50-100 s sooner than C1, same end class, 0 device losses
MEASURED:    menu -> story load -> world load (skipped first-run UI via saved settings from C1; did not reach play); PresentX ok 4,515, failed 0; 9,042 submissions; submit-phases frame rate 0.39-85.15 frames/s across 30 windows (final window 1.07 frames/s); 2 missing-shader compute refusals; 16 small-BAR (246 MiB heap 2) vkAllocateMemory fallbacks (0 fatal); min available RAM 7.951 GiB; max GPU memory 7,173 MiB; adaptive compile gate turned compute gate off | duration 174.33 s
END:         process crash (Wine unhandled exception, exit 126; device loss: no)
CACHES:      warm (NVIDIA shader cache and Leonida pipeline cache filled by C1) | RUN 2 of 2, same recipe
INSTRUMENTS: same as C1
VERDICT:     same end class held; warm run reached world load 124 s sooner (outside predicted 50-100 s range), 0 device losses

Reading:

  • MEASURED (n=1 per cache state, PROVISIONAL): Clean main (43a9d562d) with LEONIDA_ASYNC_PIPELINES=1, LEONIDA_ASYNC_MIN_BYTES=2097152, LEONIDA_ASYNC_MIN_BYTES_GRAPHICS=0 (and no LEONIDA_SKIP_COMPUTE skip list) reaches world load on an 8 GB RTX 3070 Ti under Linux + Wine 11.22 with 0 device losses (cold: 298.12 s, peak VRAM 7,850 MiB; warm: 174.33 s, peak VRAM 7,173 MiB). Both runs end cleanly at the same unhandled exception immediately after 2 untranslated compute shader refusals at world entry (before play).
  • MEASURED (n=2, separate --first-run-ui runs with LEONIDA_XMEM_BACKING_DIR): For completeness, running the exact same clean main (43a9d562d) binary with --first-run-ui (LEONIDA_XMEM_BACKING_DIR enabled) still hits the known Wine/NVIDIA 620.73.04 file-backed host-import rejection burst (vkAllocateMemory failed (-1) / E_OUTOFMEMORY at 28.45 s cold and 24.36 s warm with ~16.8 GiB RAM and ~6 GiB VRAM free; tracked in #2126). Leaving LEONIDA_XMEM_BACKING_DIR unset (--run, as in docs/running.md) avoids that startup failure completely.
  • NOT SHOWN: behavior past world entry into play with clean main's shader translation (requires those untranslated compute shaders to be translated first), or multi-run variance (n=1 per state; would be refuted if repeated runs hit device loss or stall earlier).

AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna independent log verification); no game data.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7226474083 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/issues/2464#issuecomment-7226474083). Originally posted by [djrolfes](https://github.com/djrolfes) on 2026-11-27T19:23:07Z. --- Step 1 baseline of clean `main` (`43a9d562d`, no PRs applied) on an 8 GB NVIDIA card under Linux + Wine 11.22 (Profile M): cold caches then warm caches, identical binary (`runtime_sha256` matched) and identical settings (`0` env differences apart from the per-run capture folder), 100% hands-free via `LEONIDA_INPUT_SCRIPT`. All numbers independently recomputed from raw logs and resource samples by a second agent (`codex` / `gpt-6-luna`) before posting. `n=1` per cache state (`PROVISIONAL (n=1)`). ```text RUN C1 | 2026-11-27 | djrolfes | AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification) BASE: main 43a9d562d + none | shaders: main ec91d695c local translation (wave64 emulated; no overlays) MACHINE: RTX 3070 Ti 8 GB, desktop, display attached | NVIDIA 620.73.04 | Arch Linux 7.2.15 + Wine 11.22 | Ryzen 7 5800X | 31 GiB RAM RECIPE: documented ("Linux, Proton, NVIDIA") + DEVIATIONS: --run mode (no LEONIDA_XMEM_BACKING_DIR), LEONIDA_ARENA_MB=1024, LEONIDA_GEOMETRY_MB=2048, LEONIDA_ASYNC_PIPELINES=1, LEONIDA_ASYNC_MIN_BYTES=2097152, LEONIDA_ASYNC_MIN_BYTES_GRAPHICS=0 (no LEONIDA_SKIP_COMPUTE skip list), LEONIDA_COMPUTE_WARMUP=0, LEONIDA_VALUE_WAIT_TIMEOUT_MS=30000, LEONIDA_DEVICE_TYPE=6, LEONIDA_MAP_READBACK=1, LEONIDA_DEVICE_FAULT=1, LEONIDA_STARTUP_CACHE_CHECKPOINTS=1, LEONIDA_TITLE_WATCHDOG=0 + local KICK, LEONIDA_TITLE_HUD=1, LEONIDA_KEYBOARD_PAD=1, hands-free LEONIDA_INPUT_SCRIPT, 600 s limit; RT_AS / HOST_IMAGE_COPY / TITLE_WINDOWS_MB / COMPILE_GATE left at main defaults | precompile: no OS/DRIVER: default Linux NVIDIA driver settings; Wine 11.22 Wayland driver; isolated network namespace; window placed on silent workspace TARGET: how far clean main gets on 8 GB NVIDIA + end class | PREDICTED (written before the run): first-run UI -> menu -> story load -> world load; unhandled exception near world entry (~280-360 s) or 600 s time limit, 0 device losses MEASURED: first-run UI -> menu -> story load -> world load (did not reach play); PresentX ok 13,384, failed 0; 26,780 submissions; submit-phases frame rate 0.39-90.93 frames/s across 52 windows (final window 1.45 frames/s); 2 missing-shader compute refusals; 16 small-BAR (246 MiB heap 2) vkAllocateMemory fallbacks (0 fatal); min available RAM 6.455 GiB; max GPU memory 7,850 MiB; adaptive compile gate turned graphics gate off | duration 298.12 s END: process crash (Wine unhandled exception, exit 126; device loss: no) CACHES: cold (empty NVIDIA shader cache and Leonida pipeline cache) | RUN 1 of 2, same recipe INSTRUMENTS: device fault 1, resource sampling (2 s), frame capture every 600 frames (local only), startup cache checkpoints VERDICT: prediction held (reached world load and hit the predicted unhandled exception near world entry at 298.12 s, 0 device losses) ``` ```text RUN C2 | 2026-11-27 | djrolfes | AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification) BASE: main 43a9d562d + none | shaders: main ec91d695c local translation (wave64 emulated; no overlays) MACHINE: RTX 3070 Ti 8 GB, desktop, display attached | NVIDIA 620.73.04 | Arch Linux 7.2.15 + Wine 11.22 | Ryzen 7 5800X | 31 GiB RAM RECIPE: same as C1 (0 setting differences) | precompile: no OS/DRIVER: same as C1 TARGET: how far clean main gets warm + speedup vs C1 | PREDICTED (written before the run): menu -> story load -> world load 50-100 s sooner than C1, same end class, 0 device losses MEASURED: menu -> story load -> world load (skipped first-run UI via saved settings from C1; did not reach play); PresentX ok 4,515, failed 0; 9,042 submissions; submit-phases frame rate 0.39-85.15 frames/s across 30 windows (final window 1.07 frames/s); 2 missing-shader compute refusals; 16 small-BAR (246 MiB heap 2) vkAllocateMemory fallbacks (0 fatal); min available RAM 7.951 GiB; max GPU memory 7,173 MiB; adaptive compile gate turned compute gate off | duration 174.33 s END: process crash (Wine unhandled exception, exit 126; device loss: no) CACHES: warm (NVIDIA shader cache and Leonida pipeline cache filled by C1) | RUN 2 of 2, same recipe INSTRUMENTS: same as C1 VERDICT: same end class held; warm run reached world load 124 s sooner (outside predicted 50-100 s range), 0 device losses ``` Reading: - **MEASURED (`n=1` per cache state, PROVISIONAL):** Clean `main` (`43a9d562d`) with `LEONIDA_ASYNC_PIPELINES=1`, `LEONIDA_ASYNC_MIN_BYTES=2097152`, `LEONIDA_ASYNC_MIN_BYTES_GRAPHICS=0` (and no `LEONIDA_SKIP_COMPUTE` skip list) reaches `world load` on an 8 GB RTX 3070 Ti under Linux + Wine 11.22 with **0 device losses** (cold: `298.12 s`, peak VRAM `7,850 MiB`; warm: `174.33 s`, peak VRAM `7,173 MiB`). Both runs end cleanly at the same unhandled exception immediately after 2 untranslated compute shader refusals at world entry (before `play`). - **MEASURED (`n=2`, separate `--first-run-ui` runs with `LEONIDA_XMEM_BACKING_DIR`):** For completeness, running the exact same clean `main` (`43a9d562d`) binary with `--first-run-ui` (`LEONIDA_XMEM_BACKING_DIR` enabled) still hits the known Wine/NVIDIA `620.73.04` file-backed host-import rejection burst (`vkAllocateMemory failed (-1)` / `E_OUTOFMEMORY` at `28.45 s` cold and `24.36 s` warm with ~16.8 GiB RAM and ~6 GiB VRAM free; tracked in #2126). Leaving `LEONIDA_XMEM_BACKING_DIR` unset (`--run`, as in `docs/running.md`) avoids that startup failure completely. - **NOT SHOWN:** behavior past world entry into `play` with clean `main`'s shader translation (requires those untranslated compute shaders to be translated first), or multi-run variance (`n=1` per state; would be refuted if repeated runs hit device loss or stall earlier). AI-assisted: Antigravity (Gemini 4 Neon) + Codex (`gpt-6-luna` independent log verification); no game data.
djrolfes commented 2026-11-27 19:24:48 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by djrolfes on 2026-11-27T19:24:48Z.


tested: #2405 on RTX 3070 Ti 8 GB (NVIDIA 620.73.04, Arch Linux + Wine 11.22), same (0 tile-mapping errors, 0 device losses): menu -> story load -> world load (174.33 s) / menu -> story load -> world load (162.18 s). PROVISIONAL (n=1 per side, byte-identical warm cache snapshot), RUN blocks: https://github.com/ubiquitarianism/leonida/pull/2405#issuecomment-7226501426. AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification); no game data.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7226501823 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/issues/2464#issuecomment-7226501823). Originally posted by [djrolfes](https://github.com/djrolfes) on 2026-11-27T19:24:48Z. --- tested: #2405 on RTX 3070 Ti 8 GB (NVIDIA 620.73.04, Arch Linux + Wine 11.22), same (0 tile-mapping errors, 0 device losses): menu -> story load -> world load (174.33 s) / menu -> story load -> world load (162.18 s). PROVISIONAL (n=1 per side, byte-identical warm cache snapshot), RUN blocks: https://github.com/ubiquitarianism/leonida/pull/2405#issuecomment-7226501426. AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification); no game data.
djrolfes commented 2026-11-27 19:27:50 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by djrolfes on 2026-11-27T19:27:50Z.


tested: #2402 on RTX 3070 Ti 8 GB (NVIDIA 620.73.04, Arch Linux + Wine 11.22), same through world load (0 deadlocks, 0 releaser stalls, 0 device losses; peak 86.57 vs 85.15 frames/s; multi-minute play not covered on clean-main shaders): menu -> story load -> world load (174.33 s) / menu -> story load -> world load (160.18 s). PROVISIONAL (n=1 per side, byte-identical warm cache snapshot), RUN blocks: https://github.com/ubiquitarianism/leonida/pull/2402#issuecomment-7226551459. AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification); no game data.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7226551794 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/issues/2464#issuecomment-7226551794). Originally posted by [djrolfes](https://github.com/djrolfes) on 2026-11-27T19:27:50Z. --- tested: #2402 on RTX 3070 Ti 8 GB (NVIDIA 620.73.04, Arch Linux + Wine 11.22), same through world load (0 deadlocks, 0 releaser stalls, 0 device losses; peak 86.57 vs 85.15 frames/s; multi-minute play not covered on clean-main shaders): menu -> story load -> world load (174.33 s) / menu -> story load -> world load (160.18 s). PROVISIONAL (n=1 per side, byte-identical warm cache snapshot), RUN blocks: https://github.com/ubiquitarianism/leonida/pull/2402#issuecomment-7226551459. AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification); no game data.
djrolfes commented 2026-11-27 19:33:30 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by djrolfes on 2026-11-27T19:33:30Z.


tested: #2126 on RTX 3070 Ti 8 GB (NVIDIA 620.73.04, Arch Linux + Wine 11.22, --first-run-ui / LEONIDA_XMEM_BACKING_DIR), better (eliminates 24-28 s vkAllocateMemory -1 / E_OUTOFMEMORY crash and saves ~6.6 GiB host RAM vs --run): first-run UI (28.45 s, 301 presents) / first-run UI -> menu -> story load -> world load (283.75 s, 5,471 presents). PROVISIONAL (n=1 cold per side + warm A repro), RUN blocks: https://github.com/ubiquitarianism/leonida/pull/2126#issuecomment-7226645237. AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification); no game data.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7226645638 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7226645638). Originally posted by [djrolfes](https://github.com/djrolfes) on 2026-11-27T19:33:30Z. --- tested: #2126 on RTX 3070 Ti 8 GB (NVIDIA 620.73.04, Arch Linux + Wine 11.22, --first-run-ui / LEONIDA_XMEM_BACKING_DIR), better (eliminates 24-28 s vkAllocateMemory -1 / E_OUTOFMEMORY crash and saves ~6.6 GiB host RAM vs --run): first-run UI (28.45 s, 301 presents) / first-run UI -> menu -> story load -> world load (283.75 s, 5,471 presents). PROVISIONAL (n=1 cold per side + warm A repro), RUN blocks: https://github.com/ubiquitarianism/leonida/pull/2126#issuecomment-7226645237. AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification); no game data.
LGlong1 commented 2026-11-28 04:03:53 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by LGlong1 on 2026-11-28T04:03:53Z.


Game-run report: the first-run UI reaches its landing prompt on Windows 10 + RX 6750 GRE (RDNA2).

Setup. Windows 10 22H2 (10.0.19045), AMD Radeon RX 6750 GRE 12 GB (RDNA2), driver 32.0.21045.16010, Vulkan from the driver; VS2022 with Windows SDK 10.0.26100, Python 3.12, LLVM_MC=wsl -d Ubuntu -e /usr/lib/llvm-21/bin/llvm-mc (Ubuntu LLVM 21.1.8).

Build. commit d442851 (main has moved since), make_game.py --stages shaders,runtime --jobs 8, then --stages assets --jobs 8. The shaders stage needed one local workaround first: a truncated disassembly listing, reported in #2539; after re-disassembling that one shader the index held 26,503/26,503 and the rest of the build ran. Runtime built from source with MSVC; the assets stage finished 138/138 in 2 h 38 min (about 429 GB of work files).

Run. gta6rt.exe --first-run-ui <game exe> --game-dir <package> --trace <file> --trace-d3d12 with LEONIDA_D3D12=vulkan. Two runs: one with the profile's focused keyboard pad (LEONIDA_KEYBOARD_PAD=1), one with LEONIDA_KEYBOARD_PAD=always.

Result.

  • The window opens and the full title key art renders; a confirm press brings up the first-run landing prompt (ACCOUNT PICKER / SCREEN NARRATION (OFF) / PLAYER) with legible prompts, which is the milestone docs/first_run_ui.md describes.
  • First run: 1,000 XboxPresentation::PresentX ok, 0 failed; 4 modules mapped; 0 unimplemented imports; 2 TLS callbacks, 3/3 DllMain ok; no exceptions in the startup trace.
  • Second run (66 s): 140,340 D3D12 calls, presents ok throughout; boot_trace.py reads 162 startup events with 0 bad lines.
  • No world/3D was attempted — the profile stops at the prompt, as documented.

One thing that may be worth a look: neither the focused nor the always-on keyboard pad moved past the landing prompt (Enter = A, right/down arrows tried, window focused). If that prompt is supposed to open the first-run pages, this may be a Windows 10 input-path detail; if the profile deliberately ends there, it behaves as designed.

No game files or traces are attached; they stay on this machine.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7233647999 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7233647999). Originally posted by [LGlong1](https://github.com/LGlong1) on 2026-11-28T04:03:53Z. --- Game-run report: the first-run UI reaches its landing prompt on Windows 10 + RX 6750 GRE (RDNA2). **Setup.** Windows 10 22H2 (10.0.19045), AMD Radeon RX 6750 GRE 12 GB (RDNA2), driver 32.0.21045.16010, Vulkan from the driver; VS2022 with Windows SDK 10.0.26100, Python 3.12, `LLVM_MC=wsl -d Ubuntu -e /usr/lib/llvm-21/bin/llvm-mc` (Ubuntu LLVM 21.1.8). **Build.** commit `d442851` (main has moved since), `make_game.py --stages shaders,runtime --jobs 8`, then `--stages assets --jobs 8`. The shaders stage needed one local workaround first: a truncated disassembly listing, reported in #2539; after re-disassembling that one shader the index held 26,503/26,503 and the rest of the build ran. Runtime built from source with MSVC; the assets stage finished 138/138 in 2 h 38 min (about 429 GB of work files). **Run.** `gta6rt.exe --first-run-ui <game exe> --game-dir <package> --trace <file> --trace-d3d12` with `LEONIDA_D3D12=vulkan`. Two runs: one with the profile's focused keyboard pad (`LEONIDA_KEYBOARD_PAD=1`), one with `LEONIDA_KEYBOARD_PAD=always`. **Result.** - The window opens and the full title key art renders; a confirm press brings up the first-run landing prompt (`ACCOUNT PICKER` / `SCREEN NARRATION (OFF)` / `PLAYER`) with legible prompts, which is the milestone `docs/first_run_ui.md` describes. - First run: **1,000 `XboxPresentation::PresentX` ok, 0 failed**; 4 modules mapped; **0 unimplemented imports**; 2 TLS callbacks, 3/3 DllMain ok; no exceptions in the startup trace. - Second run (66 s): 140,340 D3D12 calls, presents ok throughout; `boot_trace.py` reads 162 startup events with 0 bad lines. - No world/3D was attempted — the profile stops at the prompt, as documented. **One thing that may be worth a look:** neither the focused nor the always-on keyboard pad moved past the landing prompt (Enter = A, right/down arrows tried, window focused). If that prompt is supposed to open the first-run pages, this may be a Windows 10 input-path detail; if the profile deliberately ends there, it behaves as designed. No game files or traces are attached; they stay on this machine.
timbot103 commented 2026-11-28 09:19:31 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by timbot103 on 2026-11-28T09:19:31Z.


AGENT-MSG | 2026-11-28, 09:20 UTC | timbot103 | AI-assisted: Antigravity (Gemini + Claude Opus 5.5 + Codex GPT-6.2-Sol)
BASE:     02f71ccfe; each arm's exact commit is listed in its section (no PRs combined; local changes: none)
MACHINE:  NVIDIA GeForce RTX 5080 (16 GB, desktop, Profile M) | NVIDIA 616.64 (Vulkan 1.4.351) & AMD Radeon gfx1036 (integrated, Profile S) | AMD 32.0.21030.2001 (Vulkan 25.10.30.02, API 1.4.315) | Windows 11 Pro build 26200 | 96 GB DDR5 (93.6 GiB usable), Ryzen 9 9950X3D
RECIPE:   documented ("Windows, NVIDIA" / "Windows, AMD" — TBD) via scripts/windows-boot/boot.ps1 (--run, --trace, --trace-d3d12, --overlay) + DEVIATIONS: --run instead of --first-run-ui; default Windows TDR (TdrDelay / TdrDdiDelay unset, 2 s OS default); per-GPU cache & overlay folders; LEONIDA_PIPELINE_JOURNAL_SEED_DIR= (off) except #2392 seeded arm; LEONIDA_DEVICE_FAULT=1; LEONIDA_DEVICE_TYPE=6; LEONIDA_ARENA_MB=2048 (4095 on kick probe only); InputScript=a@45,a@60,a@75,a@90; no LEONIDA_GAME_STATE_RVA / LEONIDA_SESSION_STATE_RVA peek set
ASK:      none (Part A native Windows dual-GPU baselines and controlled single-variable PR A/Bs)
RETURNED: 59 controlled game runs + 2 cache-warmup boots (61 game processes total), resumed #2392 pre-compile, 2 dual-GPU #2405 synthetic tests, and 3 #2367 Part 1 Python suites; zero game data
RUNS:     61 game processes (48 in eight 3+3 A/Bs + 4 in #2402 2+2 + 6 single-run baselines + 1 kick probe + 2 warmups) + 2 GPU tests (#2405) + 3 Python runs (#2367 Part 1)
EVIDENCE: MEASURED (count-only JSONs recomputed by second agents Claude Opus 5.5 and Codex GPT-6.2-Sol; raw logs not re-read by second agents) | READ IN CODE (pinned file:line cited) | ASSUMED (tagged where causal/unverified)

Native Windows 11 Part A report covering RTX 5080 (16 GB, desktop, Profile M) and AMD Radeon gfx1036 (integrated, Profile S). Runtime arms were built with MSVC 19.44.35230.0, Ninja RelWithDebInfo, -DLEONIDA_SDL3_FETCH=ON -DLEONIDA_REQUIRE_VULKAN=ON (29,279 shaders loaded on G0, one agent's local MEASURED; shader packs translated with native Windows AMD LLVM 23 llvm-mc). OS/Driver deviation on every run: Windows Registry was not modified, so every run used default Windows TDR (TdrDelay / TdrDdiDelay unset, 2 s OS default). Plan deviations are noted in each section. No game files, logs, traces, captures, shader/program names, RVAs, or local paths are included.

Summary Matrix (Native Windows 11, 2026-11-28)

Item GPU Design Key Result (MEASURED) Verdict
Clean-main 02f71ccfe G0 baselines RTX 5080 Cold + warm (n=1 each) Cold 146 s (2,218 PresentX, 15.19/s, 44.13 peak fps, 0 ECL fail, 0 VK_ERROR_DEVICE_LOST); warm 157 s (2,423 PresentX, 15.43/s, 47.26 peak fps, 951 journal .bin, 0 VK_ERROR_DEVICE_LOST) PROVISIONAL (n=1): clean baseline
Windows AMD 02f71ccfe G0 --pc-tail-ubo check Radeon gfx1036 With vs without --pc-tail-ubo (cold+warm; clean pair exploratory) Device reports maxPushConstantsSize: 256 bytes (one agent's local MEASURED). With --pc-tail-ubo: 1,664 (cold) / 1,688 (warm) ExecuteCommandLists failures (slots 512). Without --pc-tail-ubo: 0 / 0 ECL fail, 0 slots 512, 38.19 peak fps, 243 s cold time limit / 178 s warm, 1,164 journal .bin, 0 VK_ERROR_DEVICE_LOST PROVISIONAL (n=1): clean Windows AMD baseline
Watchdog-kicked probe (02f71ccfe) RTX 5080 Warm + local kick + 724-prog skip + 4095/4096/6144 MiB (n=1) Watchdog kick engaged; reached 1,741 PresentX (14.27/s), 29/29 non-black frames, 455,466 V# halves before END: device lost (109 fault lines, 2 VK_ERROR_DEVICE_LOST, address fault types 6 and 1, 0 null-write / 2 other access violations) PROVISIONAL (n=1): reproduces read-fault device loss
#2392 (f896a16f4, open) RTX 5080 make_game.py --stages pipelines + 3+3 cold unseeded vs seeded Precompile rc=0 (461 s internal / 462.3 s wrapper, 3,755 .bin, 0 failed, 1,480/1,480 skipped via --skip-listed). In-game .bin compiles: 1,721 / 1,721 / 1,725 → 1 / 1 / 1 (-99.94%); journal hits 1,800+; 0 disabled; mean PresentX/s +32.3% (12.44–13.09 → 15.31–18.28); 0 VK_ERROR_DEVICE_LOST HELD (3+3)
#2275 (e1bf0b8ae, open) RTX 5080 Clean merge on 02f71ccfe, 3+3 cold A vs B With #2412 in main, B won 3/3: waits 955–997 (8.1–18.0 s, max 9,616 ms) → 2–7 (95–287 ms, max 285 ms), compute gate off 3/3, mean ECLX/s +22.9% (26.88–29.65 → 32.40–36.41), 0 VK_ERROR_DEVICE_LOST HELD (3+3)
#2412 (a3bafd05d vs f75b2b425, merged) RTX 5080 G3 cold: 3+3 default env + 3+3 classic vs adaptive (exploratory) Default env (classic at f75b2b425, READ IN CODE): no measurable difference at n=3 (0 VK_ERROR_DEVICE_LOST). Adaptive vs classic (exploratory, 3+3): worst hold 8,040–9,438 ms → 1,405–2,499 ms (3.2×–5.7×), mean total wait -78.0%, mean ECLX/s +62.8%, 0 VK_ERROR_DEVICE_LOST Default: unmet / no diff; Adaptive (exploratory): 3/3 win
#2406 (fac8b4bb9 vs 20c46b646, merged) Radeon gfx1036 Clean G1 cold (no --pc-tail-ubo), 3+3 A vs B Part (1): 0 ECL fail, 0 VK_ERROR_DEVICE_LOST; B scales bindless arrays 2D-array 16,384 → 65,536 (4×), 3D 4,096 → 65,536 (16×), 1D 4,096 → 65,536 (16×). Part (2): not reached (0 full in both) Part (1) HELD (3+3); Part (2) not reached
#2404 (011d446c3 vs e5a7c8942, merged) Radeon gfx1036 Clean native-wave64 G1 pack warm, 3+3 A vs B Native Windows write-watch path: shadow write-back 611 / 611 / 19,239 KiB → 0 / 0 / 0 KiB (0 KiB warmup), 0 ECL fail, 0 VK_ERROR_DEVICE_LOST, 0 non-null-write access violations in all 6 runs Write-back HELD (3+3); load-fault trigger not hit
#2407 (20c46b646 vs 627163c8e, merged) RTX 5080 G1 warm: 3+3 default + 3+3 WARMUP_LIVE_MAX_BYTES=131072 0 VK_ERROR_DEVICE_LOST across all 12 runs (6 A + 6 B). Round 2 B slot-records median 0.157–0.241 ms / max 7.534–21.869 ms (392,817–412,636 V# halves). Round 2 B mean ECLX/s -7.6% vs A (25.71–26.48 vs 27.75–28.86, lower 3/3) and single-max heaps 309–340 ms vs 18–92 ms Device-loss HELD; slot-cost PROVISIONAL (arm-A story-load gate unestablished); submission-rate MISSED
#2402 (35eb7b4a4, open) RTX 5080 Clean merge on 02f71ccfe, 2+2 warm A vs B Both B runs had lower ECLX/s (-3.2% mean: 27.31–28.40 vs 28.74–28.79/s), 0 VK_ERROR_DEVICE_LOST; all 4 ended on armed watchdog 31–42 s after last submit phase; sustained play outside observed window PROVISIONAL (n=2): -3.2% ECLX/s in short boots; sustained gate not reached
#2405 (cf30c0a1f, open) RTX 5080 + Radeon Game gate check + dual-GPU d3d12_buffer_tiles_test (VALIDATION=1) Game A/B not run: 0 UpdateTileMappings calls observed on main (A-arm gate failed). Synthetic d3d12_buffer_tiles_test passed on BOTH GPUs (0 VUIDs) (masks 2 & 15; reserved-image separation skipped on both; 12/12 Vulkan tiles + 3/3 D3D12 readbacks) Game gate not met; dual-GPU unit test PASS
#2367 (1860dc591, open) Host (CPU/Py) Part 1 unit & worker-parity tests B passed test_rdna2spirv_spawn_quota.py 5/5 OK (14.65 s) + WorkerParity 3/3 OK (6.35 s); A (02f71ccfe) failed with 1 failure + 1 error (WinError 1816) Part 1 HELD

1. Clean-main (02f71ccfe) Baselines, Windows AMD --pc-tail-ubo Check, and Watchdog-Kicked Probe

Pre-registered predictions existed before the four initial baselines (t4-5080-base-{cold,warm}, t4-radeon-base-{cold,warm}); the clean Radeon pair (t4-radeon-clean-{cold,warm}, without --pc-tail-ubo) and t4-5080-kick-probe were exploratory follow-ups. All runs used boot.ps1 (--run, --trace, --trace-d3d12, --overlay), Seconds=240 (300 for kick probe), LEONIDA_DEVICE_FAULT=1, LEONIDA_DEVICE_TYPE=6, LEONIDA_PIPELINE_CACHE_BYTES=4294967296, LEONIDA_STARTUP_CACHE_CHECKPOINTS=1, LEONIDA_PIPELINE_JOURNAL_SEED_DIR= (off), default 2 s Windows TDR, per-GPU cache/overlay folders.

Run GPU & Pack Cache Dur END PresentX ok (rate) ECLX (rate) ECL ok / fail Non-black frames Peak window fps D3D12 calls Journal .bin (last log hits/wr) VK_ERROR_DEVICE_LOST
t4-5080-base-cold RTX 5080 (--wave64-emulate on) cold 146 s watchdog exit 2,218 (15.19/s) 4,466 (30.59/s) 4,467 / 0 37/37 44.13 416,485 n/a (31/700) 0
t4-5080-base-warm RTX 5080 (--wave64-emulate on) warm 157 s watchdog exit 2,423 (15.43/s) 4,910 (31.27/s) 4,949 / 0 40/40 47.26 448,957 951 (800/150) 0
t4-radeon-base-cold Radeon (--wave64-emulate off --pc-tail-ubo) cold 184 s watchdog exit 1,652 (8.98/s) 3,366 (18.29/s) 1,739 / 1,664 28/28 24.38 383,669 n/a (1/2) 0
t4-radeon-base-warm Radeon (--wave64-emulate off --pc-tail-ubo) warm 171 s watchdog exit 1,688 (9.87/s) 3,440 (20.12/s) 1,791 / 1,688 29/29 25.57 404,686 4 (1/0) 0
t4-radeon-clean-cold Radeon (--wave64-emulate off, no tail-ubo) cold 243 s time limit 1,780 (7.33/s) 3,589 (14.77/s) 3,588 / 0 29/30 38.19 407,699 981 (34/900) 0
t4-radeon-clean-warm Radeon (--wave64-emulate off, no tail-ubo) warm 178 s watchdog exit 2,137 (12.01/s) 4,305 (24.19/s) 4,305 / 0 36/36 37.98 422,642 1,164 (1000/171) 0
t4-5080-kick-probe RTX 5080 (--wave64-emulate on, kick+724 skip) warm copy 122 s device lost 1,741 (14.27/s) 3,546 (29.07/s) 3,585 / 0 29/29 24.57 408,025 1,034 (979/80) 2
RUN t4-5080-base-cold | 2026-11-28 | timbot103 | AI-assisted: Antigravity (Gemini + Claude Opus 5.5 + Codex GPT-6.2-Sol)
BASE:        02f71ccfe | shaders: make_game.py --stages check,shaders --wave64-emulate on
MACHINE:     NVIDIA GeForce RTX 5080 (16 GB, desktop) | NVIDIA 616.64 (Vulkan 1.4.351) | Windows 11 Pro build 26200 | 96 GB DDR5 (93.6 GiB usable)
RECIPE:      documented ("Windows, NVIDIA" — TBD) + DEVIATIONS: --run via boot.ps1 (not --first-run-ui), LEONIDA_ARENA_MB=2048, LEONIDA_DEVICE_TYPE=6, LEONIDA_DEVICE_FAULT=1, LEONIDA_PIPELINE_JOURNAL_SEED_DIR= (off), InputScript=a@45,a@60,a@75,a@90, per-GPU cache/overlay folders, no peek RVAs | precompile: no
OS/DRIVER:   default Windows TDR (TdrDelay / TdrDdiDelay unset, 2 s OS default)
TARGET:      END, PresentX, device losses | PREDICTED (written before the run): watchdog exit 145-210 s or 240 s cap, 0 device losses
MEASURED:    PresentX ok 2,218 / failed 0 (15.19/s), ECLX 4,466 (30.59/s), ECL 4,467 ok / 0 failed, 37/37 non-black frames, 0 VK_ERROR_DEVICE_LOST | duration 146 s | peak window 44.13 fps
END:         watchdog exit
CACHES:      cold (empty runtime pipeline-cache; NVIDIA driver cache unmodified) | RUN 1 of 1, same recipe
INSTRUMENTS: --trace, --trace-d3d12, frame capture every 60 presents (limit 40), LEONIDA_DEVICE_FAULT=1
VERDICT:     PROVISIONAL (n=1) — prediction held (milestone unverified without peek states)

RUN t4-5080-base-warm | 2026-11-28 | timbot103 | AI-assisted: Antigravity (Gemini + Claude Opus 5.5 + Codex GPT-6.2-Sol)
BASE:        02f71ccfe | shaders: make_game.py --stages check,shaders --wave64-emulate on
MACHINE:     NVIDIA GeForce RTX 5080 (16 GB, desktop) | NVIDIA 616.64 (Vulkan 1.4.351) | Windows 11 Pro build 26200 | 96 GB DDR5 (93.6 GiB usable)
RECIPE:      same as t4-5080-base-cold | precompile: no
OS/DRIVER:   default Windows TDR (TdrDelay / TdrDdiDelay unset, 2 s OS default)
TARGET:      PresentX/s, journal hits, device losses | PREDICTED (written before the run): fewer compiles, PresentX/s & fps >= cold, 0 device losses
MEASURED:    PresentX ok 2,423 / failed 0 (15.43/s), ECLX 4,910 (31.27/s), 40/40 non-black frames, 951 journal .bin (last log 800 hits / 150 written), 0 VK_ERROR_DEVICE_LOST | duration 157 s | peak window 47.26 fps
END:         watchdog exit
CACHES:      warm: runtime pipeline-cache from t4-5080-base-cold | RUN 1 of 1, same recipe
INSTRUMENTS: same as t4-5080-base-cold
VERDICT:     PROVISIONAL (n=1) — prediction held

RUN t4-radeon-base-cold | 2026-11-28 | timbot103 | AI-assisted: Antigravity (Gemini + Claude Opus 5.5 + Codex GPT-6.2-Sol)
BASE:        02f71ccfe | shaders: make_game.py --stages check,shaders --wave64-emulate off --pc-tail-ubo
MACHINE:     AMD Radeon gfx1036 (integrated) | AMD 32.0.21030.2001 (Vulkan 25.10.30.02, API 1.4.315) | Windows 11 Pro build 26200 | 96 GB DDR5 (93.6 GiB usable)
RECIPE:      documented ("Windows, AMD" — TBD) + DEVIATIONS: forced --pc-tail-ubo (unnecessary on 256-byte push-constant device), same boot.ps1 switches as t4-5080-base-cold, LEONIDA_VK_DEVICE=Radeon | precompile: no
OS/DRIVER:   default Windows TDR (TdrDelay / TdrDdiDelay unset, 2 s OS default)
TARGET:      PresentX, ExecuteCommandLists outcomes, driver limitations | PREDICTED (written before the run): reach PresentX or surface a Windows AMD limitation
MEASURED:    PresentX ok 1,652 / failed 0 (8.98/s), ECLX 3,366 (18.29/s), ECL 1,739 ok / 1,664 failed, slots 512 = 1, 28/28 non-black frames, 0 VK_ERROR_DEVICE_LOST | duration 184 s | peak window 24.38 fps
END:         watchdog exit
CACHES:      cold (empty runtime pipeline-cache; AMD driver cache unmodified) | RUN 1 of 1, same recipe
INSTRUMENTS: same as t4-5080-base-cold
VERDICT:     PROVISIONAL (n=1) — surfaced --pc-tail-ubo pipeline-layout mismatch (1,664 ECL failures; invalid as clean control)

RUN t4-radeon-base-warm | 2026-11-28 | timbot103 | AI-assisted: Antigravity (Gemini + Claude Opus 5.5 + Codex GPT-6.2-Sol)
BASE:        02f71ccfe | shaders: make_game.py --stages check,shaders --wave64-emulate off --pc-tail-ubo
MACHINE:     AMD Radeon gfx1036 (integrated) | AMD 32.0.21030.2001 (Vulkan 25.10.30.02, API 1.4.315) | Windows 11 Pro build 26200 | 96 GB DDR5 (93.6 GiB usable)
RECIPE:      same as t4-radeon-base-cold | precompile: no
OS/DRIVER:   default Windows TDR (TdrDelay / TdrDdiDelay unset, 2 s OS default)
TARGET:      PresentX/s, ExecuteCommandLists outcomes, journal .bin | PREDICTED (written before the run): fewer compiles, PresentX/s >= cold
MEASURED:    PresentX ok 1,688 / failed 0 (9.87/s), ECLX 3,440 (20.12/s), ECL 1,791 ok / 1,688 failed, slots 512 = 1, 29/29 non-black frames, 4 journal .bin, 0 VK_ERROR_DEVICE_LOST | duration 171 s | peak window 25.57 fps
END:         watchdog exit
CACHES:      warm: runtime pipeline-cache from t4-radeon-base-cold | RUN 1 of 1, same recipe
INSTRUMENTS: same as t4-5080-base-cold
VERDICT:     PROVISIONAL (n=1) — PresentX/s held (9.87 vs 8.98/s); compile drop unmeasurable with 1,688 ECL failures

RUN t4-radeon-clean-cold | 2026-11-28 | timbot103 | AI-assisted: Antigravity (Gemini + Claude Opus 5.5 + Codex GPT-6.2-Sol)
BASE:        02f71ccfe | shaders: make_game.py --stages check,shaders --wave64-emulate off
MACHINE:     AMD Radeon gfx1036 (integrated) | AMD 32.0.21030.2001 (Vulkan 25.10.30.02, API 1.4.315) | Windows 11 Pro build 26200 | 96 GB DDR5 (93.6 GiB usable)
RECIPE:      documented ("Windows, AMD" — TBD) + same boot.ps1 recipe as t4-5080-base-cold, LEONIDA_VK_DEVICE=Radeon | precompile: no
OS/DRIVER:   default Windows TDR (TdrDelay / TdrDdiDelay unset, 2 s OS default)
TARGET:      ExecuteCommandLists ok/failed, slots 512 diagnostics, PresentX | PREDICTED: exploratory (post-hoc check after --pc-tail-ubo audit)
MEASURED:    PresentX ok 1,780 / failed 0 (7.33/s), ECLX 3,589 (14.77/s), ECL 3,588 ok / 0 failed (down from 1,664 failed with --pc-tail-ubo), slots 512 = 0, 29/30 non-black frames, 981 journal .bin, 0 VK_ERROR_DEVICE_LOST | duration 243 s | peak window 38.19 fps
END:         time limit
CACHES:      cold (empty runtime pipeline-cache; AMD driver cache unmodified) | RUN 1 of 1, same recipe
INSTRUMENTS: same as t4-5080-base-cold
VERDICT:     PROVISIONAL (n=1, exploratory) — dropping --pc-tail-ubo eliminated all 1,664 ECL failures

RUN t4-radeon-clean-warm | 2026-11-28 | timbot103 | AI-assisted: Antigravity (Gemini + Claude Opus 5.5 + Codex GPT-6.2-Sol)
BASE:        02f71ccfe | shaders: make_game.py --stages check,shaders --wave64-emulate off
MACHINE:     AMD Radeon gfx1036 (integrated) | AMD 32.0.21030.2001 (Vulkan 25.10.30.02, API 1.4.315) | Windows 11 Pro build 26200 | 96 GB DDR5 (93.6 GiB usable)
RECIPE:      same as t4-radeon-clean-cold | precompile: no
OS/DRIVER:   default Windows TDR (TdrDelay / TdrDdiDelay unset, 2 s OS default)
TARGET:      ExecuteCommandLists ok/failed, PresentX/s, journal .bin | PREDICTED: exploratory
MEASURED:    PresentX ok 2,137 / failed 0 (12.01/s), ECLX 4,305 (24.19/s), ECL 4,305 ok / 0 failed (down from 1,688 failed with --pc-tail-ubo), slots 512 = 0, 36/36 non-black frames, 1,164 journal .bin, 0 VK_ERROR_DEVICE_LOST | duration 178 s | peak window 37.98 fps
END:         watchdog exit
CACHES:      warm: runtime pipeline-cache from t4-radeon-clean-cold | RUN 1 of 1, same recipe
INSTRUMENTS: same as t4-5080-base-cold
VERDICT:     PROVISIONAL (n=1, exploratory) — clean Windows AMD warm baseline with 0 ECL failures

RUN t4-5080-kick-probe | 2026-11-28 | timbot103 | AI-assisted: Antigravity (Gemini + Claude Opus 5.5 + Codex GPT-6.2-Sol)
BASE:        02f71ccfe | shaders: make_game.py --stages check,shaders --wave64-emulate on
MACHINE:     NVIDIA GeForce RTX 5080 (16 GB, desktop) | NVIDIA 616.64 (Vulkan 1.4.351) | Windows 11 Pro build 26200 | 96 GB DDR5 (93.6 GiB usable)
RECIPE:      same boot.ps1 harness + DEVIATIONS: Seconds=300, InputScript=a@45,a@60,a@75,a@90,a@110,a@130, LEONIDA_TITLE_WATCHDOG=0, LEONIDA_TITLE_WATCHDOG_KICK=set (local values), LEONIDA_ARENA_MB=4095, LEONIDA_TITLE_WINDOWS_MB=4096, LEONIDA_GEOMETRY_MB=6144, LEONIDA_RT_AS=off, LEONIDA_SKIP_COMPUTE=<724 programs>, LEONIDA_MAP_READBACK=1, LEONIDA_FRAME_PACING=1, LEONIDA_PRESENT_NO_TEAR=1, LEONIDA_HOST_IMAGE_COPY=0 | precompile: no
OS/DRIVER:   default Windows TDR (TdrDelay / TdrDdiDelay unset, 2 s OS default)
TARGET:      watchdog disarm, UpdateTileMappings count, END | PREDICTED: exploratory probe for tile-mapping reach
MEASURED:    watchdog_kicked=true, PresentX ok 1,741 / failed 0 (14.27/s), ECLX 3,546 (29.07/s), 29/29 non-black frames, 455,466 V# halves recorded, UpdateTileMappings=0, access violations 0 null-write / 2 other, unhandled_cache_write_lines=1, device_loss_lines=109, vk_device_lost_lines=2, device_fault_address_types=[type 6 precision 16, type 1 precision 4096] | duration 122 s | peak window 24.57 fps (one agent's local MEASURED: first VK_ERROR_DEVICE_LOST at 108.8 s after 8 x 250 ms staging waits, followed by breakpoint exit at 122 s)
END:         device lost
CACHES:      warm: fresh copy of t4-5080-base-warm pipeline-cache snapshot | RUN 1 of 1, same recipe
INSTRUMENTS: same as t4-5080-base-cold
VERDICT:     PROVISIONAL (n=1, exploratory) — watchdog kick worked; hit read-fault device loss before any UpdateTileMappings
  • Windows AMD --pc-tail-ubo diagnosis (MEASURED + READ IN CODE): On Windows AMD gfx1036 (maxPushConstantsSize: 256 bytes, one agent's local MEASURED), forcing --pc-tail-ubo produced 1,664 (cold) and 1,688 (warm) failed ExecuteCommandLists calls (about one failure per present) and logged slots 512 (GraphicsPipeline::rectangle_stage) pipeline-variant failures. READ IN CODE: --pc-tail-ubo puts the push-constant tail in set 1 binding 0 (tools/rdna2spirv.py:113,16677-16694), while the graphics pipeline layout at 02f71ccfe declares set 0 only (runtime/shims/d3d12_vulkan_device.cpp:12890-12907), and a draw with an unbuilt variant fails replay at runtime/src/vulkan_replay.h:3116 (VUID-VkGraphicsPipelineCreateInfo-layout-07988 layout mismatch inferred READ IN CODE / ASSUMED, not captured under validation layer). Rebuilding G0 without --pc-tail-ubo dropped ExecuteCommandLists failures to 0 / 0 and slots 512 to 0.

2. Open PR #2392 — make_game.py --stages pipelines Journal Seeding (RTX 5080, 3+3)

  • Precompile (make_game.py --stages pipelines --no-tui --jobs 16, LEONIDA_VK_DEVICE=5080, LEONIDA_DEVICE_FAULT=1, LEONIDA_SKIP_COMPUTE=<1,480 programs >= 2 MiB>): plan deviation — used all 1,480 >= 2 MiB compute shaders (724 library + 756 main corpus, split is one agent's local MEASURED) rather than only the 724 library shaders in TRACK4-AB-PLAN.md so the stage completed under wave64 emulation without multi-hour compiles. Resumed cleanly after an earlier partial run (rc=0, 461 s internal / 462.3 s wrapper elapsed): 202 built (202 compiled, 0 from cache), 3,755 journaled already, 16 being built by another process (3,973 entries total; 3,755 .bin files on disk — duplicate SPIR-V hashes across entries ASSUMED), 0 failed, 1,480/1,480 left out via --skip-listed. Overlap with t4-5080-base-warm journal files: 950/951.
  • Single variable (alternating A, B, A, B, A, B on 02f71ccfe + #2392 head f896a16f4, fresh cold runtime cache per run, Seconds=180): A = LEONIDA_PIPELINE_JOURNAL_SEED_DIR= (unseeded) vs B = LEONIDA_PIPELINE_JOURNAL_SEED_DIR=<per-GPU #2392 seed folder> (seeded). LEONIDA_SKIP_COMPUTE unset during boot in all 6 runs.
Run Arm Dur END PresentX ok (rate) ECLX (rate) New .bin compiled in-game Last journal log (hits / written) Journal disabled VK_ERROR_DEVICE_LOST
t4-2392-A-1 A (unseeded) 143 s watchdog exit 1,779 (12.44/s) 3,618 (25.3/s) 1,721 99 / 1,700 0 0
t4-2392-B-1 B (seeded) 152 s watchdog exit 2,327 (15.31/s) 4,716 (31.03/s) 1 1,800 / 1 0 0
t4-2392-A-2 A (unseeded) 144 s watchdog exit 1,885 (13.09/s) 3,832 (26.61/s) 1,721 99 / 1,700 0 0
t4-2392-B-2 B (seeded) 137 s watchdog exit 2,504 (18.28/s) 5,070 (37.01/s) 1 1,800 / 1 0 0
t4-2392-A-3 A (unseeded) 156 s watchdog exit 1,995 (12.79/s) 4,056 (26.0/s) 1,725 99 / 1,700 0 0
t4-2392-B-3 B (seeded) 139 s watchdog exit 2,377 (17.10/s) 4,816 (34.65/s) 1 1,800 / 1 0 0
  • VERDICT (MEASURED, n=3 per arm): PREDICTION HELD. Seeding cut in-game .bin compiles from 1,721 / 1,721 / 1,725 to 1 / 1 / 1 (-99.94%; identity of the 1 remaining shader ASSUMED to be the skipped >= 2 MiB entry), logged 1,800+ journal hits with 0 disabled warnings and 0 VK_ERROR_DEVICE_LOST, and lifted PresentX/s by +32.3% (arithmetic mean of unrounded per-run PresentX/s: 12.44–13.09 → 15.31–18.28/s; median +33.7%, pooled +31.8%). Direction matched the pre-registered prediction; actual compile/hit volume (1,721–1,725 / 1,800+) was ~2.4× higher than the pre-registered ~700 estimate. Note (READ IN CODE, tested #2392 merge d3d12_vulkan_device.cpp:11706-11711): journal log lines print on the 1st event of each kind and every 100th, so exact .bin counts are reported alongside the log lower bounds.

3. Open PR #2275 — Compile-Gate / Submit-Mutex Handoff (RTX 5080, 3+3 Cold)

  • Single variable (alternating A, B, A, B, A, B, G0 pack, fresh cold runtime cache per run, unseeded, Seconds=300): A = 02f71ccfe vs B = 02f71ccfe + #2275 (head e1bf0b8ae) (merged cleanly onto 02f71ccfe despite overlapping #2412).
Run Arm Dur END PresentX ok (rate) ECLX (rate) Compile-gate waits (count / total ms / longest ms) Compute gate off VK_ERROR_DEVICE_LOST
t4-2275-A-1 A (02f71ccfe) 155 s watchdog exit 2,100 (13.55/s) 4,251 (27.43/s) 955 / 10,216 ms / 2,251 ms 0 0
t4-2275-B-1 B (+#2275) 140 s watchdog exit 2,519 (17.99/s) 5,098 (36.41/s) 2 / 287 ms / 285 ms 1 0
t4-2275-A-2 A (02f71ccfe) 143 s watchdog exit 2,090 (14.62/s) 4,240 (29.65/s) 997 / 17,961 ms / 9,616 ms 0 0
t4-2275-B-2 B (+#2275) 141 s watchdog exit 2,389 (16.94/s) 4,842 (34.34/s) 4 / 95 ms / 83 ms 1 0
t4-2275-A-3 A (02f71ccfe) 156 s watchdog exit 2,066 (13.24/s) 4,194 (26.88/s) 973 / 8,128 ms / 50 ms 0 0
t4-2275-B-3 B (+#2275) 144 s watchdog exit 2,302 (15.99/s) 4,666 (32.4/s) 7 / 163 ms / 52 ms 1 0
  • VERDICT (MEASURED, n=3 per arm): PREDICTION HELD. Even with #2412 already in main, B beat A in 3/3 cold runs: compute gate turned off in 3/3 B runs (0 in A), compile-gate waits dropped from 955 / 997 / 973 (8,128–17,961 ms, longest up to 9,616 ms) to 2 / 4 / 7 (95–287 ms, longest 52–285 ms), ECLX/s rose +22.9% (arithmetic mean of unrounded per-run ECLX/s: 26.88–29.65 → 32.40–36.41/s; pooled +23.0%, median +25.2%), and VK_ERROR_DEVICE_LOST stayed 0.

4. Merged PR #2412 — Adaptive Compile Gate (RTX 5080, G3 Pack, 3+3 Default + 3+3 Exploratory Adaptive)

  • Code note (READ IN CODE, f75b2b425 runtime/src/vulkan_device_fault.h:536-545): At #2412's merge commit, unset LEONIDA_COMPILE_GATE still defaulted to classic (adaptive was opt-in via LEONIDA_COMPILE_GATE=adaptive; a later PR added auto, which selects adaptive or classic by calibration). We ran both the pre-registered commit A/B (default env, 4a) and an exploratory post-hoc single-variable mode A/B on f75b2b425 (4b), all cold with fresh caches on the G3 (a3bafd05d) pack.

4a. Pre-registered commit A/B (a3bafd05d vs f75b2b425, default env = classic, cold)

Run Arm Dur END PresentX ok (rate) ECLX (rate) Compile-gate waits (count / total ms / longest ms) VK_ERROR_DEVICE_LOST
t4-2412-A-1 A (a3bafd05d) 175 s watchdog exit 1,318 (7.53/s) 2,667 (15.24/s) 840 / 37,481 ms / 8,877 ms 0
t4-2412-B-1 B (f75b2b425) 172 s watchdog exit 1,264 (7.35/s) 2,592 (15.07/s) 832 / 38,962 ms / 9,031 ms 0
t4-2412-A-2 A (a3bafd05d) 157 s watchdog exit 1,288 (8.20/s) 2,640 (16.82/s) 846 / 35,785 ms / 8,753 ms 0
t4-2412-B-2 B (f75b2b425) 156 s watchdog exit 1,408 (9.03/s) 2,847 (18.25/s) 785 / 34,290 ms / 8,340 ms 0
t4-2412-A-3 A (a3bafd05d) 157 s watchdog exit 1,314 (8.37/s) 2,659 (16.94/s) 757 / 32,989 ms / 8,313 ms 0
t4-2412-B-3 B (f75b2b425) 187 s watchdog exit 1,373 (7.34/s) 2,809 (15.02/s) 768 / 32,095 ms / 8,115 ms 0

4b. Exploratory mode A/B (f75b2b425, single variable: LEONIDA_COMPILE_GATE=classic vs adaptive, cold)

Run Mode Dur END PresentX ok (rate) ECLX (rate) Compile-gate waits (count / total ms / longest ms) Compute gate off VK_ERROR_DEVICE_LOST
t4-2412ad-A-1 A (classic) 188 s watchdog exit 1,414 (7.52/s) 2,891 (15.38/s) 831 / 34,167 ms / 9,438 ms 0 0
t4-2412ad-B-1 B (adaptive) 143 s watchdog exit 1,733 (12.12/s) 3,531 (24.69/s) 402 / 7,461 ms / 1,685 ms 1 0
t4-2412ad-A-2 A (classic) 191 s watchdog exit 1,318 (6.90/s) 2,701 (14.14/s) 773 / 32,908 ms / 8,040 ms 0 0
t4-2412ad-B-2 B (adaptive) 148 s watchdog exit 1,633 (11.03/s) 3,297 (22.28/s) 382 / 7,563 ms / 1,405 ms 1 0
t4-2412ad-A-3 A (classic) 195 s watchdog exit 1,464 (7.51/s) 2,991 (15.34/s) 757 / 32,454 ms / 8,091 ms 0 0
t4-2412ad-B-3 B (adaptive) 142 s watchdog exit 1,836 (12.93/s) 3,703 (26.08/s) 373 / 6,862 ms / 2,499 ms 1 0
  • VERDICT (MEASURED, n=3 per arm):
    • 4a (default env): No measurable difference at n=3 (0 VK_ERROR_DEVICE_LOST in both arms; mean max hold 8,648 ms A vs 8,495 ms B, B shorter in 2/3 pairs). Pre-registered shorter-hold prediction was unmet / not refuted, explained by f75b2b425 defaulting to classic (READ IN CODE).
    • 4b (exploratory, post-hoc — not in TRACK4-AB-PLAN.md): With LEONIDA_COMPILE_GATE=adaptive, B beat classic 3/3: paired max-hold ratio 3.2×–5.7× (8,040–9,438 ms → 1,405–2,499 ms), mean total wait -78.0% (32,454–34,167 ms → 6,862–7,563 ms), compute gate off 3/3, mean ECLX/s +62.8% (14.14–15.38 → 22.28–26.08/s), and 0 VK_ERROR_DEVICE_LOST across all 12 runs.

5. Merged PR #2406 — Device-Limit Bindless Arrays (Windows AMD Radeon gfx1036, G1 Pack, 3+3)

  • Single variable (alternating A, B, A, B, A, B, clean Radeon G1 pack fac8b4bb9 --wave64-emulate off, cold fresh cache, Seconds=240): A = fac8b4bb9 vs B = 20c46b646. Plan deviation: built without --pc-tail-ubo (see Section 1).
Run Arm Dur END PresentX ok ECL ok / fail Bindless set (2D / samp / 2D-arr / 3D / 1D / stor2D) Array full Unbound T# lines VK_ERROR_DEVICE_LOST
t4-2406-A-1 A (fac8b4bb9) 241 s time limit 286 572 / 0 65,536 / 4,096 / 16,384 / 4,096 / 4,096 / 4,096 0 5 0
t4-2406-B-1 B (20c46b646) 241 s time limit 257 516 / 0 65,536 / 4,096 / 65,536 / 65,536 / 65,536 / 4,096 0 6 0
t4-2406-A-2 A (fac8b4bb9) 111 s watchdog exit 109 220 / 0 65,536 / 4,096 / 16,384 / 4,096 / 4,096 / 4,096 0 0 0
t4-2406-B-2 B (20c46b646) 111 s watchdog exit 116 232 / 0 65,536 / 4,096 / 65,536 / 65,536 / 65,536 / 4,096 0 0 0
t4-2406-A-3 A (fac8b4bb9) 57 s watchdog exit 117 234 / 0 65,536 / 4,096 / 16,384 / 4,096 / 4,096 / 4,096 0 0 0
t4-2406-B-3 B (20c46b646) 57 s watchdog exit 103 206 / 0 65,536 / 4,096 / 65,536 / 65,536 / 65,536 / 4,096 0 0 0
  • VERDICT (MEASURED, n=3 per arm): Part (1) HELD; Part (2) not reached. All 6 runs created the device and bindless set cleanly (0 ECL fail, 0 VK_ERROR_DEVICE_LOST); B scaled 2D-array 16,384 → 65,536 (4×) and 3D/1D 4,096 → 65,536 (16×). MEASURED: compile-gate waits consumed 36.9–213.4 s of each run (0 array-full events in either arm; causal link to predating #2407/#2412 tagged ASSUMED).

6. Merged PR #2404 — Write-Watch Shadow Write-Back (Windows AMD Radeon gfx1036, G1 Pack, 3+3)

  • Plan deviations & pack equivalence (READ IN CODE): Built without --pc-tail-ubo (see Section 1) and reused the G1 native-wave64 pack (fac8b4bb9) instead of translating a separate G2 (011d446c3) pack. git diff fac8b4bb9..011d446c3 outside runtime/, docs/, and tests/ touches only tools/wave64_emulate_opt.py:plan_structured_emulation, which at both fac8b4bb9 and 011d446c3 is guarded by if g.emulate: (tools/rdna2spirv.py:18865-18871) and never called under --wave64-emulate off (exact byte identity was not hash-checked). All 6 runs started from fresh copies of the same warmed cache snapshot (1,092 .bin, warmup write-back 0 KiB), Seconds=240.
Run Arm Dur END PresentX ok ECL ok / fail Write-back (went back to title pages, lower bound) Access violations (null_write / other) VK_ERROR_DEVICE_LOST
t4-2404-A-1 A (011d446c3) 241 s time limit (after null-write cache flush) 75 151 / 0 611 KiB (3 lines) 1 / 0 0
t4-2404-B-1 B (e5a7c8942) 241 s time limit (after null-write cache flush) 65 130 / 0 0 KiB (0 lines) 1 / 0 0
t4-2404-A-2 A (011d446c3) 55 s watchdog exit 62 125 / 0 611 KiB (3 lines) 1 / 0 0
t4-2404-B-2 B (e5a7c8942) 56 s watchdog exit 62 124 / 0 0 KiB (0 lines) 1 / 0 0
t4-2404-A-3 A (011d446c3) 241 s time limit 95 191 / 0 19,239 KiB (5 lines) 0 / 0 0
t4-2404-B-3 B (e5a7c8942) 241 s time limit 91 183 / 0 0 KiB (0 lines) 0 / 0 0
  • VERDICT (MEASURED, n=3 per arm): Write-back reduction HELD; load CPU-fault trigger not hit. On native Windows (which exercises the write-watch path), B reduced logged write-back from 611 / 611 / 19,239 KiB (3 / 3 / 5 lines) in A to 0 / 0 / 0 KiB (0 lines; plus 0 KiB in warmup), with 0 ECL fail and 0 VK_ERROR_DEVICE_LOST (device_stall_lines=1 occurred equally in A-1, B-1, A-2, and B-2). All 6 runs had 0 non-null-write access violations; in A-1 and B-1, an armed-watchdog null-write occurred after last_submit_phase_t (72 s / 63 s), entered the runtime's unhandled-exception session-cache write handler (unhandled_cache_write_lines=1), and the process remained alive until boot.ps1 stopped it at 241 s.

7. Merged PR #2407 — Incremental Descriptor Heap Slot Refresh (RTX 5080, G1 Pack, 3+3 Default + 3+3 Warmup-Capped)

  • Round 1 (default env, warm G1 snapshots, Seconds=240): All 6 runs (A-1..3 20c46b646 and B-1..3 627163c8e) reached the 241 s time limit (205–209 PresentX A vs 203–205 B; 411–420 ECLX A vs 406–411 B) with 0 VK_ERROR_DEVICE_LOST (vk_device_lost_lines=0 in all 6). Each run logged 1 device-stall (15–23 device-fault: submitted dispatch lines per run in both arms) alongside compile-gate waits totaling 216.5–218.6 s (longest 19.3–19.6 s; blocking behind pre-#2412 compute warmup ASSUMED). B logged 8,926–9,185 V# halves recorded (logged by B only).
  • Round 2 (warm G1 snapshots, LEONIDA_COMPUTE_WARMUP_LIVE_MAX_BYTES=131072 in BOTH arms per docs/running.md, Seconds=240):
Run Arm Dur END PresentX ok (rate) ECLX (rate) submit phases heaps (avg median / single max ms) B slot-records ms (n / med / max) B max V# halves device-stall (dispatch lines) VK_ERROR_DEVICE_LOST
t4-2407s-A-1 A (20c46b646) 149 s watchdog exit 2,135 (14.33/s) 4,300 (28.86/s) 3.45 / 89 ms n/a n/a 0 (0) 0
t4-2407s-B-1 B (627163c8e) 163 s watchdog exit 2,080 (12.76/s) 4,191 (25.71/s) 3.98 / 340 ms 12 / 0.157 / 7.534 ms 393,887 0 (0) 0
t4-2407s-A-2 A (20c46b646) 154 s watchdog exit 2,122 (13.78/s) 4,274 (27.75/s) 3.40 / 92 ms n/a n/a 0 (0) 0
t4-2407s-B-2 B (627163c8e) 164 s watchdog exit 2,119 (12.92/s) 4,267 (26.02/s) 4.02 / 309 ms 12 / 0.171 / 21.869 ms 392,817 0 (0) 0
t4-2407s-A-3 A (20c46b646) 155 s watchdog exit (inferred: null write, 1 stall dump, 0 VK_ERROR_DEVICE_LOST) 2,162 (13.95/s) 4,352 (28.08/s) 3.53 / 18 ms n/a n/a 1 (64) 0
t4-2407s-B-3 B (627163c8e) 151 s watchdog exit 1,985 (13.15/s) 3,999 (26.48/s) 4.62 / 326 ms 12 / 0.241 / 11.661 ms 412,636 0 (0) 0
  • VERDICT (MEASURED, n=3 per arm, 6+6 across Rounds 1+2): Device-loss part HELD; slot-cost part PROVISIONAL; submission-rate part MISSED.
    • Device loss (HELD): 0 VK_ERROR_DEVICE_LOST across all 12 runs (6 A + 6 B). In Round 2 t4-2407s-A-3, the 64 device-fault: submitted dispatch lines came from 1 device-stall diagnostic (vk_device_lost_lines=0), and its watchdog exit is inferred from access_violation_counts={null_write: 1, other: 0} and unhandled_cache_write_lines=1 (pr2407_story_ab_sanitized.json updated to match).
    • B slot-record cost (PROVISIONAL): Median 0.157–0.241 ms / max 7.534–21.869 ms across 12 windows per run (392,817–412,636 V# halves recorded in B), well below 1,000 ms; marked PROVISIONAL because the pre-registered gate required arm A to reach story load, which the records do not establish without peek states (story load ASSUMED).
    • Submission rate (MISSED): The pre-registered prediction that B maintains submission rate >= A missed in both rounds — Round 2 B ECLX/s was 25.71–26.48/s vs A 27.75–28.86/s (-7.6% mean from unrounded per-run rates, lower in 3/3; PresentX/s -7.7% mean), and Round 1 B ECLX was 406–411 vs A 411–420. In Round 2, no CPU release filter line was logged in A (cpu_release_filter: null), while submit phases heaps time was higher in B (avg median 3.98–4.62 ms and single max 309–340 ms in B vs 3.40–3.53 ms and 18–92 ms in A).

8. Open PRs #2402, #2405, and #2367

8a. #2402 (02f71ccfe vs 02f71ccfe + #2402 head 35eb7b4a4, RTX 5080 G0 warm, 2+2, PROVISIONAL)

Run Arm Dur END PresentX ok (rate) ECLX (rate) Last submit phases t Gap to END VK_ERROR_DEVICE_LOST
t4-2402-A-1 A (02f71ccfe) 136 s watchdog exit 1,928 (14.18/s) 3,916 (28.79/s) 105 s 31 s 0
t4-2402-B-1 B (+#2402) 150 s watchdog exit 2,016 (13.44/s) 4,096 (27.31/s) 109 s 41 s 0
t4-2402-A-2 A (02f71ccfe) 155 s watchdog exit 2,201 (14.20/s) 4,455 (28.74/s) 113 s 42 s 0
t4-2402-B-2 B (+#2402) 146 s watchdog exit 2,042 (13.99/s) 4,146 (28.4/s) 106 s 40 s 0
  • VERDICT (PROVISIONAL, n=2 per arm): Both B runs had lower ECLX/s (-3.2% mean from unrounded per-run rates: 27.31–28.40 vs 28.74–28.79/s), with 0 VK_ERROR_DEVICE_LOST in both arms. All 4 runs ended on armed watchdog exit 31–42 s after the last submit-phase line (matching the #2275 cold runs); with the watchdog armed, a stall cannot be distinguished from the title's own stop, and sustained play was outside the observed window.

8b. #2405 (02f71ccfe + #2405 head cf30c0a1f, tree matches GitHub test merge 931dac94f)

  • Game A/B not run (MEASURED): In every RTX 5080 run on main (including t4-5080-kick-probe), the pre-registered A-arm gate (> 0 UpdateTileMappings calls) failed (0 UpdateTileMappings calls in all JSON tile_mappings fields; 0 CreateReservedResource calls is one agent's local MEASURED), so no game-run A/B was run.
  • Dual-GPU synthetic verification (MEASURED, d3d12_buffer_tiles_test built from 02f71ccfe + #2405, LEONIDA_VK_VALIDATION=1):
    • RTX 5080 (616.64, tiled resources tier 4): rc=0, 0 VUIDs; exercised the excluding device mask (dedicated type 1, arena type 4, device mask 2, mixed mask 18); reserved-image separation case skipped (reason device cannot create reserved texture is one agent's local MEASURED); 12/12 full tiles matched in Vulkan replay; 3/3 Native D3D12 GPU readbacks matched.
    • AMD Radeon gfx1036 (32.0.21030.2001, tiled resources tier 3): rc=0, 0 VUIDs; exercised the including device mask (dedicated type 0, arena type 2, device mask 15, mixed mask 5); reserved-image separation case skipped; 12/12 full tiles matched in Vulkan replay; 3/3 Native D3D12 GPU readbacks matched.

8c. #2367 (Host-side Part 1 — 02f71ccfe vs 02f71ccfe + #2367 head 1860dc591, CPU/Python, no game files)

  • B (02f71ccfe + #2367): test_rdna2spirv_spawn_quota.py 5/5 OK (14.65 s); test_translate_pipeline_compute.py WorkerParity 3/3 OK (6.35 s).
  • A (02f71ccfe control, running B's new test file against main's tools): 3/5 passed, 1 failure + 1 error (WinError 1816 reproduced).
  • VERDICT (MEASURED): Part 1 HELD. (Part 2 full-translation memory-pressure stress run not performed in this batch.)

No game files, logs, traces, captures, shader/program names, RVAs, or local paths are included. Numeric tables, run counts, citations, and rate deltas were independently recomputed from the count-only JSONs by second agents Claude Opus 5.5 and Codex GPT-6.2-Sol (raw logs not re-read by second agents); mechanically leak-scanned (0 hits).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7237165210 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7237165210). Originally posted by [timbot103](https://github.com/timbot103) on 2026-11-28T09:19:31Z. --- ```text AGENT-MSG | 2026-11-28, 09:20 UTC | timbot103 | AI-assisted: Antigravity (Gemini + Claude Opus 5.5 + Codex GPT-6.2-Sol) BASE: 02f71ccfe; each arm's exact commit is listed in its section (no PRs combined; local changes: none) MACHINE: NVIDIA GeForce RTX 5080 (16 GB, desktop, Profile M) | NVIDIA 616.64 (Vulkan 1.4.351) & AMD Radeon gfx1036 (integrated, Profile S) | AMD 32.0.21030.2001 (Vulkan 25.10.30.02, API 1.4.315) | Windows 11 Pro build 26200 | 96 GB DDR5 (93.6 GiB usable), Ryzen 9 9950X3D RECIPE: documented ("Windows, NVIDIA" / "Windows, AMD" — TBD) via scripts/windows-boot/boot.ps1 (--run, --trace, --trace-d3d12, --overlay) + DEVIATIONS: --run instead of --first-run-ui; default Windows TDR (TdrDelay / TdrDdiDelay unset, 2 s OS default); per-GPU cache & overlay folders; LEONIDA_PIPELINE_JOURNAL_SEED_DIR= (off) except #2392 seeded arm; LEONIDA_DEVICE_FAULT=1; LEONIDA_DEVICE_TYPE=6; LEONIDA_ARENA_MB=2048 (4095 on kick probe only); InputScript=a@45,a@60,a@75,a@90; no LEONIDA_GAME_STATE_RVA / LEONIDA_SESSION_STATE_RVA peek set ASK: none (Part A native Windows dual-GPU baselines and controlled single-variable PR A/Bs) RETURNED: 59 controlled game runs + 2 cache-warmup boots (61 game processes total), resumed #2392 pre-compile, 2 dual-GPU #2405 synthetic tests, and 3 #2367 Part 1 Python suites; zero game data RUNS: 61 game processes (48 in eight 3+3 A/Bs + 4 in #2402 2+2 + 6 single-run baselines + 1 kick probe + 2 warmups) + 2 GPU tests (#2405) + 3 Python runs (#2367 Part 1) EVIDENCE: MEASURED (count-only JSONs recomputed by second agents Claude Opus 5.5 and Codex GPT-6.2-Sol; raw logs not re-read by second agents) | READ IN CODE (pinned file:line cited) | ASSUMED (tagged where causal/unverified) ``` Native Windows 11 Part A report covering **RTX 5080 (16 GB, desktop, Profile M)** and **AMD Radeon `gfx1036` (integrated, Profile S)**. Runtime arms were built with MSVC 19.44.35230.0, Ninja RelWithDebInfo, `-DLEONIDA_SDL3_FETCH=ON -DLEONIDA_REQUIRE_VULKAN=ON` (`29,279` shaders loaded on G0, one agent's local `MEASURED`; shader packs translated with native Windows AMD LLVM 23 `llvm-mc`). **OS/Driver deviation on every run:** Windows Registry was not modified, so every run used **default Windows TDR (`TdrDelay` / `TdrDdiDelay` unset, 2 s OS default)**. Plan deviations are noted in each section. No game files, logs, traces, captures, shader/program names, RVAs, or local paths are included. ### Summary Matrix (Native Windows 11, 2026-11-28) | Item | GPU | Design | Key Result (`MEASURED`) | Verdict | |---|---|---|---|---| | Clean-`main` `02f71ccfe` G0 baselines | RTX 5080 | Cold + warm (`n=1` each) | Cold `146 s` (`2,218` PresentX, `15.19/s`, `44.13` peak fps, `0` ECL fail, `0` `VK_ERROR_DEVICE_LOST`); warm `157 s` (`2,423` PresentX, `15.43/s`, `47.26` peak fps, `951` journal `.bin`, `0` `VK_ERROR_DEVICE_LOST`) | **PROVISIONAL (n=1)**: clean baseline | | Windows AMD `02f71ccfe` G0 `--pc-tail-ubo` check | Radeon `gfx1036` | With vs without `--pc-tail-ubo` (cold+warm; clean pair exploratory) | Device reports `maxPushConstantsSize: 256 bytes` (one agent's local `MEASURED`). With `--pc-tail-ubo`: `1,664` (cold) / `1,688` (warm) `ExecuteCommandLists` failures (`slots 512`). Without `--pc-tail-ubo`: **`0` / `0` ECL fail**, `0` `slots 512`, `38.19` peak fps, `243 s` cold time limit / `178 s` warm, `1,164` journal `.bin`, `0` `VK_ERROR_DEVICE_LOST` | **PROVISIONAL (n=1)**: clean Windows AMD baseline | | Watchdog-kicked probe (`02f71ccfe`) | RTX 5080 | Warm + local kick + `724`-prog skip + 4095/4096/6144 MiB (`n=1`) | Watchdog kick engaged; reached `1,741` PresentX (`14.27/s`), `29/29` non-black frames, `455,466` V# halves before `END: device lost` (`109` fault lines, `2` `VK_ERROR_DEVICE_LOST`, address fault types `6` and `1`, `0` null-write / `2` other access violations) | **PROVISIONAL (n=1)**: reproduces read-fault device loss | | **#2392** (`f896a16f4`, open) | RTX 5080 | `make_game.py --stages pipelines` + **3+3** cold unseeded vs seeded | Precompile `rc=0` (`461 s` internal / `462.3 s` wrapper, `3,755` `.bin`, `0` failed, `1,480/1,480` skipped via `--skip-listed`). In-game `.bin` compiles: **`1,721 / 1,721 / 1,725` → `1 / 1 / 1`** (`-99.94%`); journal hits `1,800+`; `0` disabled; mean PresentX/s **`+32.3%`** (`12.44–13.09` → `15.31–18.28`); `0` `VK_ERROR_DEVICE_LOST` | **HELD (3+3)** | | **#2275** (`e1bf0b8ae`, open) | RTX 5080 | Clean merge on `02f71ccfe`, **3+3** cold A vs B | With `#2412` in `main`, B won 3/3: waits **`955–997` (`8.1–18.0 s`, max `9,616 ms`) → `2–7` (`95–287 ms`, max `285 ms`)**, compute gate off 3/3, mean ECLX/s **`+22.9%`** (`26.88–29.65` → `32.40–36.41`), `0` `VK_ERROR_DEVICE_LOST` | **HELD (3+3)** | | **#2412** (`a3bafd05d` vs `f75b2b425`, merged) | RTX 5080 | G3 cold: **3+3** default env + **3+3** `classic` vs `adaptive` (exploratory) | Default env (`classic` at `f75b2b425`, `READ IN CODE`): no measurable difference at n=3 (`0` `VK_ERROR_DEVICE_LOST`). Adaptive vs classic (exploratory, 3+3): worst hold **`8,040–9,438 ms` → `1,405–2,499 ms`** (`3.2×–5.7×`), mean total wait **`-78.0%`**, mean ECLX/s **`+62.8%`**, `0` `VK_ERROR_DEVICE_LOST` | **Default: unmet / no diff**; **Adaptive (exploratory): 3/3 win** | | **#2406** (`fac8b4bb9` vs `20c46b646`, merged) | Radeon `gfx1036` | Clean G1 cold (no `--pc-tail-ubo`), **3+3** A vs B | Part (1): `0` ECL fail, `0` `VK_ERROR_DEVICE_LOST`; B scales bindless arrays **2D-array `16,384 → 65,536` (4×), 3D `4,096 → 65,536` (16×), 1D `4,096 → 65,536` (16×)**. Part (2): not reached (`0` full in both) | **Part (1) HELD (3+3)**; Part (2) not reached | | **#2404** (`011d446c3` vs `e5a7c8942`, merged) | Radeon `gfx1036` | Clean native-wave64 G1 pack warm, **3+3** A vs B | Native Windows write-watch path: shadow write-back **`611 / 611 / 19,239 KiB` → `0 / 0 / 0 KiB`** (`0 KiB` warmup), `0` ECL fail, `0` `VK_ERROR_DEVICE_LOST`, `0` non-null-write access violations in all 6 runs | **Write-back HELD (3+3)**; load-fault trigger not hit | | **#2407** (`20c46b646` vs `627163c8e`, merged) | RTX 5080 | G1 warm: **3+3** default + **3+3** `WARMUP_LIVE_MAX_BYTES=131072` | **`0` `VK_ERROR_DEVICE_LOST` across all 12 runs (6 A + 6 B)**. Round 2 B slot-records median `0.157–0.241 ms` / max **`7.534–21.869 ms`** (`392,817–412,636` V# halves). Round 2 B mean ECLX/s **`-7.6%`** vs A (`25.71–26.48` vs `27.75–28.86`, lower 3/3) and single-max `heaps` `309–340 ms` vs `18–92 ms` | **Device-loss HELD; slot-cost PROVISIONAL (arm-A story-load gate unestablished); submission-rate MISSED** | | **#2402** (`35eb7b4a4`, open) | RTX 5080 | Clean merge on `02f71ccfe`, **2+2** warm A vs B | Both B runs had lower ECLX/s (**`-3.2%`** mean: `27.31–28.40` vs `28.74–28.79/s`), `0` `VK_ERROR_DEVICE_LOST`; all 4 ended on armed watchdog `31–42 s` after last submit phase; sustained play outside observed window | **PROVISIONAL (n=2)**: `-3.2%` ECLX/s in short boots; sustained gate not reached | | **#2405** (`cf30c0a1f`, open) | RTX 5080 + Radeon | Game gate check + dual-GPU `d3d12_buffer_tiles_test` (`VALIDATION=1`) | **Game A/B not run:** `0` `UpdateTileMappings` calls observed on main (A-arm gate failed). Synthetic `d3d12_buffer_tiles_test` **passed on BOTH GPUs (`0` VUIDs)** (masks `2` & `15`; reserved-image separation skipped on both; 12/12 Vulkan tiles + 3/3 D3D12 readbacks) | **Game gate not met**; dual-GPU unit test **PASS** | | **#2367** (`1860dc591`, open) | Host (CPU/Py) | Part 1 unit & worker-parity tests | B passed `test_rdna2spirv_spawn_quota.py` **5/5 OK** (`14.65 s`) + `WorkerParity` **3/3 OK** (`6.35 s`); A (`02f71ccfe`) failed with **1 failure + 1 error** (`WinError 1816`) | **Part 1 HELD** | ### 1. Clean-`main` (`02f71ccfe`) Baselines, Windows AMD `--pc-tail-ubo` Check, and Watchdog-Kicked Probe Pre-registered predictions existed before the four initial baselines (`t4-5080-base-{cold,warm}`, `t4-radeon-base-{cold,warm}`); the clean Radeon pair (`t4-radeon-clean-{cold,warm}`, without `--pc-tail-ubo`) and `t4-5080-kick-probe` were exploratory follow-ups. All runs used `boot.ps1` (`--run`, `--trace`, `--trace-d3d12`, `--overlay`), `Seconds=240` (`300` for kick probe), `LEONIDA_DEVICE_FAULT=1`, `LEONIDA_DEVICE_TYPE=6`, `LEONIDA_PIPELINE_CACHE_BYTES=4294967296`, `LEONIDA_STARTUP_CACHE_CHECKPOINTS=1`, `LEONIDA_PIPELINE_JOURNAL_SEED_DIR=` (off), default 2 s Windows TDR, per-GPU cache/overlay folders. | Run | GPU & Pack | Cache | Dur | END | PresentX ok (`rate`) | ECLX (`rate`) | ECL ok / fail | Non-black frames | Peak window fps | D3D12 calls | Journal `.bin` (last log hits/wr) | `VK_ERROR_DEVICE_LOST` | |---|---|---|---:|---|---:|---:|---:|---:|---:|---:|---|---:| | `t4-5080-base-cold` | RTX 5080 (`--wave64-emulate on`) | cold | 146 s | watchdog exit | 2,218 (15.19/s) | 4,466 (30.59/s) | 4,467 / 0 | 37/37 | 44.13 | 416,485 | n/a (31/700) | 0 | | `t4-5080-base-warm` | RTX 5080 (`--wave64-emulate on`) | warm | 157 s | watchdog exit | 2,423 (15.43/s) | 4,910 (31.27/s) | 4,949 / 0 | 40/40 | 47.26 | 448,957 | 951 (800/150) | 0 | | `t4-radeon-base-cold` | Radeon (`--wave64-emulate off --pc-tail-ubo`) | cold | 184 s | watchdog exit | 1,652 (8.98/s) | 3,366 (18.29/s) | 1,739 / 1,664 | 28/28 | 24.38 | 383,669 | n/a (1/2) | 0 | | `t4-radeon-base-warm` | Radeon (`--wave64-emulate off --pc-tail-ubo`) | warm | 171 s | watchdog exit | 1,688 (9.87/s) | 3,440 (20.12/s) | 1,791 / 1,688 | 29/29 | 25.57 | 404,686 | 4 (1/0) | 0 | | `t4-radeon-clean-cold` | Radeon (`--wave64-emulate off`, no tail-ubo) | cold | 243 s | time limit | 1,780 (7.33/s) | 3,589 (14.77/s) | 3,588 / 0 | 29/30 | 38.19 | 407,699 | 981 (34/900) | 0 | | `t4-radeon-clean-warm` | Radeon (`--wave64-emulate off`, no tail-ubo) | warm | 178 s | watchdog exit | 2,137 (12.01/s) | 4,305 (24.19/s) | 4,305 / 0 | 36/36 | 37.98 | 422,642 | 1,164 (1000/171) | 0 | | `t4-5080-kick-probe` | RTX 5080 (`--wave64-emulate on`, kick+724 skip) | warm copy | 122 s | device lost | 1,741 (14.27/s) | 3,546 (29.07/s) | 3,585 / 0 | 29/29 | 24.57 | 408,025 | 1,034 (979/80) | 2 | ```text RUN t4-5080-base-cold | 2026-11-28 | timbot103 | AI-assisted: Antigravity (Gemini + Claude Opus 5.5 + Codex GPT-6.2-Sol) BASE: 02f71ccfe | shaders: make_game.py --stages check,shaders --wave64-emulate on MACHINE: NVIDIA GeForce RTX 5080 (16 GB, desktop) | NVIDIA 616.64 (Vulkan 1.4.351) | Windows 11 Pro build 26200 | 96 GB DDR5 (93.6 GiB usable) RECIPE: documented ("Windows, NVIDIA" — TBD) + DEVIATIONS: --run via boot.ps1 (not --first-run-ui), LEONIDA_ARENA_MB=2048, LEONIDA_DEVICE_TYPE=6, LEONIDA_DEVICE_FAULT=1, LEONIDA_PIPELINE_JOURNAL_SEED_DIR= (off), InputScript=a@45,a@60,a@75,a@90, per-GPU cache/overlay folders, no peek RVAs | precompile: no OS/DRIVER: default Windows TDR (TdrDelay / TdrDdiDelay unset, 2 s OS default) TARGET: END, PresentX, device losses | PREDICTED (written before the run): watchdog exit 145-210 s or 240 s cap, 0 device losses MEASURED: PresentX ok 2,218 / failed 0 (15.19/s), ECLX 4,466 (30.59/s), ECL 4,467 ok / 0 failed, 37/37 non-black frames, 0 VK_ERROR_DEVICE_LOST | duration 146 s | peak window 44.13 fps END: watchdog exit CACHES: cold (empty runtime pipeline-cache; NVIDIA driver cache unmodified) | RUN 1 of 1, same recipe INSTRUMENTS: --trace, --trace-d3d12, frame capture every 60 presents (limit 40), LEONIDA_DEVICE_FAULT=1 VERDICT: PROVISIONAL (n=1) — prediction held (milestone unverified without peek states) RUN t4-5080-base-warm | 2026-11-28 | timbot103 | AI-assisted: Antigravity (Gemini + Claude Opus 5.5 + Codex GPT-6.2-Sol) BASE: 02f71ccfe | shaders: make_game.py --stages check,shaders --wave64-emulate on MACHINE: NVIDIA GeForce RTX 5080 (16 GB, desktop) | NVIDIA 616.64 (Vulkan 1.4.351) | Windows 11 Pro build 26200 | 96 GB DDR5 (93.6 GiB usable) RECIPE: same as t4-5080-base-cold | precompile: no OS/DRIVER: default Windows TDR (TdrDelay / TdrDdiDelay unset, 2 s OS default) TARGET: PresentX/s, journal hits, device losses | PREDICTED (written before the run): fewer compiles, PresentX/s & fps >= cold, 0 device losses MEASURED: PresentX ok 2,423 / failed 0 (15.43/s), ECLX 4,910 (31.27/s), 40/40 non-black frames, 951 journal .bin (last log 800 hits / 150 written), 0 VK_ERROR_DEVICE_LOST | duration 157 s | peak window 47.26 fps END: watchdog exit CACHES: warm: runtime pipeline-cache from t4-5080-base-cold | RUN 1 of 1, same recipe INSTRUMENTS: same as t4-5080-base-cold VERDICT: PROVISIONAL (n=1) — prediction held RUN t4-radeon-base-cold | 2026-11-28 | timbot103 | AI-assisted: Antigravity (Gemini + Claude Opus 5.5 + Codex GPT-6.2-Sol) BASE: 02f71ccfe | shaders: make_game.py --stages check,shaders --wave64-emulate off --pc-tail-ubo MACHINE: AMD Radeon gfx1036 (integrated) | AMD 32.0.21030.2001 (Vulkan 25.10.30.02, API 1.4.315) | Windows 11 Pro build 26200 | 96 GB DDR5 (93.6 GiB usable) RECIPE: documented ("Windows, AMD" — TBD) + DEVIATIONS: forced --pc-tail-ubo (unnecessary on 256-byte push-constant device), same boot.ps1 switches as t4-5080-base-cold, LEONIDA_VK_DEVICE=Radeon | precompile: no OS/DRIVER: default Windows TDR (TdrDelay / TdrDdiDelay unset, 2 s OS default) TARGET: PresentX, ExecuteCommandLists outcomes, driver limitations | PREDICTED (written before the run): reach PresentX or surface a Windows AMD limitation MEASURED: PresentX ok 1,652 / failed 0 (8.98/s), ECLX 3,366 (18.29/s), ECL 1,739 ok / 1,664 failed, slots 512 = 1, 28/28 non-black frames, 0 VK_ERROR_DEVICE_LOST | duration 184 s | peak window 24.38 fps END: watchdog exit CACHES: cold (empty runtime pipeline-cache; AMD driver cache unmodified) | RUN 1 of 1, same recipe INSTRUMENTS: same as t4-5080-base-cold VERDICT: PROVISIONAL (n=1) — surfaced --pc-tail-ubo pipeline-layout mismatch (1,664 ECL failures; invalid as clean control) RUN t4-radeon-base-warm | 2026-11-28 | timbot103 | AI-assisted: Antigravity (Gemini + Claude Opus 5.5 + Codex GPT-6.2-Sol) BASE: 02f71ccfe | shaders: make_game.py --stages check,shaders --wave64-emulate off --pc-tail-ubo MACHINE: AMD Radeon gfx1036 (integrated) | AMD 32.0.21030.2001 (Vulkan 25.10.30.02, API 1.4.315) | Windows 11 Pro build 26200 | 96 GB DDR5 (93.6 GiB usable) RECIPE: same as t4-radeon-base-cold | precompile: no OS/DRIVER: default Windows TDR (TdrDelay / TdrDdiDelay unset, 2 s OS default) TARGET: PresentX/s, ExecuteCommandLists outcomes, journal .bin | PREDICTED (written before the run): fewer compiles, PresentX/s >= cold MEASURED: PresentX ok 1,688 / failed 0 (9.87/s), ECLX 3,440 (20.12/s), ECL 1,791 ok / 1,688 failed, slots 512 = 1, 29/29 non-black frames, 4 journal .bin, 0 VK_ERROR_DEVICE_LOST | duration 171 s | peak window 25.57 fps END: watchdog exit CACHES: warm: runtime pipeline-cache from t4-radeon-base-cold | RUN 1 of 1, same recipe INSTRUMENTS: same as t4-5080-base-cold VERDICT: PROVISIONAL (n=1) — PresentX/s held (9.87 vs 8.98/s); compile drop unmeasurable with 1,688 ECL failures RUN t4-radeon-clean-cold | 2026-11-28 | timbot103 | AI-assisted: Antigravity (Gemini + Claude Opus 5.5 + Codex GPT-6.2-Sol) BASE: 02f71ccfe | shaders: make_game.py --stages check,shaders --wave64-emulate off MACHINE: AMD Radeon gfx1036 (integrated) | AMD 32.0.21030.2001 (Vulkan 25.10.30.02, API 1.4.315) | Windows 11 Pro build 26200 | 96 GB DDR5 (93.6 GiB usable) RECIPE: documented ("Windows, AMD" — TBD) + same boot.ps1 recipe as t4-5080-base-cold, LEONIDA_VK_DEVICE=Radeon | precompile: no OS/DRIVER: default Windows TDR (TdrDelay / TdrDdiDelay unset, 2 s OS default) TARGET: ExecuteCommandLists ok/failed, slots 512 diagnostics, PresentX | PREDICTED: exploratory (post-hoc check after --pc-tail-ubo audit) MEASURED: PresentX ok 1,780 / failed 0 (7.33/s), ECLX 3,589 (14.77/s), ECL 3,588 ok / 0 failed (down from 1,664 failed with --pc-tail-ubo), slots 512 = 0, 29/30 non-black frames, 981 journal .bin, 0 VK_ERROR_DEVICE_LOST | duration 243 s | peak window 38.19 fps END: time limit CACHES: cold (empty runtime pipeline-cache; AMD driver cache unmodified) | RUN 1 of 1, same recipe INSTRUMENTS: same as t4-5080-base-cold VERDICT: PROVISIONAL (n=1, exploratory) — dropping --pc-tail-ubo eliminated all 1,664 ECL failures RUN t4-radeon-clean-warm | 2026-11-28 | timbot103 | AI-assisted: Antigravity (Gemini + Claude Opus 5.5 + Codex GPT-6.2-Sol) BASE: 02f71ccfe | shaders: make_game.py --stages check,shaders --wave64-emulate off MACHINE: AMD Radeon gfx1036 (integrated) | AMD 32.0.21030.2001 (Vulkan 25.10.30.02, API 1.4.315) | Windows 11 Pro build 26200 | 96 GB DDR5 (93.6 GiB usable) RECIPE: same as t4-radeon-clean-cold | precompile: no OS/DRIVER: default Windows TDR (TdrDelay / TdrDdiDelay unset, 2 s OS default) TARGET: ExecuteCommandLists ok/failed, PresentX/s, journal .bin | PREDICTED: exploratory MEASURED: PresentX ok 2,137 / failed 0 (12.01/s), ECLX 4,305 (24.19/s), ECL 4,305 ok / 0 failed (down from 1,688 failed with --pc-tail-ubo), slots 512 = 0, 36/36 non-black frames, 1,164 journal .bin, 0 VK_ERROR_DEVICE_LOST | duration 178 s | peak window 37.98 fps END: watchdog exit CACHES: warm: runtime pipeline-cache from t4-radeon-clean-cold | RUN 1 of 1, same recipe INSTRUMENTS: same as t4-5080-base-cold VERDICT: PROVISIONAL (n=1, exploratory) — clean Windows AMD warm baseline with 0 ECL failures RUN t4-5080-kick-probe | 2026-11-28 | timbot103 | AI-assisted: Antigravity (Gemini + Claude Opus 5.5 + Codex GPT-6.2-Sol) BASE: 02f71ccfe | shaders: make_game.py --stages check,shaders --wave64-emulate on MACHINE: NVIDIA GeForce RTX 5080 (16 GB, desktop) | NVIDIA 616.64 (Vulkan 1.4.351) | Windows 11 Pro build 26200 | 96 GB DDR5 (93.6 GiB usable) RECIPE: same boot.ps1 harness + DEVIATIONS: Seconds=300, InputScript=a@45,a@60,a@75,a@90,a@110,a@130, LEONIDA_TITLE_WATCHDOG=0, LEONIDA_TITLE_WATCHDOG_KICK=set (local values), LEONIDA_ARENA_MB=4095, LEONIDA_TITLE_WINDOWS_MB=4096, LEONIDA_GEOMETRY_MB=6144, LEONIDA_RT_AS=off, LEONIDA_SKIP_COMPUTE=<724 programs>, LEONIDA_MAP_READBACK=1, LEONIDA_FRAME_PACING=1, LEONIDA_PRESENT_NO_TEAR=1, LEONIDA_HOST_IMAGE_COPY=0 | precompile: no OS/DRIVER: default Windows TDR (TdrDelay / TdrDdiDelay unset, 2 s OS default) TARGET: watchdog disarm, UpdateTileMappings count, END | PREDICTED: exploratory probe for tile-mapping reach MEASURED: watchdog_kicked=true, PresentX ok 1,741 / failed 0 (14.27/s), ECLX 3,546 (29.07/s), 29/29 non-black frames, 455,466 V# halves recorded, UpdateTileMappings=0, access violations 0 null-write / 2 other, unhandled_cache_write_lines=1, device_loss_lines=109, vk_device_lost_lines=2, device_fault_address_types=[type 6 precision 16, type 1 precision 4096] | duration 122 s | peak window 24.57 fps (one agent's local MEASURED: first VK_ERROR_DEVICE_LOST at 108.8 s after 8 x 250 ms staging waits, followed by breakpoint exit at 122 s) END: device lost CACHES: warm: fresh copy of t4-5080-base-warm pipeline-cache snapshot | RUN 1 of 1, same recipe INSTRUMENTS: same as t4-5080-base-cold VERDICT: PROVISIONAL (n=1, exploratory) — watchdog kick worked; hit read-fault device loss before any UpdateTileMappings ``` - **Windows AMD `--pc-tail-ubo` diagnosis (`MEASURED` + `READ IN CODE`):** On Windows AMD `gfx1036` (`maxPushConstantsSize: 256 bytes`, one agent's local `MEASURED`), forcing `--pc-tail-ubo` produced `1,664` (cold) and `1,688` (warm) failed `ExecuteCommandLists` calls (about one failure per present) and logged `slots 512` (`GraphicsPipeline::rectangle_stage`) pipeline-variant failures. `READ IN CODE`: `--pc-tail-ubo` puts the push-constant tail in set 1 binding 0 (`tools/rdna2spirv.py:113,16677-16694`), while the graphics pipeline layout at `02f71ccfe` declares set 0 only (`runtime/shims/d3d12_vulkan_device.cpp:12890-12907`), and a draw with an unbuilt variant fails replay at `runtime/src/vulkan_replay.h:3116` (`VUID-VkGraphicsPipelineCreateInfo-layout-07988` layout mismatch inferred `READ IN CODE` / `ASSUMED`, not captured under validation layer). Rebuilding G0 without `--pc-tail-ubo` dropped `ExecuteCommandLists` failures to **`0` / `0`** and `slots 512` to **`0`**. ### 2. Open PR `#2392` — `make_game.py --stages pipelines` Journal Seeding (RTX 5080, 3+3) - **Precompile (`make_game.py --stages pipelines --no-tui --jobs 16`, `LEONIDA_VK_DEVICE=5080`, `LEONIDA_DEVICE_FAULT=1`, `LEONIDA_SKIP_COMPUTE=<1,480 programs >= 2 MiB>`):** plan deviation — used all `1,480` `>= 2 MiB` compute shaders (`724` library + `756` main corpus, split is one agent's local `MEASURED`) rather than only the `724` library shaders in `TRACK4-AB-PLAN.md` so the stage completed under wave64 emulation without multi-hour compiles. Resumed cleanly after an earlier partial run (`rc=0`, `461 s` internal / `462.3 s` wrapper elapsed): `202` built (`202` compiled, `0` from cache), `3,755` journaled already, `16` being built by another process (`3,973` entries total; `3,755` `.bin` files on disk — duplicate SPIR-V hashes across entries `ASSUMED`), `0` failed, `1,480/1,480` left out via `--skip-listed`. Overlap with `t4-5080-base-warm` journal files: **`950/951`**. - **Single variable (alternating A, B, A, B, A, B on `02f71ccfe + #2392 head f896a16f4`, fresh cold runtime cache per run, `Seconds=180`):** `A = LEONIDA_PIPELINE_JOURNAL_SEED_DIR=` (unseeded) vs `B = LEONIDA_PIPELINE_JOURNAL_SEED_DIR=<per-GPU #2392 seed folder>` (seeded). `LEONIDA_SKIP_COMPUTE` unset during boot in all 6 runs. | Run | Arm | Dur | END | PresentX ok (`rate`) | ECLX (`rate`) | New `.bin` compiled in-game | Last journal log (hits / written) | Journal disabled | `VK_ERROR_DEVICE_LOST` | |---|---|---:|---|---:|---:|---:|---|---:|---:| | `t4-2392-A-1` | A (unseeded) | 143 s | watchdog exit | 1,779 (12.44/s) | 3,618 (25.3/s) | **1,721** | 99 / 1,700 | 0 | 0 | | `t4-2392-B-1` | B (seeded) | 152 s | watchdog exit | 2,327 (15.31/s) | 4,716 (31.03/s) | **1** | 1,800 / 1 | 0 | 0 | | `t4-2392-A-2` | A (unseeded) | 144 s | watchdog exit | 1,885 (13.09/s) | 3,832 (26.61/s) | **1,721** | 99 / 1,700 | 0 | 0 | | `t4-2392-B-2` | B (seeded) | 137 s | watchdog exit | 2,504 (18.28/s) | 5,070 (37.01/s) | **1** | 1,800 / 1 | 0 | 0 | | `t4-2392-A-3` | A (unseeded) | 156 s | watchdog exit | 1,995 (12.79/s) | 4,056 (26.0/s) | **1,725** | 99 / 1,700 | 0 | 0 | | `t4-2392-B-3` | B (seeded) | 139 s | watchdog exit | 2,377 (17.10/s) | 4,816 (34.65/s) | **1** | 1,800 / 1 | 0 | 0 | - **VERDICT (`MEASURED`, n=3 per arm): PREDICTION HELD.** Seeding cut in-game `.bin` compiles from `1,721 / 1,721 / 1,725` to **`1 / 1 / 1`** (`-99.94%`; identity of the 1 remaining shader `ASSUMED` to be the skipped `>= 2 MiB` entry), logged `1,800+` journal hits with `0` disabled warnings and `0` `VK_ERROR_DEVICE_LOST`, and lifted PresentX/s by **`+32.3%`** (arithmetic mean of unrounded per-run PresentX/s: `12.44–13.09` → `15.31–18.28/s`; median `+33.7%`, pooled `+31.8%`). Direction matched the pre-registered prediction; actual compile/hit volume (`1,721–1,725` / `1,800+`) was ~2.4× higher than the pre-registered `~700` estimate. Note (`READ IN CODE`, tested `#2392` merge `d3d12_vulkan_device.cpp:11706-11711`): journal log lines print on the 1st event of each kind and every 100th, so exact `.bin` counts are reported alongside the log lower bounds. ### 3. Open PR `#2275` — Compile-Gate / Submit-Mutex Handoff (RTX 5080, 3+3 Cold) - **Single variable (alternating A, B, A, B, A, B, G0 pack, fresh cold runtime cache per run, unseeded, `Seconds=300`):** `A = 02f71ccfe` vs `B = 02f71ccfe + #2275 (head e1bf0b8ae)` (merged cleanly onto `02f71ccfe` despite overlapping `#2412`). | Run | Arm | Dur | END | PresentX ok (`rate`) | ECLX (`rate`) | Compile-gate waits (`count / total ms / longest ms`) | Compute gate off | `VK_ERROR_DEVICE_LOST` | |---|---|---:|---|---:|---:|---|---:|---:| | `t4-2275-A-1` | A (`02f71ccfe`) | 155 s | watchdog exit | 2,100 (13.55/s) | 4,251 (27.43/s) | 955 / 10,216 ms / 2,251 ms | 0 | 0 | | `t4-2275-B-1` | B (`+#2275`) | 140 s | watchdog exit | 2,519 (17.99/s) | 5,098 (36.41/s) | 2 / 287 ms / 285 ms | 1 | 0 | | `t4-2275-A-2` | A (`02f71ccfe`) | 143 s | watchdog exit | 2,090 (14.62/s) | 4,240 (29.65/s) | 997 / 17,961 ms / 9,616 ms | 0 | 0 | | `t4-2275-B-2` | B (`+#2275`) | 141 s | watchdog exit | 2,389 (16.94/s) | 4,842 (34.34/s) | 4 / 95 ms / 83 ms | 1 | 0 | | `t4-2275-A-3` | A (`02f71ccfe`) | 156 s | watchdog exit | 2,066 (13.24/s) | 4,194 (26.88/s) | 973 / 8,128 ms / 50 ms | 0 | 0 | | `t4-2275-B-3` | B (`+#2275`) | 144 s | watchdog exit | 2,302 (15.99/s) | 4,666 (32.4/s) | 7 / 163 ms / 52 ms | 1 | 0 | - **VERDICT (`MEASURED`, n=3 per arm): PREDICTION HELD.** Even with `#2412` already in `main`, B beat A in 3/3 cold runs: compute gate turned off in 3/3 B runs (`0` in A), compile-gate waits dropped from `955 / 997 / 973` (`8,128–17,961 ms`, longest up to `9,616 ms`) to **`2 / 4 / 7`** (`95–287 ms`, longest `52–285 ms`), ECLX/s rose **`+22.9%`** (arithmetic mean of unrounded per-run ECLX/s: `26.88–29.65` → `32.40–36.41/s`; pooled `+23.0%`, median `+25.2%`), and `VK_ERROR_DEVICE_LOST` stayed `0`. ### 4. Merged PR `#2412` — Adaptive Compile Gate (RTX 5080, G3 Pack, 3+3 Default + 3+3 Exploratory Adaptive) - **Code note (`READ IN CODE`, `f75b2b425` `runtime/src/vulkan_device_fault.h:536-545`):** At `#2412`'s merge commit, unset `LEONIDA_COMPILE_GATE` still defaulted to `classic` (`adaptive` was opt-in via `LEONIDA_COMPILE_GATE=adaptive`; a later PR added `auto`, which selects `adaptive` or `classic` by calibration). We ran both the pre-registered commit A/B (default env, `4a`) and an exploratory post-hoc single-variable mode A/B on `f75b2b425` (`4b`), all cold with fresh caches on the G3 (`a3bafd05d`) pack. #### 4a. Pre-registered commit A/B (`a3bafd05d` vs `f75b2b425`, default env = `classic`, cold) | Run | Arm | Dur | END | PresentX ok (`rate`) | ECLX (`rate`) | Compile-gate waits (`count / total ms / longest ms`) | `VK_ERROR_DEVICE_LOST` | |---|---|---:|---|---:|---:|---|---:| | `t4-2412-A-1` | A (`a3bafd05d`) | 175 s | watchdog exit | 1,318 (7.53/s) | 2,667 (15.24/s) | 840 / 37,481 ms / 8,877 ms | 0 | | `t4-2412-B-1` | B (`f75b2b425`) | 172 s | watchdog exit | 1,264 (7.35/s) | 2,592 (15.07/s) | 832 / 38,962 ms / 9,031 ms | 0 | | `t4-2412-A-2` | A (`a3bafd05d`) | 157 s | watchdog exit | 1,288 (8.20/s) | 2,640 (16.82/s) | 846 / 35,785 ms / 8,753 ms | 0 | | `t4-2412-B-2` | B (`f75b2b425`) | 156 s | watchdog exit | 1,408 (9.03/s) | 2,847 (18.25/s) | 785 / 34,290 ms / 8,340 ms | 0 | | `t4-2412-A-3` | A (`a3bafd05d`) | 157 s | watchdog exit | 1,314 (8.37/s) | 2,659 (16.94/s) | 757 / 32,989 ms / 8,313 ms | 0 | | `t4-2412-B-3` | B (`f75b2b425`) | 187 s | watchdog exit | 1,373 (7.34/s) | 2,809 (15.02/s) | 768 / 32,095 ms / 8,115 ms | 0 | #### 4b. Exploratory mode A/B (`f75b2b425`, single variable: `LEONIDA_COMPILE_GATE=classic` vs `adaptive`, cold) | Run | Mode | Dur | END | PresentX ok (`rate`) | ECLX (`rate`) | Compile-gate waits (`count / total ms / longest ms`) | Compute gate off | `VK_ERROR_DEVICE_LOST` | |---|---|---:|---|---:|---:|---|---:|---:| | `t4-2412ad-A-1` | A (`classic`) | 188 s | watchdog exit | 1,414 (7.52/s) | 2,891 (15.38/s) | 831 / 34,167 ms / 9,438 ms | 0 | 0 | | `t4-2412ad-B-1` | B (`adaptive`) | 143 s | watchdog exit | 1,733 (12.12/s) | 3,531 (24.69/s) | 402 / 7,461 ms / 1,685 ms | 1 | 0 | | `t4-2412ad-A-2` | A (`classic`) | 191 s | watchdog exit | 1,318 (6.90/s) | 2,701 (14.14/s) | 773 / 32,908 ms / 8,040 ms | 0 | 0 | | `t4-2412ad-B-2` | B (`adaptive`) | 148 s | watchdog exit | 1,633 (11.03/s) | 3,297 (22.28/s) | 382 / 7,563 ms / 1,405 ms | 1 | 0 | | `t4-2412ad-A-3` | A (`classic`) | 195 s | watchdog exit | 1,464 (7.51/s) | 2,991 (15.34/s) | 757 / 32,454 ms / 8,091 ms | 0 | 0 | | `t4-2412ad-B-3` | B (`adaptive`) | 142 s | watchdog exit | 1,836 (12.93/s) | 3,703 (26.08/s) | 373 / 6,862 ms / 2,499 ms | 1 | 0 | - **VERDICT (`MEASURED`, n=3 per arm):** - **4a (default env):** **No measurable difference at n=3** (`0` `VK_ERROR_DEVICE_LOST` in both arms; mean max hold `8,648 ms` A vs `8,495 ms` B, B shorter in 2/3 pairs). Pre-registered shorter-hold prediction was **unmet / not refuted**, explained by `f75b2b425` defaulting to `classic` (`READ IN CODE`). - **4b (exploratory, post-hoc — not in `TRACK4-AB-PLAN.md`):** With `LEONIDA_COMPILE_GATE=adaptive`, B beat `classic` 3/3: paired max-hold ratio **`3.2×–5.7×`** (`8,040–9,438 ms` → **`1,405–2,499 ms`**), mean total wait **`-78.0%`** (`32,454–34,167 ms` → **`6,862–7,563 ms`**), compute gate off 3/3, mean ECLX/s **`+62.8%`** (`14.14–15.38` → **`22.28–26.08/s`**), and **`0` `VK_ERROR_DEVICE_LOST`** across all 12 runs. ### 5. Merged PR `#2406` — Device-Limit Bindless Arrays (Windows AMD Radeon `gfx1036`, G1 Pack, 3+3) - **Single variable (alternating A, B, A, B, A, B, clean Radeon G1 pack `fac8b4bb9` `--wave64-emulate off`, cold fresh cache, `Seconds=240`):** `A = fac8b4bb9` vs `B = 20c46b646`. Plan deviation: built without `--pc-tail-ubo` (see Section 1). | Run | Arm | Dur | END | PresentX ok | ECL ok / fail | Bindless set (`2D / samp / 2D-arr / 3D / 1D / stor2D`) | Array full | Unbound T# lines | `VK_ERROR_DEVICE_LOST` | |---|---|---:|---|---:|---:|---|---:|---:|---:| | `t4-2406-A-1` | A (`fac8b4bb9`) | 241 s | time limit | 286 | 572 / 0 | 65,536 / 4,096 / 16,384 / 4,096 / 4,096 / 4,096 | 0 | 5 | 0 | | `t4-2406-B-1` | B (`20c46b646`) | 241 s | time limit | 257 | 516 / 0 | 65,536 / 4,096 / 65,536 / 65,536 / 65,536 / 4,096 | 0 | 6 | 0 | | `t4-2406-A-2` | A (`fac8b4bb9`) | 111 s | watchdog exit | 109 | 220 / 0 | 65,536 / 4,096 / 16,384 / 4,096 / 4,096 / 4,096 | 0 | 0 | 0 | | `t4-2406-B-2` | B (`20c46b646`) | 111 s | watchdog exit | 116 | 232 / 0 | 65,536 / 4,096 / 65,536 / 65,536 / 65,536 / 4,096 | 0 | 0 | 0 | | `t4-2406-A-3` | A (`fac8b4bb9`) | 57 s | watchdog exit | 117 | 234 / 0 | 65,536 / 4,096 / 16,384 / 4,096 / 4,096 / 4,096 | 0 | 0 | 0 | | `t4-2406-B-3` | B (`20c46b646`) | 57 s | watchdog exit | 103 | 206 / 0 | 65,536 / 4,096 / 65,536 / 65,536 / 65,536 / 4,096 | 0 | 0 | 0 | - **VERDICT (`MEASURED`, n=3 per arm): Part (1) HELD; Part (2) not reached.** All 6 runs created the device and bindless set cleanly (`0` ECL fail, `0` `VK_ERROR_DEVICE_LOST`); B scaled `2D-array` `16,384 → 65,536` (4×) and `3D`/`1D` `4,096 → 65,536` (16×). `MEASURED`: compile-gate waits consumed `36.9–213.4 s` of each run (`0` array-full events in either arm; causal link to predating `#2407`/`#2412` tagged `ASSUMED`). ### 6. Merged PR `#2404` — Write-Watch Shadow Write-Back (Windows AMD Radeon `gfx1036`, G1 Pack, 3+3) - **Plan deviations & pack equivalence (`READ IN CODE`):** Built without `--pc-tail-ubo` (see Section 1) and reused the G1 native-wave64 pack (`fac8b4bb9`) instead of translating a separate G2 (`011d446c3`) pack. `git diff fac8b4bb9..011d446c3` outside `runtime/`, `docs/`, and `tests/` touches only `tools/wave64_emulate_opt.py:plan_structured_emulation`, which at both `fac8b4bb9` and `011d446c3` is guarded by `if g.emulate:` (`tools/rdna2spirv.py:18865-18871`) and never called under `--wave64-emulate off` (exact byte identity was not hash-checked). All 6 runs started from fresh copies of the same warmed cache snapshot (`1,092` `.bin`, warmup write-back `0 KiB`), `Seconds=240`. | Run | Arm | Dur | END | PresentX ok | ECL ok / fail | Write-back (`went back to title pages`, lower bound) | Access violations (`null_write / other`) | `VK_ERROR_DEVICE_LOST` | |---|---|---:|---|---:|---:|---|---|---:| | `t4-2404-A-1` | A (`011d446c3`) | 241 s | time limit (after null-write cache flush) | 75 | 151 / 0 | 611 KiB (3 lines) | 1 / 0 | 0 | | `t4-2404-B-1` | B (`e5a7c8942`) | 241 s | time limit (after null-write cache flush) | 65 | 130 / 0 | 0 KiB (0 lines) | 1 / 0 | 0 | | `t4-2404-A-2` | A (`011d446c3`) | 55 s | watchdog exit | 62 | 125 / 0 | 611 KiB (3 lines) | 1 / 0 | 0 | | `t4-2404-B-2` | B (`e5a7c8942`) | 56 s | watchdog exit | 62 | 124 / 0 | 0 KiB (0 lines) | 1 / 0 | 0 | | `t4-2404-A-3` | A (`011d446c3`) | 241 s | time limit | 95 | 191 / 0 | 19,239 KiB (5 lines) | 0 / 0 | 0 | | `t4-2404-B-3` | B (`e5a7c8942`) | 241 s | time limit | 91 | 183 / 0 | 0 KiB (0 lines) | 0 / 0 | 0 | - **VERDICT (`MEASURED`, n=3 per arm): Write-back reduction HELD; load CPU-fault trigger not hit.** On native Windows (which exercises the write-watch path), B reduced logged write-back from **`611 / 611 / 19,239 KiB`** (`3 / 3 / 5` lines) in A to **`0 / 0 / 0 KiB`** (`0` lines; plus `0 KiB` in warmup), with `0` ECL fail and `0` `VK_ERROR_DEVICE_LOST` (`device_stall_lines=1` occurred equally in `A-1`, `B-1`, `A-2`, and `B-2`). All 6 runs had **`0` non-null-write access violations**; in `A-1` and `B-1`, an armed-watchdog null-write occurred after `last_submit_phase_t` (`72 s` / `63 s`), entered the runtime's unhandled-exception session-cache write handler (`unhandled_cache_write_lines=1`), and the process remained alive until `boot.ps1` stopped it at `241 s`. ### 7. Merged PR `#2407` — Incremental Descriptor Heap Slot Refresh (RTX 5080, G1 Pack, 3+3 Default + 3+3 Warmup-Capped) - **Round 1 (default env, warm G1 snapshots, `Seconds=240`):** All 6 runs (`A-1..3` `20c46b646` and `B-1..3` `627163c8e`) reached the `241 s` time limit (`205–209` PresentX A vs `203–205` B; `411–420` ECLX A vs `406–411` B) with **`0` `VK_ERROR_DEVICE_LOST`** (`vk_device_lost_lines=0` in all 6). Each run logged `1` `device-stall` (`15–23` `device-fault: submitted dispatch` lines per run in both arms) alongside compile-gate waits totaling **`216.5–218.6 s`** (longest **`19.3–19.6 s`**; blocking behind pre-`#2412` compute warmup `ASSUMED`). B logged `8,926–9,185` V# halves recorded (logged by B only). - **Round 2 (warm G1 snapshots, `LEONIDA_COMPUTE_WARMUP_LIVE_MAX_BYTES=131072` in BOTH arms per `docs/running.md`, `Seconds=240`):** | Run | Arm | Dur | END | PresentX ok (`rate`) | ECLX (`rate`) | `submit phases` heaps (`avg median / single max ms`) | B slot-records ms (`n / med / max`) | B max V# halves | `device-stall` (dispatch lines) | `VK_ERROR_DEVICE_LOST` | |---|---|---:|---|---:|---:|---|---|---:|---|---:| | `t4-2407s-A-1` | A (`20c46b646`) | 149 s | watchdog exit | 2,135 (14.33/s) | 4,300 (28.86/s) | 3.45 / 89 ms | n/a | n/a | 0 (0) | 0 | | `t4-2407s-B-1` | B (`627163c8e`) | 163 s | watchdog exit | 2,080 (12.76/s) | 4,191 (25.71/s) | 3.98 / 340 ms | 12 / 0.157 / 7.534 ms | 393,887 | 0 (0) | 0 | | `t4-2407s-A-2` | A (`20c46b646`) | 154 s | watchdog exit | 2,122 (13.78/s) | 4,274 (27.75/s) | 3.40 / 92 ms | n/a | n/a | 0 (0) | 0 | | `t4-2407s-B-2` | B (`627163c8e`) | 164 s | watchdog exit | 2,119 (12.92/s) | 4,267 (26.02/s) | 4.02 / 309 ms | 12 / 0.171 / 21.869 ms | 392,817 | 0 (0) | 0 | | `t4-2407s-A-3` | A (`20c46b646`) | 155 s | watchdog exit (inferred: null write, 1 stall dump, 0 VK_ERROR_DEVICE_LOST) | 2,162 (13.95/s) | 4,352 (28.08/s) | 3.53 / 18 ms | n/a | n/a | 1 (64) | 0 | | `t4-2407s-B-3` | B (`627163c8e`) | 151 s | watchdog exit | 1,985 (13.15/s) | 3,999 (26.48/s) | 4.62 / 326 ms | 12 / 0.241 / 11.661 ms | 412,636 | 0 (0) | 0 | - **VERDICT (`MEASURED`, n=3 per arm, 6+6 across Rounds 1+2): Device-loss part HELD; slot-cost part PROVISIONAL; submission-rate part MISSED.** - **Device loss (`HELD`):** **`0` `VK_ERROR_DEVICE_LOST`** across all 12 runs (`6` A + `6` B). In Round 2 `t4-2407s-A-3`, the `64` `device-fault: submitted dispatch` lines came from `1` `device-stall` diagnostic (`vk_device_lost_lines=0`), and its watchdog exit is inferred from `access_violation_counts={null_write: 1, other: 0}` and `unhandled_cache_write_lines=1` (`pr2407_story_ab_sanitized.json` updated to match). - **B slot-record cost (`PROVISIONAL`):** Median `0.157–0.241 ms` / max **`7.534–21.869 ms`** across `12` windows per run (`392,817–412,636` V# halves recorded in B), well below `1,000 ms`; marked `PROVISIONAL` because the pre-registered gate required arm A to reach story load, which the records do not establish without peek states (`story load` `ASSUMED`). - **Submission rate (`MISSED`):** The pre-registered prediction that B maintains submission rate `>= A` missed in both rounds — Round 2 B ECLX/s was `25.71–26.48/s` vs A `27.75–28.86/s` (**`-7.6%`** mean from unrounded per-run rates, lower in 3/3; PresentX/s `-7.7%` mean), and Round 1 B ECLX was `406–411` vs A `411–420`. In Round 2, no `CPU release filter` line was logged in A (`cpu_release_filter: null`), while `submit phases` `heaps` time was higher in B (`avg median` `3.98–4.62 ms` and **`single max 309–340 ms`** in B vs `3.40–3.53 ms` and **`18–92 ms`** in A). ### 8. Open PRs `#2402`, `#2405`, and `#2367` #### 8a. `#2402` (`02f71ccfe` vs `02f71ccfe + #2402 head 35eb7b4a4`, RTX 5080 G0 warm, 2+2, `PROVISIONAL`) | Run | Arm | Dur | END | PresentX ok (`rate`) | ECLX (`rate`) | Last `submit phases` t | Gap to END | `VK_ERROR_DEVICE_LOST` | |---|---|---:|---|---:|---:|---:|---:|---:| | `t4-2402-A-1` | A (`02f71ccfe`) | 136 s | watchdog exit | 1,928 (14.18/s) | 3,916 (28.79/s) | 105 s | 31 s | 0 | | `t4-2402-B-1` | B (`+#2402`) | 150 s | watchdog exit | 2,016 (13.44/s) | 4,096 (27.31/s) | 109 s | 41 s | 0 | | `t4-2402-A-2` | A (`02f71ccfe`) | 155 s | watchdog exit | 2,201 (14.20/s) | 4,455 (28.74/s) | 113 s | 42 s | 0 | | `t4-2402-B-2` | B (`+#2402`) | 146 s | watchdog exit | 2,042 (13.99/s) | 4,146 (28.4/s) | 106 s | 40 s | 0 | - **VERDICT (`PROVISIONAL`, n=2 per arm):** Both B runs had lower ECLX/s (**`-3.2%`** mean from unrounded per-run rates: `27.31–28.40` vs `28.74–28.79/s`), with `0` `VK_ERROR_DEVICE_LOST` in both arms. All 4 runs ended on armed watchdog exit `31–42 s` after the last submit-phase line (matching the `#2275` cold runs); with the watchdog armed, a stall cannot be distinguished from the title's own stop, and sustained play was outside the observed window. #### 8b. `#2405` (`02f71ccfe + #2405 head cf30c0a1f`, tree matches GitHub test merge `931dac94f`) - **Game A/B not run (`MEASURED`):** In every RTX 5080 run on `main` (including `t4-5080-kick-probe`), the pre-registered A-arm gate (`> 0` `UpdateTileMappings` calls) failed (`0` `UpdateTileMappings` calls in all JSON `tile_mappings` fields; `0` `CreateReservedResource` calls is one agent's local `MEASURED`), so no game-run A/B was run. - **Dual-GPU synthetic verification (`MEASURED`, `d3d12_buffer_tiles_test` built from `02f71ccfe + #2405`, `LEONIDA_VK_VALIDATION=1`):** - **RTX 5080 (`616.64`, tiled resources tier 4):** `rc=0`, **`0` VUIDs**; exercised the excluding device mask (`dedicated type 1, arena type 4, device mask 2, mixed mask 18`); reserved-image separation case **skipped** (reason `device cannot create reserved texture` is one agent's local `MEASURED`); `12/12` full tiles matched in Vulkan replay; `3/3` Native D3D12 GPU readbacks matched. - **AMD Radeon `gfx1036` (`32.0.21030.2001`, tiled resources tier 3):** `rc=0`, **`0` VUIDs**; exercised the including device mask (`dedicated type 0, arena type 2, device mask 15, mixed mask 5`); reserved-image separation case **skipped**; `12/12` full tiles matched in Vulkan replay; `3/3` Native D3D12 GPU readbacks matched. #### 8c. `#2367` (Host-side Part 1 — `02f71ccfe` vs `02f71ccfe + #2367 head 1860dc591`, CPU/Python, no game files) - **B (`02f71ccfe + #2367`):** `test_rdna2spirv_spawn_quota.py` **5/5 OK** (`14.65 s`); `test_translate_pipeline_compute.py WorkerParity` **3/3 OK** (`6.35 s`). - **A (`02f71ccfe` control, running B's new test file against `main`'s tools):** **3/5 passed, 1 failure + 1 error** (`WinError 1816` reproduced). - **VERDICT (`MEASURED`):** Part 1 **HELD**. (Part 2 full-translation memory-pressure stress run not performed in this batch.) *No game files, logs, traces, captures, shader/program names, RVAs, or local paths are included. Numeric tables, run counts, citations, and rate deltas were independently recomputed from the count-only JSONs by second agents Claude Opus 5.5 and Codex GPT-6.2-Sol (raw logs not re-read by second agents); mechanically leak-scanned (`0` hits).*
Mike7581 commented 2026-11-28 18:39:48 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by Mike7581 on 2026-11-28T18:39:48Z.


RUN 1 | 2026-11-28 18:26 UTC | Mike7581 | AI-assisted: Claude Code (Claude Opus 5.5)
BASE:        b1f7f3de7 + none | shaders: make_game.py --stages check,shaders,runtime (wave64 emulation auto: on; 29,279 of 29,280 translated and valid)
MACHINE:     NVIDIA GeForce RTX 4050 Laptop GPU, 6 GB, laptop | 621.40 | Windows 11 Pro 26200 | 16 GB
RECIPE:      documented ("Windows, NVIDIA") + DEVIATIONS: none (watchdog kicked with locally measured values; --overlay outside the package) | precompile: no
OS/DRIVER:   TdrDelay=60, TdrDdiDelay=60, hardware-accelerated GPU scheduling on
TARGET:      how far | PREDICTED (written before the run): none written
MEASURED:    first-run UI (all pages through Confirm, then a solid-colour screen) | duration 214 s | first present at 16 s, 25-30 frames/s, one stall at 81-93 s (0.5-2 frames/s)
END:         process crash (read access violation in the title on unmapped memory, about 175 s in), read from the log
CACHES:      cold: empty pipeline cache | RUN 1 of 2, same recipe
INSTRUMENTS: none
VERDICT:     no prediction

RUN 2 | 2026-11-28 18:32 UTC | Mike7581 | AI-assisted: Claude Code (Claude Opus 5.5)
BASE:        b1f7f3de7 + none | shaders: as RUN 1
MACHINE:     as RUN 1
RECIPE:      as RUN 1 | precompile: no
OS/DRIVER:   as RUN 1
TARGET:      how far | PREDICTED (written before the run): none written
MEASURED:    story load (loading screen with character art) | duration 145 s | first present at 14 s, 26-30 frames/s, stalls at 52-62 s and 93-104 s (about 4 frames/s); 178 pipelines built in the run
END:         process crash (null read in the title, at a different place than RUN 1, about 110 s in), read from the log
CACHES:      warm: RUN 1's session pipeline cache | RUN 2 of 2, same recipe
INSTRUMENTS: none
VERDICT:     no prediction

Cold: "first-run UI", crash on unmapped memory. Warm: "story load", null read elsewhere. The crash moves between runs, so it does not look like one fixed defect. Logs are kept on this machine.

Written with AI assistance (Claude Opus 5.5); figures taken from my own two run logs.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7243961733 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7243961733). Originally posted by [Mike7581](https://github.com/Mike7581) on 2026-11-28T18:39:48Z. --- ``` RUN 1 | 2026-11-28 18:26 UTC | Mike7581 | AI-assisted: Claude Code (Claude Opus 5.5) BASE: b1f7f3de7 + none | shaders: make_game.py --stages check,shaders,runtime (wave64 emulation auto: on; 29,279 of 29,280 translated and valid) MACHINE: NVIDIA GeForce RTX 4050 Laptop GPU, 6 GB, laptop | 621.40 | Windows 11 Pro 26200 | 16 GB RECIPE: documented ("Windows, NVIDIA") + DEVIATIONS: none (watchdog kicked with locally measured values; --overlay outside the package) | precompile: no OS/DRIVER: TdrDelay=60, TdrDdiDelay=60, hardware-accelerated GPU scheduling on TARGET: how far | PREDICTED (written before the run): none written MEASURED: first-run UI (all pages through Confirm, then a solid-colour screen) | duration 214 s | first present at 16 s, 25-30 frames/s, one stall at 81-93 s (0.5-2 frames/s) END: process crash (read access violation in the title on unmapped memory, about 175 s in), read from the log CACHES: cold: empty pipeline cache | RUN 1 of 2, same recipe INSTRUMENTS: none VERDICT: no prediction RUN 2 | 2026-11-28 18:32 UTC | Mike7581 | AI-assisted: Claude Code (Claude Opus 5.5) BASE: b1f7f3de7 + none | shaders: as RUN 1 MACHINE: as RUN 1 RECIPE: as RUN 1 | precompile: no OS/DRIVER: as RUN 1 TARGET: how far | PREDICTED (written before the run): none written MEASURED: story load (loading screen with character art) | duration 145 s | first present at 14 s, 26-30 frames/s, stalls at 52-62 s and 93-104 s (about 4 frames/s); 178 pipelines built in the run END: process crash (null read in the title, at a different place than RUN 1, about 110 s in), read from the log CACHES: warm: RUN 1's session pipeline cache | RUN 2 of 2, same recipe INSTRUMENTS: none VERDICT: no prediction ``` Cold: "first-run UI", crash on unmapped memory. Warm: "story load", null read elsewhere. The crash moves between runs, so it does not look like one fixed defect. Logs are kept on this machine. Written with AI assistance (Claude Opus 5.5); figures taken from my own two run logs.
HasiKe commented 2026-11-28 19:17:04 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by HasiKe on 2026-11-28T19:17:04Z.


Baseline of the D3D12 runtime (d3d12/) on an 8 GB NVIDIA desktop card. Four runs on one machine, all ending in play (the user walked in the open world). The frame rate is what the F3 panel showed, as the user read it out.

RUN d3d12-1..4 | 2026-11-28 UTC | HasiKe | AI-assisted: Claude Code (Claude Opus 5.5)
BASE:        493867366 + none | shaders: leonida shaders (launcher precompile)
MACHINE:     RTX 2070 SUPER, 8 GB, desktop, PCIe 3.0 x16 | NVIDIA 616.56 | Windows 11 | 64 GB
RECIPE:      scripts/play-d3d12.ps1 -SeriesS -Resolution 540 -NoDlss (no DLSS files) + DEVIATIONS per run below
OS/DRIVER:   TdrDelay 30 s
CACHES:      run 1 cold; runs 2-4 warm (pipelines of the runs before made ahead by the launcher)
INSTRUMENTS: none (the launcher's log)
Run Deviations Video memory, card's own (end) GPU per frame (submitting thread waiting for the card) Frame rate Pipeline waits past 10 s
1 none 9,111 MB of a 6,998 MB budget ~44% busy early, rising stutter, freezes 13 (all in the first 3 minutes)
2 LEONIDA_MEMORY_CARD_MB=1536 LEONIDA_CARD_BUFFERS_MB=768 LEONIDA_TEXTURE_BUDGET_MB=1536 7,510 of 6,664 99% busy, 60-115 ms low, smooth (not read out) 0
3 run 2 + LEONIDA_TITLE_GRAPHICS=performance 7,524 of 6,746 97-100% busy, 86-127 ms 7 fps 0
4 run 3 with 1024 / 512 / 1024 6,604 of 6,933 (under budget) 97-99% busy, 150-168 ms 5 fps 0

What it shows (MEASURED on this machine, n=1 each):

  • The card is the limit here: about 99% busy, while the submitting thread prepares a frame in well under the card's time. On the README's 4060 Ti the same profile is about 33 ms of GPU a frame; here it is 100-170 ms.
  • Going under the video memory budget made it slower, not faster (run 4 against run 3). So paging by the video memory manager is not what costs the time. ASSUMED: the card's time goes into reading title memory over the bus. The log counts about 5.4 GB of title memory windows in the PC's memory alone, which the card reads over the bus, and run 4 put even less on the card.
  • LEONIDA_TITLE_GRAPHICS=performance was not A/B'd on its own: runs 2 and 3 were not read out the same way.

Next on this machine: one run with LEONIDA_GPU_TIMING=1 (slow lists logged) to see which lists take the card's time.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7244428858 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7244428858). Originally posted by [HasiKe](https://github.com/HasiKe) on 2026-11-28T19:17:04Z. --- Baseline of the D3D12 runtime (`d3d12/`) on an 8 GB NVIDIA desktop card. Four runs on one machine, all ending in `play` (the user walked in the open world). The frame rate is what the F3 panel showed, as the user read it out. ``` RUN d3d12-1..4 | 2026-11-28 UTC | HasiKe | AI-assisted: Claude Code (Claude Opus 5.5) BASE: 493867366 + none | shaders: leonida shaders (launcher precompile) MACHINE: RTX 2070 SUPER, 8 GB, desktop, PCIe 3.0 x16 | NVIDIA 616.56 | Windows 11 | 64 GB RECIPE: scripts/play-d3d12.ps1 -SeriesS -Resolution 540 -NoDlss (no DLSS files) + DEVIATIONS per run below OS/DRIVER: TdrDelay 30 s CACHES: run 1 cold; runs 2-4 warm (pipelines of the runs before made ahead by the launcher) INSTRUMENTS: none (the launcher's log) ``` | Run | Deviations | Video memory, card's own (end) | GPU per frame (submitting thread waiting for the card) | Frame rate | Pipeline waits past 10 s | | --- | --- | --- | --- | --- | --- | | 1 | none | 9,111 MB of a 6,998 MB budget | ~44% busy early, rising | stutter, freezes | 13 (all in the first 3 minutes) | | 2 | `LEONIDA_MEMORY_CARD_MB=1536 LEONIDA_CARD_BUFFERS_MB=768 LEONIDA_TEXTURE_BUDGET_MB=1536` | 7,510 of 6,664 | 99% busy, 60-115 ms | low, smooth (not read out) | 0 | | 3 | run 2 + `LEONIDA_TITLE_GRAPHICS=performance` | 7,524 of 6,746 | 97-100% busy, 86-127 ms | **7 fps** | 0 | | 4 | run 3 with 1024 / 512 / 1024 | 6,604 of 6,933 (under budget) | 97-99% busy, 150-168 ms | **5 fps** | 0 | What it shows (MEASURED on this machine, n=1 each): - The card is the limit here: about 99% busy, while the submitting thread prepares a frame in well under the card's time. On the README's 4060 Ti the same profile is about 33 ms of GPU a frame; here it is 100-170 ms. - Going under the video memory budget made it slower, not faster (run 4 against run 3). So paging by the video memory manager is not what costs the time. ASSUMED: the card's time goes into reading title memory over the bus. The log counts about 5.4 GB of title memory windows in the PC's memory alone, which the card reads over the bus, and run 4 put even less on the card. - `LEONIDA_TITLE_GRAPHICS=performance` was not A/B'd on its own: runs 2 and 3 were not read out the same way. Next on this machine: one run with `LEONIDA_GPU_TIMING=1` (slow lists logged) to see which lists take the card's time.
bobcatchris commented 2026-11-29 06:02:49 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by bobcatchris on 2026-11-29T06:02:49Z.


Windows AMD RX 7900 XTX (Profile L) baseline on main (791899f65) — first native Windows AMD report for docs/running.md ("Windows, AMD" is currently TBD). Both runs were unattended (first-run UI / menu, no user input); 0 faults, 0 device losses, 0 crashes.

RUN WIN-AMD-7900XTX-MAIN-1 | 2026-11-29 04:38 UTC | bobcatchris | AI-assisted: Antigravity (Gemini 4 Neon)
BASE:        791899f65 + 1-line local MSVC 14.39 fix in runtime/src/crt_timed_wait.cpp:26 (_CRTIMP2_PURE _Thrd_result) | shaders: make_game.py --stages shaders --wave64-emulate off (29,280 translated, all spirv-val valid)
MACHINE:     AMD Radeon RX 7900 XTX, 24 GB, desktop | AMD Windows driver 32.0.32029.2010 | Windows 11 Pro 10.0.26200 | 63.7 GB RAM (Ryzen 7 7800X3D)
RECIPE:      documented ("Linux, Wine, AMD RX 7900 XTX (RADV)" adapted to native Windows) + DEVIATIONS: no LEONIDA_TITLE_WATCHDOG_KICK, no LEONIDA_SKIP_COMPUTE, LEONIDA_ASYNC_MIN_BYTES=2097152, LEONIDA_ASYNC_MIN_BYTES_GRAPHICS=0, LEONIDA_COMPILE_THREADS=12, LEONIDA_COMPILE_HEAVY_MAX=10 | precompile: yes, 3,757 compute pipelines (<2 MiB, --max-bytes 2097151, 0 failed)
OS/DRIVER:   Windows default TdrDelay (2 s), Resizable BAR off
TARGET:      boot stability, frame rate, submission CPU cost, VRAM | PREDICTED (written before the run): boots to first-run UI / menu at 20-30+ fps with 0 faults
MEASURED:    first-run UI / menu (unattended) | 29.99 fps mean (26.39-30.05) | 59.99 subs/s (1,501 direct/10s) | heaps 4.47 ms/sub, shadows 0.61 ms/sub, geometry 0.13 ms/sub | GPU direct latency 0.76 ms avg (5.1 ms max), 6.4% busy | 4 gfx / 800 compute pipelines live (0.1 s / 0.2 s) | 4,981 MiB VRAM | 0 faults | duration 4334 s
END:         time limit (stopped manually after 72 min soak)
CACHES:      cold graphics / warm precompiled compute journal | RUN 1 of 2, same recipe
INSTRUMENTS: LEONIDA_DEVICE_FAULT=1, LEONIDA_DEVICE_MARKERS=1, LEONIDA_GPU_LATENCY=1, LEONIDA_MEM_PROBE=30, LEONIDA_TITLE_HUD=1
VERDICT:     prediction held (MEASURED, n=1)
RUN WIN-AMD-7900XTX-MAIN-2 | 2026-11-29 05:51 UTC | bobcatchris | AI-assisted: Antigravity (Gemini 4 Neon)
BASE:        791899f65 + 1-line local MSVC 14.39 fix in runtime/src/crt_timed_wait.cpp:26 (_CRTIMP2_PURE _Thrd_result) | shaders: make_game.py --stages shaders --wave64-emulate off (29,280 translated, all spirv-val valid)
MACHINE:     AMD Radeon RX 7900 XTX, 24 GB, desktop | AMD Windows driver 32.0.32029.2010 | Windows 11 Pro 10.0.26200 | 63.7 GB RAM (Ryzen 7 7800X3D)
RECIPE:      documented ("Linux, Wine, AMD RX 7900 XTX (RADV)" adapted to native Windows) + DEVIATIONS: no LEONIDA_TITLE_WATCHDOG_KICK, no LEONIDA_SKIP_COMPUTE, LEONIDA_ASYNC_MIN_BYTES=2097152, LEONIDA_ASYNC_MIN_BYTES_GRAPHICS=0, LEONIDA_COMPILE_THREADS=12, LEONIDA_COMPILE_HEAVY_MAX=10 | precompile: yes, 3,757 compute pipelines (<2 MiB, --max-bytes 2097151, 0 failed)
OS/DRIVER:   Windows default TdrDelay (2 s), Resizable BAR off
TARGET:      warm-cache parity and steady-state baseline | PREDICTED (written before the run): matches Run 1 at 30.0 fps with 0 faults
MEASURED:    first-run UI / menu (unattended) | 30.05 fps mean (29.90-30.55) | 60.09 subs/s (1,504 direct/10s) | heaps 4.65 ms/sub, shadows 0.69 ms/sub, geometry 0.14 ms/sub | GPU direct latency 0.74 ms avg (5.8 ms max), 6.5% busy | 4 gfx / 800 compute pipelines live (0.1 s / 0.2 s) | 4,982 MiB VRAM | 0 faults | duration 90 s
END:         time limit (90 s)
CACHES:      warm (session + precompiled compute journal) | RUN 2 of 2, same recipe
INSTRUMENTS: LEONIDA_DEVICE_FAULT=1, LEONIDA_DEVICE_MARKERS=1, LEONIDA_GPU_LATENCY=1, LEONIDA_MEM_PROBE=30, LEONIDA_TITLE_HUD=1
VERDICT:     prediction held (MEASURED, n=2)

tested: #2566 on AMD Radeon RX 7900 XTX 24 GB (Windows 11, driver 32.0.32029.2010), better: first-run UI / menu (30.0 fps, 60.1 subs/s, ~9.3 ms/f heaps) / first-run UI / menu (30.0 fps, 30.1 subs/s, ~3.8 ms/f heaps, 0 faults) — full A/B RUN blocks posted on #2566.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7251613486 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7251613486). Originally posted by [bobcatchris](https://github.com/bobcatchris) on 2026-11-29T06:02:49Z. --- Windows AMD RX 7900 XTX (Profile L) baseline on `main` (`791899f65`) — first native Windows AMD report for `docs/running.md` ("Windows, AMD" is currently TBD). Both runs were unattended (`first-run UI` / `menu`, no user input); 0 faults, 0 device losses, 0 crashes. ``` RUN WIN-AMD-7900XTX-MAIN-1 | 2026-11-29 04:38 UTC | bobcatchris | AI-assisted: Antigravity (Gemini 4 Neon) BASE: 791899f65 + 1-line local MSVC 14.39 fix in runtime/src/crt_timed_wait.cpp:26 (_CRTIMP2_PURE _Thrd_result) | shaders: make_game.py --stages shaders --wave64-emulate off (29,280 translated, all spirv-val valid) MACHINE: AMD Radeon RX 7900 XTX, 24 GB, desktop | AMD Windows driver 32.0.32029.2010 | Windows 11 Pro 10.0.26200 | 63.7 GB RAM (Ryzen 7 7800X3D) RECIPE: documented ("Linux, Wine, AMD RX 7900 XTX (RADV)" adapted to native Windows) + DEVIATIONS: no LEONIDA_TITLE_WATCHDOG_KICK, no LEONIDA_SKIP_COMPUTE, LEONIDA_ASYNC_MIN_BYTES=2097152, LEONIDA_ASYNC_MIN_BYTES_GRAPHICS=0, LEONIDA_COMPILE_THREADS=12, LEONIDA_COMPILE_HEAVY_MAX=10 | precompile: yes, 3,757 compute pipelines (<2 MiB, --max-bytes 2097151, 0 failed) OS/DRIVER: Windows default TdrDelay (2 s), Resizable BAR off TARGET: boot stability, frame rate, submission CPU cost, VRAM | PREDICTED (written before the run): boots to first-run UI / menu at 20-30+ fps with 0 faults MEASURED: first-run UI / menu (unattended) | 29.99 fps mean (26.39-30.05) | 59.99 subs/s (1,501 direct/10s) | heaps 4.47 ms/sub, shadows 0.61 ms/sub, geometry 0.13 ms/sub | GPU direct latency 0.76 ms avg (5.1 ms max), 6.4% busy | 4 gfx / 800 compute pipelines live (0.1 s / 0.2 s) | 4,981 MiB VRAM | 0 faults | duration 4334 s END: time limit (stopped manually after 72 min soak) CACHES: cold graphics / warm precompiled compute journal | RUN 1 of 2, same recipe INSTRUMENTS: LEONIDA_DEVICE_FAULT=1, LEONIDA_DEVICE_MARKERS=1, LEONIDA_GPU_LATENCY=1, LEONIDA_MEM_PROBE=30, LEONIDA_TITLE_HUD=1 VERDICT: prediction held (MEASURED, n=1) ``` ``` RUN WIN-AMD-7900XTX-MAIN-2 | 2026-11-29 05:51 UTC | bobcatchris | AI-assisted: Antigravity (Gemini 4 Neon) BASE: 791899f65 + 1-line local MSVC 14.39 fix in runtime/src/crt_timed_wait.cpp:26 (_CRTIMP2_PURE _Thrd_result) | shaders: make_game.py --stages shaders --wave64-emulate off (29,280 translated, all spirv-val valid) MACHINE: AMD Radeon RX 7900 XTX, 24 GB, desktop | AMD Windows driver 32.0.32029.2010 | Windows 11 Pro 10.0.26200 | 63.7 GB RAM (Ryzen 7 7800X3D) RECIPE: documented ("Linux, Wine, AMD RX 7900 XTX (RADV)" adapted to native Windows) + DEVIATIONS: no LEONIDA_TITLE_WATCHDOG_KICK, no LEONIDA_SKIP_COMPUTE, LEONIDA_ASYNC_MIN_BYTES=2097152, LEONIDA_ASYNC_MIN_BYTES_GRAPHICS=0, LEONIDA_COMPILE_THREADS=12, LEONIDA_COMPILE_HEAVY_MAX=10 | precompile: yes, 3,757 compute pipelines (<2 MiB, --max-bytes 2097151, 0 failed) OS/DRIVER: Windows default TdrDelay (2 s), Resizable BAR off TARGET: warm-cache parity and steady-state baseline | PREDICTED (written before the run): matches Run 1 at 30.0 fps with 0 faults MEASURED: first-run UI / menu (unattended) | 30.05 fps mean (29.90-30.55) | 60.09 subs/s (1,504 direct/10s) | heaps 4.65 ms/sub, shadows 0.69 ms/sub, geometry 0.14 ms/sub | GPU direct latency 0.74 ms avg (5.8 ms max), 6.5% busy | 4 gfx / 800 compute pipelines live (0.1 s / 0.2 s) | 4,982 MiB VRAM | 0 faults | duration 90 s END: time limit (90 s) CACHES: warm (session + precompiled compute journal) | RUN 2 of 2, same recipe INSTRUMENTS: LEONIDA_DEVICE_FAULT=1, LEONIDA_DEVICE_MARKERS=1, LEONIDA_GPU_LATENCY=1, LEONIDA_MEM_PROBE=30, LEONIDA_TITLE_HUD=1 VERDICT: prediction held (MEASURED, n=2) ``` tested: #2566 on AMD Radeon RX 7900 XTX 24 GB (Windows 11, driver 32.0.32029.2010), better: first-run UI / menu (30.0 fps, 60.1 subs/s, ~9.3 ms/f heaps) / first-run UI / menu (30.0 fps, 30.1 subs/s, ~3.8 ms/f heaps, 0 faults) — full A/B `RUN` blocks posted on #2566.
bobcatchris commented 2026-11-29 12:11:18 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by bobcatchris on 2026-11-29T12:11:18Z.


tested: #2402 on AMD Radeon RX 7900 XTX 24 GB (Windows 11, driver 32.0.32029.2010), same: first-run UI / menu (30.0 fps, 0 faults) / first-run UI / menu (29.6 fps, 0 faults; retire_ticket_lock_test PASS, GPU direct latency 0.64 ms vs 0.74 ms) — RUN blocks on #2402. AI-assisted: Antigravity (Gemini 4 Neon).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7255629110 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7255629110). Originally posted by [bobcatchris](https://github.com/bobcatchris) on 2026-11-29T12:11:18Z. --- tested: #2402 on AMD Radeon RX 7900 XTX 24 GB (Windows 11, driver 32.0.32029.2010), same: first-run UI / menu (30.0 fps, 0 faults) / first-run UI / menu (29.6 fps, 0 faults; retire_ticket_lock_test PASS, GPU direct latency 0.64 ms vs 0.74 ms) — RUN blocks on #2402. AI-assisted: Antigravity (Gemini 4 Neon).
bobcatchris commented 2026-11-29 12:14:19 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by bobcatchris on 2026-11-29T12:14:19Z.


tested: #2405 on AMD Radeon RX 7900 XTX 24 GB (Windows 11, driver 32.0.32029.2010), same: first-run UI / menu (30.0 fps, 0 faults) / first-run UI / menu (30.0 fps, 0 faults; d3d12_buffer_tiles_test PASS) — RUN blocks on #2405. AI-assisted: Antigravity (Gemini 4 Neon).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7255666570 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7255666570). Originally posted by [bobcatchris](https://github.com/bobcatchris) on 2026-11-29T12:14:19Z. --- tested: #2405 on AMD Radeon RX 7900 XTX 24 GB (Windows 11, driver 32.0.32029.2010), same: first-run UI / menu (30.0 fps, 0 faults) / first-run UI / menu (30.0 fps, 0 faults; d3d12_buffer_tiles_test PASS) — RUN blocks on #2405. AI-assisted: Antigravity (Gemini 4 Neon).
CnKabii commented 2026-11-30 05:03:35 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by CnKabii on 2026-11-30T05:03:35Z.


Windows NVIDIA gameplay run — RTX 5070 Ti Laptop, Series S at 720p

RUN RTX5070Ti-Laptop-S720-1 | 2026-11-30 04:41 UTC | CnKabii | AI-assisted: Codex (report preparation)
BASE:        1d22590b9 (main), no runtime PR patches applied | shaders: built-in D3D12 shader precompile
MACHINE:     GeForce RTX 5070 Ti Laptop GPU, 12 GB (profile M) | NVIDIA 621.40 | Windows 11 Home 25H2, 26200.9974 | Ryzen 9 8945HX, 31.22 GiB usable RAM
RECIPE:      scripts/play-d3d12.ps1 -SeriesS -Resolution 720 -NoFrameGen -Log | fixed 720p rendering, 1920x1080 output, title upscaler
DEVIATIONS:  LEONIDA_RENDER_SCALE=0.6667, LEONIDA_OUTPUT=1920x1080; launcher selected LEONIDA_OWN_UPSCALER=1 | precompile: yes, 392 additional pipelines made, 0 failed
OS/DRIVER:   Power mode, hardware-accelerated GPU scheduling and TDR settings were not recorded for this run.
TARGET:      How far the game runs and how frame pacing changes during a short open-world route | PREDICTED: none recorded
MEASURED:    play (gas station to Jason's house) | log span ~267 s including startup | steadier gameplay segment: 15.7 FPS median, 11.5-16.9 FPS range across 15 log samples over ~74 s; median reported frame time 63.7 ms
END:         The tester quit after reaching Jason's house. The supplied log contains no unhandled exception or device-loss message.
CACHES:      Warm shader and pipeline caches, with 2,477 previously built pipelines present | RUN 1 of 1
INSTRUMENTS: Launcher log, LEONIDA_LOG=warn,leonida_gpu::host=info | periodic FPS and mean frame-time samples
VERDICT:     Reached play on this profile. One warm-cache run, with no pre-run prediction.

The tester observed stutters during play while waiting for the scene to render. The frame rate held steadier when the camera stayed still. The log also shows short sections around 19 FPS and several severe drops, including 0.9 and 0.8 FPS samples near the end. Camera actions were not timestamped, so individual drops could not be matched to specific inputs. The ~60 FPS startup/menu samples were excluded from the gameplay summary.

Windows reported memory pressure during the transition into play and the runtime reduced texture prefetch. Peak reported dedicated VRAM use was 8,567 MB against a 10,632 MB budget at that time. These observations do not identify the cause of the stalls.

The 15.7 FPS figure is the median of periodic snapshots from the steadier segment. This run did not capture per-frame timings or a full-route average.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7269318818 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7269318818). Originally posted by [CnKabii](https://github.com/CnKabii) on 2026-11-30T05:03:35Z. --- **Windows NVIDIA gameplay run — RTX 5070 Ti Laptop, Series S at 720p** ```text RUN RTX5070Ti-Laptop-S720-1 | 2026-11-30 04:41 UTC | CnKabii | AI-assisted: Codex (report preparation) BASE: 1d22590b9 (main), no runtime PR patches applied | shaders: built-in D3D12 shader precompile MACHINE: GeForce RTX 5070 Ti Laptop GPU, 12 GB (profile M) | NVIDIA 621.40 | Windows 11 Home 25H2, 26200.9974 | Ryzen 9 8945HX, 31.22 GiB usable RAM RECIPE: scripts/play-d3d12.ps1 -SeriesS -Resolution 720 -NoFrameGen -Log | fixed 720p rendering, 1920x1080 output, title upscaler DEVIATIONS: LEONIDA_RENDER_SCALE=0.6667, LEONIDA_OUTPUT=1920x1080; launcher selected LEONIDA_OWN_UPSCALER=1 | precompile: yes, 392 additional pipelines made, 0 failed OS/DRIVER: Power mode, hardware-accelerated GPU scheduling and TDR settings were not recorded for this run. TARGET: How far the game runs and how frame pacing changes during a short open-world route | PREDICTED: none recorded MEASURED: play (gas station to Jason's house) | log span ~267 s including startup | steadier gameplay segment: 15.7 FPS median, 11.5-16.9 FPS range across 15 log samples over ~74 s; median reported frame time 63.7 ms END: The tester quit after reaching Jason's house. The supplied log contains no unhandled exception or device-loss message. CACHES: Warm shader and pipeline caches, with 2,477 previously built pipelines present | RUN 1 of 1 INSTRUMENTS: Launcher log, LEONIDA_LOG=warn,leonida_gpu::host=info | periodic FPS and mean frame-time samples VERDICT: Reached play on this profile. One warm-cache run, with no pre-run prediction. ``` The tester observed stutters during play while waiting for the scene to render. The frame rate held steadier when the camera stayed still. The log also shows short sections around 19 FPS and several severe drops, including 0.9 and 0.8 FPS samples near the end. Camera actions were not timestamped, so individual drops could not be matched to specific inputs. The ~60 FPS startup/menu samples were excluded from the gameplay summary. Windows reported memory pressure during the transition into play and the runtime reduced texture prefetch. Peak reported dedicated VRAM use was 8,567 MB against a 10,632 MB budget at that time. These observations do not identify the cause of the stalls. The 15.7 FPS figure is the median of periodic snapshots from the steadier segment. This run did not capture per-frame timings or a full-route average.
lerapeurdu62280-debug commented 2026-11-30 18:10:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by lerapeurdu62280-debug on 2026-11-30T18:10:43Z.


Baseline on main, Windows AMD (docs/running.md says no public Windows AMD game run is known yet), cold caches. A warm run follows.

RUN rx6600-cold-1 | 2026-11-30 17:50-18:03 UTC | lerapeurdu62280-debug | AI-assisted: Claude Code (Claude Opus 5.5)
BASE:        afb511541 + none | shaders: none built by make_game.py; scripts\play-d3d12.ps1 precompile (25,689 in cache, 200 do not translate, 138 s)
MACHINE:     AMD Radeon RX 6600 8 GB, desktop | 32.0.21045.29003 | Windows 11 26300 | 32 GB, Ryzen 5 3600
RECIPE:      documented (README "Playing it": scripts\play-d3d12.ps1 -Log, its defaults: Series X profile, 2560x1440 output, diag build with diagnostics,mimalloc, no DLSS) + DEVIATIONS: none | precompile: yes, shaders; pipelines: 0 known (first start; leonida warm stopped with os error 3, fixed by #2774)
OS/DRIVER:   TdrLevel, TdrDelay, TdrDdiDelay at defaults; resizable BAR windows on (32 GB)
TARGET:      how far a cold first start gets | PREDICTED (written before the run): none, first baseline on this machine
MEASURED:    world load | duration ~820 s | tools/d3d12_run_fps.py: 142 frame lines, 17 in the world (1000+ draws), median 0.2 fps there (5,072 ms a frame; preparing 89.9 ms, GPU wait 0.0 ms); menus ran at the 60 fps cap
END:         device lost (DXGI_ERROR_DEVICE_RESET 0x887A0007, "device-removed data: none"), read from the log, ~3.5 min after the story pack opened
CACHES:      cold | RUN 1 of 2, same recipe
INSTRUMENTS: none (-Log only)
VERDICT:     prediction n/a

What held the frame in the world: 81 compute pipelines were made in play, each logged the library did not load it with E_INVALIDARG (0x80070057) from the pipeline library on this AMD driver; 45 of them took over 1 s, most 5-9 s, the longest 171 s. When the device went, several of those makes were in flight and the submitting thread was preparing one list (nothing of ours on the card). Details in #2585.

Contribution : EI S.O.S INFO LUDO

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7287463563 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7287463563). Originally posted by [lerapeurdu62280-debug](https://github.com/lerapeurdu62280-debug) on 2026-11-30T18:10:43Z. --- Baseline on `main`, Windows AMD (`docs/running.md` says no public Windows AMD game run is known yet), cold caches. A warm run follows. ``` RUN rx6600-cold-1 | 2026-11-30 17:50-18:03 UTC | lerapeurdu62280-debug | AI-assisted: Claude Code (Claude Opus 5.5) BASE: afb511541 + none | shaders: none built by make_game.py; scripts\play-d3d12.ps1 precompile (25,689 in cache, 200 do not translate, 138 s) MACHINE: AMD Radeon RX 6600 8 GB, desktop | 32.0.21045.29003 | Windows 11 26300 | 32 GB, Ryzen 5 3600 RECIPE: documented (README "Playing it": scripts\play-d3d12.ps1 -Log, its defaults: Series X profile, 2560x1440 output, diag build with diagnostics,mimalloc, no DLSS) + DEVIATIONS: none | precompile: yes, shaders; pipelines: 0 known (first start; leonida warm stopped with os error 3, fixed by #2774) OS/DRIVER: TdrLevel, TdrDelay, TdrDdiDelay at defaults; resizable BAR windows on (32 GB) TARGET: how far a cold first start gets | PREDICTED (written before the run): none, first baseline on this machine MEASURED: world load | duration ~820 s | tools/d3d12_run_fps.py: 142 frame lines, 17 in the world (1000+ draws), median 0.2 fps there (5,072 ms a frame; preparing 89.9 ms, GPU wait 0.0 ms); menus ran at the 60 fps cap END: device lost (DXGI_ERROR_DEVICE_RESET 0x887A0007, "device-removed data: none"), read from the log, ~3.5 min after the story pack opened CACHES: cold | RUN 1 of 2, same recipe INSTRUMENTS: none (-Log only) VERDICT: prediction n/a ``` What held the frame in the world: 81 compute pipelines were made in play, each logged `the library did not load it` with `E_INVALIDARG` (0x80070057) from the pipeline library on this AMD driver; 45 of them took over 1 s, most 5-9 s, the longest 171 s. When the device went, several of those makes were in flight and the submitting thread was preparing one list (nothing of ours on the card). Details in #2585. Contribution : EI S.O.S INFO LUDO
lerapeurdu62280-debug commented 2026-11-30 18:19:50 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by lerapeurdu62280-debug on 2026-11-30T18:19:50Z.


Second baseline run, warm (follows https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7287463563).

RUN rx6600-warm-2 | 2026-11-30 18:16-18:19 UTC | lerapeurdu62280-debug | AI-assisted: Claude Code (Claude Opus 5.5)
BASE:        afb511541 + none | shaders: as RUN rx6600-cold-1
MACHINE:     AMD Radeon RX 6600 8 GB, desktop | 32.0.21045.29003 | Windows 11 26300 | 32 GB, Ryzen 5 3600
RECIPE:      same as RUN rx6600-cold-1 + DEVIATIONS: none | precompile: yes; leonida warm --used: 83,555 known, 1,719 made in 239 s (median 11.4 ms, p90 2,471 ms, p99 15,495 ms, most 34,127 ms)
OS/DRIVER:   as RUN rx6600-cold-1
TARGET:      how far a warm start gets | PREDICTED: not written down before the run (expected: further than cold)
MEASURED:    story load (1 frame line in the world, 3.2 fps there) | duration ~180 s in the title
END:         device lost (0x887A0007, "device-removed data: none"), read from the log; the submitting thread was between submissions, nothing of ours on the card
CACHES:      warm: shaders + pipelines from RUN 1 and the warm step | RUN 2 of 2, same recipe
INSTRUMENTS: none (-Log only)
VERDICT:     n/a (ended earlier than cold)

69 pipelines were still made in play, each with the pipeline library refusing to load its entry (E_INVALIDARG). Next: the same machine and recipe with #2670 (RDNA2 aperture segment; its description is this failure: 0x887A0007, empty DRED, nothing of ours on the card).

Contribution : EI S.O.S INFO LUDO

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7287688565 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7287688565). Originally posted by [lerapeurdu62280-debug](https://github.com/lerapeurdu62280-debug) on 2026-11-30T18:19:50Z. --- Second baseline run, warm (follows https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7287463563). ``` RUN rx6600-warm-2 | 2026-11-30 18:16-18:19 UTC | lerapeurdu62280-debug | AI-assisted: Claude Code (Claude Opus 5.5) BASE: afb511541 + none | shaders: as RUN rx6600-cold-1 MACHINE: AMD Radeon RX 6600 8 GB, desktop | 32.0.21045.29003 | Windows 11 26300 | 32 GB, Ryzen 5 3600 RECIPE: same as RUN rx6600-cold-1 + DEVIATIONS: none | precompile: yes; leonida warm --used: 83,555 known, 1,719 made in 239 s (median 11.4 ms, p90 2,471 ms, p99 15,495 ms, most 34,127 ms) OS/DRIVER: as RUN rx6600-cold-1 TARGET: how far a warm start gets | PREDICTED: not written down before the run (expected: further than cold) MEASURED: story load (1 frame line in the world, 3.2 fps there) | duration ~180 s in the title END: device lost (0x887A0007, "device-removed data: none"), read from the log; the submitting thread was between submissions, nothing of ours on the card CACHES: warm: shaders + pipelines from RUN 1 and the warm step | RUN 2 of 2, same recipe INSTRUMENTS: none (-Log only) VERDICT: n/a (ended earlier than cold) ``` 69 pipelines were still made in play, each with the pipeline library refusing to load its entry (`E_INVALIDARG`). Next: the same machine and recipe with #2670 (RDNA2 aperture segment; its description is this failure: `0x887A0007`, empty DRED, nothing of ours on the card). Contribution : EI S.O.S INFO LUDO
lerapeurdu62280-debug commented 2026-11-30 18:25:53 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by lerapeurdu62280-debug on 2026-11-30T18:25:53Z.


tested: #2670 on RX 6600 8 GB (Windows, AMD 32.0.21045.29003), better (n=1, caches not equal, see the PR): story load + device lost at ~180 s / play ~290 s, closed by hand, no device lost. RUN blocks: https://github.com/ProjectLeonida/mandy/pull/2670#issuecomment-7287835786

Contribution : EI S.O.S INFO LUDO

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7287839005 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7287839005). Originally posted by [lerapeurdu62280-debug](https://github.com/lerapeurdu62280-debug) on 2026-11-30T18:25:53Z. --- tested: #2670 on RX 6600 8 GB (Windows, AMD 32.0.21045.29003), better (n=1, caches not equal, see the PR): story load + device lost at ~180 s / play ~290 s, closed by hand, no device lost. RUN blocks: https://github.com/ProjectLeonida/mandy/pull/2670#issuecomment-7287835786 Contribution : EI S.O.S INFO LUDO
lerapeurdu62280-debug commented 2026-11-30 18:46:10 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by lerapeurdu62280-debug on 2026-11-30T18:46:10Z.


tested: #2670 on RX 6600 8 GB (Windows, AMD 32.0.21045.29003), better, same emptied caches for A and B: world load + device lost at ~267 s / play through ~625 s, closed by hand, no device lost. https://github.com/ProjectLeonida/mandy/pull/2670

Contribution : EI S.O.S INFO LUDO

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7288335776 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7288335776). Originally posted by [lerapeurdu62280-debug](https://github.com/lerapeurdu62280-debug) on 2026-11-30T18:46:10Z. --- tested: #2670 on RX 6600 8 GB (Windows, AMD 32.0.21045.29003), better, same emptied caches for A and B: world load + device lost at ~267 s / play through ~625 s, closed by hand, no device lost. https://github.com/ProjectLeonida/mandy/pull/2670 Contribution : EI S.O.S INFO LUDO
aznohonza commented 2026-12-01 03:08:24 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by aznohonza on 2026-12-01T03:08:24Z.


A baseline from one more machine, Linux + Wine + NVIDIA, which running.md does not cover yet.

RUN run21 | 2026-11-30 23:19 UTC | aznohonza | AI-assisted
BASE:        d8ca18240 (the runtime binary was built from it; the later main 9dffbe721 was not rebuilt) + no pull requests + one local change: run_game_wine.sh honours LEONIDA_NO_TRACE_D3D12=1 and passes no --trace-d3d12 | shaders: make_game.py --stages check,shaders,runtime --wave64-emulate on: 26,503 main, 2,684 library, 2,713 FSPX, 52 BVH and 12 executable sets, spirv-val clean
MACHINE:     NVIDIA GeForce RTX 3060 12 GB, desktop | NVIDIA 620.70.10 | Debian 13 (trixie), kernel 6.12.118 | 31 GB RAM, no swap, 12 threads
RECIPE:      running.md has no Linux + Wine profile: this follows the "Linux, Proton, NVIDIA" variables + DEVIATIONS: Wine 11.22 staging instead of Proton, LEONIDA_DEVICE_TYPE=6 LEONIDA_COMPUTE_WARMUP=0 LEONIDA_MAP_READBACK=1 LEONIDA_SERIAL_BIG_COMPILES=0 LEONIDA_FRAME_PACING=1 LEONIDA_PRESENT_NO_TEAR=1 LEONIDA_STRAY_RO_HEAL=1 LEONIDA_ARENA_MB=1024 LEONIDA_GEOMETRY_MB=2048 LEONIDA_TITLE_WINDOWS_MB=4096 LEONIDA_SUBMIT_ASYNC=4 LEONIDA_KEYBOARD_PAD=always LEONIDA_SKIP_COMPUTE=<the 723-program ray-tracing list>; the title watchdog is off with its KICK values set | precompile: no, the runs filled the journal
OS/DRIVER:   no GPU timeout change; the run was in a systemd cgroup with MemoryMax=24G
HOW FAR:     first-run UI 30 frames/s, story load, opening sequence, world frames drawn
MEASURED:    the story load ended at t=2019 s (33.7 min); world frames from there at 1-3 per 10-16 s, 0.06-0.30 frames/s | duration 3600 s | peak cgroup memory 19.5 GB of 24 GB
END:         time limit (3600 s)
CACHES:      warm: a 1.7 GB pipeline journal from three earlier runs | run 2 of 2 with this recipe
INSTRUMENTS: none, the D3D12 trace was off

RUN run23 | 2026-12-01 01:01 UTC | aznohonza | AI-assisted
BASE:        as run21, same binary
MACHINE:     as run21
RECIPE:      as run21 + LEONIDA_MEM_PROBE=30 LEONIDA_GPU_LATENCY=1 | precompile: no
OS/DRIVER:   as run21
HOW FAR:     account picker, story load, opening sequence: one night scene drawn, then no further frame
MEASURED:    the first opening-sequence frame appeared at t=1151 s (19.2 min); the last present was accounted in the window ending at t=1155 s, and nothing was submitted or presented after t=1166 s for the remaining 101 min. The run built 763 graphics and 619 compute pipelines on the way (2,296 shader modules, 732 MiB SPIR-V, 45 min of vkCreate*Pipeline CPU time), and the builds ended within two minutes of the last present. One console value wait stayed unmet from t=1166 s: of 209 gates held, 192 met, 0 were released unmet (0 at a present, 0 in a cycle, 0 with the title stalled), 50,494 writes recorded and 50,408 landed. The title's main thread then held 93 % of one core, and its six to seven other active threads sat in futex waits. Cgroup memory stayed at 19-20 GB of 24 GB; no device loss | duration 7200 s
END:         stall: no presents and no queue calls from t=1166 s, the held wait stood 101 min, the run was left to its time limit
CACHES:      warm: the same 1.7 GB journal plus the previous run's overlay and saves | run 1 of 1 with these instruments
INSTRUMENTS: LEONIDA_MEM_PROBE=30, LEONIDA_GPU_LATENCY=1

Two more warm runs from the same overlay and journal are context, not blocks: one drew the city night street with its credits at t~1800 s, then the cgroup OOM-killed it at 22.2 GB peak; the run before it (default arenas) was OOM-killed at 22.3 GB, 21 min in. The 1024/2048 arenas are what keeps a run at 19-20 GB. The screenshots and the logs stay local.

The stall is the interesting one: it starts right after the pipeline-compile burst for that scene, with every gate met except the one held, and the title waiting on it from the CPU. If this is a known case of the list-value gates (the stalled rule needs the title quiet, and here the title was quiet but a write group or a queue hold may have counted as progress), a hint on which counter to watch would let us test the next run against it.

AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7299367912 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7299367912). Originally posted by [aznohonza](https://github.com/aznohonza) on 2026-12-01T03:08:24Z. --- A baseline from one more machine, Linux + Wine + NVIDIA, which running.md does not cover yet. ``` RUN run21 | 2026-11-30 23:19 UTC | aznohonza | AI-assisted BASE: d8ca18240 (the runtime binary was built from it; the later main 9dffbe721 was not rebuilt) + no pull requests + one local change: run_game_wine.sh honours LEONIDA_NO_TRACE_D3D12=1 and passes no --trace-d3d12 | shaders: make_game.py --stages check,shaders,runtime --wave64-emulate on: 26,503 main, 2,684 library, 2,713 FSPX, 52 BVH and 12 executable sets, spirv-val clean MACHINE: NVIDIA GeForce RTX 3060 12 GB, desktop | NVIDIA 620.70.10 | Debian 13 (trixie), kernel 6.12.118 | 31 GB RAM, no swap, 12 threads RECIPE: running.md has no Linux + Wine profile: this follows the "Linux, Proton, NVIDIA" variables + DEVIATIONS: Wine 11.22 staging instead of Proton, LEONIDA_DEVICE_TYPE=6 LEONIDA_COMPUTE_WARMUP=0 LEONIDA_MAP_READBACK=1 LEONIDA_SERIAL_BIG_COMPILES=0 LEONIDA_FRAME_PACING=1 LEONIDA_PRESENT_NO_TEAR=1 LEONIDA_STRAY_RO_HEAL=1 LEONIDA_ARENA_MB=1024 LEONIDA_GEOMETRY_MB=2048 LEONIDA_TITLE_WINDOWS_MB=4096 LEONIDA_SUBMIT_ASYNC=4 LEONIDA_KEYBOARD_PAD=always LEONIDA_SKIP_COMPUTE=<the 723-program ray-tracing list>; the title watchdog is off with its KICK values set | precompile: no, the runs filled the journal OS/DRIVER: no GPU timeout change; the run was in a systemd cgroup with MemoryMax=24G HOW FAR: first-run UI 30 frames/s, story load, opening sequence, world frames drawn MEASURED: the story load ended at t=2019 s (33.7 min); world frames from there at 1-3 per 10-16 s, 0.06-0.30 frames/s | duration 3600 s | peak cgroup memory 19.5 GB of 24 GB END: time limit (3600 s) CACHES: warm: a 1.7 GB pipeline journal from three earlier runs | run 2 of 2 with this recipe INSTRUMENTS: none, the D3D12 trace was off RUN run23 | 2026-12-01 01:01 UTC | aznohonza | AI-assisted BASE: as run21, same binary MACHINE: as run21 RECIPE: as run21 + LEONIDA_MEM_PROBE=30 LEONIDA_GPU_LATENCY=1 | precompile: no OS/DRIVER: as run21 HOW FAR: account picker, story load, opening sequence: one night scene drawn, then no further frame MEASURED: the first opening-sequence frame appeared at t=1151 s (19.2 min); the last present was accounted in the window ending at t=1155 s, and nothing was submitted or presented after t=1166 s for the remaining 101 min. The run built 763 graphics and 619 compute pipelines on the way (2,296 shader modules, 732 MiB SPIR-V, 45 min of vkCreate*Pipeline CPU time), and the builds ended within two minutes of the last present. One console value wait stayed unmet from t=1166 s: of 209 gates held, 192 met, 0 were released unmet (0 at a present, 0 in a cycle, 0 with the title stalled), 50,494 writes recorded and 50,408 landed. The title's main thread then held 93 % of one core, and its six to seven other active threads sat in futex waits. Cgroup memory stayed at 19-20 GB of 24 GB; no device loss | duration 7200 s END: stall: no presents and no queue calls from t=1166 s, the held wait stood 101 min, the run was left to its time limit CACHES: warm: the same 1.7 GB journal plus the previous run's overlay and saves | run 1 of 1 with these instruments INSTRUMENTS: LEONIDA_MEM_PROBE=30, LEONIDA_GPU_LATENCY=1 ``` Two more warm runs from the same overlay and journal are context, not blocks: one drew the city night street with its credits at t~1800 s, then the cgroup OOM-killed it at 22.2 GB peak; the run before it (default arenas) was OOM-killed at 22.3 GB, 21 min in. The 1024/2048 arenas are what keeps a run at 19-20 GB. The screenshots and the logs stay local. The stall is the interesting one: it starts right after the pipeline-compile burst for that scene, with every gate met except the one held, and the title waiting on it from the CPU. If this is a known case of the list-value gates (the stalled rule needs the title quiet, and here the title was quiet but a write group or a queue hold may have counted as progress), a hint on which counter to watch would let us test the next run against it. AI-assisted.
aznohonza commented 2026-12-01 03:53:52 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by aznohonza on 2026-12-01T03:53:52Z.


Two more runs on the same profile, the other side of run23's stall: with the list values off, the same scene draws
further and the device is lost instead of the title waiting. One variable against run23 in both.

RUN run24 | 2026-12-01 03:08 UTC | aznohonza | AI-assisted
BASE:        as run21, same binary
MACHINE:     as run21
RECIPE:      as run23 + LEONIDA_LIST_VALUES=0 | precompile: no
OS/DRIVER:   as run21
HOW FAR:     the opening sequence's night scene, drawn further than run23 (the character turns between shots)
MEASURED:    presents continued to t=1298 s (1 per 25 s), then at t=1306.5 s vkWaitSemaphores in the fence dispatcher returned VK_ERROR_DEVICE_LOST; the runtime then made fences read UINT64_MAX and device calls return DXGI_ERROR_DEVICE_REMOVED, and at t=1314 s the title's own device-removed handler raised 0x80000003 | duration 1314 s | peak cgroup memory 18.9 GB of 24 GB
END:         device lost (the title's device-removed handler)
CACHES:      warm: the same journal, run23's overlay and saves | run 1 of 1 in this pair
INSTRUMENTS: LEONIDA_MEM_PROBE=30, LEONIDA_GPU_LATENCY=1, no fault report

RUN run25 | 2026-12-01 03:32 UTC | aznohonza | AI-assisted
BASE:        as run21, same binary
MACHINE:     as run21
RECIPE:      as run24 + LEONIDA_DEVICE_FAULT=1 | precompile: no
OS/DRIVER:   as run21
HOW FAR:     the same night scene
MEASURED:    at t=1152 s vkQueueSubmit returned VK_ERROR_DEVICE_LOST, with the submit lock held for 27.5 s; vkWaitSemaphores then returned it too, and the title's handler raised 0x80000003 at t=1158 s. The fault report named five compute queues with work in flight (library and upscaler dispatch sets) and gave no address: the driver's vendor binary was 0 bytes and its description empty, as for the device loss this file already lists | duration 1158 s | peak cgroup memory 23.6 GB of 24 GB
END:         device lost (the title's device-removed handler)
CACHES:      warm: the same journal, run24's overlay and saves | run 1 of 1 in this pair
INSTRUMENTS: LEONIDA_MEM_PROBE=30, LEONIDA_GPU_LATENCY=1, LEONIDA_DEVICE_FAULT=1

So on this card the same scene has two ends: run23 waits in one held console value for 101 minutes (gates on), and
runs 24/25 lose the device 8-40 s after the same kind of frame (gates off). Both runs 24 and 25 were also close to
their host-memory limits when it happened (23.6 GB of 24 GB in run25), and the earlier runs spilled VRAM to host
memory once the 12 GB card was full, so host-memory pressure and the device loss may be connected; the fault report
gives no address to say so on its own. Cache files, overlay, saves and screenshots stay local.

AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7300173397 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7300173397). Originally posted by [aznohonza](https://github.com/aznohonza) on 2026-12-01T03:53:52Z. --- Two more runs on the same profile, the other side of run23's stall: with the list values off, the same scene draws further and the device is lost instead of the title waiting. One variable against run23 in both. ``` RUN run24 | 2026-12-01 03:08 UTC | aznohonza | AI-assisted BASE: as run21, same binary MACHINE: as run21 RECIPE: as run23 + LEONIDA_LIST_VALUES=0 | precompile: no OS/DRIVER: as run21 HOW FAR: the opening sequence's night scene, drawn further than run23 (the character turns between shots) MEASURED: presents continued to t=1298 s (1 per 25 s), then at t=1306.5 s vkWaitSemaphores in the fence dispatcher returned VK_ERROR_DEVICE_LOST; the runtime then made fences read UINT64_MAX and device calls return DXGI_ERROR_DEVICE_REMOVED, and at t=1314 s the title's own device-removed handler raised 0x80000003 | duration 1314 s | peak cgroup memory 18.9 GB of 24 GB END: device lost (the title's device-removed handler) CACHES: warm: the same journal, run23's overlay and saves | run 1 of 1 in this pair INSTRUMENTS: LEONIDA_MEM_PROBE=30, LEONIDA_GPU_LATENCY=1, no fault report RUN run25 | 2026-12-01 03:32 UTC | aznohonza | AI-assisted BASE: as run21, same binary MACHINE: as run21 RECIPE: as run24 + LEONIDA_DEVICE_FAULT=1 | precompile: no OS/DRIVER: as run21 HOW FAR: the same night scene MEASURED: at t=1152 s vkQueueSubmit returned VK_ERROR_DEVICE_LOST, with the submit lock held for 27.5 s; vkWaitSemaphores then returned it too, and the title's handler raised 0x80000003 at t=1158 s. The fault report named five compute queues with work in flight (library and upscaler dispatch sets) and gave no address: the driver's vendor binary was 0 bytes and its description empty, as for the device loss this file already lists | duration 1158 s | peak cgroup memory 23.6 GB of 24 GB END: device lost (the title's device-removed handler) CACHES: warm: the same journal, run24's overlay and saves | run 1 of 1 in this pair INSTRUMENTS: LEONIDA_MEM_PROBE=30, LEONIDA_GPU_LATENCY=1, LEONIDA_DEVICE_FAULT=1 ``` So on this card the same scene has two ends: run23 waits in one held console value for 101 minutes (gates on), and runs 24/25 lose the device 8-40 s after the same kind of frame (gates off). Both runs 24 and 25 were also close to their host-memory limits when it happened (23.6 GB of 24 GB in run25), and the earlier runs spilled VRAM to host memory once the 12 GB card was full, so host-memory pressure and the device loss may be connected; the fault report gives no address to say so on its own. Cache files, overlay, saves and screenshots stay local. AI-assisted.
lixonik commented 2026-12-01 04:13:22 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by lixonik on 2026-12-01T04:13:22Z.


### Step 1: Baselines on main (a596adfac) -- Windows 10 + NVIDIA RTX 5070 12 GB (driver 621.40)

D3D12 runtime (d3d12/, diag build with diagnostics,dlss,mimalloc, DLSS v310.9.16, Streamline v2.14.16)

RUN d3d12-main-cold | 2026-12-01 UTC | lixonik | AI-assisted: Antigravity
BASE:        a596adfac (main) | shaders: cold precompile (25,687 translated, 202 untranslated, 133 s)
MACHINE:     NVIDIA GeForce RTX 5070, 12 GB, desktop | 621.40 | Windows 10 Pro 22H2 (build 19045) | 64 GiB RAM | Ryzen 9 5950X
RECIPE:      documented (scripts/play-d3d12.ps1 -SeriesS -NoFrameGen) + DEVIATIONS: none | precompile: yes (cold driver 621.40 DXCache: 3,209 pipelines in 371 s, 0 failed; median 669.0 ms, p90 6050.4 ms)
OS/DRIVER:   TdrDelay=default (Windows 10 D3D12 Agility SDK)
TARGET:      cold cache precompile and boot on fresh driver 621.40 | PREDICTED (written before the run): clean precompile and boot to menu
MEASURED:    menu (45 frame lines, 0 world draws because no input sent): 60.0 fps (16.7 ms/frame), 0 errors, 0 device lost | duration 240 s run (+ 505.6 s cold precompile)
END:         time limit (240 s)
CACHES:      cold: freshly updated NVIDIA 621.40 DXCache | RUN 1 of 2
INSTRUMENTS: standard diag log, d3d12_run_fps.py
VERDICT:     prediction held
RUN d3d12-main-warm | 2026-12-01 UTC | lixonik | AI-assisted: Antigravity
BASE:        a596adfac (main) | shaders: warm cache (25,687 translated, 202 untranslated)
MACHINE:     NVIDIA GeForce RTX 5070, 12 GB, desktop | 621.40 | Windows 10 Pro 22H2 (build 19045) | 64 GiB RAM | Ryzen 9 5950X
RECIPE:      documented (scripts/play-d3d12.ps1 -SeriesS -NoFrameGen) + DEVIATIONS: LEONIDA_KEYS_FILE (menu enter only) | precompile: yes (warm, 3 s)
OS/DRIVER:   TdrDelay=default (Windows 10 D3D12 Agility SDK)
TARGET:      warm Series S play baseline on RTX 5070 | PREDICTED (written before the run): CPU-bound play ~25-35 fps, 0 errors
MEASURED:    play (17 world samples, max 2,270 draws): median 33.4 fps (p10 27.4, p90 40.7), 29.9 ms/frame (preparing 22.0 ms, copies 8.5 ms / 29.1 MB, textures 0.4 ms / 1.2 MB, gpu_wait 0.0 ms, copy_back 6.1 ms / 0.6 MB, 1241 draws); buckets: 1000-2999 33.4 fps (17); DLSS 720p->1080p active; 0 errors, 0 device lost | duration 316.1 s (90 s in world)
END:         time limit (90 s in world)
CACHES:      warm: shader cache + host pipeline library (250.4 MB) + NVIDIA DXCache | RUN 2 of 2
INSTRUMENTS: standard diag log, d3d12_run_fps.py
VERDICT:     prediction held (Series S is CPU-bound on RTX 5070, gpu_wait 0.0 ms)

Vulkan runtime (runtime/, post-#2566 check on Windows 10 + NVIDIA RTX 5070 12 GB)

RUN vk-main-cold | 2026-12-01 UTC | lixonik | AI-assisted: Antigravity
BASE:        a596adfac (main, includes #2566) | shaders: make_game.py --stages shaders --wave64-emulate auto (--wave64-emulate --no-ftz32, llvm-mc 21.1.8; 29,280 SPIR-V modules)
MACHINE:     NVIDIA GeForce RTX 5070, 12 GB, desktop | 621.40 | Windows 10 Pro 22H2 (build 19045) | 64 GiB RAM | Ryzen 9 5950X
RECIPE:      documented (docs/running.md "Windows, NVIDIA" + recommended vars) + DEVIATIONS: LEONIDA_SDL3=OFF, LEONIDA_ARENA_MB=4095, LEONIDA_SUBMIT_ASYNC=4, LEONIDA_ASYNC_PIPELINES=1, LEONIDA_ASYNC_MIN_BYTES=2097152, LEONIDA_ASYNC_MIN_BYTES_GRAPHICS=0, LEONIDA_RT_AS=off, LEONIDA_DEVICE_FAULT=2, LEONIDA_SKIP_INT3=1 | precompile: no (cold pso dir)
OS/DRIVER:   TdrDelay=default, no Resizable BAR
TARGET:      post-#2566 cold Vulkan boot on Windows NVIDIA 12 GB | PREDICTED (written before the run): non-sparse fallback on memoryTypeBits=0x2; may hit 30 s watchdog without KICK during cold 4 GiB init
MEASURED:    pre-UI device init: adaptive compile gate calibrated in 0.5 s on 621.40; non-sparse fallback selected cleanly (memoryTypeBits=0x2, page mirror off, 0 device lost); title hang watchdog fired at t=31.7 s (0xc0000005 write to 0x0, no KICK set) during 29,280-shader + 4,095 MiB arena init | duration 110.4 s
END:         watchdog exit (t=31.7 s)
CACHES:      cold: empty pso dir | RUN 1 of 2
INSTRUMENTS: runtime stderr log + startup trace
VERDICT:     prediction held
RUN vk-main-warm | 2026-12-01 UTC | lixonik | AI-assisted: Antigravity
BASE:        a596adfac (main, includes #2566) | shaders: same (29,280 SPIR-V modules)
MACHINE:     NVIDIA GeForce RTX 5070, 12 GB, desktop | 621.40 | Windows 10 Pro 22H2 (build 19045) | 64 GiB RAM | Ryzen 9 5950X
RECIPE:      same as vk-main-cold + DEVIATIONS: LEONIDA_DEVICE_TYPE=6, LEONIDA_ARENA_MB=1024 | precompile: no (warm pso dir)
OS/DRIVER:   TdrDelay=default, no Resizable BAR
TARGET:      post-#2566 warm Vulkan boot on Windows NVIDIA 12 GB | PREDICTED (written before the run): completes init under 30 s and reaches first-run UI / menu with 0 faults
MEASURED:    first-run UI / menu (120 s): 22.1 -> 123.1 -> 92.3 fps across 10 s submit windows, 62,392 list writes (62,385 landed, 0 failed), 9,324 waits met, arena peak 506.9 / 1,024.0 MiB (non-sparse fallback, memoryTypeBits=0x2, page mirror off), bindless 3,678 / 32,768 slots, 0 device lost | duration 123.3 s
END:         time limit (120 s)
CACHES:      warm: pso dir | RUN 2 of 2
INSTRUMENTS: runtime stderr log
VERDICT:     prediction held (clean post-#2566 fallback on Windows NVIDIA 12 GB, 0 faults)

Step 2: Pull request A/B test summaries (all on RTX 5070 12 GB, driver 621.40, base a596adfac)

  • tested: #2643 on RTX 5070 12 GB, better: play 0.2 fps (5391 ms, stuck at 13 arenas) / play 9.8 & 9.6 fps (101.8 & 104.0 ms, 20 arenas, RT + DLSS FG 2x, +5700% in 3000-4999 draws) (full RUN blocks)
  • tested: #2699 on RTX 5070 12 GB, better (provisional n=2 pairs, LEONIDA_RELAY=1 + LEONIDA_LAND=1): play 29.1 & 21.6 fps (34.4 & 46.1 ms) / play 39.5 & 22.9 fps (25.4 & 43.5 ms, faster in 3/3 compared draw buckets, 0 errors) (full RUN blocks)
  • tested: #2688 on RTX 5070 12 GB, same (provisional n=2 BAAB pairs, Series X rebuilt shader cache, CPU-bound gpu_wait 0.1-0.2 ms): play 20.4 & 18.8 fps (49.1 & 53.5 ms) / play 18.5 & 20.2 fps (54.4 & 49.6 ms); better cold driver PSO compile (371 s -> 328 s, median 669 -> 515 ms, 0 translation regressions) (full RUN blocks)
  • tested: #2645 on RTX 5070 12 GB, same (boot + VVL/sync GPU tile tests on 621.40): first-run UI / menu 120 s (0 faults) / first-run UI / menu 120 s (0 faults; UpdateTileMappings not invoked during menu boot; buffer & texture tile tests 2/2 passed with VVL+sync) ([full RUN blocks](https://github.com/ProjectLeonida/mandy/pull/2645#issuecomment-7300505026))

AI-assisted: Antigravity.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7300505651 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7300505651). Originally posted by [lixonik](https://github.com/lixonik) on 2026-12-01T04:13:22Z. --- ### Step 1: Baselines on `main` (`a596adfac`) -- Windows 10 + NVIDIA RTX 5070 12 GB (driver 621.40) #### D3D12 runtime (`d3d12/`, `diag` build with `diagnostics,dlss,mimalloc`, DLSS v310.9.16, Streamline v2.14.16) ```text RUN d3d12-main-cold | 2026-12-01 UTC | lixonik | AI-assisted: Antigravity BASE: a596adfac (main) | shaders: cold precompile (25,687 translated, 202 untranslated, 133 s) MACHINE: NVIDIA GeForce RTX 5070, 12 GB, desktop | 621.40 | Windows 10 Pro 22H2 (build 19045) | 64 GiB RAM | Ryzen 9 5950X RECIPE: documented (scripts/play-d3d12.ps1 -SeriesS -NoFrameGen) + DEVIATIONS: none | precompile: yes (cold driver 621.40 DXCache: 3,209 pipelines in 371 s, 0 failed; median 669.0 ms, p90 6050.4 ms) OS/DRIVER: TdrDelay=default (Windows 10 D3D12 Agility SDK) TARGET: cold cache precompile and boot on fresh driver 621.40 | PREDICTED (written before the run): clean precompile and boot to menu MEASURED: menu (45 frame lines, 0 world draws because no input sent): 60.0 fps (16.7 ms/frame), 0 errors, 0 device lost | duration 240 s run (+ 505.6 s cold precompile) END: time limit (240 s) CACHES: cold: freshly updated NVIDIA 621.40 DXCache | RUN 1 of 2 INSTRUMENTS: standard diag log, d3d12_run_fps.py VERDICT: prediction held ``` ```text RUN d3d12-main-warm | 2026-12-01 UTC | lixonik | AI-assisted: Antigravity BASE: a596adfac (main) | shaders: warm cache (25,687 translated, 202 untranslated) MACHINE: NVIDIA GeForce RTX 5070, 12 GB, desktop | 621.40 | Windows 10 Pro 22H2 (build 19045) | 64 GiB RAM | Ryzen 9 5950X RECIPE: documented (scripts/play-d3d12.ps1 -SeriesS -NoFrameGen) + DEVIATIONS: LEONIDA_KEYS_FILE (menu enter only) | precompile: yes (warm, 3 s) OS/DRIVER: TdrDelay=default (Windows 10 D3D12 Agility SDK) TARGET: warm Series S play baseline on RTX 5070 | PREDICTED (written before the run): CPU-bound play ~25-35 fps, 0 errors MEASURED: play (17 world samples, max 2,270 draws): median 33.4 fps (p10 27.4, p90 40.7), 29.9 ms/frame (preparing 22.0 ms, copies 8.5 ms / 29.1 MB, textures 0.4 ms / 1.2 MB, gpu_wait 0.0 ms, copy_back 6.1 ms / 0.6 MB, 1241 draws); buckets: 1000-2999 33.4 fps (17); DLSS 720p->1080p active; 0 errors, 0 device lost | duration 316.1 s (90 s in world) END: time limit (90 s in world) CACHES: warm: shader cache + host pipeline library (250.4 MB) + NVIDIA DXCache | RUN 2 of 2 INSTRUMENTS: standard diag log, d3d12_run_fps.py VERDICT: prediction held (Series S is CPU-bound on RTX 5070, gpu_wait 0.0 ms) ``` #### Vulkan runtime (`runtime/`, post-`#2566` check on Windows 10 + NVIDIA RTX 5070 12 GB) ```text RUN vk-main-cold | 2026-12-01 UTC | lixonik | AI-assisted: Antigravity BASE: a596adfac (main, includes #2566) | shaders: make_game.py --stages shaders --wave64-emulate auto (--wave64-emulate --no-ftz32, llvm-mc 21.1.8; 29,280 SPIR-V modules) MACHINE: NVIDIA GeForce RTX 5070, 12 GB, desktop | 621.40 | Windows 10 Pro 22H2 (build 19045) | 64 GiB RAM | Ryzen 9 5950X RECIPE: documented (docs/running.md "Windows, NVIDIA" + recommended vars) + DEVIATIONS: LEONIDA_SDL3=OFF, LEONIDA_ARENA_MB=4095, LEONIDA_SUBMIT_ASYNC=4, LEONIDA_ASYNC_PIPELINES=1, LEONIDA_ASYNC_MIN_BYTES=2097152, LEONIDA_ASYNC_MIN_BYTES_GRAPHICS=0, LEONIDA_RT_AS=off, LEONIDA_DEVICE_FAULT=2, LEONIDA_SKIP_INT3=1 | precompile: no (cold pso dir) OS/DRIVER: TdrDelay=default, no Resizable BAR TARGET: post-#2566 cold Vulkan boot on Windows NVIDIA 12 GB | PREDICTED (written before the run): non-sparse fallback on memoryTypeBits=0x2; may hit 30 s watchdog without KICK during cold 4 GiB init MEASURED: pre-UI device init: adaptive compile gate calibrated in 0.5 s on 621.40; non-sparse fallback selected cleanly (memoryTypeBits=0x2, page mirror off, 0 device lost); title hang watchdog fired at t=31.7 s (0xc0000005 write to 0x0, no KICK set) during 29,280-shader + 4,095 MiB arena init | duration 110.4 s END: watchdog exit (t=31.7 s) CACHES: cold: empty pso dir | RUN 1 of 2 INSTRUMENTS: runtime stderr log + startup trace VERDICT: prediction held ``` ```text RUN vk-main-warm | 2026-12-01 UTC | lixonik | AI-assisted: Antigravity BASE: a596adfac (main, includes #2566) | shaders: same (29,280 SPIR-V modules) MACHINE: NVIDIA GeForce RTX 5070, 12 GB, desktop | 621.40 | Windows 10 Pro 22H2 (build 19045) | 64 GiB RAM | Ryzen 9 5950X RECIPE: same as vk-main-cold + DEVIATIONS: LEONIDA_DEVICE_TYPE=6, LEONIDA_ARENA_MB=1024 | precompile: no (warm pso dir) OS/DRIVER: TdrDelay=default, no Resizable BAR TARGET: post-#2566 warm Vulkan boot on Windows NVIDIA 12 GB | PREDICTED (written before the run): completes init under 30 s and reaches first-run UI / menu with 0 faults MEASURED: first-run UI / menu (120 s): 22.1 -> 123.1 -> 92.3 fps across 10 s submit windows, 62,392 list writes (62,385 landed, 0 failed), 9,324 waits met, arena peak 506.9 / 1,024.0 MiB (non-sparse fallback, memoryTypeBits=0x2, page mirror off), bindless 3,678 / 32,768 slots, 0 device lost | duration 123.3 s END: time limit (120 s) CACHES: warm: pso dir | RUN 2 of 2 INSTRUMENTS: runtime stderr log VERDICT: prediction held (clean post-#2566 fallback on Windows NVIDIA 12 GB, 0 faults) ``` --- ### Step 2: Pull request A/B test summaries (all on RTX 5070 12 GB, driver 621.40, base `a596adfac`) - `tested: #2643 on RTX 5070 12 GB, better: play 0.2 fps (5391 ms, stuck at 13 arenas) / play 9.8 & 9.6 fps (101.8 & 104.0 ms, 20 arenas, RT + DLSS FG 2x, +5700% in 3000-4999 draws)` ([full RUN blocks](https://github.com/ProjectLeonida/mandy/pull/2643#issuecomment-7299691356)) - `tested: #2699 on RTX 5070 12 GB, better (provisional n=2 pairs, LEONIDA_RELAY=1 + LEONIDA_LAND=1): play 29.1 & 21.6 fps (34.4 & 46.1 ms) / play 39.5 & 22.9 fps (25.4 & 43.5 ms, faster in 3/3 compared draw buckets, 0 errors)` ([full RUN blocks](https://github.com/ProjectLeonida/mandy/pull/2699#issuecomment-7299691729)) - `tested: #2688 on RTX 5070 12 GB, same (provisional n=2 BAAB pairs, Series X rebuilt shader cache, CPU-bound gpu_wait 0.1-0.2 ms): play 20.4 & 18.8 fps (49.1 & 53.5 ms) / play 18.5 & 20.2 fps (54.4 & 49.6 ms); better cold driver PSO compile (371 s -> 328 s, median 669 -> 515 ms, 0 translation regressions)` ([full RUN blocks](https://github.com/ProjectLeonida/mandy/pull/2688#issuecomment-7299692171)) - `tested: #2645 on RTX 5070 12 GB, same (boot + VVL/sync GPU tile tests on 621.40): first-run UI / menu 120 s (0 faults) / first-run UI / menu 120 s (0 faults; UpdateTileMappings not invoked during menu boot; buffer & texture tile tests 2/2 passed with VVL+sync) ([full RUN blocks](https://github.com/ProjectLeonida/mandy/pull/2645#issuecomment-7300505026))` AI-assisted: Antigravity.
TurboTheTurtle commented 2026-12-02 20:20:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by TurboTheTurtle on 2026-12-02T20:20:34Z.


Three RUN blocks for the d3d12/ layer on an RTX 5080 desktop, driver 621.47 (the 5080 blocks above are the runtime/ path on 616.64). These are the figures pull request #3211 puts in d3d12/README.md.

RUN d3d12-5080-X-2160-dlss-1 | 2026-12-02 18:08-18:58 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next
BASE:        f37c4a87d (main) + bab734c48 (README only, #3211) | shaders: launcher precompile (-PrecompileAll), 89,852 pipelines known, 19,119 shaders
MACHINE:     NVIDIA GeForce RTX 5080, 16,303 MiB, desktop | NVIDIA 621.47 | Windows 11 | 64 GB RAM | the panel is on the iGPU (VEN_1002&DEV_13C0), so the layer needs the named adapter
RECIPE:      scripts/play-d3d12.ps1 -SeriesX -Dlss quality -FrameGen 2 -PrecompileAll -Adapter 'NVIDIA GeForce RTX 5080' -Log | DLSS at render scale 0.6667, generation 2x | precompile: yes
OS/DRIVER:   HwSchMode=2 and HwScheme=2. With HwSchMode off, sl.dlss_g is refused with eErrorOSDisabledHWS (4) and the layer prints "Disabling DLSS-G since it is not supported on current hardware"; with it on, all four plugins load and fg reports status=0. Page file: 30,000 MB stopped at commit left 0.0 GB 5 min in and died at "LLVM ERROR: out of memory"; 49,152 MB gives a ceiling of 63,080 + 49,152 = 112,232 MB and 39.8 GB left at the close
TARGET:      does the presented picture's height, not the render scale, decide whether the card's own pool fits | PREDICTED (written before run 2): the 2560x1440 present keeps the pool under its 15,209 MB budget and the share of frames over 100 ms falls
MEASURED:    presents one plane, scene=(3840, 2160, 28) | 580 frame windows over 2,973 s, 80,896 frames, 27.2 fps | median of the window medians 37.4 ms, p95 48.1, max 76.8 | 404 frames over 100 ms (0.5%), 12 over 1 s, longest 5,778 ms | card's own 15,673 MB against its 15,209 MB budget, shared with the card 13,540 MB | missing common constants on 5,833 frames (7.2%) | generation: start_gap_median_ms 18.6, p90 20.6, sim_to_present_median_ms 0.9, gpu_frame_median_ms 18.9
END:         closed by hand at 49 min 38 s, last line the layer saving its pipeline library (378,962,266 bytes, 4,096 loaded, 70 made)
CACHES:      warm: the host pipeline library and the NVIDIA DXCache (1,075 .nvph; this process 256 MB and 2,048 MB segments) | RUN 1 of 3
INSTRUMENTS: -Log; the generation bookkeeping line reads copies=300 tagged=300 missing=0 overwritten=0 composites=300 again=0 others=300 with two [3840, 2160] format=28 textures (LEONIDA_FG_HUDLESS on by default)
VERDICT:     prediction held by run 2

RUN d3d12-5080-X-1440-dlss-2 | 2026-12-02 19:12-19:16 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next
BASE:        as run 1 | shaders: as run 1, 89,852 known, 19,119 shaders
MACHINE:     as run 1
RECIPE:      as run 1 with -Dlss left out of the typed switches and d3d12/leonida-settings.txt carrying LEONIDA_UPSCALE=dlss, LEONIDA_RENDER_SCALE=0.6667, LEONIDA_FSR_UPSCALER=1, LEONIDA_OUTPUT=2560x1440 | precompile: yes
OS/DRIVER:   as run 1, page file 49,152
TARGET:      the pre-registered check of run 1's reading | PREDICTED: pool under budget, long-frame share down
MEASURED:    presents one plane, scene=(2560, 1440, 28) | 53 windows over 273 s, 8,072 frames, 29.5 fps | median of the window medians 39.9 ms, p95 47.7, max 74 | 16 frames over 100 ms (0.2%), 1 over 1 s, the 5,003.9 ms of the first stream | card's own 12,933 MB, 2,276 MB under budget, shared with the card 9,557 MB | missing common constants on 2,322 frames (28.7%) | commit left 49.2 GB
END:         closed by hand at 4 min 41 s, last line the pipeline library save
CACHES:      warm, the same library as run 1 | RUN 2 of 3
INSTRUMENTS: as run 1; 8 windows at the 60 Hz cadence
VERDICT:     prediction held - the pool stays under budget for the whole run and the share over 100 ms halves, so the present's height is what decides it

RUN d3d12-5080-X-1440-own-3 | 2026-12-02 00:13 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next
BASE:        f37c4a87d | shaders: launcher precompile
MACHINE:     as run 1, page file 30,000 at that time
RECIPE:      scripts/play-X-1440p.ps1 (Series X, -Resolution 1440, the title's own upscaler, no DLSS) -Log | precompile: yes
TARGET:      the preset row in d3d12/README.md | PREDICTED: none, first fill of that cell
MEASURED:    62 windows over 317 s, 10,195 frames, 32.2 fps | median of the window medians 31.4 ms, min 16.6, max 74.1 | 38 frames over 100 ms (0.37%), 1 over 1 s, 3,419 ms | card's own 13,899 MB of 15,209
END:         the title's breakpad minidump at frame 9,679 (TileHeap used 4,336 of 6,236 Mb, every pool under cap) with commit left 0.0 GB on the 30,000 page file
CACHES:      warm | RUN 3 of 3
INSTRUMENTS: -Log
VERDICT:     about 32 fps for the 1440p preset on this card; the early stop is the page file, not the layer

One reading that is not in the table above: with -Dlss typed, the four LEONIDA_* values in d3d12/leonida-settings.txt are dropped, because the switch claims LEONIDA_RENDER_SCALE, LEONIDA_UPSCALE, LEONIDA_OWN_UPSCALER and LEONIDA_OUTPUT ($switchSettings); -FrameGen 2 alone keeps $wantDlss true, so the menu file is what carries the 2560x1440 present in run 2. No game files attached; the counts are the layer's own log lines.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7357585996 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7357585996). Originally posted by [TurboTheTurtle](https://github.com/TurboTheTurtle) on 2026-12-02T20:20:34Z. --- Three `RUN` blocks for the `d3d12/` layer on an RTX 5080 desktop, driver 621.47 (the 5080 blocks above are the `runtime/` path on 616.64). These are the figures pull request #3211 puts in `d3d12/README.md`. ```text RUN d3d12-5080-X-2160-dlss-1 | 2026-12-02 18:08-18:58 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next BASE: f37c4a87d (main) + bab734c48 (README only, #3211) | shaders: launcher precompile (-PrecompileAll), 89,852 pipelines known, 19,119 shaders MACHINE: NVIDIA GeForce RTX 5080, 16,303 MiB, desktop | NVIDIA 621.47 | Windows 11 | 64 GB RAM | the panel is on the iGPU (VEN_1002&DEV_13C0), so the layer needs the named adapter RECIPE: scripts/play-d3d12.ps1 -SeriesX -Dlss quality -FrameGen 2 -PrecompileAll -Adapter 'NVIDIA GeForce RTX 5080' -Log | DLSS at render scale 0.6667, generation 2x | precompile: yes OS/DRIVER: HwSchMode=2 and HwScheme=2. With HwSchMode off, sl.dlss_g is refused with eErrorOSDisabledHWS (4) and the layer prints "Disabling DLSS-G since it is not supported on current hardware"; with it on, all four plugins load and fg reports status=0. Page file: 30,000 MB stopped at commit left 0.0 GB 5 min in and died at "LLVM ERROR: out of memory"; 49,152 MB gives a ceiling of 63,080 + 49,152 = 112,232 MB and 39.8 GB left at the close TARGET: does the presented picture's height, not the render scale, decide whether the card's own pool fits | PREDICTED (written before run 2): the 2560x1440 present keeps the pool under its 15,209 MB budget and the share of frames over 100 ms falls MEASURED: presents one plane, scene=(3840, 2160, 28) | 580 frame windows over 2,973 s, 80,896 frames, 27.2 fps | median of the window medians 37.4 ms, p95 48.1, max 76.8 | 404 frames over 100 ms (0.5%), 12 over 1 s, longest 5,778 ms | card's own 15,673 MB against its 15,209 MB budget, shared with the card 13,540 MB | missing common constants on 5,833 frames (7.2%) | generation: start_gap_median_ms 18.6, p90 20.6, sim_to_present_median_ms 0.9, gpu_frame_median_ms 18.9 END: closed by hand at 49 min 38 s, last line the layer saving its pipeline library (378,962,266 bytes, 4,096 loaded, 70 made) CACHES: warm: the host pipeline library and the NVIDIA DXCache (1,075 .nvph; this process 256 MB and 2,048 MB segments) | RUN 1 of 3 INSTRUMENTS: -Log; the generation bookkeeping line reads copies=300 tagged=300 missing=0 overwritten=0 composites=300 again=0 others=300 with two [3840, 2160] format=28 textures (LEONIDA_FG_HUDLESS on by default) VERDICT: prediction held by run 2 RUN d3d12-5080-X-1440-dlss-2 | 2026-12-02 19:12-19:16 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next BASE: as run 1 | shaders: as run 1, 89,852 known, 19,119 shaders MACHINE: as run 1 RECIPE: as run 1 with -Dlss left out of the typed switches and d3d12/leonida-settings.txt carrying LEONIDA_UPSCALE=dlss, LEONIDA_RENDER_SCALE=0.6667, LEONIDA_FSR_UPSCALER=1, LEONIDA_OUTPUT=2560x1440 | precompile: yes OS/DRIVER: as run 1, page file 49,152 TARGET: the pre-registered check of run 1's reading | PREDICTED: pool under budget, long-frame share down MEASURED: presents one plane, scene=(2560, 1440, 28) | 53 windows over 273 s, 8,072 frames, 29.5 fps | median of the window medians 39.9 ms, p95 47.7, max 74 | 16 frames over 100 ms (0.2%), 1 over 1 s, the 5,003.9 ms of the first stream | card's own 12,933 MB, 2,276 MB under budget, shared with the card 9,557 MB | missing common constants on 2,322 frames (28.7%) | commit left 49.2 GB END: closed by hand at 4 min 41 s, last line the pipeline library save CACHES: warm, the same library as run 1 | RUN 2 of 3 INSTRUMENTS: as run 1; 8 windows at the 60 Hz cadence VERDICT: prediction held - the pool stays under budget for the whole run and the share over 100 ms halves, so the present's height is what decides it RUN d3d12-5080-X-1440-own-3 | 2026-12-02 00:13 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next BASE: f37c4a87d | shaders: launcher precompile MACHINE: as run 1, page file 30,000 at that time RECIPE: scripts/play-X-1440p.ps1 (Series X, -Resolution 1440, the title's own upscaler, no DLSS) -Log | precompile: yes TARGET: the preset row in d3d12/README.md | PREDICTED: none, first fill of that cell MEASURED: 62 windows over 317 s, 10,195 frames, 32.2 fps | median of the window medians 31.4 ms, min 16.6, max 74.1 | 38 frames over 100 ms (0.37%), 1 over 1 s, 3,419 ms | card's own 13,899 MB of 15,209 END: the title's breakpad minidump at frame 9,679 (TileHeap used 4,336 of 6,236 Mb, every pool under cap) with commit left 0.0 GB on the 30,000 page file CACHES: warm | RUN 3 of 3 INSTRUMENTS: -Log VERDICT: about 32 fps for the 1440p preset on this card; the early stop is the page file, not the layer ``` One reading that is not in the table above: with `-Dlss` typed, the four `LEONIDA_*` values in `d3d12/leonida-settings.txt` are dropped, because the switch claims `LEONIDA_RENDER_SCALE`, `LEONIDA_UPSCALE`, `LEONIDA_OWN_UPSCALER` and `LEONIDA_OUTPUT` (`$switchSettings`); `-FrameGen 2` alone keeps `$wantDlss` true, so the menu file is what carries the 2560x1440 present in run 2. No game files attached; the counts are the layer's own log lines.
TurboTheTurtle commented 2026-12-02 21:05:21 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by TurboTheTurtle on 2026-12-02T21:05:21Z.


Three more RUN blocks for the same machine, the remaining preset rows (this is the second half of the 5080 set above; the pull request now carries five cells in d3d12/README.md).

RUN d3d12-5080-S-720-1 | 2026-12-02 20:47 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next
BASE:        f37c4a87d (main) | shaders: launcher precompile, then 60,680 pipelines known and 8,634 shaders in the Series S book
MACHINE:     NVIDIA GeForce RTX 5080, 16,303 MiB, desktop | NVIDIA 621.47 | Windows 11 | 64 GB RAM, page file 49,152, HwSchMode=2
RECIPE:      d3d12/scripts/play-S-720p.ps1 -Exe <game_scarlett_master.exe> -PrecompileAll -Adapter 'NVIDIA GeForce RTX 5080' -Log | the title's own upscaler, no DLSS | precompile: yes
TARGET:      the play-S-720p.ps1 cell | PREDICTED: nothing pre-registered, first fill
MEASURED:    presents one plane, scene=(1920, 1080, 28) | start 1: 15 windows over 78 s, 2,073 frames, 26.6 fps, median of the window medians 35.7 ms (min 35.7, max 72.1), 0 frames over 100 ms | start 2: 17 windows over 88 s, 2,369 frames, 26.9 fps, median of the medians 35.7 ms, 0 over 100 ms | card's own 1,788 and 1,724 MB | LEONIDA_RENDER_SCALE=0.6667, LEONIDA_FRAME_GEN=2, LEONIDA_FG_LIMIT_FPS=28
END:         closed by hand after the two windows, no device loss
CACHES:      warm: the NVIDIA DXCache and the pipeline book | RUN 1 of 2 for this preset
INSTRUMENTS: -Log; the generation bookkeeping line, copies tagged with no missing tag
VERDICT:     about 27 fps shown on the Series S 720p preset

RUN d3d12-5080-S-480-2 | 2026-12-02 20:56 and 21:01 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next
BASE:        as run 4 | shaders: as run 4
MACHINE:     as run 4
RECIPE:      d3d12/scripts/play-S-480p.ps1, the same switches | the title's own upscaler | precompile: yes
TARGET:      the play-S-480p.ps1 cell | PREDICTED: the same as 720p if the cap holds
MEASURED:    scene=(1920, 1080, 28) | start 1: 17 windows over 88 s, 2,366 frames, 26.9 fps, median of the medians 35.7 ms, 0 over 100 ms | start 2: 17 windows over 88 s, 2,368 frames, 26.9 fps, 0 over 100 ms | card's own 1,692 and 1,756 MB | LEONIDA_RENDER_SCALE=0.4444
END:         closed by hand, no device loss
CACHES:      warm | RUN 2 of 2 for this preset
INSTRUMENTS: as run 4
VERDICT:     prediction held - 480p gives the same frame time as 720p, so the 28 fps generation cap and the submit thread set it

RUN d3d12-5080-X-720-3 | 2026-12-02 20:57 and 21:02 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next
BASE:        as run 4 | shaders: as run 4
MACHINE:     as run 4
RECIPE:      d3d12/scripts/play-X-720p.ps1, the same switches | Series X, the title's own upscaler | precompile: yes
TARGET:      the play-X-720p.ps1 cell | PREDICTED: between the Series X 1080p baseline (about 7 fps) and 1440p
MEASURED:    scene=(2560, 1440, 28) | start 1: 17 windows over 88 s, 2,367 frames, 26.8 fps, median of the medians 35.7 ms, 0 over 100 ms | start 2: 17 windows over 88 s, 2,366 frames, 26.8 fps, 0 over 100 ms | card's own 1,814 and 1,878 MB | LEONIDA_RENDER_SCALE=0.5
END:         closed by hand, no device loss
CACHES:      warm | RUN 3 of 3 for this set
INSTRUMENTS: as run 4
VERDICT:     about 27 fps shown, four times the 1080p baseline's 7 fps, because the generation cap is what is reached here

Read together, the six blocks say the preset table's Series X numbers split by upscaler path rather than by height: the DLSS path runs at its own pace (27.2 fps at the 4K present, 29.5 at 1440p), while the title's-upscaler presets all sit on the 28 fps generation cap, 35.7 ms, with the card's own pool between 1.7 and 1.9 GB and no frame over 100 ms. No game files attached; the counts are the layer's own log lines.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7358773081 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7358773081). Originally posted by [TurboTheTurtle](https://github.com/TurboTheTurtle) on 2026-12-02T21:05:21Z. --- Three more `RUN` blocks for the same machine, the remaining preset rows (this is the second half of the 5080 set above; the pull request now carries five cells in `d3d12/README.md`). ```text RUN d3d12-5080-S-720-1 | 2026-12-02 20:47 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next BASE: f37c4a87d (main) | shaders: launcher precompile, then 60,680 pipelines known and 8,634 shaders in the Series S book MACHINE: NVIDIA GeForce RTX 5080, 16,303 MiB, desktop | NVIDIA 621.47 | Windows 11 | 64 GB RAM, page file 49,152, HwSchMode=2 RECIPE: d3d12/scripts/play-S-720p.ps1 -Exe <game_scarlett_master.exe> -PrecompileAll -Adapter 'NVIDIA GeForce RTX 5080' -Log | the title's own upscaler, no DLSS | precompile: yes TARGET: the play-S-720p.ps1 cell | PREDICTED: nothing pre-registered, first fill MEASURED: presents one plane, scene=(1920, 1080, 28) | start 1: 15 windows over 78 s, 2,073 frames, 26.6 fps, median of the window medians 35.7 ms (min 35.7, max 72.1), 0 frames over 100 ms | start 2: 17 windows over 88 s, 2,369 frames, 26.9 fps, median of the medians 35.7 ms, 0 over 100 ms | card's own 1,788 and 1,724 MB | LEONIDA_RENDER_SCALE=0.6667, LEONIDA_FRAME_GEN=2, LEONIDA_FG_LIMIT_FPS=28 END: closed by hand after the two windows, no device loss CACHES: warm: the NVIDIA DXCache and the pipeline book | RUN 1 of 2 for this preset INSTRUMENTS: -Log; the generation bookkeeping line, copies tagged with no missing tag VERDICT: about 27 fps shown on the Series S 720p preset RUN d3d12-5080-S-480-2 | 2026-12-02 20:56 and 21:01 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next BASE: as run 4 | shaders: as run 4 MACHINE: as run 4 RECIPE: d3d12/scripts/play-S-480p.ps1, the same switches | the title's own upscaler | precompile: yes TARGET: the play-S-480p.ps1 cell | PREDICTED: the same as 720p if the cap holds MEASURED: scene=(1920, 1080, 28) | start 1: 17 windows over 88 s, 2,366 frames, 26.9 fps, median of the medians 35.7 ms, 0 over 100 ms | start 2: 17 windows over 88 s, 2,368 frames, 26.9 fps, 0 over 100 ms | card's own 1,692 and 1,756 MB | LEONIDA_RENDER_SCALE=0.4444 END: closed by hand, no device loss CACHES: warm | RUN 2 of 2 for this preset INSTRUMENTS: as run 4 VERDICT: prediction held - 480p gives the same frame time as 720p, so the 28 fps generation cap and the submit thread set it RUN d3d12-5080-X-720-3 | 2026-12-02 20:57 and 21:02 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next BASE: as run 4 | shaders: as run 4 MACHINE: as run 4 RECIPE: d3d12/scripts/play-X-720p.ps1, the same switches | Series X, the title's own upscaler | precompile: yes TARGET: the play-X-720p.ps1 cell | PREDICTED: between the Series X 1080p baseline (about 7 fps) and 1440p MEASURED: scene=(2560, 1440, 28) | start 1: 17 windows over 88 s, 2,367 frames, 26.8 fps, median of the medians 35.7 ms, 0 over 100 ms | start 2: 17 windows over 88 s, 2,366 frames, 26.8 fps, 0 over 100 ms | card's own 1,814 and 1,878 MB | LEONIDA_RENDER_SCALE=0.5 END: closed by hand, no device loss CACHES: warm | RUN 3 of 3 for this set INSTRUMENTS: as run 4 VERDICT: about 27 fps shown, four times the 1080p baseline's 7 fps, because the generation cap is what is reached here ``` Read together, the six blocks say the preset table's Series X numbers split by upscaler path rather than by height: the DLSS path runs at its own pace (27.2 fps at the 4K present, 29.5 at 1440p), while the title's-upscaler presets all sit on the 28 fps generation cap, 35.7 ms, with the card's own pool between 1.7 and 1.9 GB and no frame over 100 ms. No game files attached; the counts are the layer's own log lines.
TurboTheTurtle commented 2026-12-02 21:18:56 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by TurboTheTurtle on 2026-12-02T21:18:56Z.


The last four presets, same machine and recipe as the six above, so the preset table is complete on this card.

RUN d3d12-5080-S-1080-4 | 2026-12-02 21:05 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next
BASE:        f37c4a87d | shaders: launcher precompile
MACHINE:     as the runs above (RTX 5080, 621.47, 64 GB, page file 49,152, HwSchMode=2)
RECIPE:      d3d12/scripts/play-S-1080p.ps1 -Exe <game_scarlett_master.exe> -PrecompileAll -Adapter 'NVIDIA GeForce RTX 5080' -Log | the title's own upscaler | precompile: yes
TARGET:      the play-S-1080p.ps1 cell, which only had the RTX 3060 note | PREDICTED: near the 720p start, since that one is cap-bound
MEASURED:    scene=(1920, 1080, 28) | 15 windows over 78 s, 2,071 frames, 26.6 fps | median of the window medians 35.7 ms (min 35.7, max 71.7), 0 over 100 ms | card's own 2,332 MB | LEONIDA_RENDER_SCALE=1
END:         closed by hand, no device loss | CACHES: warm | INSTRUMENTS: -Log
VERDICT:     prediction held, same cadence as 720p

RUN d3d12-5080-X-540-5 | 2026-12-02 21:07 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next
BASE/MACHINE: as the runs above
RECIPE:      d3d12/scripts/play-X-540p.ps1, the same switches | the title's own upscaler | precompile: yes
TARGET:      the play-X-540p.ps1 cell | PREDICTED: the cap again
MEASURED:    scene=(2560, 1440, 28) | 15 windows over 78 s, 2,068 frames, 26.5 fps | median of the medians 35.7 ms (min 35.7, max 71.7), 0 over 100 ms | card's own 3,191 MB | LEONIDA_RENDER_SCALE=0.375
END:         closed by hand, no device loss | CACHES: warm | INSTRUMENTS: -Log
VERDICT:     held

RUN d3d12-5080-X-480-6 | 2026-12-02 21:14 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next
BASE/MACHINE: as the runs above
RECIPE:      d3d12/scripts/play-X-480p.ps1, the same switches | precompile: yes
TARGET:      the play-X-480p.ps1 cell | PREDICTED: the cap again
MEASURED:    scene=(2560, 1440, 28) | 10 windows over 70 s, 941 frames, 13.4 fps with the boot inside the first window | median of the window medians 37.1 ms, the first window 227.1 ms and nothing over 100 ms after it | card's own 6,070 MB | LEONIDA_RENDER_SCALE=0.3333
END:         closed by hand, no device loss | CACHES: warm | INSTRUMENTS: -Log
VERDICT:     the cadence is the same as the others; the 13.4 fps average is the short window's boot, not a slower picture

RUN d3d12-5080-X-1080-1440-7 | 2026-12-02 21:17 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next
BASE/MACHINE: as the runs above
RECIPE:      d3d12/scripts/play-X-1080-1440p.ps1, the same switches | the title's own dynamic resolution between 1080 and 1440 | precompile: yes
TARGET:      the play-X-1080-1440p.ps1 cell, which only had the RTX 4060 Ti note | PREDICTED: between 1080p and 1440p, as the 4060 Ti note has it 13% ahead of 1440p
MEASURED:    scene=(2560, 1440, 28) | 15 windows over 78 s, 2,066 frames, 26.6 fps | median of the medians 35.7 ms (min 35.7, max 73.5), 0 over 100 ms | card's own 1,904 MB | the settings line carries no LEONIDA_RENDER_SCALE, as expected for the dynamic preset
END:         closed by hand, no device loss | CACHES: warm | INSTRUMENTS: -Log
VERDICT:     on this card the dynamic range matches the fixed 1440p preset's cadence, so the 13% the 4060 Ti showed is not visible at the 28 fps generation cap

All nine preset rows now carry a figure. Two readings for the table: the eight starts with a settled window all sit at the 35.7 ms cadence, so between render scale 0.3333 and 1.0 the one submit thread and the 28 fps generation cap set the frame time; and the card's own memory grows with how long the start runs rather than with the picture's height (1.7 GB at 78 s, 2.3 GB at 1080p, 6.1 GB in the 70 s 480p start, 12.9 GB in the 4 min 1440p start). No game files attached; the counts are the layer's own log lines.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7359104697 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7359104697). Originally posted by [TurboTheTurtle](https://github.com/TurboTheTurtle) on 2026-12-02T21:18:56Z. --- The last four presets, same machine and recipe as the six above, so the preset table is complete on this card. ```text RUN d3d12-5080-S-1080-4 | 2026-12-02 21:05 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next BASE: f37c4a87d | shaders: launcher precompile MACHINE: as the runs above (RTX 5080, 621.47, 64 GB, page file 49,152, HwSchMode=2) RECIPE: d3d12/scripts/play-S-1080p.ps1 -Exe <game_scarlett_master.exe> -PrecompileAll -Adapter 'NVIDIA GeForce RTX 5080' -Log | the title's own upscaler | precompile: yes TARGET: the play-S-1080p.ps1 cell, which only had the RTX 3060 note | PREDICTED: near the 720p start, since that one is cap-bound MEASURED: scene=(1920, 1080, 28) | 15 windows over 78 s, 2,071 frames, 26.6 fps | median of the window medians 35.7 ms (min 35.7, max 71.7), 0 over 100 ms | card's own 2,332 MB | LEONIDA_RENDER_SCALE=1 END: closed by hand, no device loss | CACHES: warm | INSTRUMENTS: -Log VERDICT: prediction held, same cadence as 720p RUN d3d12-5080-X-540-5 | 2026-12-02 21:07 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next BASE/MACHINE: as the runs above RECIPE: d3d12/scripts/play-X-540p.ps1, the same switches | the title's own upscaler | precompile: yes TARGET: the play-X-540p.ps1 cell | PREDICTED: the cap again MEASURED: scene=(2560, 1440, 28) | 15 windows over 78 s, 2,068 frames, 26.5 fps | median of the medians 35.7 ms (min 35.7, max 71.7), 0 over 100 ms | card's own 3,191 MB | LEONIDA_RENDER_SCALE=0.375 END: closed by hand, no device loss | CACHES: warm | INSTRUMENTS: -Log VERDICT: held RUN d3d12-5080-X-480-6 | 2026-12-02 21:14 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next BASE/MACHINE: as the runs above RECIPE: d3d12/scripts/play-X-480p.ps1, the same switches | precompile: yes TARGET: the play-X-480p.ps1 cell | PREDICTED: the cap again MEASURED: scene=(2560, 1440, 28) | 10 windows over 70 s, 941 frames, 13.4 fps with the boot inside the first window | median of the window medians 37.1 ms, the first window 227.1 ms and nothing over 100 ms after it | card's own 6,070 MB | LEONIDA_RENDER_SCALE=0.3333 END: closed by hand, no device loss | CACHES: warm | INSTRUMENTS: -Log VERDICT: the cadence is the same as the others; the 13.4 fps average is the short window's boot, not a slower picture RUN d3d12-5080-X-1080-1440-7 | 2026-12-02 21:17 UTC | TurboTheTurtle | AI-assisted: Qwen3.8-Flash-Next BASE/MACHINE: as the runs above RECIPE: d3d12/scripts/play-X-1080-1440p.ps1, the same switches | the title's own dynamic resolution between 1080 and 1440 | precompile: yes TARGET: the play-X-1080-1440p.ps1 cell, which only had the RTX 4060 Ti note | PREDICTED: between 1080p and 1440p, as the 4060 Ti note has it 13% ahead of 1440p MEASURED: scene=(2560, 1440, 28) | 15 windows over 78 s, 2,066 frames, 26.6 fps | median of the medians 35.7 ms (min 35.7, max 73.5), 0 over 100 ms | card's own 1,904 MB | the settings line carries no LEONIDA_RENDER_SCALE, as expected for the dynamic preset END: closed by hand, no device loss | CACHES: warm | INSTRUMENTS: -Log VERDICT: on this card the dynamic range matches the fixed 1440p preset's cadence, so the 13% the 4060 Ti showed is not visible at the 28 fps generation cap ``` All nine preset rows now carry a figure. Two readings for the table: the eight starts with a settled window all sit at the 35.7 ms cadence, so between render scale 0.3333 and 1.0 the one submit thread and the 28 fps generation cap set the frame time; and the card's own memory grows with how long the start runs rather than with the picture's height (1.7 GB at 78 s, 2.3 GB at 1080p, 6.1 GB in the 70 s 480p start, 12.9 GB in the 4 min 1440p start). No game files attached; the counts are the layer's own log lines.
drukqaddik commented 2026-12-03 03:19:20 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by drukqaddik on 2026-12-03T03:19:20Z.


RUN rtx4060ti-8gb-linux-guard-01 | 2026-12-03 | drukqaddik | AI-assisted: Antigravity
BASE:        b4176322 (runtime/ unchanged from 7adb42f7) + local FIFO gate-timeout prototype in d3d12_xs_list_values.h | shaders: --wave64-emulate --address-guard (29,280 total, 28,623 guarded; 2,684 library, 29 FSPX, 52 BVH, 12 exe)
MACHINE:     RTX 4060 Ti, 8 GB, desktop | NVIDIA 620.73.04 | Arch Linux (GE-Proton10-34 Wine) | 62 GiB RAM (0 swap)
RECIPE:      documented ("Linux, Wine, NVIDIA (GeForce RTX 3060 12 GB)") + DEVIATIONS: LEONIDA_DEVICE_LOCAL_ARENA=0 LEONIDA_ARENA_MB=4095 LEONIDA_GEOMETRY_MB=2048 LEONIDA_TITLE_WINDOWS_MB=4096 LEONIDA_ADDRESS_GUARD=1 LEONIDA_DEVICE_FAULT=1 LEONIDA_RT_AS=off LEONIDA_SKIP_COMPUTE=<720 library modules >= 2 MiB> LEONIDA_ASYNC_PIPELINES=0 LEONIDA_COMPUTE_WARMUP=0 LEONIDA_LIST_VALUES=1 LEONIDA_GATE_TIMEOUT_MS=30000 (local) + title watchdog disarmed locally | precompile: no (warm ~314 MB session cache, 1,996 compute journal files)
OS/DRIVER:   default (no GPU timeout change)
TARGET:      world stability on 8 GB NVIDIA Linux with --address-guard and FIFO unmet-gate timeout | PREDICTED: fewer VK_ERROR_DEVICE_LOST faults and no indefinite list-value gate deadlock
MEASURED:    menus 29-30 fps; world phase reached in ~160 s warm; with library-only --address-guard: 794,399 unbacked accesses refused across 321 table updates before VK_ERROR_DEVICE_LOST on an unguarded graphics draw; with full --address-guard (all 29,280 modules): 116 slow guarded builds compiled (353 MB heavy cache) over 640+ s with 0 VK_ERROR_DEVICE_LOST so far
END:         library-only run: device lost; full-guard run: still compiling guarded world pipelines at 640 s
CACHES:      warm (session + heavy + compute journal) | RUN 1 of 1 per guard scope
INSTRUMENTS: LEONIDA_DEVICE_FAULT=1 (fault info + NVIDIA checkpoints)
VERDICT:     prediction held for compute faults (794,399 refusals deflected) and FIFO gate timeout (0 backwards timeline signals); full-guard world-frame verdict pending completion of guarded pipeline compiles
AGENT-MSG | 2026-12-03 03:20 UTC | drukqaddik | AI-assisted: Antigravity
BASE:     b4176322 + local FIFO per-queue unmet-gate timeout in runtime/shims/d3d12_xs_list_values.h (choose_release)
MACHINE:  RTX 4060 Ti 8 GB desktop | NVIDIA 620.73.04 | Arch Linux (Wine) | 62 GiB RAM
RECIPE:   documented (running.md, "Linux, Wine, NVIDIA (GeForce RTX 3060 12 GB)") + DEVIATIONS: LEONIDA_DEVICE_LOCAL_ARENA=0 LEONIDA_ARENA_MB=4095 LEONIDA_ADDRESS_GUARD=1 LEONIDA_DEVICE_FAULT=1 LEONIDA_RT_AS=off LEONIDA_GATE_TIMEOUT_MS=30000
ASK:      Sharing 8 GB NVIDIA Linux Vulkan measurements for --address-guard, host-RAM arena sizing, and a FIFO unmet-gate timeout; happy to open a PR for the FIFO gate-timeout option if useful.
RETURNED:
  1. 8 GB VRAM arena: LEONIDA_DEVICE_LOCAL_ARENA=0 with LEONIDA_ARENA_MB=4095 eliminated arena-full spills (peak live 985 MiB / 4095 MiB) and kept VRAM under pressure without arena allocation failures.
  2. --address-guard + LEONIDA_ADDRESS_GUARD=1 on NVIDIA 620.73.04: works and actively blocks unbacked GPU memory accesses (794,399 refused in a single world-load run with library-only guarding). Unguarded graphics/mesh draws still caused VK_ERROR_DEVICE_LOST until the full 29,280-module corpus was re-translated with --address-guard.
  3. Unmet list-value gate deadlock (same symptom as the RTX 3060 101-min hang in running.md): with LEONIDA_LIST_VALUES=1, a held gate stayed stuck for 32+ min with 0 released unmet because choose_release() returned early before evaluating unmet release. Releasing any arbitrary oldest gate caused backwards Vulkan timeline semaphore warnings, whereas restricting timeout release strictly to the front-most (FIFO) non-action gate per queue unblocked the hang cleanly (15-34 unmet gates released in order, 0 backwards timeline warnings) and progressed from world start into terrain/foliage and minimap rendering.
RUNS:     6
EVIDENCE: MEASURED (arena peak, 794,399 address-guard refusals, 32+ min unmet-gate hang, 0 backwards timeline warnings with FIFO per-queue release, menus 30 fps, terrain/foliage/minimap visible) | READ IN CODE (choose_release early return in d3d12_xs_list_values.h)
<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7366439284 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7366439284). Originally posted by [drukqaddik](https://github.com/drukqaddik) on 2026-12-03T03:19:20Z. --- ``` RUN rtx4060ti-8gb-linux-guard-01 | 2026-12-03 | drukqaddik | AI-assisted: Antigravity BASE: b4176322 (runtime/ unchanged from 7adb42f7) + local FIFO gate-timeout prototype in d3d12_xs_list_values.h | shaders: --wave64-emulate --address-guard (29,280 total, 28,623 guarded; 2,684 library, 29 FSPX, 52 BVH, 12 exe) MACHINE: RTX 4060 Ti, 8 GB, desktop | NVIDIA 620.73.04 | Arch Linux (GE-Proton10-34 Wine) | 62 GiB RAM (0 swap) RECIPE: documented ("Linux, Wine, NVIDIA (GeForce RTX 3060 12 GB)") + DEVIATIONS: LEONIDA_DEVICE_LOCAL_ARENA=0 LEONIDA_ARENA_MB=4095 LEONIDA_GEOMETRY_MB=2048 LEONIDA_TITLE_WINDOWS_MB=4096 LEONIDA_ADDRESS_GUARD=1 LEONIDA_DEVICE_FAULT=1 LEONIDA_RT_AS=off LEONIDA_SKIP_COMPUTE=<720 library modules >= 2 MiB> LEONIDA_ASYNC_PIPELINES=0 LEONIDA_COMPUTE_WARMUP=0 LEONIDA_LIST_VALUES=1 LEONIDA_GATE_TIMEOUT_MS=30000 (local) + title watchdog disarmed locally | precompile: no (warm ~314 MB session cache, 1,996 compute journal files) OS/DRIVER: default (no GPU timeout change) TARGET: world stability on 8 GB NVIDIA Linux with --address-guard and FIFO unmet-gate timeout | PREDICTED: fewer VK_ERROR_DEVICE_LOST faults and no indefinite list-value gate deadlock MEASURED: menus 29-30 fps; world phase reached in ~160 s warm; with library-only --address-guard: 794,399 unbacked accesses refused across 321 table updates before VK_ERROR_DEVICE_LOST on an unguarded graphics draw; with full --address-guard (all 29,280 modules): 116 slow guarded builds compiled (353 MB heavy cache) over 640+ s with 0 VK_ERROR_DEVICE_LOST so far END: library-only run: device lost; full-guard run: still compiling guarded world pipelines at 640 s CACHES: warm (session + heavy + compute journal) | RUN 1 of 1 per guard scope INSTRUMENTS: LEONIDA_DEVICE_FAULT=1 (fault info + NVIDIA checkpoints) VERDICT: prediction held for compute faults (794,399 refusals deflected) and FIFO gate timeout (0 backwards timeline signals); full-guard world-frame verdict pending completion of guarded pipeline compiles ``` ``` AGENT-MSG | 2026-12-03 03:20 UTC | drukqaddik | AI-assisted: Antigravity BASE: b4176322 + local FIFO per-queue unmet-gate timeout in runtime/shims/d3d12_xs_list_values.h (choose_release) MACHINE: RTX 4060 Ti 8 GB desktop | NVIDIA 620.73.04 | Arch Linux (Wine) | 62 GiB RAM RECIPE: documented (running.md, "Linux, Wine, NVIDIA (GeForce RTX 3060 12 GB)") + DEVIATIONS: LEONIDA_DEVICE_LOCAL_ARENA=0 LEONIDA_ARENA_MB=4095 LEONIDA_ADDRESS_GUARD=1 LEONIDA_DEVICE_FAULT=1 LEONIDA_RT_AS=off LEONIDA_GATE_TIMEOUT_MS=30000 ASK: Sharing 8 GB NVIDIA Linux Vulkan measurements for --address-guard, host-RAM arena sizing, and a FIFO unmet-gate timeout; happy to open a PR for the FIFO gate-timeout option if useful. RETURNED: 1. 8 GB VRAM arena: LEONIDA_DEVICE_LOCAL_ARENA=0 with LEONIDA_ARENA_MB=4095 eliminated arena-full spills (peak live 985 MiB / 4095 MiB) and kept VRAM under pressure without arena allocation failures. 2. --address-guard + LEONIDA_ADDRESS_GUARD=1 on NVIDIA 620.73.04: works and actively blocks unbacked GPU memory accesses (794,399 refused in a single world-load run with library-only guarding). Unguarded graphics/mesh draws still caused VK_ERROR_DEVICE_LOST until the full 29,280-module corpus was re-translated with --address-guard. 3. Unmet list-value gate deadlock (same symptom as the RTX 3060 101-min hang in running.md): with LEONIDA_LIST_VALUES=1, a held gate stayed stuck for 32+ min with 0 released unmet because choose_release() returned early before evaluating unmet release. Releasing any arbitrary oldest gate caused backwards Vulkan timeline semaphore warnings, whereas restricting timeout release strictly to the front-most (FIFO) non-action gate per queue unblocked the hang cleanly (15-34 unmet gates released in order, 0 backwards timeline warnings) and progressed from world start into terrain/foliage and minimap rendering. RUNS: 6 EVIDENCE: MEASURED (arena peak, 794,399 address-guard refusals, 32+ min unmet-gate hang, 0 backwards timeline warnings with FIFO per-queue release, menus 30 fps, terrain/foliage/minimap visible) | READ IN CODE (choose_release early return in d3d12_xs_list_values.h) ```
TurboTheTurtle commented 2026-12-03 05:19:41 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by TurboTheTurtle on 2026-12-03T05:19:41Z.


RUN d3d12-5080-glass-tile-forms-1 (three starts, one tree, one save)

BASE e5c777734 (three d3d12/README.md commits on main d9b618f10)
MACHINE NVIDIA GeForce RTX 5080 16 GB, 15,209 MB own budget, Windows 11, NVIDIA 621.47, HwSchMode=2, page file 49,152 MB, panel 3440x1440@100 SDR
RECIPE scripts/play-d3d12.ps1 -Game 'F:\GTA 6\GTA6.Xbox.v1.0.2.1-CYBERLEEK' -Data 'F:\GTA 6\Leonida' -SeriesX -Dlss quality -FrameGen 2 -PrecompileAll -Adapter 'NVIDIA GeForce RTX 5080' -Log -Capture, the same save resumed in each start, camera at Jason's house terrarium
OS-DRIVER Windows 11, NVIDIA 621.47, Streamline 2.14.16.b742680bf, NGX nvngx_dlss.dll 310.9.16
TARGET the five glass tile programs left out of LEONIDA_PAIRED_FOR, and LEONIDA_EARLY_DEPTH
MEASURED A (44 names, play-1202-210256.log): 15 windows, 78 s, 2,441 frames, 31.5 fps shown, median of the window medians 40.7 ms, last eight windows from 24.1 ms, 16 frames over 100 ms, 1 over 1 s, own pool peak 10,999 MB. B (49 names, play-1202-210430.log): 16 windows, 82 s, 2,731 frames, 33.4 fps, 40.8 ms, last eight from 69 ms, 15 over 100 ms, 1 over 1 s, peak 11,047 MB. C (44 names + LEONIDA_EARLY_DEPTH=1, play-1202-210603.log): 16 windows, 82 s, 2,621 frames, 31.9 fps, 39.6 ms, last eight from 53 ms, 12 over 100 ms, 1 over 1 s, peak 11,116 MB. Each start: presents: one plane frame=1 scene=(3840, 2160, 28), LEONIDA_RENDER_SCALE=0.6667, 0 device losses, 0 unhandled.
END each start stopped after 78 to 82 s of windows; the pipeline book stayed at 89,933 known
CACHES layer's own under F:\GTA 6\Leonida (host-pipelines 405 MB, known-shaders 189.4 MB, known-pipelines 51.5 MB); the captures' own PNGs under F:\GTA 6\Leonida\captures_arms, one folder per start
INSTRUMENTS the layer's own frame times over ... s, N frames: lines and the the card's own: budget line; the F9 picture and LEONIDA_CAPTURE_FRAMES=1024,2048 with LEONIDA_CAPTURE_WORLD=1
VERDICT the five named programs cost nothing and gain nothing beyond noise (40.8 against 40.7 ms, 15 against 16 long frames), so the launcher's list can carry them; the early depth test is never worse and has the fewest long frames (12); the terrarium's 2x2 checker is the same in all three and the same size in the title's own 1920x1080 buffer, so it is the 8 x 8 tile structure of CS_AlphaTransmissionDepthTileGenerationMip1 / ...Mip25 / CS_AlphaTransmissionDepthTileMipDilate, not the upscaler, not the denoise, not the card.

Also on this tree, the standing checks: node --test tests/test_*.cjs 113 / 113 pass (was 110 on f37c4a87d), python -I scripts/check_no_game_data.py d3d12/README.md rc 0, git diff --check clean, and the preset table at d3d12/README.md:519-529 holds its eleven rows with the 5080 figures in nine of them.

AI-assisted: Qwen3.8-Flash-Next.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7368619973 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7368619973). Originally posted by [TurboTheTurtle](https://github.com/TurboTheTurtle) on 2026-12-03T05:19:41Z. --- RUN d3d12-5080-glass-tile-forms-1 (three starts, one tree, one save) BASE `e5c777734` (three `d3d12/README.md` commits on main `d9b618f10`) MACHINE NVIDIA GeForce RTX 5080 16 GB, 15,209 MB own budget, Windows 11, NVIDIA 621.47, HwSchMode=2, page file 49,152 MB, panel 3440x1440@100 SDR RECIPE `scripts/play-d3d12.ps1 -Game 'F:\GTA 6\GTA6.Xbox.v1.0.2.1-CYBERLEEK' -Data 'F:\GTA 6\Leonida' -SeriesX -Dlss quality -FrameGen 2 -PrecompileAll -Adapter 'NVIDIA GeForce RTX 5080' -Log -Capture`, the same save resumed in each start, camera at Jason's house terrarium OS-DRIVER Windows 11, NVIDIA 621.47, Streamline 2.14.16.b742680bf, NGX nvngx_dlss.dll 310.9.16 TARGET the five glass tile programs left out of `LEONIDA_PAIRED_FOR`, and `LEONIDA_EARLY_DEPTH` MEASURED A (44 names, `play-1202-210256.log`): 15 windows, 78 s, 2,441 frames, 31.5 fps shown, median of the window medians 40.7 ms, last eight windows from 24.1 ms, 16 frames over 100 ms, 1 over 1 s, own pool peak 10,999 MB. B (49 names, `play-1202-210430.log`): 16 windows, 82 s, 2,731 frames, 33.4 fps, 40.8 ms, last eight from 69 ms, 15 over 100 ms, 1 over 1 s, peak 11,047 MB. C (44 names + `LEONIDA_EARLY_DEPTH=1`, `play-1202-210603.log`): 16 windows, 82 s, 2,621 frames, 31.9 fps, 39.6 ms, last eight from 53 ms, 12 over 100 ms, 1 over 1 s, peak 11,116 MB. Each start: `presents: one plane frame=1 scene=(3840, 2160, 28)`, `LEONIDA_RENDER_SCALE=0.6667`, 0 device losses, 0 unhandled. END each start stopped after 78 to 82 s of windows; the pipeline book stayed at 89,933 known CACHES layer's own under `F:\GTA 6\Leonida` (host-pipelines 405 MB, known-shaders 189.4 MB, known-pipelines 51.5 MB); the captures' own PNGs under `F:\GTA 6\Leonida\captures_arms`, one folder per start INSTRUMENTS the layer's own `frame times over ... s, N frames:` lines and the `the card's own: budget` line; the F9 picture and `LEONIDA_CAPTURE_FRAMES=1024,2048` with `LEONIDA_CAPTURE_WORLD=1` VERDICT the five named programs cost nothing and gain nothing beyond noise (40.8 against 40.7 ms, 15 against 16 long frames), so the launcher's list can carry them; the early depth test is never worse and has the fewest long frames (12); the terrarium's 2x2 checker is the same in all three and the same size in the title's own 1920x1080 buffer, so it is the 8 x 8 tile structure of `CS_AlphaTransmissionDepthTileGenerationMip1` / `...Mip25` / `CS_AlphaTransmissionDepthTileMipDilate`, not the upscaler, not the denoise, not the card. Also on this tree, the standing checks: `node --test tests/test_*.cjs` 113 / 113 pass (was 110 on `f37c4a87d`), `python -I scripts/check_no_game_data.py d3d12/README.md` rc 0, `git diff --check` clean, and the preset table at `d3d12/README.md:519-529` holds its eleven rows with the 5080 figures in nine of them. AI-assisted: Qwen3.8-Flash-Next.
kaoru-maki commented 2026-12-03 07:52:21 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by kaoru-maki on 2026-12-03T07:52:21Z.


tested: #3139 on RTX 5070 Ti Laptop GPU (12 GB), same: opening sequence / opening sequence.

Four matched A/B pairs on Windows 11 with NVIDIA driver 621.47, native 2560×1440 DLAA, render scale 1.0, frame generation off, and Smooth Motion off. A was clean main at d9b618f10150. B was the same base with PR head 2bc1f6f43399 merged locally. Each measured run started from the same prepared PSO cache snapshot.

Across the full route, mean FPS was 23.30 for A and 23.51 for B. Mean per-run P99 was 105.28 ms and 103.95 ms, respectively. The longest frame interval was 10.17 s for A and 10.16 s for B. The paired change in median frame time was −0.43 ms for B versus A (95% CI −0.98 to +0.13 ms).

In the first 40 seconds, the total number of frames over 250 ms fell from 12 to 6 across the four runs per build. Across the full route, the corresponding counts were 123 and 122. The clearest observed difference was in the early window.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7371532538 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7371532538). Originally posted by [kaoru-maki](https://github.com/kaoru-maki) on 2026-12-03T07:52:21Z. --- tested: #3139 on RTX 5070 Ti Laptop GPU (12 GB), same: opening sequence / opening sequence. Four matched A/B pairs on Windows 11 with NVIDIA driver 621.47, native 2560×1440 DLAA, render scale 1.0, frame generation off, and Smooth Motion off. A was clean `main` at `d9b618f10150`. B was the same base with PR head `2bc1f6f43399` merged locally. Each measured run started from the same prepared PSO cache snapshot. Across the full route, mean FPS was 23.30 for A and 23.51 for B. Mean per-run P99 was 105.28 ms and 103.95 ms, respectively. The longest frame interval was 10.17 s for A and 10.16 s for B. The paired change in median frame time was −0.43 ms for B versus A (95% CI −0.98 to +0.13 ms). In the first 40 seconds, the total number of frames over 250 ms fell from 12 to 6 across the four runs per build. Across the full route, the corresponding counts were 123 and 122. The clearest observed difference was in the early window.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy#2464
No description provided.