RX 7900 GRE performance test report from an AMD fork #3570

Open
opened 2026-11-27 18:38:28 +00:00 by github-bot · 3 comments
Owner

@⁠KwameKai4 on GitHub · 2026-11-27 18:37 UTC · original

I tested an experimental AMD fork build based on 4eb6cfd on Windows with a Ryzen 7 5700X3D and Radeon RX 7900 GRE 16 GB. The patch set combines write-combined buffer retention on the GPU, upload-fill forwarding and placed-copy ordering, disjoint refresh spans, and a single texture-queue traversal.

Experimental run Frame time Copy-back time Host-copy readback
4K output 81.8 ms (12.2 fps) 25.5 ms 77.0 MB/frame
1080p output 54.4 ms (18.4 fps) 5.3 ms 1.7 MB/frame

Both measurements came from the AMD fork. Upstream main still needs a separate test. These are individual gameplay log samples from different runs, resolutions, and workloads. The 1080p sample still reported 261 dropped draws per frame with zero pipelines being made. A controlled comparison is needed to isolate the effect of each change.

Would a same-checkpoint 1080p comparison with only VICTORY_WC_NO_BACK toggled be useful? If anyone runs it, please keep the scene and other flags fixed and report frame times, MB fetched per frame, dropped draws, and any rendering or gameplay differences. I have a source-only patch that applies to 4eb6cfd for review.

Related work includes Belobug PR #630, avatarmanz’s renderer changes, and Vice-Tay’s texture queue change.

