Default windows and sends to card memory on a small shared GPU budget #293
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/293"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by eleboucher on 2026-11-27T20:45:09Z.
On a 16 GB PC the shared GPU memory (DXGI
NON_LOCAL) budget is about 7.2 GB. Window copies and the send buffer fill it during world load, and the next CPU-visible buffer fails withE_OUTOFMEMORY.VICTORY_WINDOWS_BAR_MB=4096andVICTORY_SEND_BAR=1already avoid this. With this change they become the default when the budget is under 10 GiB and the card exposes CPU-mappable memory. Set either to0to opt out.Tested on an RTX 4070 Ti SUPER with 16 GB RAM: shared usage drops from out-of-memory to 3.0–3.8 GB. This was measured on a build that also includes #18. On this branch I only ran
cargo checkand the unit test.