GPU: +33% rendered FPS by default, +64% with compact DXR on RTX 4070 SUPER #1546

Open
adraenor wants to merge 1 commit from upstream-pr/1546 into main
adraenor commented 2026-12-01 11:42:24 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by adraenor on 2026-12-01T11:42:24Z.


Results on an RTX 4070 SUPER

The lower-memory configuration averaged 10.23 rendered FPS against 7.69 on main (+33%). The optional compact DXR configuration averaged 12.60 rendered FPS (+64%). These figures exclude generated frames.

Steady-state metric Main Default Compact DXR
Rendered FPS 7.69 10.23 12.60
Displayed FPS reported by Streamline 15.73 20.57 24.63
Windows working set, GiB 21.71 20.99 22.69
Private commit, GiB 28.98 28.70 28.83
DXGI local usage, MiB 10,314 10,110 10,079
DXGI shared usage, MiB 2,163 2,270 2,344

Four baseline runs from 597e8fa and two per configuration used the same starting save, timed inputs, warm cache, Series X profile, native DXR, DLSS Quality (1706 × 960 to 2560 × 1440) and 2× frame generation. Each run lasted 185 seconds. The table averages each run's median over seconds 105–185. Baseline medians ranged from 7.10 to 8.55 FPS. The default runs gave 7.05 and 13.40 FPS, and compact DXR gave 11.70 and 13.50 FPS. Animation and streaming varied across launches. The game measurements used the two implementations before packaging them behind one switch.

What changed

Small submissions share aligned upload ranges until their GPU work completes. Smaller sparse heaps limit stranded capacity, and whole tiles can upload directly from captured bytes. Native DXR uses compact full-key lookup buckets and gives acceleration structures high residency priority. After the page-recovery budget is exhausted, supported cards discard further fault reports locally. The profiler resolves adjacent timestamp pairs at list close. Its two timestamps per binding and their readback slots are preserved. Related work in #977 addresses query lifetime across submissions.

Settings and defaults

  • Keep --set VICTORY_BVH_BUILDER=1 --set VICTORY_RT_NATIVE=1 for the tested native DXR path. Keep the existing resolution, DLSS and frame generation settings.
  • The default applies the transfer and timestamp changes automatically. Add --set VICTORY_RT_COMPACT_LAYOUT=1 for the higher-throughput mode. It asks the adapter for a smaller trace-optimized BLAS layout and reuses scratch between ordered top-level builds. It stays opt-in because resident RAM rose by 0.98 GiB over main on this machine.
  • Set VICTORY_MEMORY_FAULT_STATS=1 to continue counting faults after recovery stops. The default avoids the extra traffic. Diagnostics builds and native RT counting retain the reports.

Validation

The combined PR builds with cargo build --release --locked -p victory. The rt_native integration test passed on the hardware with the new setting at both 0 and 1, including hit IDs, distances, barycentrics and refits. The staged asset check passed. The earlier workspace run had two indirect-command budget failures, both reproduced on unmodified main (see #1508). No game data or captures are included.

AI contribution by GPT-6.2-Astra high for adraenor.

<!-- greyfinch-sync:fxceless/victory-fork:issue:5584955193 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1546). Originally posted by [adraenor](https://github.com/adraenor) on 2026-12-01T11:42:24Z. --- ## Results on an RTX 4070 SUPER The lower-memory configuration averaged **10.23 rendered FPS** against **7.69** on main (+33%). The optional compact DXR configuration averaged **12.60 rendered FPS** (+64%). These figures exclude generated frames. | Steady-state metric | Main | Default | Compact DXR | | --- | ---: | ---: | ---: | | Rendered FPS | 7.69 | 10.23 | 12.60 | | Displayed FPS reported by Streamline | 15.73 | 20.57 | 24.63 | | Windows working set, GiB | 21.71 | 20.99 | 22.69 | | Private commit, GiB | 28.98 | 28.70 | 28.83 | | DXGI local usage, MiB | 10,314 | 10,110 | 10,079 | | DXGI shared usage, MiB | 2,163 | 2,270 | 2,344 | Four baseline runs from `597e8fa` and two per configuration used the same starting save, timed inputs, warm cache, Series X profile, native DXR, DLSS Quality (1706 × 960 to 2560 × 1440) and 2× frame generation. Each run lasted 185 seconds. The table averages each run's median over seconds 105–185. Baseline medians ranged from 7.10 to 8.55 FPS. The default runs gave 7.05 and 13.40 FPS, and compact DXR gave 11.70 and 13.50 FPS. Animation and streaming varied across launches. The game measurements used the two implementations before packaging them behind one switch. ## What changed Small submissions share aligned upload ranges until their GPU work completes. Smaller sparse heaps limit stranded capacity, and whole tiles can upload directly from captured bytes. Native DXR uses compact full-key lookup buckets and gives acceleration structures high residency priority. After the page-recovery budget is exhausted, supported cards discard further fault reports locally. The profiler resolves adjacent timestamp pairs at list close. Its two timestamps per binding and their readback slots are preserved. Related work in #977 addresses query lifetime across submissions. ## Settings and defaults - Keep `--set VICTORY_BVH_BUILDER=1 --set VICTORY_RT_NATIVE=1` for the tested native DXR path. Keep the existing resolution, DLSS and frame generation settings. - The default applies the transfer and timestamp changes automatically. Add `--set VICTORY_RT_COMPACT_LAYOUT=1` for the higher-throughput mode. It asks the adapter for a smaller trace-optimized BLAS layout and reuses scratch between ordered top-level builds. It stays opt-in because resident RAM rose by 0.98 GiB over main on this machine. - Set `VICTORY_MEMORY_FAULT_STATS=1` to continue counting faults after recovery stops. The default avoids the extra traffic. Diagnostics builds and native RT counting retain the reports. ## Validation The combined PR builds with `cargo build --release --locked -p victory`. The `rt_native` integration test passed on the hardware with the new setting at both 0 and 1, including hit IDs, distances, barycentrics and refits. The staged asset check passed. The earlier workspace run had two indirect-command budget failures, both reproduced on unmodified main (see #1508). No game data or captures are included. AI contribution by **GPT-6.2-Astra high** for **adraenor**.
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/1546:upstream-pr/1546'
git switch 'upstream-pr/1546'

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/1546'
git switch 'upstream-pr/1546'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1546'
git switch 'upstream-pr/1546'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1546'
git switch 'main'
git merge --squash 'upstream-pr/1546'
git switch 'main'
git merge --ff-only 'upstream-pr/1546'
git switch 'main'
git merge 'upstream-pr/1546'
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!1546
No description provided.