**@⁠KwameKai4** on GitHub · 2026-11-27 18:37 UTC · [original](https://github.com/Marvisak/VIctory/issues/3570) I tested an experimental AMD fork build based on `4eb6cfd` on Windows with a Ryzen 7 5700X3D and Radeon RX 7900 GRE 16 GB. The patch set combines write-combined buffer retention on the GPU, upload-fill forwarding and placed-copy ordering, disjoint refresh spans, and a single texture-queue traversal. | Experimental run | Frame time | Copy-back time | Host-copy readback | | --- | ---: | ---: | ---: | | 4K output | 81.8 ms (12.2 fps) | 25.5 ms | 77.0 MB/frame | | 1080p output | 54.4 ms (18.4 fps) | 5.3 ms | 1.7 MB/frame | Both measurements came from the AMD fork. Upstream main still needs a separate test. These are individual gameplay log samples from different runs, resolutions, and workloads. The 1080p sample still reported 261 dropped draws per frame with zero pipelines being made. A controlled comparison is needed to isolate the effect of each change. Would a same-checkpoint 1080p comparison with only `VICTORY_WC_NO_BACK` toggled be useful? If anyone runs it, please keep the scene and other flags fixed and report frame times, MB fetched per frame, dropped draws, and any rendering or gameplay differences. I have a source-only patch that applies to `4eb6cfd` for review. Related work includes [Belobug PR #630](https://github.com/Belobug/VIctory-Belobug-AMD/pull/630), [avatarmanz’s renderer changes](https://github.com/avatarmanz/VIctory-7900XTX/commit/84917c3), and [Vice-Tay’s texture queue change](https://github.com/TaynanGT/Vice-Tay/commit/369f940).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 18:38:28 +00:00
Author
Owner

@⁠KwameKai4 on GitHub · 2026-11-27 18:45 UTC · original

What the readback change does

Simplified from crates/victory-gpu/src/wc.rs::skip_back in the experimental fork. The actual helper also handles empty ranges and records counters.

let skip_readback = no_back_enabled
    && both_ends_are_write_combined
    && len >= min_readback_size // 64 KiB by default
    && buffer_copy_is_in_vram
    && range_is_write_watched;

The normal copy-back path still handles ranges outside those conditions. Write-watch matters because VIctory needs to distinguish new CPU writes from stale host-memory contents.

Reproducing the test

From the extracted source snapshot, build and run with your own local game executable.

cargo build --locked --profile diag --target-dir target/exp -p victory --features diagnostics
$game = 'D:\path\to\game_scarlett_master.exe'
$env:VICTORY_WC_NO_BACK = '0'
& '.\Launch Community Build.cmd' $game
# Close the game, then repeat at the same checkpoint with:
$env:VICTORY_WC_NO_BACK = '1'
& '.\Launch Community Build.cmd' $game

Keep 1080p output and other launcher settings fixed. Record time per frame, readback MB per frame, dropped draws, and visible differences after the caches have warmed. The launcher writes a frame-time log beside itself. The source snapshot is being prepared for the releases page on my fork.

**@⁠KwameKai4** on GitHub · 2026-11-27 18:45 UTC · [original](https://github.com/Marvisak/VIctory/issues/3570#issuecomment-7225834274) ### What the readback change does Simplified from `crates/victory-gpu/src/wc.rs::skip_back` in the experimental fork. The actual helper also handles empty ranges and records counters. ```rust let skip_readback = no_back_enabled && both_ends_are_write_combined && len >= min_readback_size // 64 KiB by default && buffer_copy_is_in_vram && range_is_write_watched; ``` The normal copy-back path still handles ranges outside those conditions. Write-watch matters because VIctory needs to distinguish new CPU writes from stale host-memory contents. ### Reproducing the test From the extracted source snapshot, build and run with your own local game executable. ```powershell cargo build --locked --profile diag --target-dir target/exp -p victory --features diagnostics $game = 'D:\path\to\game_scarlett_master.exe' $env:VICTORY_WC_NO_BACK = '0' & '.\Launch Community Build.cmd' $game # Close the game, then repeat at the same checkpoint with: $env:VICTORY_WC_NO_BACK = '1' & '.\Launch Community Build.cmd' $game ``` Keep 1080p output and other launcher settings fixed. Record time per frame, readback MB per frame, dropped draws, and visible differences after the caches have warmed. The launcher writes a frame-time log beside itself. The source snapshot is being prepared for [the releases page on my fork](https://github.com/KwameKai4/VIctory/releases).
Author
Owner

@⁠KwameKai4 on GitHub · 2026-11-27 19:23 UTC · original

FIND-33 follow-up · 1080p A/B on the RX 7900 GRE

Ryzen 7 5700X3D, Radeon RX 7900 GRE 16 GB. Both runs used the same experimental AMD fork executable and 1920×1080 borderless settings. The only performance setting changed in the launcher was VICTORY_WC_NO_BACK. I filtered the log windows to at least 2,000 draws/frame, then took the latter half of the eligible windows for each run.

Median across log windows Flag off (10 windows) Flag on (16 windows)
FPS 14.2 19.2
Frame time 70.7 ms 52.1 ms
Submission prep 44.3 ms 33.4 ms
Prep copies 15.1 ms / 61.2 MB 11.3 ms / 35.2 MB
Submit-thread GPU wait 0.0 ms 0.0 ms
Copy-back time / bytes written 14.4 ms / 10.6 MB 5.0 ms / 0.2 MB
Card-copy fetches 32.2 MB / 648 pieces 1.5 MB / 152 pieces
Relay fetch wait 6.2 ms 3.3 ms
Relay landing / idle card wait 26.3 ms / 16.9 ms 8.9 ms / 17.7 ms
Draws/frame 5,959 4,502
Draws dropped for missing host pipelines 196.5 267

The flag-on run had about 26% lower median frame time and 95% fewer card-copy fetch bytes. The submit-thread wait and relay fetch wait measure different stages. With one run per setting, different draw counts, and more missing-pipeline drops in the faster run, the size of the speedup and rendering equivalence still need a matched-workload repeat.

**@⁠KwameKai4** on GitHub · 2026-11-27 19:23 UTC · [original](https://github.com/Marvisak/VIctory/issues/3570#issuecomment-7226472002) ### FIND-33 follow-up · 1080p A/B on the RX 7900 GRE Ryzen 7 5700X3D, Radeon RX 7900 GRE 16 GB. Both runs used the same experimental AMD fork executable and 1920×1080 borderless settings. The only performance setting changed in the launcher was `VICTORY_WC_NO_BACK`. I filtered the log windows to at least 2,000 draws/frame, then took the latter half of the eligible windows for each run. | Median across log windows | Flag off (10 windows) | Flag on (16 windows) | | --- | ---: | ---: | | FPS | 14.2 | 19.2 | | Frame time | 70.7 ms | 52.1 ms | | Submission prep | 44.3 ms | 33.4 ms | | Prep copies | 15.1 ms / 61.2 MB | 11.3 ms / 35.2 MB | | Submit-thread GPU wait | 0.0 ms | 0.0 ms | | Copy-back time / bytes written | 14.4 ms / 10.6 MB | 5.0 ms / 0.2 MB | | Card-copy fetches | 32.2 MB / 648 pieces | 1.5 MB / 152 pieces | | Relay fetch wait | 6.2 ms | 3.3 ms | | Relay landing / idle card wait | 26.3 ms / 16.9 ms | 8.9 ms / 17.7 ms | | Draws/frame | 5,959 | 4,502 | | Draws dropped for missing host pipelines | 196.5 | 267 | The flag-on run had about 26% lower median frame time and 95% fewer card-copy fetch bytes. The submit-thread wait and relay fetch wait measure different stages. With one run per setting, different draw counts, and more missing-pipeline drops in the faster run, the size of the speedup and rendering equivalence still need a matched-workload repeat.
Author
Owner

@⁠MJ26gaming on GitHub · 2026-11-27 21:21 UTC · original

Same-checkpoint numbers for VICTORY_WC_NO_BACK, on Linux/Proton (GE-Proton 11-14, vkd3d-proton master), RX 9070 XT, Ryzen 7 7700, Series S, 1080p. The base is VI-BR-PORT main 29543253 plus picks, and the other flags are fixed (VICTORY_HOLE_SKIP=1 VICTORY_PORT_GUARD=0 VICTORY_PLACED_ORDER=1 and upstream's play.ps1 set). The only change between rows is VICTORY_WC_NO_BACK=1 VICTORY_WC_NO_BACK_MIN_KB=1024. 5-minute runs after 90 s warm-up:

fps mean / median copy-back copy-back MB/frame submit thread draws drops (pipeline/indirect)
off 28.42 / 28.45 ~9–10 ms ~22 MB 33 ms ~4,450 253 / 594
on 29.82 / 30.00 4.9 ms 0.9 MB 27.5 ms ~4,450 253 / 594

The picture was checked in diagnostics captures (cutscene and cell): it matches, with no dark exposure, at MIN_KB=1024. "on" sits at the title's 30 fps cap.

The VICTORY_WC_BAR=1 variant from the same source ignores MIN_KB and breaks lighting and draw counts. The report and a fix are in https://github.com/trustno1-coder/VIctory-NVIDIA/issues/355.

AI-assisted (Claude Code; Codex for the WC_BAR fix).

**@⁠MJ26gaming** on GitHub · 2026-11-27 21:21 UTC · [original](https://github.com/Marvisak/VIctory/issues/3570#issuecomment-7228369898) Same-checkpoint numbers for `VICTORY_WC_NO_BACK`, on Linux/Proton (GE-Proton 11-14, vkd3d-proton master), RX 9070 XT, Ryzen 7 7700, Series S, 1080p. The base is VI-BR-PORT main `29543253` plus picks, and the other flags are fixed (`VICTORY_HOLE_SKIP=1 VICTORY_PORT_GUARD=0 VICTORY_PLACED_ORDER=1` and upstream's play.ps1 set). The only change between rows is `VICTORY_WC_NO_BACK=1 VICTORY_WC_NO_BACK_MIN_KB=1024`. 5-minute runs after 90 s warm-up: | | fps mean / median | copy-back | copy-back MB/frame | submit thread | draws | drops (pipeline/indirect) | |---|---|---|---|---|---|---| | off | 28.42 / 28.45 | ~9–10 ms | ~22 MB | 33 ms | ~4,450 | 253 / 594 | | on | 29.82 / 30.00 | 4.9 ms | 0.9 MB | 27.5 ms | ~4,450 | 253 / 594 | The picture was checked in diagnostics captures (cutscene and cell): it matches, with no dark exposure, at MIN_KB=1024. "on" sits at the title's 30 fps cap. The `VICTORY_WC_BAR=1` variant from the same source ignores `MIN_KB` and breaks lighting and draw counts. The report and a fix are in https://github.com/trustno1-coder/VIctory-NVIDIA/issues/355. AI-assisted (Claude Code; Codex for the WC_BAR fix).
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#3570
No description provided.