play: shader-model check on the game's card; memory warning before a start (foxhound pre.3/pre.4) #622

Manually merged
github merged 3 commits from github-bot/gh-622 into main 2026-11-29 08:22:21 +00:00 AGit
Owner

@⁠KhryptorGraphics on GitHub · 2026-11-28 01:55 UTC · original
KhryptorGraphics:port/upstream-delta → main · +140 −8 · 4 files · 3 commits · merged 2026-11-29 08:16 UTC

What

Brings over what was still missing from foxhound 0.2.0-pre.3 (b364baa) and 0.2.0-pre.4 (3d52ac8), by readmet3xt-lab (GPL-3.0-or-later). Most of pre.4 is already in 64d4931.

  • victory shader-model asks the card the game runs on, falling back to the first adapter as the title's device does. It used to ask Windows' first adapter, which can be the integrated GPU (foxhound issue 14).
  • victory play warns before a start when RAM and page file together are under 52 GB.
  • scripts/play-foxhound.ps1 sets VICTORY_TEXSPK_PASS_MS=8, VICTORY_PASSES_HOT=1 and VICTORY_HELPER_PRIORITY=1, as victory play already does.

Verification

  • Cross-checked for Windows on a Linux machine: cargo check -p victory-gpu --target x86_64-pc-windows-msvc --tests passes with no new warnings.
  • Not run in the game. No frame-rate or stability measurement was taken on this fork; figures quoted are the source fork's own.
  • Clippy and the test suite have not run locally; CI on this pull request is their first run.
  • Reviewed independently against the source commits before pushing.
**@⁠KhryptorGraphics** on GitHub · 2026-11-28 01:55 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/622) `KhryptorGraphics:port/upstream-delta` → `main` · +140 −8 · 4 files · 3 commits · merged 2026-11-29 08:16 UTC ## What Brings over what was still missing from foxhound 0.2.0-pre.3 (b364baa) and 0.2.0-pre.4 (3d52ac8), by readmet3xt-lab (GPL-3.0-or-later). Most of pre.4 is already in 64d4931. - `victory shader-model` asks the card the game runs on, falling back to the first adapter as the title's device does. It used to ask Windows' first adapter, which can be the integrated GPU (foxhound issue 14). - `victory play` warns before a start when RAM and page file together are under 52 GB. - `scripts/play-foxhound.ps1` sets `VICTORY_TEXSPK_PASS_MS=8`, `VICTORY_PASSES_HOT=1` and `VICTORY_HELPER_PRIORITY=1`, as `victory play` already does. ## Verification - Cross-checked for Windows on a Linux machine: `cargo check -p victory-gpu --target x86_64-pc-windows-msvc --tests` passes with no new warnings. - **Not run in the game.** No frame-rate or stability measurement was taken on this fork; figures quoted are the source fork's own. - Clippy and the test suite have not run locally; CI on this pull request is their first run. - Reviewed independently against the source commits before pushing.
From foxhound 0.2.0-pre.3 (b364baa) and 0.2.0-pre.4 (3d52ac8), by
readmet3xt-lab (github.com/readmet3xt-lab/foxhound, GPL-3.0-or-later).
Most of pre.4 came over in 64d4931 already: the card with the most memory
of its own for the host device, the warm-up and DLSS (VICTORY_ADAPTER),
the texture sweep that passes textures let go (issue #12), the shared
prelude pool, VICTORY_TEXSPK_PASS_MS and VICTORY_PASSES_HOT, the 64 MB
block log and the list_memory example. What this adds:

- `victory shader-model` (the start's Windows 10 / shader model 6.6
  check) asks the card hardware_adapter() picks, else the first adapter.
  It asked Windows' first adapter, which on a PC with integrated graphics
  can be the integrated GPU (foxhound issue #14): its answer could stop a
  start the card would run.
- `victory play` says before a start when RAM and page file together are
  under 52 GB (foxhound's test PC commits about 48 GB while the game runs;
  past Windows' limit the title stops with "Failed to allocate"), and how
  to let Windows manage the page file. A page file Windows manages gives
  no warning. foxhound's launcher asks before Play; this one says so and
  starts, since the F1 menu's restarts open a console of their own where a
  question would wait each time. Port of its Launcher.cs MemoryCheck, with
  a parser for PagingFiles that reads the sizes from the end (a path may
  hold spaces) and tests the source did not have.
- scripts\play-foxhound.ps1 sets VICTORY_TEXSPK_PASS_MS=8,
  VICTORY_PASSES_HOT=1 (pre.4, from foxhound PR #13 by Dastano) and
  VICTORY_HELPER_PRIORITY=1 (pre.3), as `victory play` does already.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Where a device cannot be made on the card hardware_adapter() picks, the
title's device (host::create) is made on the default adapter; the check
returned no answer there and skipped the start's shader model check.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 01:57:40 +00:00
github manually merged commit db0602dd49 into main 2026-11-29 08:22:21 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!622
No description provided.