Base D reference for Ryzen 7 3700X and RTX 3070 #1577

Open
biega-dev wants to merge 67 commits from upstream-pr/1577 into main
biega-dev commented 2026-11-28 21:53:51 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by biega-dev on 2026-11-28T21:53:51Z.


What this PR contains

This draft publishes the source revision used for the Base D measurements on a Ryzen 7 3700X and an 8 GB RTX 3070. The head is the original commit 52495c186835779ab84d3baf3892a131ba6bd116. Reviewers can check out that exact revision and reproduce the profile below.

Review scope. The eight Base D integration commits change 69 files relative to their starting revision, e0703c1. GitHub shows 67 commits against main because it also includes the earlier integration history. A local merge check against d4b5d51 found conflicts in 38 paths. The hardware measurements apply to the pinned source. Review the eight commits and their combined diff.

Area Changes in the reference
CPU submission and uploads Batch upload snapshots and serial buffer checks, overlap snapshot copying with D3D12 command recording, and move eligible prefix work to the sender.
Texture handling Detile eligible texture uploads on the GPU, retain the CPU fallback, and manage the descriptor queue and transient upload budget for an 8 GB card.
Resource tracking and command preparation Limit sparse page-refresh work, reuse command-state storage and maintenance tables, batch resource retention, and narrow the copies prepared for submission. The measured profile disables native descriptor-copy batching.
Diagnostics Record presentation intervals and draw counts and expose submission, refresh and copy timing for comparisons within a scene.

The source includes adaptations of earlier contributions, including #36 (compute detiling), #358 (maintenance batching), #390 (command-state reuse), and #444 (descriptor-ring tracking). The eight commits retain their original history. #1560 is the separate, smaller PR for descriptor partitions, snapshot stores and per-present CSV on a newer baseline.

How it was tested

Historical in-game measurements. Windows 10 22H2, Ryzen 7 3700X, RTX 3070 8 GB, 32 GB RAM, Series S profile and DLSS Quality at 1280 × 720 internally with 1920 × 1080 output. Frame generation was off. The FPS figures count rendered frames.

Prison cell measurement Window Rendered FPS P95 frame time
Base D reference 50.07 s 10.85 116.92 ms
Base D with longer waits 96.88 s 10.07 126.53 ms

Across the earlier local trials, preparing GPU copies took 11.22 ms per frame in D versus 18.46 ms in the historical reference. Those measurements come from separate runs. They do not establish a speedup over today's upstream main. The cell measurements remained below 30 rendered FPS. No percentage of scene completeness was established.

Validation for publication. cargo build --release --locked -p victory succeeded from the clean pinned checkout on Windows. The library suites passed with cargo test --release --locked -p victory-formats -p victory-gpu --lib -- --test-threads=1. The formats suite passed 48 tests (6 ignored), and the GPU suite passed 603 (42 ignored). On Windows 10, the GPU test executable was linked with the Agility 614 exports and loaded the app-local D3D12 runtime. The game measurements above are from the original sessions; this publication check rebuilt the source and ran the library suites.

Reproduce the measured launcher profile

From the pinned checkout, configure the local game executable, the NVIDIA Streamline runtime and the D3D12 runtime as described in that revision's README. Use a fresh launcher configuration so saved F1 settings do not override the command line. With the path to your own executable in $env:VICTORY_TITLE_EXE, run this PowerShell command. The eight overrides below were compared with the saved Base D settings.

$overrides = @{
    VICTORY_EXPLICIT_WRITE_PARTS = '1'
    VICTORY_HEAP_RANGE_BITS = '1'
    VICTORY_LISTED_COPY_BATCH = '0'
    VICTORY_LISTED_RETIRE_BATCH = '1'
    VICTORY_MAINTENANCE_BATCHES = '0'
    VICTORY_PIPELINE_PACK_SAMPLERS = '0'
    VICTORY_REFRESH_MEMO = '0'
    VICTORY_SEND_PREFIX_THREAD = '1'
}
.\scripts\play-foxhound.ps1 -Exe $env:VICTORY_TITLE_EXE -Build release -SeriesS -Res 1080to1440 -Dlss quality -NoFrameGenReady -Fps 30 -RyzenCopias -More $overrides

The measured runs used a warmed local pipeline cache. For frame-level CSV output, also add a local output path under VICTORY_BENCH_CSV in $overrides.

