GPU: report low Windows commit headroom in diagnostics builds #392

Open
avt0m4t48 wants to merge 1 commit from upstream-pr/392 into main
avt0m4t48 commented 2026-11-25 00:19:04 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by avt0m4t48 on 2026-11-25T00:19:04Z.


Refs #366.

The diagnostics build now warns once when a successful Windows memory sample shows less than 2 GiB of available commit for the Victory process. It uses the existing sample and reports the measured headroom in MiB. The memory summary labels physical availability and process commit separately. The setup guide now covers commit while loading the world, including the report's roughly 23 GB of private bytes on a 16 GB machine.

A source-built tracing test failed on main and passed for both a positive low-commit sample and a genuine zero as the first low sample. A failed Windows API query, a sample at the threshold, and repeated low samples produced no extra warnings. The Windows MSVC diagnostics GPU test targets type-checked with warnings denied. The warning's timing during a native world transition remains unverified.

AI-assisted using Codex.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6594183198 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/392). Originally posted by [avt0m4t48](https://github.com/avt0m4t48) on 2026-11-25T00:19:04Z. --- Refs #366. The diagnostics build now warns once when a successful Windows memory sample shows less than 2 GiB of available commit for the Victory process. It uses the existing sample and reports the measured headroom in MiB. The memory summary labels physical availability and process commit separately. The setup guide now covers commit while loading the world, including the report's roughly 23 GB of private bytes on a 16 GB machine. A source-built tracing test failed on main and passed for both a positive low-commit sample and a genuine zero as the first low sample. A failed Windows API query, a sample at the threshold, and repeated low samples produced no extra warnings. The Windows MSVC diagnostics GPU test targets type-checked with warnings denied. The warning's timing during a native world transition remains unverified. AI-assisted using Codex.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/392:upstream-pr/392'
git switch 'upstream-pr/392'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/392'
git switch 'upstream-pr/392'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/392'
git switch 'upstream-pr/392'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/392'
git switch 'main'
git merge --squash 'upstream-pr/392'
git switch 'main'
git merge --ff-only 'upstream-pr/392'
git switch 'main'
git merge 'upstream-pr/392'
git push origin 'main'
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
fxceless/victory-fork!392
No description provided.