Commit Graph
6 Commits
Author SHA1 Message Date
Indy2landClaude Sonnet 5.5 cda4987aa4 fix(scripts): windows in card memory the CPU maps, for 16 GB PCs
On a PC with 16 GB of RAM (RTX 3060 12 GB, i5-12400F, Series S at 540p)
every run with play-nvidia.ps1 ended a minute or so into the world: the
card's shared memory (the PC's, capped by Windows at half the RAM) reached
7.5 GB, a host list failed to close or be made with 0x8007000E, and the
driver faulted in CopyTextureRegion. About two thirds of that memory were
the windows of title memory outside buffers.

VICTORY_WINDOWS_BAR_MB=3072 puts them in card memory the CPU maps
(D3D12_HEAP_TYPE_GPU_UPLOAD) while the card has room. Same machine: no
crash in 5+ minute runs, shared memory flat at about 4.4 GB, 10-12 fps in
the world instead of 1.6-3. Without a resizable BAR, mapped_card_buffer
returns None and windows stay where they were.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-11-26 17:52:23 +01:00
trustno1-coderandClaude Opus 5.5 033be27f33 Pick the card (VICTORY_ADAPTER); RTX 5060 Ti results; Series S 1080p crashes
- host.rs: VICTORY_ADAPTER=<part of a card's name, or #index> creates the
  host device on that card instead of Windows' default; the log names the
  card, or lists the cards when nothing matches. play-nvidia.ps1 -Adapter.
- README: RTX 5060 Ti 16 GB vs RTX 5070 12 GB on the same PC, same build and
  settings (Series S 540p): 14.9 vs 19.3 fps. The GPU work is close; the
  5060 Ti's slot is PCIe 4.0 x4 with no display, and this layer's copies
  dominate.
- README: Series S at 1080p (render scale 1.0) stops at a breakpoint at
  start on a 12 GB card too, so it is not video memory; use 720p or lower.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 19:41:22 -08:00
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 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
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