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

Merged
TaynanGT merged 3 commits from upstream-pr/476 into main 2026-11-30 20:17:11 +00:00
TaynanGT commented 2026-11-30 20:10:22 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T20:10:22Z.


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.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:5572916142 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/476). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T20:10:22Z. --- 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.
chatgpt-codex-connector[bot] commented 2026-11-30 20:10:31 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-11-30T20:10:31Z.


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.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7290519465 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/476#issuecomment-7290519465). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-30T20:10:31Z. --- <!-- 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>
chatgpt-codex-connector[bot] commented 2026-11-30 20:10:33 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-11-30T20:10:33Z.


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

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7290520464 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/476#issuecomment-7290520464). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-30T20:10:33Z. --- 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).
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
TaynanGT/Vice-Tay!476
No description provided.