Work needed: game-run tests of important PRs, and rendering packages (kept up to date) #2464
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida#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?
@aslan2142 on GitHub · 2026-11-27 13:00 UTC · original
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 ubiquitarianism/leonida --state open --search "Coordinating who works on what in:title".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?
mainsinced1dff7949suspects it: needs an A/B on NVIDIALEONIDA_ASYNC_MIN_BYTESOpen: waiting for a game run before they can be merged
RT-PICTURE-LATTICEbelow, with and withoutThis 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.mainyet. It arrives later as one pull request, so expect one rebase when it lands.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)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 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.mainyet. Build the recorder without them; those fields get added when they land. 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)PICTUREblock (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)ninjahawk: test it, do not redo it), the rect-list corner rule (next block), whatever builds a tile list.RT-RECT-LIST-CORNER: the fourth corner of a rectangle (small)runtime/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 and #2223 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)runtime/shims/xbox_present.cppandruntime/src/present_compose.*(plane alpha, BGRX, sRGB fallback, HDR10, SDR white level: build on #2001, #2014); 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)v_dot4,scalar_load.State audits and the vendor matrix
RT-STATE-AUDIT-FORMATS: formats, views, clears, copies, resolve (medium)Formatand the format checks ind3d12_vulkan_device.cpp; clears and copies invulkan_replay.h.main.RT-STATE-AUDIT-PIPELINE: blend, depth, stencil, raster, samplers (medium)PipelineStreamandPipelineStateind3d12_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
AI-assisted (Claude Code, Claude Opus 5.5 and Claude Fable 5.2)
@OreoFR on GitHub · 2026-11-27 13:10 UTC · original
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: #2418. AI-assisted (Claude Code, Claude Opus 5.5).