gpu: windows on the card sized for 16 and 24 GB cards #621

Merged
KhryptorGraphics merged 1 commit from upstream-pr/621 into main 2026-11-29 08:16:59 +00:00
KhryptorGraphics commented 2026-11-28 01:55:26 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by KhryptorGraphics on 2026-11-28T01:55:26Z.


What

Sizes the windows on the card for 16 GB and 24 GB cards, using the tier values of crossducking/RAZDA4A-XEN (GPL-3.0, commit 76b5813).

  • Before, budgets over 12 GiB got the 12 GB card's cap of 1024 MiB.
  • Now windows get 2560 MiB above 12 GiB and 5120 MiB from 20 GiB, up to 89 % and 91 % of the budget.
  • Budgets of 12 GiB and less are unchanged.
  • VICTORY_CARD_WINDOWS_PERCENT (50 to 97) sets the share. VICTORY_CARD_WINDOWS_MB=1024 VICTORY_CARD_WINDOWS_PERCENT=80 restores the old behaviour.

This changes default behaviour on cards with more than 12 GB. Only crates/victory-gpu/src/shadow.rs is touched.

Verification

  • Cross-checked for Windows on a Linux machine: cargo check -p victory-gpu --target x86_64-pc-windows-msvc --tests passes with no new warnings.
  • Not run in the game. No frame-rate or stability measurement was taken on this fork; figures quoted are the source fork's own.
  • Clippy and the test suite have not run locally; CI on this pull request is their first run.
  • Reviewed independently against the source commits before pushing.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5535570708 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/621). Originally posted by [KhryptorGraphics](https://github.com/KhryptorGraphics) on 2026-11-28T01:55:26Z. --- ## What Sizes the windows on the card for 16 GB and 24 GB cards, using the tier values of crossducking/RAZDA4A-XEN (GPL-3.0, commit 76b5813). - Before, budgets over 12 GiB got the 12 GB card's cap of 1024 MiB. - Now windows get 2560 MiB above 12 GiB and 5120 MiB from 20 GiB, up to 89 % and 91 % of the budget. - Budgets of 12 GiB and less are unchanged. - `VICTORY_CARD_WINDOWS_PERCENT` (50 to 97) sets the share. `VICTORY_CARD_WINDOWS_MB=1024 VICTORY_CARD_WINDOWS_PERCENT=80` restores the old behaviour. **This changes default behaviour on cards with more than 12 GB.** Only `crates/victory-gpu/src/shadow.rs` is touched. ## Verification - Cross-checked for Windows on a Linux machine: `cargo check -p victory-gpu --target x86_64-pc-windows-msvc --tests` passes with no new warnings. - **Not run in the game.** No frame-rate or stability measurement was taken on this fork; figures quoted are the source fork's own. - Clippy and the test suite have not run locally; CI on this pull request is their first run. - Reviewed independently against the source commits before pushing.
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!621
No description provided.