Commit Graph
1398 Commits
Author SHA1 Message Date
trustno1-coderandClaude Opus 5.5 d3cd650c12 Launchers per console and resolution
play-nvidia.ps1 takes -Resolution (2160, 1440, 1080, 720, 540, 480): the
height the world is drawn at before the title's own upscaler. The render scale
is that height over the output height (Series S 1080, Series X 2160); Series S
refuses heights above 1080. The script prints the console and resolution it
starts with.

scripts\play-S-{1080,720,540,480}p.ps1 and play-X-{2160,1440,1080,720,540,480}p.ps1
call it with each, passing -Exe and other switches through. README: "Picking a
resolution", with what each draws, its render scale, which were measured on
the RTX 5070 and what to expect.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 19:20:45 -08:00
trustno1-coderandClaude Opus 5.5 77e13a974a Faces move, ray tracing mostly off, intro video fix, picture fixes
- Faces: the face network's 16-bit values travel through integer views; they
  were read as floats and came back as zeros on NVIDIA. Port of
  fxceless/victory-fork pull request 927 (tippythetaidum): emit/halves.rs,
  lower.rs, descriptor/host.rs, draw.rs.
- Ray tracing mostly off: scripts/rt_off_hashes.txt lists the 1,000
  CS_RaytracingResolve and 34 traced-shadow shaders, skipped by
  play-nvidia.ps1 through VICTORY_SKIP_PIPELINES (-RayTracing keeps them).
  The structure builder cannot run on NVIDIA, so every ray missed and rooms
  went white depending on the view angle. The screen-probe and visibility
  traces keep running; skipping them left rainbow glitter.
- Intro video flicker: linear one-level R8 video planes always record their
  copy (texture.rs), so frames of the ring no longer show out of order.
- VICTORY_AMBIENT_MOST (ambient.rs), VICTORY_NAN_SCRUB (emit/lower.rs) and
  VICTORY_PIPELINE_WAIT_ONCE (pipeline/make.rs, on by default).
- Off by default: VICTORY_CONSTANT_MARKS (port of fxceless pull request
  1216), VICTORY_TARGET_VARIANTS (port of fxceless a35c557393), F9 frame
  capture (capture.rs).
- play-nvidia.ps1: the speed set by default, -Quality for the slower set
  with fewer stretched bodies and less rainbow skin. README updated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 19:13:08 -08:00
