Skip to content

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

Backlog

Description

@aslan2142

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 ubiquitarianism/leonida --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
#2407 Per-slot records for the console descriptor heaps A report of NVIDIA device losses on main since d1dff7949 suspects it: needs an A/B on NVIDIA
#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 Missing GPU-written data; differences between Windows and Wine
#2406 Bindless table limits raised to 65,536 Start-up failures or lost textures on drivers with small limits
#2418 A write-back that faults no longer re-takes its lock The freeze after the world load, on 8 GB cards above all
#2440 LEONIDA_ASYNC_MIN_BYTES Only with the variable set: stalls while pipelines compile
#2412 Adaptive compile gate, now the default Stalls or device losses while compiling, old NVIDIA drivers above all
#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 Graphics draw skips vs compile stalls when set
#2468 Write-back tile reopen after faulting copy Missing GPU-written data or write-back hangs on 8 GB cards

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

PR What it does Needs
#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 with main 0318164b8) Cross-vendor warm/cold game runs on Windows NVIDIA, Windows AMD, and Linux RADV (8 GB–24 GB): verify 0 GPUVM faults/stalls, opening sequence & play frame rate, VRAM / page-mirror spill, and rebuilt shader pack (29,268/29,268 translated & spirv-val-valid, 0 absent-lane UB sites). On RX 7900 XTX (Linux RADV): 7.4–13.9 fps opening sequence, 5.3–7.4 fps play, 0 faults/hangs across 20-minute runs, now GPU-bound (101–121 ms/f Direct GPU busy)
#2275 Warm-up creates no longer hold the compile gate Additional GPUs (initial RTX 5080 A/B reported below; compile stalls at start-up, with and without)
#2392 The build's pipelines stage fills the runtime's own journal A cold start after a build: pipelines loaded from the journal
#2402 Retirement records read under their own lock Additional GPUs / long play runs (initial RTX 3070 Ti and RTX 5080 runs reported below)
#2405 Sparse buffer memory types checked before sharing the tile arena Start-up on NVIDIA and Intel (initial RTX 3060 Ti / 3070 Ti / 5080 synthetic + boot reports below)
#2367 Translator restarts a tool when a Windows job refuses it Full Windows build under memory pressure (Part 1 host-side unit checks passed below)

(Removed from open list: #2260 merged, #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

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 ubiquitarianism/leonida --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 present: LEONIDA_PRESENT_DUMP_SLOW_MS also dumps every present that comes late (RT-PRESENT-DUMP-SLOW) #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)

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; rdna2spirv: quad_perm DPP in a pixel shader reads its quad through quad operations (SHADER-PS-DPP-QUAD-OPS) #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. runtime: preamble-only flat scan, safe type lookups, and portable CPU test for rect_list_geometry #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)

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) — open PR: #2508

  • 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: build on Preserve sRGB midtones on the SDR UNORM swapchain fallback #2001, Treat BGRX overlays as opaque in PresentX composition #2014); 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)

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 [integration] PageMirror, GPU detile, async queue & RDNA2->SPIR-V performance stack (INTEGRATION-PERF-CPU-GPU-R6) #2566 (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) — open PRs: #2479, #2480, #2482, #2483

RT-STATE-AUDIT-PIPELINE: blend, depth, stencil, raster, samplers (medium) — open PRs: #2473–#2477, #2023, #2089

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

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

Activity

  1. OreoFR commented on Nov 27, 2026

    @OreoFR
    Contributor

    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 d1dff79, n=1 each, posted before the RUN format: #2418 (comment). AI-assisted (Claude Code, Claude Opus 5.5).

  2. BadgersMC commented on Nov 27, 2026

    @BadgersMC
    Contributor

    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.

  3. BadgersMC commented on Nov 27, 2026

    @BadgersMC
    Contributor

    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.

  4. ERROR890 commented on Nov 27, 2026

    @ERROR890
    Contributor

    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).

  5. lixonik commented on Nov 27, 2026

    @lixonik
    Contributor

    @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:

    • runtime: add LEONIDA_TARGET_DUMP per-pass target dumper (RT-PASS-TARGET-DUMP) #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).

  6. ERROR890 commented on Nov 27, 2026

    @ERROR890
    Contributor

    @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).

  7. enlight3d commented on Nov 27, 2026

    @enlight3d
    Contributor

    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 2d43417 and 2859d0c (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.
  8. OreoFR commented on Nov 27, 2026

    @OreoFR
    Contributor

    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: #2468. AI-assisted (Claude Code, Claude Opus 5.5).

  9. OreoFR commented on Nov 27, 2026

    @OreoFR
    Contributor

    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: #2467. AI-assisted (Claude Code, Claude Opus 5.5).

  10. j-rally commented on Nov 27, 2026

    @j-rally

    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

  11. j-rally commented on Nov 27, 2026

    @j-rally

    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.

  12. MoonEyes commented on Nov 27, 2026

    @MoonEyes
    Collaborator

    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)

  13. enlight3d commented on Nov 27, 2026

    @enlight3d
    Contributor

    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: #2407 (comment). AI-assisted (Claude Code).

  14. djrolfes commented on Nov 27, 2026

    @djrolfes
    Contributor

    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 d3d12: decline file-backed/multi-VMA host imports under Wine and deduplicate import memory types (RT-WINE-HOST-IMPORT-POLICY) #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.

  15. djrolfes commented on Nov 27, 2026

    @djrolfes
    Contributor

    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: #2405 (comment). AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification); no game data.

  16. djrolfes commented on Nov 27, 2026

    @djrolfes
    Contributor

    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: #2402 (comment). AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification); no game data.

  17. djrolfes commented on Nov 27, 2026

    @djrolfes
    Contributor

    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: #2126 (comment). AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification); no game data.

  18. LGlong1 commented on Nov 28, 2026

    @LGlong1

    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.

  19. timbot103 commented on Nov 28, 2026

    @timbot103
    Contributor
    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).

  20. Mike7581 commented on Nov 28, 2026

    @Mike7581
    Contributor
    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.

  21. HasiKe commented on Nov 28, 2026

    @HasiKe

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions