Size caches for the PC, bring back the issue forms, map the renamed switches #476

Manually merged
github merged 3 commits from github-bot/gh-476 into gh-pr/476/base 2026-11-30 20:21:38 +00:00 AGit
Owner

@⁠TaynanGT on GitHub · 2026-11-30 20:10 UTC · original
TaynanGT:community-reports-small-ram → main · +1959 −2 · 17 files · 3 commits · merged 2026-11-30 20:17 UTC

Three things, all from going through every open report on the tracker.

Caches sized for the PC, down to 8 GB of RAM

The engine already shrinks its caches below 24 GB of RAM, but in one step, and those numbers were measured on a 16 GB PC (#1520: our L0 caches filled the 8 GiB Windows lets a card borrow about 95 s into the world load, a host command list died with 0x8007000E and the driver faulted after it). An 8 GB PC has half that share and got the 16 GB numbers.

So: one tier per RAM size (8, 12, 16 GB), each keeping the same share of its own cap, split in the same proportions. The 16 GB tier comes out exactly as things are set today, so a 16 GB PC isn't moved by this — there's a test for that in the policy module and again through the real binary. Above 16 GB there's no plan at all, so the test PC is untouched.

It invents no engine knob: every value names a switch something already reads. A switch a player set wins outright. A value play wrote itself can be lowered, and only lowered — play writes the 16 GB budget on any PC under 24 GB, which is more than an 8 GB one has to give, while its three pipeline workers on eight cores was measured and stands.

Two more on a card under 8 GB: more room left for render targets and the upscaler (#446 lost the device at 4 GB with 0x887A0007), and the 64 KiB card-buffer floor dropped so the VRAM-sized default applies.

vice-tay config now also prints RAM, Windows' commit limit and how far short of the game's ~48 GB the PC is. play's own warning reads the registry's PagingFiles and says nothing when Windows manages the size — the default — so the 16 GB PCs that most need telling were never told (#467). The commit limit comes from Windows and always has a number. Nothing in config touches the graphics driver, so it's safe to paste into a report.

No frame rate is claimed. The budgets are arithmetic and tested; 8 and 12 GB have no test machine here, and docs/small-memory.md says so.

The issue forms are back

The rename commit kept only what the build uses, which dropped all of .github except CI: the five issue forms, the pull request template and the workflow that asks for logs went with it. A new report now arrives in a blank box, and the one bot reply that fired before the switch pointed at %LOCALAPPDATA%\victory\logs\, a folder the current build never writes to. That's most of why #467 said "logs were not generated".

The forms are back with the current paths, and they ask for vice-tay config as well as the logs. needs-logs only fires for an issue opened through one of the problem forms. I tried guessing from the text instead and ran it against all 97 issues on the tracker: it asked a contributor's patch, an analysis and a crash-fix proposal for logs they never had, because all of them talk about crashes. Not worth it. It also leaves a note when a report uses the old switch names, which 68 of those 97 do.

Not restored: the workflows that delete posts. Those take things down on their own, so that's a call to make deliberately, not in this PR.

What everything is called now

docs/renamed.md. The mechanical prefix change covers 151 of the 243 switches the open issues mention; the other 92 aren't in this tree at all. Worth having before reading an old report as still open, because a few of them describe something that's now a default. VICE_TAY_WAVE_PAIR is the clearest: the paired form used to be opt-in and is on by default now, so the reports about switching it on are about a build where it already is.

Tested

cargo test -p vice-tay-core -p vice-tay and cargo clippy --all-targets on both, clean. 31 of those tests are new and cover the tiers, the boundaries, the precedence rules and the end-to-end path through the binary. The needs-logs script was run against every issue on the tracker before it went in. In-game 4K run to follow on this branch's merge.

**@⁠TaynanGT** on GitHub · 2026-11-30 20:10 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/476) `TaynanGT:community-reports-small-ram` → `main` · +1959 −2 · 17 files · 3 commits · merged 2026-11-30 20:17 UTC Three things, all from going through every open report on the tracker. ### Caches sized for the PC, down to 8 GB of RAM The engine already shrinks its caches below 24 GB of RAM, but in one step, and those numbers were measured on a 16 GB PC (#1520: our L0 caches filled the 8 GiB Windows lets a card borrow about 95 s into the world load, a host command list died with `0x8007000E` and the driver faulted after it). An 8 GB PC has half that share and got the 16 GB numbers. So: one tier per RAM size (8, 12, 16 GB), each keeping the same share of its own cap, split in the same proportions. The 16 GB tier comes out exactly as things are set today, so a 16 GB PC isn't moved by this — there's a test for that in the policy module and again through the real binary. Above 16 GB there's no plan at all, so the test PC is untouched. It invents no engine knob: every value names a switch something already reads. A switch a player set wins outright. A value `play` wrote itself can be lowered, and only lowered — `play` writes the 16 GB budget on any PC under 24 GB, which is more than an 8 GB one has to give, while its three pipeline workers on eight cores was measured and stands. Two more on a card under 8 GB: more room left for render targets and the upscaler (#446 lost the device at 4 GB with `0x887A0007`), and the 64 KiB card-buffer floor dropped so the VRAM-sized default applies. `vice-tay config` now also prints RAM, Windows' commit limit and how far short of the game's ~48 GB the PC is. `play`'s own warning reads the registry's `PagingFiles` and says nothing when Windows manages the size — the default — so the 16 GB PCs that most need telling were never told (#467). The commit limit comes from Windows and always has a number. Nothing in `config` touches the graphics driver, so it's safe to paste into a report. No frame rate is claimed. The budgets are arithmetic and tested; 8 and 12 GB have no test machine here, and `docs/small-memory.md` says so. ### The issue forms are back The rename commit kept only what the build uses, which dropped all of `.github` except CI: the five issue forms, the pull request template and the workflow that asks for logs went with it. A new report now arrives in a blank box, and the one bot reply that fired before the switch pointed at `%LOCALAPPDATA%\victory\logs\`, a folder the current build never writes to. That's most of why #467 said "logs were not generated". The forms are back with the current paths, and they ask for `vice-tay config` as well as the logs. `needs-logs` only fires for an issue opened through one of the problem forms. I tried guessing from the text instead and ran it against all 97 issues on the tracker: it asked a contributor's patch, an analysis and a crash-fix proposal for logs they never had, because all of them talk about crashes. Not worth it. It also leaves a note when a report uses the old switch names, which 68 of those 97 do. Not restored: the workflows that delete posts. Those take things down on their own, so that's a call to make deliberately, not in this PR. ### What everything is called now `docs/renamed.md`. The mechanical prefix change covers 151 of the 243 switches the open issues mention; the other 92 aren't in this tree at all. Worth having before reading an old report as still open, because a few of them describe something that's now a default. `VICE_TAY_WAVE_PAIR` is the clearest: the paired form used to be opt-in and is on by default now, so the reports about switching it on are about a build where it already is. ### Tested `cargo test -p vice-tay-core -p vice-tay` and `cargo clippy --all-targets` on both, clean. 31 of those tests are new and cover the tiers, the boundaries, the precedence rules and the end-to-end path through the binary. The `needs-logs` script was run against every issue on the tracker before it went in. In-game 4K run to follow on this branch's merge.
The engine already shrinks its caches below 24 GB of RAM, but in one step,
and those numbers were measured on a 16 GB PC (#1520: our L0 caches filled
the 8 GiB Windows lets a card borrow about 95 s into the world load, a host
command list died with 0x8007000E and the driver faulted after it). An 8 GB
PC has half that share and got the 16 GB numbers, so it runs out sooner.

This adds the step that was missing: one tier per RAM size (8, 12, 16 GB),
each keeping the same share of its own cap, split in the same proportions.
The 16 GB tier comes out exactly as the engine sets things today, so a 16 GB
PC isn't moved by this, only told what it got - there's a test for that, in
the policy module and again through the real binary.

It invents no engine knob: every value names a switch something already
reads, and a switch that's already set wins, with a line saying what the
profile would have used. Above 16 GB there's no plan at all, so the test PC
and everything else is untouched.

Two more on a card under 8 GB: more room left on the card for render targets
and the upscaler (#446 lost the device at 4 GB with 0x887A0007), and play's
64 KiB card-buffer floor dropped so the VRAM-sized default applies.

Also `vice-tay config` now prints RAM, Windows' commit limit and how far
short of the game's ~48 GB the PC is. play's own warning reads the registry's
PagingFiles and says nothing when Windows manages the size - which is the
default - so the 16 GB PCs that most need telling were never told (#467).
The commit limit comes from Windows and always has a number. Nothing in
`config` touches the graphics driver, so it's safe to paste into a report.

No frame rate is claimed: the budgets are arithmetic and tested, 8 and 12 GB
have no test machine here. docs/small-memory.md says what it can't do.

Co-Authored-By: Claude <[email protected]>
The rename commit kept only what the build uses, which dropped all of
.github except CI: the five issue forms, the pull request template and the
workflow that asks for logs went with it. So a new report arrives in a blank
box with no fields, and the one bot reply that did fire before the switch
pointed at %LOCALAPPDATA%\victory\logs\ - a folder the current build never
writes to. That is most of why #467 said "logs were not generated".

The forms are back with the current paths and names, and they ask for
`vice-tay config` as well as the logs, since on a small PC that output is
usually the whole answer and it starts nothing.

needs-logs only fires for an issue opened through one of the problem forms
now. I tried guessing from the text instead and ran it against all 97 issues
open today: it asked a contributor's patch, an analysis and a crash-fix
proposal for logs they never had, because all of them talk about crashes.
Not worth it. It also leaves a note when a report uses the old switch names,
which 68 of those 97 do.

docs/renamed.md is the map: the mechanical prefix change covers 151 of the
243 switches the open issues mention, and the other 92 aren't in this tree at
all. Worth knowing before reading an old report as still open - a few of them
describe something that's now a default. VICE_TAY_WAVE_PAIR is the clearest
one: the paired form used to be opt-in and is on by default now, so the
reports about switching it on are about a build where it already is.

Not restored: the workflows that delete posts (spam, game requests). Those
take things down on their own and that's a call for the maintainer, not a
commit.

Co-Authored-By: Claude <[email protected]>
play now sizes some switches from the PC as well (#474), and under 24 GB of
RAM it writes the 16 GB budget: VICE_TAY_WINDOWS_BAR_MB=3072. On an 8 GB PC
that is twice what Windows lets the card borrow of it, so without this the
profile just yielded and the small PC kept the big budget - the exact thing
it exists to stop.

So a value play wrote itself can now come down. Only down: raising a default
would undo a measurement someone took in the game, and play's three pipeline
workers on eight cores is one of those, below every tier's ceiling. Anything
a player typed still wins outright.

Co-Authored-By: Claude <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 20:10:53 +00:00
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-30 20:10 UTC · original

Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-30T20:10:27.858266Z
We couldn’t complete this review. Comment @codex review to try again.
50e5e45 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@⁠codex review" or "@⁠codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-30 20:10 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/476#issuecomment-7290519465) <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"50e5e45ed1a2672cf519814d7d2b31f539eca5fe","has_any_findings":true,"has_unresolved_findings":true,"status":"failed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} --> <details> <summary><strong>Codex Review Summary</strong>: ❌ Failed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ❌ **Failed** <relative-time datetime="2026-11-30T20:10:27.858266Z">2026-11-30T20:10:27.858266Z</relative-time><br/>We couldn’t complete this review. Comment `@codex review` to try again. | `50e5e45` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@⁠codex review" or "@⁠codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-30 20:10 UTC · original

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-30 20:10 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/476#issuecomment-7290520464) You have reached your Codex usage limits for code reviews. You can see your limits in the [Codex usage dashboard](https://chatgpt.com/codex/cloud/settings/usage).
github-bot changed target branch from main to gh-pr/476/base 2026-11-30 20:21:37 +00:00
github manually merged commit 50e5e45ed1 into gh-pr/476/base 2026-11-30 20:21:38 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.