trustno1-coder 3e5fb36392 Update README.md 2026-11-25 16:19:59 -08:00
trustno1-coderandClaude Opus 5.5 0cdad6b357 README: list the projects this fork was built from
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 16:09:17 -08:00
codec_d efeef1d65b Back off refused GPU pool growth and defer uploads under low commit 2026-11-25 16:07:37 -08:00
codec_d 933b382635 Scope bindless refreshes to their heap and bound speculative staging 2026-11-25 15:50:47 -08:00
trustno1-coderandClaude Opus 5.5 10e87106c2 README: what this fork changes and how it gets its frame rate, at the top
The settings that lower the picture (Series S profile, half render scale, the
title's own upscaler, ray walks ended at the root), the ones that are faster
without changing it (memory compares on the card, waiting for shaders, Smooth
Motion), and the code changes that make it work on NVIDIA, with the measured
frame rates of each step. The old list further down now points to it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 15:48:31 -08:00
trustno1-coder 969843e0d0 README: VIctory on NVIDIA
What this fork changes for NVIDIA cards, where it stands on an RTX 5070 (Series S, half scale, about 20-22 fps), how to run it with scripts\play-nvidia.ps1, and credits (the 7900 XTX fork first).
2026-11-25 15:46:43 -08:00
trustno1-coder a1849fac28 scripts/play-nvidia.ps1: NVIDIA Series S launcher, Smooth Motion by default
scripts\play-nvidia.ps1 -Exe <your copy's executable>: the fork's play set plus PIPELINE_WAIT_MS=10000, DYNAMIC_SLOTS=524288, RENDER_SCALE=0.5, OWN_UPSCALER=1, BVH_MISS=1, CARD_BUFFERS_MIN_MB=1, CARD_BUFFERS_MB=1536, COMPOSE=1, Series S. Starts a victory_sm.exe copy of the build so an NVIDIA App Smooth Motion profile for that exe applies (-NoSmoothMotion: victory.exe; -SeriesX: the Series X profile).
2026-11-25 15:44:30 -08:00
trustno1-coder 24a479d329 Shader: VICTORY_BVH_MISS ends ray walks at the root
While the BVH builder is off its nodes are stale: VICTORY_BVH_MISS=1 makes every box and triangle test a miss instead of walking them (no hang, about 10 ms a frame less). It is part of the shader cache key.
2026-11-25 15:44:02 -08:00
trustno1-coder afd84de12f Loader: render scale, own upscaler and watchdog title patches
hooks.rs (1.0.2.1 executable only): VICTORY_RENDER_SCALE (0.2-1.0 internal render scale), VICTORY_OWN_UPSCALER=1 (the title's own temporal upscaler on every profile; Series S needs it with a scale below 1), VICTORY_NO_WATCHDOG. Taken from the victory-perf patches.
2026-11-25 15:43:32 -08:00
trustno1-coder a9632bc8de NVIDIA: VICTORY_DYNAMIC_SLOTS on a capped view heap (stops dropped draws)
NVIDIA caps the shader-visible view heap at 1,000,000 (the title wants 1,245,184), so the dynamic slot pool (2^18) ran out and 1,100-4,800 tables a frame were refused, each a dropped draw (the screen rarely updated). VICTORY_DYNAMIC_SLOTS=524288 takes more of the title's kept-in-place slots (at most half the heap): 0-33 refused a frame.
2026-11-25 15:43:00 -08:00
trustno1-coder 7997a20363 NVIDIA: more dynamic descriptor slots; Series S interface plane (compose)
- present: VICTORY_COMPOSE=1 lays the Series S interface plane (4K) over the game plane (1080p); without it everything before gameplay is black. Ported from fxceless/victory-gta6 PR #1189 (compose.rs; FSR stand-in not ported, use VICTORY_OWN_UPSCALER=1).
- shader cache key includes VICTORY_BVH_MISS.
Measured on an RTX 5070, Series S, half scale: about 20-22 fps, no device loss.
2026-11-25 15:42:19 -08:00
codec_d 3bcc96f9bb Port NVIDIA Wave32 lowering, smooth movie-plane uploads, XMA audio fixes, and 32GB RAM residency budgets 2026-11-25 15:31:19 -08:00
codec_d 45e90f4de8 Fix Series S two-plane black screen by reading RetailPlane at 72-byte stride 2026-11-25 14:55:26 -08:00
codec_d f5847e6248 Merge VIctory-7900XTX (0a43566) with RTX 5090 fidelity & 32 GB RAM optimizations: two-plane compose, fallback heaps, TablePlan, residency guard, 256 MiB DirectStorage, and WaitOnAddress fence wakes 2026-11-25 14:43:52 -08:00
localandClaude Opus 5.5 0a43566532 README: where it is cloned from
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 16:14:34 -06:00
localandClaude Opus 5.5 aebe5a0622 README: where it is cloned from
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 16:14:34 -06:00
localandClaude Opus 5.5 3b30d6f2cd README, findings and a start script of this fork; fxceless' README kept in docs; the translator's file may be 640 KiB
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 16:13:05 -06:00
localandClaude Opus 5.5 1028eef2c8 README, findings and a start script of this fork; fxceless' README kept in docs; the translator's file may be 640 KiB
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 16:13:05 -06:00
local 57e55d069a Merge commit '449830f6' into local/next 2026-11-25 15:57:35 -06:00
local 7e945ed582 Merge commit '449830f6' into local/next 2026-11-25 15:57:35 -06:00
local 5bf49062d6 Merge branch 'day/shaders' into local/next 2026-11-25 15:57:28 -06:00
local 5aba66bced Merge branch 'day/shaders' into local/next 2026-11-25 15:57:28 -06:00
localandClaude Opus 5.5 44629de2e6 Heaps' records copied as bytes: pages read, compared and sorted out on several threads, empty slots that show nothing left alone; pages of places read by steps on the card asked about once
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 15:57:28 -06:00
localandClaude Opus 5.5 ee481c02fb Heaps' records copied as bytes: pages read, compared and sorted out on several threads, empty slots that show nothing left alone; pages of places read by steps on the card asked about once
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 15:57:28 -06:00
localandClaude Opus 5.5 200a9cc5e6 Scalar buffer loads four dwords a call (VICTORY_SHADER_OPT=127; off): fxceless c36971b2's shader part
What 53abe45a ("wip wide") brought in: opt bit 64, smem's loads through
raw_dwords, its test and switch test as they are there (the global loads of
this tree were wide already). Yard capture, turn by turn: 18.47 -> 18.45 ms
(12 loops) and 18.23 -> 18.16 (5): nothing, so not on. With the bit off the
code written is that of before.

Not run yet: scalar_buffer_loads_read_the_same_dwords_one_call_or_four and
the gpu tests on the second merge of local/next (2be0515c); the diagnostics
build of 393e74fb finished.

Belobug ae75a66a is this tree's own opt.rs (both from the fork at ba8697aa)
without its first-lane pass; 7263339c is a trace: nothing to take.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 15:57:05 -06:00
localandClaude Opus 5.5 3931fbbbad Scalar buffer loads four dwords a call (VICTORY_SHADER_OPT=127; off): fxceless c36971b2's shader part
What 53abe45a ("wip wide") brought in: opt bit 64, smem's loads through
raw_dwords, its test and switch test as they are there (the global loads of
this tree were wide already). Yard capture, turn by turn: 18.47 -> 18.45 ms
(12 loops) and 18.23 -> 18.16 (5): nothing, so not on. With the bit off the
code written is that of before.

Not run yet: scalar_buffer_loads_read_the_same_dwords_one_call_or_four and
the gpu tests on the second merge of local/next (2be0515c); the diagnostics
build of 393e74fb finished.

Belobug ae75a66a is this tree's own opt.rs (both from the fork at ba8697aa)
without its first-lane pass; 7263339c is a trace: nothing to take.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 15:57:05 -06:00
localandClaude Opus 5.5 449830f6fd The frame line says how many indirect records ran empty for want of their list's budget, and the largest cost; VICTORY_INDIRECT_REST=0: a record that does not fit takes nothing from the ones after it
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]>
2026-11-25 15:46:34 -06:00
localandClaude Opus 5.5 49f9aa034d The frame line says how many indirect records ran empty for want of their list's budget, and the largest cost; VICTORY_INDIRECT_REST=0: a record that does not fit takes nothing from the ones after it
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]>
2026-11-25 15:46:34 -06:00
localandClaude Opus 5.5 ca1d519f18 The same render targets are not set again (after ZJOU acf478b8, author local); VICTORY_BIND_CACHE=0 sets them every time
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]>
2026-11-25 15:44:14 -06:00
localandClaude Opus 5.5 5e2394c2f4 The same render targets are not set again (after ZJOU acf478b8, author local); VICTORY_BIND_CACHE=0 sets them every time
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]>
2026-11-25 15:44:14 -06:00
localandClaude Opus 5.5 c96525dbb2 A root constant buffer not 256-byte aligned is copied into scratch memory once for the draws of a list that bind it (from Belobug 84ea9c12, romainhedouin)
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]>
2026-11-25 15:43:00 -06:00
localandClaude Opus 5.5 a869d90e3a A root constant buffer not 256-byte aligned is copied into scratch memory once for the draws of a list that bind it (from Belobug 84ea9c12, romainhedouin)
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]>
2026-11-25 15:43:00 -06:00
localandClaude Opus 5.5 ab86ef7f3f A pipeline a list binds again is not kept and named again (from Belobug 92d353f8, romainhedouin)
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]>
2026-11-25 15:42:59 -06:00
localandClaude Opus 5.5 14692d11ff A pipeline a list binds again is not kept and named again (from Belobug 92d353f8, romainhedouin)
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]>
2026-11-25 15:42:59 -06:00
localandClaude Opus 5.5 b32fb9975d A range shaders write is declared once until the list next writes title memory (from Belobug dd799aad, romainhedouin); VICTORY_DECLARE_ONCE=0 for the old way
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]>
2026-11-25 15:42:04 -06:00
localandClaude Opus 5.5 c8ede50886 A range shaders write is declared once until the list next writes title memory (from Belobug dd799aad, romainhedouin); VICTORY_DECLARE_ONCE=0 for the old way
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]>
2026-11-25 15:42:04 -06:00
local d906830564 Merge branch 'day/faults' into local/next 2026-11-25 15:35:09 -06:00
local 2547124475 Merge branch 'day/faults' into local/next 2026-11-25 15:35:09 -06:00
localandClaude Opus 5.5 17c4717b44 Title buffers' copies down to any size in the card's memory (VICTORY_CARD_BUFFERS_MIN_KB), the card's hashes over the buffer's own bytes (both after fxceless c36971b2)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 15:35:09 -06:00
localandClaude Opus 5.5 e3fa9c60c0 Title buffers' copies down to any size in the card's memory (VICTORY_CARD_BUFFERS_MIN_KB), the card's hashes over the buffer's own bytes (both after fxceless c36971b2)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 15:35:09 -06:00
localandClaude Opus 5.5 393e74fb5e Merge local/next into day/shaders
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 15:33:43 -06:00
localandClaude Opus 5.5 52ee4a18a1 Merge local/next into day/shaders
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 15:33:43 -06:00
local 53abe45ad2 wip wide 2026-11-25 15:33:42 -06:00
local bedc855635 wip wide 2026-11-25 15:33:42 -06:00
localandClaude Opus 5.5 35bd011453 Merge local/next into day/shaders; pipeline workers are all woken
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]>
2026-11-25 15:32:48 -06:00
localandClaude Opus 5.5 af3c946271 Merge local/next into day/shaders; pipeline workers are all woken
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]>
2026-11-25 15:32:48 -06:00
localandClaude Opus 5.5 2be0515cbe Views mapped beside guarded ones: all views of the page are opened together, under the lock
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]>
2026-11-25 15:31:36 -06:00
localandClaude Opus 5.5 df787d4d3d Views mapped beside guarded ones: all views of the page are opened together, under the lock
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]>
2026-11-25 15:31:36 -06:00