After each pipeline made while playing (a place first seen) the whole library was serialised again, at most every
20 s, with stores held off meanwhile. At 1.2 GB that froze the game: a frame of 8.9 s while it was written, and the
game ended 8 s later at the next one (run rs2-r1440, 2026-11-28). Larger than the bound, it is now written at the end
of the run only (lifecycle end); the pipelines made meanwhile stay counted, the driver's own cache on disk keeps them,
and the list of pipelines to start early (small) is still written as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On Series X the title presents one plane with its interface drawn into it, so frame generation had only the
picture with the interface and dragged it along in the generated frames. Before the title's interface composite
(one triangle, one instance of vertex 0602c2384acbb3b2 and pixel a78d088fa55aa495) into a texture it presents, the
plane is copied into one of two textures of ours in the draw's list (one copy a list, the list marked); when that
list is submitted the copy is noted, and the present after it tags the first copy of the presented texture as
kBufferTypeHUDLessColor (eValidUntilPresent, a copy's destination, the plane's size). A present with tags and no
copy removes an older one with a null tag. LEONIDA_FG_HUDLESS (on; 0 off); while frame generation is off (not
started, or the amount at 1) draws ask one atomic and nothing is copied or made. Log lines: "the picture without
the interface" (first copy, first tag, the textures made, and every 300 presents copies, tagged, missing,
overwritten, composites, others).
Ported from trustno1-coder/VIctory-NVIDIA 1d0fa87 (GPL-3.0-or-later): its streamline.rs INTERFACE_COMPOSITE,
before_target_draw, hudless_texture, hudless_submitted, hudless_for and draw.rs before_shown_target. Unlike it, a
copy whose texture of ours a later copy went into before its present is not tagged.
Tested: the new fg::hudless_tests (composite match, the copies' bookkeeping, presented textures, the switch) and
cargo build --profile diag -p leonida --features diagnostics,dlss,mimalloc. Not run in the title yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Series X 1440p presents one plane, 2560x1440 R8G8B8A8_UNORM, with the interface drawn into it (run pl, 2026-11-28):
frame generation cannot be handed the interface from a plane of its own there.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the review of 016554bef: `--json=<text>` and `--help=<text>` still came
back in the error ("ignored explicit argument '<text>'"). argparse raises
that for a known flag before parse_known_args returns, so counting unknown
arguments could not catch it.
The parser is now a subclass whose error() rewrites every message argparse
raises from a short list of fixed texts, with the option's own name where it
names one: "takes no value", "needs a value", the three texts of the tool's
own argument types, "a log is needed", and "not understood" for anything the
list does not know (another Python's wording, a check argparse gains later).
The tool's own errors go through fail(), unchanged. Nothing typed can reach
an error message by any path.
Test: python -I tests/test_d3d12_run_fps.py (22 tests). New: argparse's own
errors for --json=<marker>, --help=<marker>, bad --edges and --min-samples
values, an unknown flag and a missing log, with plain, quoted and spaced
markers; a message the list does not know; the fixed texts are the argument
types' own.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Measured with the merged build at the waterside save: masked pipelines made and used, 28 to 30 refused pipelines as
without it, none for memory, no device removal, nothing broken in the picture (two starts of the branch, one of the
merge).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Skip waiting when a recording thread arrives with an older frame number. Otherwise the older request can reset the budget and let the newer frame spend it again.
The paired form (a host thread runs two console lanes, no group barriers) takes that program from 2.9 ms to 0.03 in
the timing runs, and leaving it out in turns took 2.3 ms off the frame. It waited for a comparison with projected
decals in view. At the waterside save the decals in view are the player's (grime on the arms and the shirt): left
out by turns in one still view they go (run ds). In a start with the paired form they are there as in a start
without it, nothing blocky, and the standard moves of each start show the same 6 one-frame blips (runs pf0, pf1).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The real-Windows check only asserted that known_folders() returned at most
three paths, so an empty or shortened result passed. Without
KF_FLAG_DONT_VERIFY the shell reports a known folder only where it exists,
so the expected result is the unverified paths (KF_FLAG_DONT_VERIFY) that
are directories, in KNOWN_FOLDERS order. A machine with a missing folder
still passes, and a known_folders() that drops an existing folder fails.
GTA fades between an object's levels of detail with OMSetSampleMaskX
(newer list slot 142, 0x470): the two levels draw with complementary
2x2 quad masks. The slot was ignored, so both levels drew every pixel;
expected to be the plants and trees that flicker (not confirmed in a
run yet).
A second translation of the pixel program (with_pixel_mask) discards
at entry each pixel whose quad bit is clear in a root-constant dword
the host sets (USER_PIXEL_MASK, 0x10a) and drops the early depth test.
A draw under a mask that leaves pixels out takes its pipeline's masked
twin, made on first use by a worker (the title's pipeline draws every
pixel meanwhile); every other draw is unchanged. LEONIDA_SAMPLE_MASK=0
ignores the slot as before.
From trustno1-coder/VIctory-NVIDIA 0938dd9 (GPL-3.0-or-later), adapted:
- a pixel program without SV_Position reads the one it is given from
the row the vertex or mesh program writes it in. The fork puts it
after the program's other inputs, and the host refuses to link that
where the vertex program writes the position first (E_INVALIDARG on
an RTX 4060 Ti; a test now draws both layouts);
- the twin keeps the title shader's hash (skip lists, sampler scopes
and bake detection take it for that shader), and follows the bound
target formats as the title's pipeline does;
- the masked form has shader-cache keys of its own, one per position
row; plain translations keep theirs.
Tests (leonida-shader, on the card and on WARP where a device is
needed): a_pixel_mask_draws_only_its_pixels_of_each_quad,
a_masked_pixel_program_reads_the_position_where_the_vertex_program_writes_it,
a_masked_pixel_program_reads_the_mask_and_loses_early_depth,
the_sample_mask_keeps_pixels_by_their_place_in_the_quad; (leonida-gpu)
the_sample_mask_reaches_the_masked_pixel_shader,
the_masked_form_never_shares_a_key_with_the_plain_one,
the_sample_mask_is_slot_142_of_newer_lists_and_has_a_switch.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>