Work needed: game-run tests of important PRs, and rendering packages (kept up to date) #2464
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-11-27T13:00:33Z.
This issue lists work that is open for anyone to take. The maintainer keeps it up to date: items are added, changed and struck out here, and each change gets a dated line at the bottom.
gh issue list -R ProjectLeonida/mandy --state open --search "Coordinating who works on what in:title".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.
mainand passes with the change. Run it, and say what you ran and on which GPU and driver. Say plainly what you did not test.python -I scripts/check_no_game_data.py <files>is clean; no game data in the diff, the description or the test fixtures.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 elseWithout a baseline on your machine, no comparison means anything.
main, nothing else applied. Use the documented recipe for your profile indocs/running.md, with no deviations you cannot name.RUNblock per run (format indocs/agent_collaboration.md, "Three blocks") as a comment on this issue. Fill inBASE(the short commit ofmain),MACHINE,RECIPE,END,CACHESand how far it got.first-run UI,menu,story load,opening sequence,world load,play. Add the frame rate where the window title or the log gives one.Step 2: one pull request against that baseline
main. B = the same commit plus the one pull request (for a merged one: the commit before its merge and the merge itself).RUNblocks as a comment on the pull request, and one line here:tested: #N on <GPU>, <same | better | worse>: <how far A> / <how far B>.Which pull requests
Merged recently: do they regress anything?
LEONIDA_GPU_PROFILE,LEONIDA_DEVICE_MARKERS; merged at012b79a67)7.4–13.9 fpsopening,5.3–7.4 fpsplay,0faults across 20 min) and Windows 11 RX 7900 XTX (better:60.1 → 30.1 subs/s,~9.3 → ~3.8 ms/fheaps in menu,0faults). Watch for: GPUVM faults/stalls, VRAM / page-mirror spill, and rebuilt-pack regressions across Windows NVIDIA, Windows AMD (into play), and 8–16 GB cardsRT-SAMPLE-LOCATIONS-MSAA-ONLY)LEONIDA_DEVICE_FAULT=2so NVIDIA boots read the precompiled compute journalpresent_compose: premultiplied sRGB and additive alpha plane 1 decoding0device losses, 2+2,PROVISIONAL) and RTX 5080 16 GB (0device losses across 12 runs,-7.6%ECLX/s and309–340 msmaxheapsin warm Round 2). Still watch for NVIDIA device losses orheapsspikes in playgfx1036(3+3 warm: write-back611–19,239 KiB → 0 KiB,0faults). Watch for missing GPU-written data and Windows vs Wine differencesgfx1036(3+3 cold:0ECL fail,0device lost). Watch for start-up failures or lost textures on drivers with small limitsbetter: stall at 290 s → play through 648 s,n=1). Watch for the freeze after world load on other 8 GB cardsLEONIDA_ASYNC_MIN_BYTESclassicvsadaptivecold: worst hold8,040–9,438 ms → 1,405–2,499 ms, ECLX/s+62.8%,0device lost). Watch on old NVIDIA driversLEONIDA_ASYNC_MIN_BYTES_GRAPHICS, separate async threshold for graphicssame: play 600 s,0device lost). Watch for graphics draw skips vs compile stalls on other GPUs when setsame: play 600 s,0device lost). Watch for missing GPU-written data or write-back hangs on other 8 GB cardsOpen: waiting for a game run before they can be merged
955–997 → 2–7, ECLX/s+22.9%,0device lost) + Wine synthetic checks on RTX 4070 SUPER & Radeon 610M. Needs additional GPUs / game runs (after small test-comment merge withmain)make_game.py --stages pipelinesfills the runtime's own journal (mainmerged in)1,721–1,725 → 1, PresentX/s+32.3%,0device lost) + real-library precompile on RTX 3080 10 GB & RTX 5070 12 GB. Needs cold-start game runs on AMD and Linux RADVsamethrough world load), RTX 5080 16 GB (Win11, 2+2 warm,-3.2%ECLX/s in short boots,PROVISIONAL), and Windows 11 RX 7900 XTX 24 GB (same: 30.0 vs 29.6 fps menu,0faults). Needs sustained play runs across GPUsUpdateTileMappingson NVIDIA, AMD, and IntelERROR_NOT_ENOUGH_QUOTA)RT-WINE-HOST-IMPORT-POLICY)better: fixes 24–28 svkAllocateMemory -1/E_OUTOFMEMORYcrash withLEONIDA_XMEM_BACKING_DIR, saves ~6.6 GiB RAM). Needs additional Linux/Wine NVIDIA & AMD runsRT-WRITE-WATCH-WINE-DEFAULT)MEM_WRITE_WATCHbehaviour and performance under WineD3D12-RDNA2-APERTURE-SEGMENT)LEONIDA_RELAY=2on RDNA2. Needs Windows AMD RDNA2 (RX 6000) and RDNA3 play A/B runsD3D12-PIPELINE-CREATE-LOCK-AMD)amdxc64.dllcrash / internal error during multi-thread early compile on RDNA3; synthetic/Wine cache round-trips checked on RTX 4090 & AMD Wine. Needs native Windows AMD cold/warm game runsD3D12-PIPELINE-WAIT-QUEUE)D3D12-RT-FG-ARENA-VA-STORM)LEONIDA_CARD_ROOM_FOR_TARGETS_SETTLE_MS, off by default)back_piece, andchanged_runsLEONIDA_RELAY=1andLEONIDA_LAND=1to confirm CPU frame-time gain and visual parityleonida.exeand run it under Proton or Wine(Removed from open list:
#2566merged at012b79a67,#2260merged,#2405closed as superseded by#2645,#2416closed.)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
main. Pull requests targetmain.mainat012b79a67(currentmainhead:b17b22d33). Rebase open branches onto currentmainbefore final verification.mainshows the defect on your GPU.Rules for a package
claiming: <ID>, one package per person or named pair. Find the issue by title:mainand passes with it, runs (or skips with 77) on RADV under Wine, and is one concern.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.hruntime/src/title_*watch.h,title_mirror*.h,title_frames.h,title_va_alias.h,arena_*.hruntime/src/console_heap_slot_records.h,console_heap_fix.*,console_heap_gpu.hruntime/shims/d3d12_geometry_views.h,d3d12_title_buffer_windows.h,d3d12_title_image_upload.h,d3d12_xs_list_values.hruntime/shims/d3d12_vulkan_device.cppruntime/src/vulkan_backend.htools/rdna2spirv.py: the descriptor paths, thev_dot4rules andscalar_loadruntime/src/vulkan_replay.his open, but keep hooks to a call or two: it gets restructured later.d3d12_vulkan_device.cppis 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: #2466LEONIDA_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 anindex.json(pass number, format, size). Today only the presented frame can be dumped.runtime/src/target_dump.h, one hook each inemit_commands(runtime/src/vulkan_replay.h); share the writer ofpresent_dump.h(see #2146).RT-FRAME-TRACE: a pass and draw trace that names pipelines (medium)tools/frame_trace.pysummarises and diffs two traces.LEONIDA_DEVICE_MARKERS) and GPU time per pipeline (LEONIDA_GPU_PROFILE) are now onmain(landed via #2566 at012b79a67), so the recorder can wire them directly. One recorder only: talk to the holder ofRT-FAULT-DRAW-RESOURCE-RANGES.RT-GPU-CAPTURE-LAYERS: RenderDoc and GFXReconstruct captures (medium)docs/. This would give per-pass targets and a replay without the game.RT-FRAME-REPLAY: our own frame record and replay (large, later)vulkan_replay.hin 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: #2455PICTUREblock (like the RUN block ofdocs/agent_collaboration.md) andtools/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.LATTICE,BLACK-NEAR,BLOCKS,FLASH,CHAR-BLACK,CHAR-MISSING,2D-MISSING,STRAY-GEO,SMEAR,OK.Defects
RT-PICTURE-LATTICE: small dark triangles on a screen-space lattice (medium)RT-RECT-LIST-CORNER: the fourth corner of a rectangle (small) — open PRs: #2478, #1970runtime/src/rect_list_geometry.h,d3d12_rect_list_test, the "Console rectangle and quad lists" part ofdocs/d3d12_vulkan.md. #1970 touches the same header.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)DEPTHas the last layer for every non-3D type; on RDNA2 that field may be the pitch of a linear 2D texture, so valid full-screen 2D textures may be refused.runtime/src/gfx10_descriptors.hdecode()and its test; measure withtools/image_fuzz.py --oracle hw; Mesaac_descriptors.cas reference. #2089 (merged) and #2223 (open) touch the same header.main, and a run's count of that refusal drops.d3d12_vulkan_device.cpp.RT-PICTURE-CHARACTERS: faces black, bodies missing (medium)mainshows 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.finding:.RT-PICTURE-EXPOSURE: exposure flashing white, black, good (medium)RT-PICTURE-2D-LAYERS: loading-screen art, 2D layers, video artwork (medium) — merged PR: #2508; open PRs: #2001, #2014runtime/shims/xbox_present.cppandruntime/src/present_compose.*(plane alpha, BGRX, sRGB fallback, HDR10, SDR white level: #2508 merged; #2001 and #2014 open); the trace for which texture of the loading draw is unbound and why.WindowPresenter.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)mainand depend on data; their loop counts may be inflated by wrong inputs. With #2566 (now onmainat012b79a67; RX 7900 XTX, Linux RADV, rebuilt shader pack), play is now GPU-bound (101–121 ms/fDirect GPU busy:57–76 ms/fMesh,34–39 ms/fCompute,5.6–8.9 ms/fGraphics;5.3–7.4 fpsin play,7.4–13.9 fpsopening sequence), and VRAM reached21.3 GiB(14page-mirror units /448 MiBspilling 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.v_dot4,scalar_load.State audits and the vendor matrix
RT-STATE-AUDIT-FORMATS: formats, views, clears, copies, resolve (medium) — merged PR: #1179; open PRs: #2479, #2480, #2482, #2483Formatand the format checks ind3d12_vulkan_device.cpp; clears and copies invulkan_replay.h.main.RT-STATE-AUDIT-PIPELINE: blend, depth, stencil, raster, samplers (medium) — merged PRs: #2473, #2476, #2089; open PRs: #2474, #2475, #2477, #2023, #1695, #1774PipelineStreamandPipelineStateind3d12_vulkan_device.cpp,d3d12_xs_pso_stream.*,runtime/src/native_pso.h.main.RT-PICTURE-RAY-TRACING: the picture with ray tracing on (large, lowest priority)RT-PICTURE-CROSS-VENDOR: which defect shows on which GPU (small per run)PICTUREblock per class; a page indocs/with classes and counts. NVIDIA translation isquartz-heron-58's andHasiKe's: the matrix reports, it does not fix.Showing results, findings, merging
Pictures
PICTUREblock beside them.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.needs: perf rewriteand link a failing test. Keep the diagnosis, do not fix it.What makes a PR batchable
main, inside its package's files and region; the ID in the title.mainand passes with it, and runs or skips with 77 on RADV under Wine. Translator rules get an.asmfixture and a row indocs/design.md.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
maininto 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
main0318164b8— RX 7900 XTX RADV now GPU-bound at5.3–7.4 fpsin play /7.4–13.9 fpsopening sequence,0faults across 20-minute runs,29,268/29,268spirv-val-valid shaders with0absent-lane UB sites) for cross-vendor game-run testing; linked open rendering-package PRs (#2455, #2466, #2473–#2480, #2482–#2483, #2508).mainat012b79a67; currentmainb17b22d33) into the recently-merged regression table alongside newly merged high-impact PRs (#2508, #2599, #2615, #2649, #2662, #2692, #2693, #2714, #2715); replaced closed #2405 with its successor #2645; recordedtested:/RUNhardware reports from comments on #2407, #2404, #2406, #2418, #2412, #2467, #2468, #2275, #2392, #2402, #2367, #2566; added newly opened high-impact Vulkan & D3D12 runtime PRs needing game runs (#2126, #2572, #2577, #2580, #2581, #2589, #2622, #2643, #2651, #2670, #2688, #2694, #2699); updated Part B base/status refs for merged rendering-package PRs (#1179, #2089, #2473, #2476, #2508) and repo URL (ProjectLeonida/mandy).AI-assisted (Claude Code, Claude Opus 5.5, Claude Fable 5.2, and Antigravity Gemini 4 Neon)
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-27T13:10:22Z.
tested: #2418 on RTX 4070 Laptop 8 GB (profile M, NVIDIA 621.40), better: stall at 290 s after the world load / play submitting to the 648 s time limit. A/B on main
d1dff7949, n=1 each, posted before the RUN format: https://github.com/ubiquitarianism/leonida/pull/2418#issuecomment-7216322358. AI-assisted (Claude Code, Claude Opus 5.5).Imported from ubiquitarianism/leonida. Originally posted by BadgersMC on 2026-11-27T13:24:05Z.
Profile M Windows baseline, RTX 3060 Ti 8 GB desktop, NVIDIA 610.88, Windows 11 build 26100, 16 GiB RAM. PROVISIONAL, one run per condition.
Shared recipe: clean main built with MSVC RelWithDebInfo and scripted input, SDL3 and optional decoders disabled. Reused the Nov 24 translated shader pack, no offline precompile. Windows NVIDIA startup with the Series S defaults from
scripts/windows-boot/boot.ps1where 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.
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.
Imported from ubiquitarianism/leonida. Originally posted by BadgersMC on 2026-11-27T13:25:31Z.
Follow-up to the RTX 3060 Ti baseline above. I applied only #2405 at
f0b86e19380c8af09569161e1a0bc0243125a738to pinnedmainat17d3af0b652c50d1c787e6341739144251dbaa12, 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, orCopyPageMappingsBatchXbefore 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.Imported from ubiquitarianism/leonida. Originally posted by ERROR890 on 2026-11-27T13:40:31Z.
claiming: RT-FRAME-TRACE
Taking the pass-and-draw trace package from part B (the
RT-FRAME-TRACEblock 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.pyto summarise and diff two traces.Where: a new
runtime/src/frame_trace.h(recorder, off by default), one hook inemit_commands(runtime/src/vulkan_replay.h, keep it to a call or two), a newruntime/test/d3d12_frame_trace_test.cpp, the tool undertools/, and a short entry indocs/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
mainand 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 ofRT-FAULT-DRAW-RESOURCE-RANGESand to theRT-PASS-TARGET-DUMPholder 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
mainat855c9c65b, withctestand 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).
Imported from ubiquitarianism/leonida. Originally posted by lixonik on 2026-11-27T14:10:37Z.
@ERROR890 For
RT-PASS-TARGET-DUMPcoordination: the PR is already open at #2466 (claimed and marked done in #1608; mirroring yourRT-FRAME-TRACEclaim in #1608 is worth doing as well since the issue header asks for claims there).On the
runtime/src/vulkan_replay.hseam so the two hooks stay conflict-free:TargetDump* target_dump = nullptr;pointer onReplayFunctionsand smallif (vk.target_dump)calls inemit_commands(aftervk.end_rendering,vk.dispatch/vk.dispatch_indirect, and UAV barriers/clears), with adapter helpers placed indetail::right afterdetail::current.submit_phases::totals().present_serial + 1, and pass numbers are 0-based inemit_commandsorder 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 withindex.json.AI-assisted (Antigravity, Gemini 4 Neon).
Imported from ubiquitarianism/leonida. Originally posted by ERROR890 on 2026-11-27T15:16:17Z.
@lixonik Thanks for the seam layout and numbering details on
#2466. Confirmed:RT-FRAME-TRACEclaim in#1608.runtime/src/vulkan_replay.hconflict-free with#2466regardless of merge order: placing my pointer in the middle ofReplayFunctions(away fromtarget_dumpat the end), keeping all recorder helpers in a separateruntime/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.submit_phases::totals().present_serial + 1and pass numbers to 0-based inemit_commandsorder across the frame so(frame, pass)IDs match#2466'sindex.json1:1.AI-assisted (Claude Code, Claude Opus 5.5 — architecture & review; DeepSeek Harness subagent — local test/verification; Gemini, Antigravity — coordination & prompt review).
Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-11-27T15:29:10Z.
Baseline on
mainfor #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).2d43417d4and2859d0c9b(269 to 600 s, close but not identical recipes) had no crash in the driver.Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-27T15:56:21Z.
tested: #2468 on RTX 4070 Laptop 8 GB (profile M, 621.40), same: play (world reached, 600 s, 0 device lost) / play (world reached, 600 s, 0 device lost). RUN blocks: https://github.com/ubiquitarianism/leonida/pull/2468. AI-assisted (Claude Code, Claude Opus 5.5).
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-27T16:25:27Z.
tested: #2467 on RTX 4070 Laptop 8 GB (profile M, 621.40), same: play (world reached, 600 s, 0 device lost) / play (world reached, 600 s, 0 device lost). RUN blocks: https://github.com/ubiquitarianism/leonida/pull/2467. AI-assisted (Claude Code, Claude Opus 5.5).
Imported from ubiquitarianism/leonida. Originally posted by j-rally on 2026-11-27T16:37:20Z.
Baseline on
mainfor 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).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_VISIBLEmemory, 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, prefersHOST_CACHEDand skips the BAR fit) as the only variable, same build, same recipe plus the thread sampler in both arms (SAMPLE_MS=5):ShadowPages::write_back(~30-36%)hash_bytesunderrefresh_title_textures(~37%)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
Imported from ubiquitarianism/leonida. Originally posted by j-rally on 2026-11-27T17:12:15Z.
Follow-up to my baseline above: what limits the world load to 0.2-0.8 frames/s on this machine. Same build (
55bd6f4f1+ two local diagnostics described below), same recipe, warm caches, n=1 per run. AI-assisted (Claude Code, Claude Opus 5.5).LEONIDA_SKIP_COMPUTELEONIDA_GPU_LATENCY=1list valueslineSo 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.
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-27T17:41:59Z.
Baseline of current main on one machine, cold then warm pipeline cache, same recipe. No PR in the build. n=1 per cache state, indicative only. Not tied to any claim about the cause of the display stop.
Reading (marked):
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)
Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-11-27T18:28:21Z.
tested: #2407 on RTX 3090 24 GB (NVIDIA 621.40, Windows 11), same for device losses: none in 2 runs before the merge and none in 2 runs with it; how far not comparable (the input script missed the profile page in one run per side): menu, story load / story load, menu. PROVISIONAL (n=2 per side), RUN blocks: https://github.com/ubiquitarianism/leonida/pull/2407#issuecomment-7225521658. AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by djrolfes on 2026-11-27T19:23:07Z.
Step 1 baseline of clean
main(43a9d562d, no PRs applied) on an 8 GB NVIDIA card under Linux + Wine 11.22 (Profile M): cold caches then warm caches, identical binary (runtime_sha256matched) and identical settings (0env differences apart from the per-run capture folder), 100% hands-free viaLEONIDA_INPUT_SCRIPT. All numbers independently recomputed from raw logs and resource samples by a second agent (codex/gpt-6-luna) before posting.n=1per cache state (PROVISIONAL (n=1)).Reading:
n=1per cache state, PROVISIONAL): Cleanmain(43a9d562d) withLEONIDA_ASYNC_PIPELINES=1,LEONIDA_ASYNC_MIN_BYTES=2097152,LEONIDA_ASYNC_MIN_BYTES_GRAPHICS=0(and noLEONIDA_SKIP_COMPUTEskip list) reachesworld loadon an 8 GB RTX 3070 Ti under Linux + Wine 11.22 with 0 device losses (cold:298.12 s, peak VRAM7,850 MiB; warm:174.33 s, peak VRAM7,173 MiB). Both runs end cleanly at the same unhandled exception immediately after 2 untranslated compute shader refusals at world entry (beforeplay).n=2, separate--first-run-uiruns withLEONIDA_XMEM_BACKING_DIR): For completeness, running the exact same cleanmain(43a9d562d) binary with--first-run-ui(LEONIDA_XMEM_BACKING_DIRenabled) still hits the known Wine/NVIDIA620.73.04file-backed host-import rejection burst (vkAllocateMemory failed (-1)/E_OUTOFMEMORYat28.45 scold and24.36 swarm with ~16.8 GiB RAM and ~6 GiB VRAM free; tracked in #2126). LeavingLEONIDA_XMEM_BACKING_DIRunset (--run, as indocs/running.md) avoids that startup failure completely.playwith cleanmain's shader translation (requires those untranslated compute shaders to be translated first), or multi-run variance (n=1per state; would be refuted if repeated runs hit device loss or stall earlier).AI-assisted: Antigravity (Gemini 4 Neon) + Codex (
gpt-6-lunaindependent log verification); no game data.Imported from ubiquitarianism/leonida. Originally posted by djrolfes on 2026-11-27T19:24:48Z.
tested: #2405 on RTX 3070 Ti 8 GB (NVIDIA 620.73.04, Arch Linux + Wine 11.22), same (0 tile-mapping errors, 0 device losses): menu -> story load -> world load (174.33 s) / menu -> story load -> world load (162.18 s). PROVISIONAL (n=1 per side, byte-identical warm cache snapshot), RUN blocks: https://github.com/ubiquitarianism/leonida/pull/2405#issuecomment-7226501426. AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification); no game data.
Imported from ubiquitarianism/leonida. Originally posted by djrolfes on 2026-11-27T19:27:50Z.
tested: #2402 on RTX 3070 Ti 8 GB (NVIDIA 620.73.04, Arch Linux + Wine 11.22), same through world load (0 deadlocks, 0 releaser stalls, 0 device losses; peak 86.57 vs 85.15 frames/s; multi-minute play not covered on clean-main shaders): menu -> story load -> world load (174.33 s) / menu -> story load -> world load (160.18 s). PROVISIONAL (n=1 per side, byte-identical warm cache snapshot), RUN blocks: https://github.com/ubiquitarianism/leonida/pull/2402#issuecomment-7226551459. AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification); no game data.
Imported from ubiquitarianism/leonida. Originally posted by djrolfes on 2026-11-27T19:33:30Z.
tested: #2126 on RTX 3070 Ti 8 GB (NVIDIA 620.73.04, Arch Linux + Wine 11.22, --first-run-ui / LEONIDA_XMEM_BACKING_DIR), better (eliminates 24-28 s vkAllocateMemory -1 / E_OUTOFMEMORY crash and saves ~6.6 GiB host RAM vs --run): first-run UI (28.45 s, 301 presents) / first-run UI -> menu -> story load -> world load (283.75 s, 5,471 presents). PROVISIONAL (n=1 cold per side + warm A repro), RUN blocks: https://github.com/ubiquitarianism/leonida/pull/2126#issuecomment-7226645237. AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification); no game data.
Imported from ubiquitarianism/leonida. Originally posted by LGlong1 on 2026-11-28T04:03:53Z.
Game-run report: the first-run UI reaches its landing prompt on Windows 10 + RX 6750 GRE (RDNA2).
Setup. Windows 10 22H2 (10.0.19045), AMD Radeon RX 6750 GRE 12 GB (RDNA2), driver 32.0.21045.16010, Vulkan from the driver; VS2022 with Windows SDK 10.0.26100, Python 3.12,
LLVM_MC=wsl -d Ubuntu -e /usr/lib/llvm-21/bin/llvm-mc(Ubuntu LLVM 21.1.8).Build. commit
d442851(main has moved since),make_game.py --stages shaders,runtime --jobs 8, then--stages assets --jobs 8. The shaders stage needed one local workaround first: a truncated disassembly listing, reported in #2539; after re-disassembling that one shader the index held 26,503/26,503 and the rest of the build ran. Runtime built from source with MSVC; the assets stage finished 138/138 in 2 h 38 min (about 429 GB of work files).Run.
gta6rt.exe --first-run-ui <game exe> --game-dir <package> --trace <file> --trace-d3d12withLEONIDA_D3D12=vulkan. Two runs: one with the profile's focused keyboard pad (LEONIDA_KEYBOARD_PAD=1), one withLEONIDA_KEYBOARD_PAD=always.Result.
ACCOUNT PICKER/SCREEN NARRATION (OFF)/PLAYER) with legible prompts, which is the milestonedocs/first_run_ui.mddescribes.XboxPresentation::PresentXok, 0 failed; 4 modules mapped; 0 unimplemented imports; 2 TLS callbacks, 3/3 DllMain ok; no exceptions in the startup trace.boot_trace.pyreads 162 startup events with 0 bad lines.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.
Imported from ubiquitarianism/leonida. Originally posted by timbot103 on 2026-11-28T09:19:31Z.
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,279shaders loaded on G0, one agent's localMEASURED; shader packs translated with native Windows AMD LLVM 23llvm-mc). OS/Driver deviation on every run: Windows Registry was not modified, so every run used default Windows TDR (TdrDelay/TdrDdiDelayunset, 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)
MEASURED)main02f71ccfeG0 baselinesn=1each)146 s(2,218PresentX,15.19/s,44.13peak fps,0ECL fail,0VK_ERROR_DEVICE_LOST); warm157 s(2,423PresentX,15.43/s,47.26peak fps,951journal.bin,0VK_ERROR_DEVICE_LOST)02f71ccfeG0--pc-tail-ubocheckgfx1036--pc-tail-ubo(cold+warm; clean pair exploratory)maxPushConstantsSize: 256 bytes(one agent's localMEASURED). With--pc-tail-ubo:1,664(cold) /1,688(warm)ExecuteCommandListsfailures (slots 512). Without--pc-tail-ubo:0/0ECL fail,0slots 512,38.19peak fps,243 scold time limit /178 swarm,1,164journal.bin,0VK_ERROR_DEVICE_LOST02f71ccfe)724-prog skip + 4095/4096/6144 MiB (n=1)1,741PresentX (14.27/s),29/29non-black frames,455,466V# halves beforeEND: device lost(109fault lines,2VK_ERROR_DEVICE_LOST, address fault types6and1,0null-write /2other access violations)f896a16f4, open)make_game.py --stages pipelines+ 3+3 cold unseeded vs seededrc=0(461 sinternal /462.3 swrapper,3,755.bin,0failed,1,480/1,480skipped via--skip-listed). In-game.bincompiles:1,721 / 1,721 / 1,725→1 / 1 / 1(-99.94%); journal hits1,800+;0disabled; mean PresentX/s+32.3%(12.44–13.09→15.31–18.28);0VK_ERROR_DEVICE_LOSTe1bf0b8ae, open)02f71ccfe, 3+3 cold A vs B#2412inmain, B won 3/3: waits955–997(8.1–18.0 s, max9,616 ms) →2–7(95–287 ms, max285 ms), compute gate off 3/3, mean ECLX/s+22.9%(26.88–29.65→32.40–36.41),0VK_ERROR_DEVICE_LOSTa3bafd05dvsf75b2b425, merged)classicvsadaptive(exploratory)classicatf75b2b425,READ IN CODE): no measurable difference at n=3 (0VK_ERROR_DEVICE_LOST). Adaptive vs classic (exploratory, 3+3): worst hold8,040–9,438 ms→1,405–2,499 ms(3.2×–5.7×), mean total wait-78.0%, mean ECLX/s+62.8%,0VK_ERROR_DEVICE_LOSTfac8b4bb9vs20c46b646, merged)gfx1036--pc-tail-ubo), 3+3 A vs B0ECL fail,0VK_ERROR_DEVICE_LOST; B scales bindless arrays 2D-array16,384 → 65,536(4×), 3D4,096 → 65,536(16×), 1D4,096 → 65,536(16×). Part (2): not reached (0full in both)011d446c3vse5a7c8942, merged)gfx1036611 / 611 / 19,239 KiB→0 / 0 / 0 KiB(0 KiBwarmup),0ECL fail,0VK_ERROR_DEVICE_LOST,0non-null-write access violations in all 6 runs20c46b646vs627163c8e, merged)WARMUP_LIVE_MAX_BYTES=1310720VK_ERROR_DEVICE_LOSTacross all 12 runs (6 A + 6 B). Round 2 B slot-records median0.157–0.241 ms/ max7.534–21.869 ms(392,817–412,636V# halves). Round 2 B mean ECLX/s-7.6%vs A (25.71–26.48vs27.75–28.86, lower 3/3) and single-maxheaps309–340 msvs18–92 ms35eb7b4a4, open)02f71ccfe, 2+2 warm A vs B-3.2%mean:27.31–28.40vs28.74–28.79/s),0VK_ERROR_DEVICE_LOST; all 4 ended on armed watchdog31–42 safter last submit phase; sustained play outside observed window-3.2%ECLX/s in short boots; sustained gate not reachedcf30c0a1f, open)d3d12_buffer_tiles_test(VALIDATION=1)0UpdateTileMappingscalls observed on main (A-arm gate failed). Syntheticd3d12_buffer_tiles_testpassed on BOTH GPUs (0VUIDs) (masks2&15; reserved-image separation skipped on both; 12/12 Vulkan tiles + 3/3 D3D12 readbacks)1860dc591, open)test_rdna2spirv_spawn_quota.py5/5 OK (14.65 s) +WorkerParity3/3 OK (6.35 s); A (02f71ccfe) failed with 1 failure + 1 error (WinError 1816)1. Clean-
main(02f71ccfe) Baselines, Windows AMD--pc-tail-uboCheck, and Watchdog-Kicked ProbePre-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) andt4-5080-kick-probewere exploratory follow-ups. All runs usedboot.ps1(--run,--trace,--trace-d3d12,--overlay),Seconds=240(300for 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.rate)rate).bin(last log hits/wr)VK_ERROR_DEVICE_LOSTt4-5080-base-cold--wave64-emulate on)t4-5080-base-warm--wave64-emulate on)t4-radeon-base-cold--wave64-emulate off --pc-tail-ubo)t4-radeon-base-warm--wave64-emulate off --pc-tail-ubo)t4-radeon-clean-cold--wave64-emulate off, no tail-ubo)t4-radeon-clean-warm--wave64-emulate off, no tail-ubo)t4-5080-kick-probe--wave64-emulate on, kick+724 skip)--pc-tail-ubodiagnosis (MEASURED+READ IN CODE): On Windows AMDgfx1036(maxPushConstantsSize: 256 bytes, one agent's localMEASURED), forcing--pc-tail-uboproduced1,664(cold) and1,688(warm) failedExecuteCommandListscalls (about one failure per present) and loggedslots 512(GraphicsPipeline::rectangle_stage) pipeline-variant failures.READ IN CODE:--pc-tail-uboputs the push-constant tail in set 1 binding 0 (tools/rdna2spirv.py:113,16677-16694), while the graphics pipeline layout at02f71ccfedeclares set 0 only (runtime/shims/d3d12_vulkan_device.cpp:12890-12907), and a draw with an unbuilt variant fails replay atruntime/src/vulkan_replay.h:3116(VUID-VkGraphicsPipelineCreateInfo-layout-07988layout mismatch inferredREAD IN CODE/ASSUMED, not captured under validation layer). Rebuilding G0 without--pc-tail-ubodroppedExecuteCommandListsfailures to0/0andslots 512to0.2. Open PR
#2392—make_game.py --stages pipelinesJournal Seeding (RTX 5080, 3+3)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 all1,480>= 2 MiBcompute shaders (724library +756main corpus, split is one agent's localMEASURED) rather than only the724library shaders inTRACK4-AB-PLAN.mdso the stage completed under wave64 emulation without multi-hour compiles. Resumed cleanly after an earlier partial run (rc=0,461 sinternal /462.3 swrapper elapsed):202built (202compiled,0from cache),3,755journaled already,16being built by another process (3,973entries total;3,755.binfiles on disk — duplicate SPIR-V hashes across entriesASSUMED),0failed,1,480/1,480left out via--skip-listed. Overlap witht4-5080-base-warmjournal files:950/951.02f71ccfe + #2392 head f896a16f4, fresh cold runtime cache per run,Seconds=180):A = LEONIDA_PIPELINE_JOURNAL_SEED_DIR=(unseeded) vsB = LEONIDA_PIPELINE_JOURNAL_SEED_DIR=<per-GPU #2392 seed folder>(seeded).LEONIDA_SKIP_COMPUTEunset during boot in all 6 runs.rate)rate).bincompiled in-gameVK_ERROR_DEVICE_LOSTt4-2392-A-1t4-2392-B-1t4-2392-A-2t4-2392-B-2t4-2392-A-3t4-2392-B-3MEASURED, n=3 per arm): PREDICTION HELD. Seeding cut in-game.bincompiles from1,721 / 1,721 / 1,725to1 / 1 / 1(-99.94%; identity of the 1 remaining shaderASSUMEDto be the skipped>= 2 MiBentry), logged1,800+journal hits with0disabled warnings and0VK_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~700estimate. Note (READ IN CODE, tested#2392merged3d12_vulkan_device.cpp:11706-11711): journal log lines print on the 1st event of each kind and every 100th, so exact.bincounts are reported alongside the log lower bounds.3. Open PR
#2275— Compile-Gate / Submit-Mutex Handoff (RTX 5080, 3+3 Cold)Seconds=300):A = 02f71ccfevsB = 02f71ccfe + #2275 (head e1bf0b8ae)(merged cleanly onto02f71ccfedespite overlapping#2412).rate)rate)count / total ms / longest ms)VK_ERROR_DEVICE_LOSTt4-2275-A-102f71ccfe)t4-2275-B-1+#2275)t4-2275-A-202f71ccfe)t4-2275-B-2+#2275)t4-2275-A-302f71ccfe)t4-2275-B-3+#2275)MEASURED, n=3 per arm): PREDICTION HELD. Even with#2412already inmain, B beat A in 3/3 cold runs: compute gate turned off in 3/3 B runs (0in A), compile-gate waits dropped from955 / 997 / 973(8,128–17,961 ms, longest up to9,616 ms) to2 / 4 / 7(95–287 ms, longest52–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%), andVK_ERROR_DEVICE_LOSTstayed0.4. Merged PR
#2412— Adaptive Compile Gate (RTX 5080, G3 Pack, 3+3 Default + 3+3 Exploratory Adaptive)READ IN CODE,f75b2b425runtime/src/vulkan_device_fault.h:536-545): At#2412's merge commit, unsetLEONIDA_COMPILE_GATEstill defaulted toclassic(adaptivewas opt-in viaLEONIDA_COMPILE_GATE=adaptive; a later PR addedauto, which selectsadaptiveorclassicby calibration). We ran both the pre-registered commit A/B (default env,4a) and an exploratory post-hoc single-variable mode A/B onf75b2b425(4b), all cold with fresh caches on the G3 (a3bafd05d) pack.4a. Pre-registered commit A/B (
a3bafd05dvsf75b2b425, default env =classic, cold)rate)rate)count / total ms / longest ms)VK_ERROR_DEVICE_LOSTt4-2412-A-1a3bafd05d)t4-2412-B-1f75b2b425)t4-2412-A-2a3bafd05d)t4-2412-B-2f75b2b425)t4-2412-A-3a3bafd05d)t4-2412-B-3f75b2b425)4b. Exploratory mode A/B (
f75b2b425, single variable:LEONIDA_COMPILE_GATE=classicvsadaptive, cold)rate)rate)count / total ms / longest ms)VK_ERROR_DEVICE_LOSTt4-2412ad-A-1classic)t4-2412ad-B-1adaptive)t4-2412ad-A-2classic)t4-2412ad-B-2adaptive)t4-2412ad-A-3classic)t4-2412ad-B-3adaptive)MEASURED, n=3 per arm):0VK_ERROR_DEVICE_LOSTin both arms; mean max hold8,648 msA vs8,495 msB, B shorter in 2/3 pairs). Pre-registered shorter-hold prediction was unmet / not refuted, explained byf75b2b425defaulting toclassic(READ IN CODE).TRACK4-AB-PLAN.md): WithLEONIDA_COMPILE_GATE=adaptive, B beatclassic3/3: paired max-hold ratio3.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), and0VK_ERROR_DEVICE_LOSTacross all 12 runs.5. Merged PR
#2406— Device-Limit Bindless Arrays (Windows AMD Radeongfx1036, G1 Pack, 3+3)fac8b4bb9--wave64-emulate off, cold fresh cache,Seconds=240):A = fac8b4bb9vsB = 20c46b646. Plan deviation: built without--pc-tail-ubo(see Section 1).2D / samp / 2D-arr / 3D / 1D / stor2D)VK_ERROR_DEVICE_LOSTt4-2406-A-1fac8b4bb9)t4-2406-B-120c46b646)t4-2406-A-2fac8b4bb9)t4-2406-B-220c46b646)t4-2406-A-3fac8b4bb9)t4-2406-B-320c46b646)MEASURED, n=3 per arm): Part (1) HELD; Part (2) not reached. All 6 runs created the device and bindless set cleanly (0ECL fail,0VK_ERROR_DEVICE_LOST); B scaled2D-array16,384 → 65,536(4×) and3D/1D4,096 → 65,536(16×).MEASURED: compile-gate waits consumed36.9–213.4 sof each run (0array-full events in either arm; causal link to predating#2407/#2412taggedASSUMED).6. Merged PR
#2404— Write-Watch Shadow Write-Back (Windows AMD Radeongfx1036, G1 Pack, 3+3)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..011d446c3outsideruntime/,docs/, andtests/touches onlytools/wave64_emulate_opt.py:plan_structured_emulation, which at bothfac8b4bb9and011d446c3is guarded byif 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-back0 KiB),Seconds=240.went back to title pages, lower bound)null_write / other)VK_ERROR_DEVICE_LOSTt4-2404-A-1011d446c3)t4-2404-B-1e5a7c8942)t4-2404-A-2011d446c3)t4-2404-B-2e5a7c8942)t4-2404-A-3011d446c3)t4-2404-B-3e5a7c8942)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 from611 / 611 / 19,239 KiB(3 / 3 / 5lines) in A to0 / 0 / 0 KiB(0lines; plus0 KiBin warmup), with0ECL fail and0VK_ERROR_DEVICE_LOST(device_stall_lines=1occurred equally inA-1,B-1,A-2, andB-2). All 6 runs had0non-null-write access violations; inA-1andB-1, an armed-watchdog null-write occurred afterlast_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 untilboot.ps1stopped it at241 s.7. Merged PR
#2407— Incremental Descriptor Heap Slot Refresh (RTX 5080, G1 Pack, 3+3 Default + 3+3 Warmup-Capped)Seconds=240): All 6 runs (A-1..320c46b646andB-1..3627163c8e) reached the241 stime limit (205–209PresentX A vs203–205B;411–420ECLX A vs406–411B) with0VK_ERROR_DEVICE_LOST(vk_device_lost_lines=0in all 6). Each run logged1device-stall(15–23device-fault: submitted dispatchlines per run in both arms) alongside compile-gate waits totaling216.5–218.6 s(longest19.3–19.6 s; blocking behind pre-#2412compute warmupASSUMED). B logged8,926–9,185V# halves recorded (logged by B only).LEONIDA_COMPUTE_WARMUP_LIVE_MAX_BYTES=131072in BOTH arms perdocs/running.md,Seconds=240):rate)rate)submit phasesheaps (avg median / single max ms)n / med / max)device-stall(dispatch lines)VK_ERROR_DEVICE_LOSTt4-2407s-A-120c46b646)t4-2407s-B-1627163c8e)t4-2407s-A-220c46b646)t4-2407s-B-2627163c8e)t4-2407s-A-320c46b646)t4-2407s-B-3627163c8e)MEASURED, n=3 per arm, 6+6 across Rounds 1+2): Device-loss part HELD; slot-cost part PROVISIONAL; submission-rate part MISSED.HELD):0VK_ERROR_DEVICE_LOSTacross all 12 runs (6A +6B). In Round 2t4-2407s-A-3, the64device-fault: submitted dispatchlines came from1device-stalldiagnostic (vk_device_lost_lines=0), and its watchdog exit is inferred fromaccess_violation_counts={null_write: 1, other: 0}andunhandled_cache_write_lines=1(pr2407_story_ab_sanitized.jsonupdated to match).PROVISIONAL): Median0.157–0.241 ms/ max7.534–21.869 msacross12windows per run (392,817–412,636V# halves recorded in B), well below1,000 ms; markedPROVISIONALbecause the pre-registered gate required arm A to reach story load, which the records do not establish without peek states (story loadASSUMED).MISSED): The pre-registered prediction that B maintains submission rate>= Amissed in both rounds — Round 2 B ECLX/s was25.71–26.48/svs A27.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 was406–411vs A411–420. In Round 2, noCPU release filterline was logged in A (cpu_release_filter: null), whilesubmit phasesheapstime was higher in B (avg median3.98–4.62 msandsingle max 309–340 msin B vs3.40–3.53 msand18–92 msin A).8. Open PRs
#2402,#2405, and#23678a.
#2402(02f71ccfevs02f71ccfe + #2402 head 35eb7b4a4, RTX 5080 G0 warm, 2+2,PROVISIONAL)rate)rate)submit phasestVK_ERROR_DEVICE_LOSTt4-2402-A-102f71ccfe)t4-2402-B-1+#2402)t4-2402-A-202f71ccfe)t4-2402-B-2+#2402)PROVISIONAL, n=2 per arm): Both B runs had lower ECLX/s (-3.2%mean from unrounded per-run rates:27.31–28.40vs28.74–28.79/s), with0VK_ERROR_DEVICE_LOSTin both arms. All 4 runs ended on armed watchdog exit31–42 safter the last submit-phase line (matching the#2275cold 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 merge931dac94f)MEASURED): In every RTX 5080 run onmain(includingt4-5080-kick-probe), the pre-registered A-arm gate (> 0UpdateTileMappingscalls) failed (0UpdateTileMappingscalls in all JSONtile_mappingsfields;0CreateReservedResourcecalls is one agent's localMEASURED), so no game-run A/B was run.MEASURED,d3d12_buffer_tiles_testbuilt from02f71ccfe + #2405,LEONIDA_VK_VALIDATION=1):616.64, tiled resources tier 4):rc=0,0VUIDs; exercised the excluding device mask (dedicated type 1, arena type 4, device mask 2, mixed mask 18); reserved-image separation case skipped (reasondevice cannot create reserved textureis one agent's localMEASURED);12/12full tiles matched in Vulkan replay;3/3Native D3D12 GPU readbacks matched.gfx1036(32.0.21030.2001, tiled resources tier 3):rc=0,0VUIDs; exercised the including device mask (dedicated type 0, arena type 2, device mask 15, mixed mask 5); reserved-image separation case skipped;12/12full tiles matched in Vulkan replay;3/3Native D3D12 GPU readbacks matched.8c.
#2367(Host-side Part 1 —02f71ccfevs02f71ccfe + #2367 head 1860dc591, CPU/Python, no game files)02f71ccfe + #2367):test_rdna2spirv_spawn_quota.py5/5 OK (14.65 s);test_translate_pipeline_compute.py WorkerParity3/3 OK (6.35 s).02f71ccfecontrol, running B's new test file againstmain's tools): 3/5 passed, 1 failure + 1 error (WinError 1816reproduced).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 (
0hits).Imported from ubiquitarianism/leonida. Originally posted by Mike7581 on 2026-11-28T18:39:48Z.
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.
Imported from ubiquitarianism/leonida. Originally posted by HasiKe on 2026-11-28T19:17:04Z.
Baseline of the D3D12 runtime (
d3d12/) on an 8 GB NVIDIA desktop card. Four runs on one machine, all ending inplay(the user walked in the open world). The frame rate is what the F3 panel showed, as the user read it out.LEONIDA_MEMORY_CARD_MB=1536 LEONIDA_CARD_BUFFERS_MB=768 LEONIDA_TEXTURE_BUDGET_MB=1536LEONIDA_TITLE_GRAPHICS=performanceWhat it shows (MEASURED on this machine, n=1 each):
LEONIDA_TITLE_GRAPHICS=performancewas 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.Imported from ubiquitarianism/leonida. Originally posted by bobcatchris on 2026-11-29T06:02:49Z.
Windows AMD RX 7900 XTX (Profile L) baseline on
main(791899f65) — first native Windows AMD report fordocs/running.md("Windows, AMD" is currently TBD). Both runs were unattended (first-run UI/menu, no user input); 0 faults, 0 device losses, 0 crashes.tested: #2566 on AMD Radeon RX 7900 XTX 24 GB (Windows 11, driver 32.0.32029.2010), better: first-run UI / menu (30.0 fps, 60.1 subs/s, ~9.3 ms/f heaps) / first-run UI / menu (30.0 fps, 30.1 subs/s, ~3.8 ms/f heaps, 0 faults) — full A/B
RUNblocks posted on #2566.Imported from ubiquitarianism/leonida. Originally posted by bobcatchris on 2026-11-29T12:11:18Z.
tested: #2402 on AMD Radeon RX 7900 XTX 24 GB (Windows 11, driver 32.0.32029.2010), same: first-run UI / menu (30.0 fps, 0 faults) / first-run UI / menu (29.6 fps, 0 faults; retire_ticket_lock_test PASS, GPU direct latency 0.64 ms vs 0.74 ms) — RUN blocks on #2402. AI-assisted: Antigravity (Gemini 4 Neon).
Imported from ubiquitarianism/leonida. Originally posted by bobcatchris on 2026-11-29T12:14:19Z.
tested: #2405 on AMD Radeon RX 7900 XTX 24 GB (Windows 11, driver 32.0.32029.2010), same: first-run UI / menu (30.0 fps, 0 faults) / first-run UI / menu (30.0 fps, 0 faults; d3d12_buffer_tiles_test PASS) — RUN blocks on #2405. AI-assisted: Antigravity (Gemini 4 Neon).
Imported from ubiquitarianism/leonida. Originally posted by CnKabii on 2026-11-30T05:03:35Z.
Windows NVIDIA gameplay run — RTX 5070 Ti Laptop, Series S at 720p
The tester observed stutters during play while waiting for the scene to render. The frame rate held steadier when the camera stayed still. The log also shows short sections around 19 FPS and several severe drops, including 0.9 and 0.8 FPS samples near the end. Camera actions were not timestamped, so individual drops could not be matched to specific inputs. The ~60 FPS startup/menu samples were excluded from the gameplay summary.
Windows reported memory pressure during the transition into play and the runtime reduced texture prefetch. Peak reported dedicated VRAM use was 8,567 MB against a 10,632 MB budget at that time. These observations do not identify the cause of the stalls.
The 15.7 FPS figure is the median of periodic snapshots from the steadier segment. This run did not capture per-frame timings or a full-route average.
Imported from ubiquitarianism/leonida. Originally posted by lerapeurdu62280-debug on 2026-11-30T18:10:43Z.
Baseline on
main, Windows AMD (docs/running.mdsays no public Windows AMD game run is known yet), cold caches. A warm run follows.What held the frame in the world: 81 compute pipelines were made in play, each logged
the library did not load itwithE_INVALIDARG(0x80070057) from the pipeline library on this AMD driver; 45 of them took over 1 s, most 5-9 s, the longest 171 s. When the device went, several of those makes were in flight and the submitting thread was preparing one list (nothing of ours on the card). Details in #2585.Contribution : EI S.O.S INFO LUDO
Imported from ubiquitarianism/leonida. Originally posted by lerapeurdu62280-debug on 2026-11-30T18:19:50Z.
Second baseline run, warm (follows https://github.com/ProjectLeonida/mandy/issues/2464#issuecomment-7287463563).
69 pipelines were still made in play, each with the pipeline library refusing to load its entry (
E_INVALIDARG). Next: the same machine and recipe with #2670 (RDNA2 aperture segment; its description is this failure:0x887A0007, empty DRED, nothing of ours on the card).Contribution : EI S.O.S INFO LUDO
Imported from ubiquitarianism/leonida. Originally posted by lerapeurdu62280-debug on 2026-11-30T18:25:53Z.
tested: #2670 on RX 6600 8 GB (Windows, AMD 32.0.21045.29003), better (n=1, caches not equal, see the PR): story load + device lost at ~180 s / play ~290 s, closed by hand, no device lost. RUN blocks: https://github.com/ProjectLeonida/mandy/pull/2670#issuecomment-7287835786
Contribution : EI S.O.S INFO LUDO
Imported from ubiquitarianism/leonida. Originally posted by lerapeurdu62280-debug on 2026-11-30T18:46:10Z.
tested: #2670 on RX 6600 8 GB (Windows, AMD 32.0.21045.29003), better, same emptied caches for A and B: world load + device lost at ~267 s / play through ~625 s, closed by hand, no device lost. https://github.com/ProjectLeonida/mandy/pull/2670
Contribution : EI S.O.S INFO LUDO
Imported from ubiquitarianism/leonida. Originally posted by aznohonza on 2026-12-01T03:08:24Z.
A baseline from one more machine, Linux + Wine + NVIDIA, which running.md does not cover yet.
Two more warm runs from the same overlay and journal are context, not blocks: one drew the city night street with its credits at t~1800 s, then the cgroup OOM-killed it at 22.2 GB peak; the run before it (default arenas) was OOM-killed at 22.3 GB, 21 min in. The 1024/2048 arenas are what keeps a run at 19-20 GB. The screenshots and the logs stay local.
The stall is the interesting one: it starts right after the pipeline-compile burst for that scene, with every gate met except the one held, and the title waiting on it from the CPU. If this is a known case of the list-value gates (the stalled rule needs the title quiet, and here the title was quiet but a write group or a queue hold may have counted as progress), a hint on which counter to watch would let us test the next run against it.
AI-assisted.
Imported from ubiquitarianism/leonida. Originally posted by aznohonza on 2026-12-01T03:53:52Z.
Two more runs on the same profile, the other side of run23's stall: with the list values off, the same scene draws
further and the device is lost instead of the title waiting. One variable against run23 in both.
So on this card the same scene has two ends: run23 waits in one held console value for 101 minutes (gates on), and
runs 24/25 lose the device 8-40 s after the same kind of frame (gates off). Both runs 24 and 25 were also close to
their host-memory limits when it happened (23.6 GB of 24 GB in run25), and the earlier runs spilled VRAM to host
memory once the 12 GB card was full, so host-memory pressure and the device loss may be connected; the fault report
gives no address to say so on its own. Cache files, overlay, saves and screenshots stay local.
AI-assisted.
Imported from ubiquitarianism/leonida. Originally posted by lixonik on 2026-12-01T04:13:22Z.
### Step 1: Baselines on
main(a596adfac) -- Windows 10 + NVIDIA RTX 5070 12 GB (driver 621.40)D3D12 runtime (
d3d12/,diagbuild withdiagnostics,dlss,mimalloc, DLSS v310.9.16, Streamline v2.14.16)Vulkan runtime (
runtime/, post-#2566check on Windows 10 + NVIDIA RTX 5070 12 GB)Step 2: Pull request A/B test summaries (all on RTX 5070 12 GB, driver 621.40, base
a596adfac)tested: #2643 on RTX 5070 12 GB, better: play 0.2 fps (5391 ms, stuck at 13 arenas) / play 9.8 & 9.6 fps (101.8 & 104.0 ms, 20 arenas, RT + DLSS FG 2x, +5700% in 3000-4999 draws)(full RUN blocks)tested: #2699 on RTX 5070 12 GB, better (provisional n=2 pairs, LEONIDA_RELAY=1 + LEONIDA_LAND=1): play 29.1 & 21.6 fps (34.4 & 46.1 ms) / play 39.5 & 22.9 fps (25.4 & 43.5 ms, faster in 3/3 compared draw buckets, 0 errors)(full RUN blocks)tested: #2688 on RTX 5070 12 GB, same (provisional n=2 BAAB pairs, Series X rebuilt shader cache, CPU-bound gpu_wait 0.1-0.2 ms): play 20.4 & 18.8 fps (49.1 & 53.5 ms) / play 18.5 & 20.2 fps (54.4 & 49.6 ms); better cold driver PSO compile (371 s -> 328 s, median 669 -> 515 ms, 0 translation regressions)(full RUN blocks)tested: #2645 on RTX 5070 12 GB, same (boot + VVL/sync GPU tile tests on 621.40): first-run UI / menu 120 s (0 faults) / first-run UI / menu 120 s (0 faults; UpdateTileMappings not invoked during menu boot; buffer & texture tile tests 2/2 passed with VVL+sync) ([full RUN blocks](https://github.com/ProjectLeonida/mandy/pull/2645#issuecomment-7300505026))AI-assisted: Antigravity.
Imported from ubiquitarianism/leonida. Originally posted by TurboTheTurtle on 2026-12-02T20:20:34Z.
Three
RUNblocks for thed3d12/layer on an RTX 5080 desktop, driver 621.47 (the 5080 blocks above are theruntime/path on 616.64). These are the figures pull request #3211 puts ind3d12/README.md.One reading that is not in the table above: with
-Dlsstyped, the fourLEONIDA_*values ind3d12/leonida-settings.txtare dropped, because the switch claimsLEONIDA_RENDER_SCALE,LEONIDA_UPSCALE,LEONIDA_OWN_UPSCALERandLEONIDA_OUTPUT($switchSettings);-FrameGen 2alone keeps$wantDlsstrue, so the menu file is what carries the 2560x1440 present in run 2. No game files attached; the counts are the layer's own log lines.Imported from ubiquitarianism/leonida. Originally posted by TurboTheTurtle on 2026-12-02T21:05:21Z.
Three more
RUNblocks for the same machine, the remaining preset rows (this is the second half of the 5080 set above; the pull request now carries five cells ind3d12/README.md).Read together, the six blocks say the preset table's Series X numbers split by upscaler path rather than by height: the DLSS path runs at its own pace (27.2 fps at the 4K present, 29.5 at 1440p), while the title's-upscaler presets all sit on the 28 fps generation cap, 35.7 ms, with the card's own pool between 1.7 and 1.9 GB and no frame over 100 ms. No game files attached; the counts are the layer's own log lines.
Imported from ubiquitarianism/leonida. Originally posted by TurboTheTurtle on 2026-12-02T21:18:56Z.
The last four presets, same machine and recipe as the six above, so the preset table is complete on this card.
All nine preset rows now carry a figure. Two readings for the table: the eight starts with a settled window all sit at the 35.7 ms cadence, so between render scale 0.3333 and 1.0 the one submit thread and the 28 fps generation cap set the frame time; and the card's own memory grows with how long the start runs rather than with the picture's height (1.7 GB at 78 s, 2.3 GB at 1080p, 6.1 GB in the 70 s 480p start, 12.9 GB in the 4 min 1440p start). No game files attached; the counts are the layer's own log lines.
Imported from ubiquitarianism/leonida. Originally posted by drukqaddik on 2026-12-03T03:19:20Z.
Imported from ubiquitarianism/leonida. Originally posted by TurboTheTurtle on 2026-12-03T05:19:41Z.
RUN d3d12-5080-glass-tile-forms-1 (three starts, one tree, one save)
BASE
e5c777734(threed3d12/README.mdcommits on maind9b618f10)MACHINE NVIDIA GeForce RTX 5080 16 GB, 15,209 MB own budget, Windows 11, NVIDIA 621.47, HwSchMode=2, page file 49,152 MB, panel 3440x1440@100 SDR
RECIPE
scripts/play-d3d12.ps1 -Game 'F:\GTA 6\GTA6.Xbox.v1.0.2.1-CYBERLEEK' -Data 'F:\GTA 6\Leonida' -SeriesX -Dlss quality -FrameGen 2 -PrecompileAll -Adapter 'NVIDIA GeForce RTX 5080' -Log -Capture, the same save resumed in each start, camera at Jason's house terrariumOS-DRIVER Windows 11, NVIDIA 621.47, Streamline 2.14.16.b742680bf, NGX nvngx_dlss.dll 310.9.16
TARGET the five glass tile programs left out of
LEONIDA_PAIRED_FOR, andLEONIDA_EARLY_DEPTHMEASURED A (44 names,
play-1202-210256.log): 15 windows, 78 s, 2,441 frames, 31.5 fps shown, median of the window medians 40.7 ms, last eight windows from 24.1 ms, 16 frames over 100 ms, 1 over 1 s, own pool peak 10,999 MB. B (49 names,play-1202-210430.log): 16 windows, 82 s, 2,731 frames, 33.4 fps, 40.8 ms, last eight from 69 ms, 15 over 100 ms, 1 over 1 s, peak 11,047 MB. C (44 names +LEONIDA_EARLY_DEPTH=1,play-1202-210603.log): 16 windows, 82 s, 2,621 frames, 31.9 fps, 39.6 ms, last eight from 53 ms, 12 over 100 ms, 1 over 1 s, peak 11,116 MB. Each start:presents: one plane frame=1 scene=(3840, 2160, 28),LEONIDA_RENDER_SCALE=0.6667, 0 device losses, 0 unhandled.END each start stopped after 78 to 82 s of windows; the pipeline book stayed at 89,933 known
CACHES layer's own under
F:\GTA 6\Leonida(host-pipelines 405 MB, known-shaders 189.4 MB, known-pipelines 51.5 MB); the captures' own PNGs underF:\GTA 6\Leonida\captures_arms, one folder per startINSTRUMENTS the layer's own
frame times over ... s, N frames:lines and thethe card's own: budgetline; the F9 picture andLEONIDA_CAPTURE_FRAMES=1024,2048withLEONIDA_CAPTURE_WORLD=1VERDICT the five named programs cost nothing and gain nothing beyond noise (40.8 against 40.7 ms, 15 against 16 long frames), so the launcher's list can carry them; the early depth test is never worse and has the fewest long frames (12); the terrarium's 2x2 checker is the same in all three and the same size in the title's own 1920x1080 buffer, so it is the 8 x 8 tile structure of
CS_AlphaTransmissionDepthTileGenerationMip1/...Mip25/CS_AlphaTransmissionDepthTileMipDilate, not the upscaler, not the denoise, not the card.Also on this tree, the standing checks:
node --test tests/test_*.cjs113 / 113 pass (was 110 onf37c4a87d),python -I scripts/check_no_game_data.py d3d12/README.mdrc 0,git diff --checkclean, and the preset table atd3d12/README.md:519-529holds its eleven rows with the 5080 figures in nine of them.AI-assisted: Qwen3.8-Flash-Next.
Imported from ubiquitarianism/leonida. Originally posted by kaoru-maki on 2026-12-03T07:52:21Z.
tested: #3139 on RTX 5070 Ti Laptop GPU (12 GB), same: opening sequence / opening sequence.
Four matched A/B pairs on Windows 11 with NVIDIA driver 621.47, native 2560×1440 DLAA, render scale 1.0, frame generation off, and Smooth Motion off. A was clean
mainatd9b618f10150. B was the same base with PR head2bc1f6f43399merged locally. Each measured run started from the same prepared PSO cache snapshot.Across the full route, mean FPS was 23.30 for A and 23.51 for B. Mean per-run P99 was 105.28 ms and 103.95 ms, respectively. The longest frame interval was 10.17 s for A and 10.16 s for B. The paired change in median frame time was −0.43 ms for B versus A (95% CI −0.98 to +0.13 ms).
In the first 40 seconds, the total number of frames over 250 ms fell from 12 to 6 across the four runs per build. Across the full route, the corresponding counts were 123 and 122. The clearest observed difference was in the early window.