Checked for overlap

  • Checked the existing #1560 and searched for the Base D prefix-thread and resource-retirement switches. The comparison linked above isolates the local integration series.
  • Later trials of native allocator/list-pair pooling, indexed sampler layouts, shadow translation, and lighting probes used separate experimental builds. They are outside this pinned reference.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5544935868 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1577). Originally posted by [biega-dev](https://github.com/biega-dev) on 2026-11-28T21:53:51Z. --- ## What this PR contains This draft publishes the source revision used for the **Base D** measurements on a Ryzen 7 3700X and an 8 GB RTX 3070. The head is the original commit `52495c186835779ab84d3baf3892a131ba6bd116`. Reviewers can check out that exact revision and reproduce the profile below. **Review scope.** The eight Base D integration commits change 69 files relative to their starting revision, `e0703c1`. GitHub shows 67 commits against `main` because it also includes the earlier integration history. A local merge check against `d4b5d51` found conflicts in 38 paths. The hardware measurements apply to the pinned source. [Review the eight commits and their combined diff](https://github.com/biega-dev/VIctory-NVIDIA/compare/e0703c1...52495c1). | Area | Changes in the reference | | --- | --- | | CPU submission and uploads | Batch upload snapshots and serial buffer checks, overlap snapshot copying with D3D12 command recording, and move eligible prefix work to the sender. | | Texture handling | Detile eligible texture uploads on the GPU, retain the CPU fallback, and manage the descriptor queue and transient upload budget for an 8 GB card. | | Resource tracking and command preparation | Limit sparse page-refresh work, reuse command-state storage and maintenance tables, batch resource retention, and narrow the copies prepared for submission. The measured profile disables native descriptor-copy batching. | | Diagnostics | Record presentation intervals and draw counts and expose submission, refresh and copy timing for comparisons within a scene. | The source includes adaptations of earlier contributions, including #36 (compute detiling), #358 (maintenance batching), #390 (command-state reuse), and #444 (descriptor-ring tracking). The eight commits retain their original history. #1560 is the separate, smaller PR for descriptor partitions, snapshot stores and per-present CSV on a newer baseline. ## How it was tested **Historical in-game measurements.** Windows 10 22H2, Ryzen 7 3700X, RTX 3070 8 GB, 32 GB RAM, Series S profile and DLSS Quality at 1280 × 720 internally with 1920 × 1080 output. Frame generation was off. The FPS figures count rendered frames. | Prison cell measurement | Window | Rendered FPS | P95 frame time | | --- | ---: | ---: | ---: | | Base D reference | 50.07 s | 10.85 | 116.92 ms | | Base D with longer waits | 96.88 s | 10.07 | 126.53 ms | Across the earlier local trials, preparing GPU copies took 11.22 ms per frame in D versus 18.46 ms in the historical reference. Those measurements come from separate runs. They do not establish a speedup over today's upstream `main`. The cell measurements remained below 30 rendered FPS. No percentage of scene completeness was established. **Validation for publication.** `cargo build --release --locked -p victory` succeeded from the clean pinned checkout on Windows. The library suites passed with `cargo test --release --locked -p victory-formats -p victory-gpu --lib -- --test-threads=1`. The formats suite passed 48 tests (6 ignored), and the GPU suite passed 603 (42 ignored). On Windows 10, the GPU test executable was linked with the Agility 614 exports and loaded the app-local D3D12 runtime. The game measurements above are from the original sessions; this publication check rebuilt the source and ran the library suites. <details> <summary>Reproduce the measured launcher profile</summary> From the pinned checkout, configure the local game executable, the NVIDIA Streamline runtime and the D3D12 runtime as described in that revision's README. Use a fresh launcher configuration so saved F1 settings do not override the command line. With the path to your own executable in `$env:VICTORY_TITLE_EXE`, run this PowerShell command. The eight overrides below were compared with the saved Base D settings. ```powershell $overrides = @{ VICTORY_EXPLICIT_WRITE_PARTS = '1' VICTORY_HEAP_RANGE_BITS = '1' VICTORY_LISTED_COPY_BATCH = '0' VICTORY_LISTED_RETIRE_BATCH = '1' VICTORY_MAINTENANCE_BATCHES = '0' VICTORY_PIPELINE_PACK_SAMPLERS = '0' VICTORY_REFRESH_MEMO = '0' VICTORY_SEND_PREFIX_THREAD = '1' } .\scripts\play-foxhound.ps1 -Exe $env:VICTORY_TITLE_EXE -Build release -SeriesS -Res 1080to1440 -Dlss quality -NoFrameGenReady -Fps 30 -RyzenCopias -More $overrides ``` The measured runs used a warmed local pipeline cache. For frame-level CSV output, also add a local output path under `VICTORY_BENCH_CSV` in `$overrides`. </details> ## Checked for overlap - [x] Checked the existing #1560 and searched for the Base D prefix-thread and resource-retirement switches. The comparison linked above isolates the local integration series. - Later trials of native allocator/list-pair pooling, indexed sampler layouts, shadow translation, and lighting probes used separate experimental builds. They are outside this pinned reference.
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/1577:upstream-pr/1577'
git switch 'upstream-pr/1577'

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