The diagnostics breakdown counted every draw or dispatch of a pipeline
left out on purpose (make::left_out: CS_RaytracingResolve without the
ray-tracing structure builder, CS_ScreenProbes_ActivateRays) as "being
made": such a pipeline is never queued, so its host pipeline is never
made. In gameplay that was some 630 indirect dispatches a frame
("dropped 632.0/frame without a host pipeline: being made") while the
queue was empty in every frame ("0 being made"): the ray-tracing
resolves, one indirect dispatch per material (329 distinct resolve
programs bound in run 155824, their first binds in the second the
first indirect signature was dropped). No world draw is among them.
- make::missing names the reason ("left out on purpose: ...").
- The frame line counts them per frame, direct and indirect together
("N of all these left out on purpose: ray-tracing passes without the
structure builder"), in release builds too.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
VICTORY_NATIVE_1440P=1 (scene 2560x1440) or VICTORY_RENDER_1080P=1
(scene 1920x1080 scaled up by the title) patch the retail image's SDR
display mode, scanout reservation, temporal scene scale and Settings
viewport load before it is mapped, each checked against the stock
bytes; the patched image is cached apart from the stock one. The
frontend's legacy 4K projection gets its viewport on the 1440p target.
Ported from DexNom/VIctory (GPL-3.0-or-later), native 1440p part only.
Series X on an RTX 4070 SUPER, the opening's cutscene: median frame
77 -> 67 ms, 95th percentile 506 -> 401 ms (bench x-nowait vs
x1440-vol, with the volumetric light also on).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Each pair (kind of view, texture format, view format) is said once, with
the host's casting support: shader and unordered access views that
`fits` gives the texture's own format, and render target views made in
another format than their typed host copy. On an RTX 4070 SUPER both
CastingFullyTypedFormatSupported and RelaxedFormatCastingSupported hold,
and the opening of GTA VI makes one such pair (a UNORM render target
view of an sRGB texture): not the cause of its posterised shading.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
On cards with a budget of 12 GiB or less the copies of title buffers in
the card's memory were capped at 512 MB, and windows outside buffers had
no card room unless asked for. On an RTX 4070 SUPER (budget 11,229 MB)
the rest, 5.7 GB, was read by shaders over the bus: the opening's six
heaviest compute passes took 20-42 ms each and gameplay ran at 3 fps.
The cap is now 18% of the budget (512-2048 MB) and windows get 9% of it
(at most 1024 MB) from 8 GiB budgets on: those passes take 0.2-0.4 ms
and the release build runs gameplay at 21-25 fps.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
VICTORY_FRAME_INTERVAL_US paces frames at another interval than the
title asks (it asks 33.333 ms); VICTORY_DISPLAY_REFRESH adds a refresh
rate above 60 Hz to the display mode list. VICTORY_KEYS_FILE lets a
driver script press the stand-in pad's buttons while the title runs.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Belobug (76387c2d) found draws flickering because the records past a list's
budget were not the same ones from frame to frame. Whether ours are refused
is not known: the count says it (atomics only when there is something to
say). Off by default; the records' order and costs stay what they were.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Theirs compares the handles, which a title may write other views behind;
here the views themselves (resource, host texture, description) are compared.
A call with the same ones saves a host view per target and the driver's call.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Until the list next writes title memory, as for refreshes: up to 64 KiB of
fill less for every repeat. How often this title binds one was not measured.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Two queries for an interface, three locks and a name looked up at every
change of pipeline; now one lookup by address.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Dispatches declare the same few ranges again and again: 4,003 to 5,550
steps a frame of fork-b1-fast, each a flush of its copy's pending refreshes
and two locks on the thread that submits (the snapshots alone 1.7 to 2.0 ms
a frame). The ranges and their order stay what they were.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Queue: passes over the screen first (local/next), then what draws asked
for, the early ones, and those known to take long by a quarter of the
workers. start() woke one worker, which could be one of the two that take
passes over the screen alone: the pipeline then waited for the next push.
All are woken now. victory warm goes through the pipelines no run drew with
in no order, 40 a process. victory translate: VICTORY_HOST_RDNA=1.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A page shown at several addresses, and one more view of it being mapped: the
views that were to be opened were looked for before the lock was taken, so one
made clean in between stayed clean with a writable view beside it (a write of
the title's through that one was not told until its block's next told write),
and they were opened one range after another, so for some microseconds one was
writable while others were still known by their bits (told one asking late).
Both are older than the faults' work; VICTORY_OPEN_ONE_VIEW made the first
common. Also: what is known by its bits is not where bytes were just put in
beside the guard (VICTORY_COPY_BESIDE, VICTORY_STORE_BESIDE).
The test of writes through other views failed in 6 of 200 runs, then 4 of 380
with the first mended, 0 of 603 (four tests each) with both.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A page shown at several addresses, and one more view of it being mapped: the
views that were to be opened were looked for before the lock was taken, so one
made clean in between stayed clean with a writable view beside it (a write of
the title's through that one was not told until its block's next told write),
and they were opened one range after another, so for some microseconds one was
writable while others were still known by their bits (told one asking late).
Both are older than the faults' work; VICTORY_OPEN_ONE_VIEW made the first
common. Also: what is known by its bits is not where bytes were just put in
beside the guard (VICTORY_COPY_BESIDE, VICTORY_STORE_BESIDE).
The test of writes through other views failed in 6 of 200 runs, then 4 of 380
with the first mended, 0 of 603 (four tests each) with both.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Run shaders-1, the first with a changed translator (fresh shader and
pipeline caches): 3,020 pipelines started at creation, all 16 workers in
programs of seconds to tens of seconds each while the title loaded (97 made in 20 s),
then the quick ones at 100-190 a second, too late: 0.5-1.6 s a frame and up
to 2,900 draws a frame dropped from 60 to 150 s. A pipeline that took a
second is now noted (slow-pipelines.txt; `victory warm` notes them too) and
waits in a list of its own.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
VICTORY_UNDER_WIDE=0, VICTORY_UNDER_THREADS (6), VICTORY_FAST_CORES=3 (as before: all of them), VICTORY_WIDE_SPIN=<us> (0: off).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every pipeline the title creates goes to known-pipelines.bin beside the
pipeline library, its containers to known-shaders.bin (in the cache folder;
they are the title's code). `victory warm` makes their host pipelines in
idle-priority processes of 200 each and lets them go: the driver's cache on
disk keeps them. Those earlier runs drew with come first; what is done is
noted by translator and driver (warm-done.txt); a pipeline that ends or
hangs its process is named in warm-bad.txt and skipped. VICTORY_EARLY_ALL
does this in the running title and ended it inside the driver.
Not measured yet: how long, and how much the driver's cache grows.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Yard capture, 423 passes a frame, turn by turn: 1.93 -> 1.69 ms (4 loops;
four at once 1.70, sixteen 1.71).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A store that faults, or a part of a copy into a guarded block, whose bytes
are there already is left out (with VICTORY_STORE_BESIDE, VICTORY_COPY_BESIDE).
The places in the title's code where that is the rule and the instruction is
an `or` of a byte with a constant are written into the file, and made to look
before they write at the next start. The file holds offsets, no code.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Memory the kernel watches counts as written by the landing of what shaders wrote; the next
refresh copied those pages and sent them up again (run submit-2, the dorm: a copy of 90 MB,
write-combined for the title, 14.9 MB a frame fetched and 14.4 MB of the same pieces sent).
Pages a landing was noted in are compared with the CPU side, 4 KiB at a time, and left if
they are alike. Not run in the game yet.
Co-Authored-By: Claude Opus 5.5 <[email protected]>