Card windows: VICTORY_CARD_WINDOWS_RETRY=1 gives windows turned away from the card their side there once it has room #4456

Closed
101Leafy wants to merge 14 commits from upstream-pr/4456 into main
101Leafy commented 2026-11-30 20:34:53 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-30T20:34:53Z.


VICTORY_CARD_WINDOWS_RETRY=1 (off by default): windows turned away from the card when they were made get their side there later through card_late_windows, once there is room and they were asked for in the last frame. New windows still go to the card when made.

Desk run on GTA VI with 64 KiB card copies (VICTORY_CARD_BUFFERS_MIN_KB=64, the play default): 700 to 1,070 windows in use, 1.0 to 1.7 GB, were read from the PC's memory in gameplay, and 1,400 had been turned away when made. Off by default until it has been measured on more runs.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5573283490 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4456). Originally posted by [101Leafy](https://github.com/101Leafy) on 2026-11-30T20:34:53Z. --- `VICTORY_CARD_WINDOWS_RETRY=1` (off by default): windows turned away from the card when they were made get their side there later through `card_late_windows`, once there is room and they were asked for in the last frame. New windows still go to the card when made. Desk run on GTA VI with 64 KiB card copies (`VICTORY_CARD_BUFFERS_MIN_KB=64`, the play default): 700 to 1,070 windows in use, 1.0 to 1.7 GB, were read from the PC's memory in gameplay, and 1,400 had been turned away when made. Off by default until it has been measured on more runs.
trustno1-coder commented 2026-12-01 18:41:22 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-12-01T18:41:22Z.


Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7321348926 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4456#issuecomment-7321348926). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-12-01T18:41:22Z. --- Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

Pull request closed

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
trustno1-coder/VIctory-NVIDIA!4456
No description provided.