RTX 4070 + Ryzen 9 7900: 0.7 → 4.3 fps over four runs as the pipeline library fills; the speed switches cut texture refresh from 238 to 11 ms/frame #27

Open
opened 2026-11-26 03:34:50 +00:00 by github-bot · 1 comment
Owner

@⁠m335671 on GitHub · 2026-11-24 20:27 UTC · original

Setup

  • GPU: NVIDIA GeForce RTX 4070 12 GB (32-lane waves), driver 32.0.16.2124, native D3D12, default TDR
  • CPU / RAM: AMD Ryzen 9 7900, 32 GB
  • OS: Windows 11 Pro 26300
  • Fork: 7b0f736 (main), release build (cargo build --release -p victory), Rust 1.97.1, no diagnostics
  • Title: own copy of 1.0.2.1, Series X
  • Separate cache directory for the fork (VICTORY_CACHE_DIR), empty before run 1. Data directory shared with an earlier upstream VIctory install, so the first-run setup was already done.
  • Played through Sunshine (streaming), with a pad and keyboard.

Result: no device removal in four runs (about 22 minutes)

Same card as the README's test machine, with an AMD CPU. The opening cutscene renders lit, and run 3 holds 4–5 fps in the world. On this machine, upstream main hit DEVICE_HUNG (0x887A0006) on an indirect mesh draw as soon as the world loaded.

Run 1 Run 2 Run 3 Run 4
Settings VICTORY_RELAY=2 VICTORY_RELAY=2 VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024 same as run 3
Start new game, empty cache new game checkpoint checkpoint
Early pipelines listed 0 1,645 2,506 2,683
Pipelines being made (first → last sample) 926 → 1,038 1,219 → 2 1 → 0 0 → 0 (2,693 loaded, 4 made)
World fps (median) 0.7 1.2 4.3 4.1
ms/frame (median) 1,374 850 234 246
best / worst frame (ms) 342 / 4,173 207 / 5,212 186 / 10,211 156 / 4,644
preparing (median ms) 349 480 85 99
of it textures (ms) 173 238 11 28
on the GPU (ms) 35 71 90 80
copying back (ms) 70 129 34 30
draws/frame 696 2,240 5,034 4,973
dropped without a host pipeline 1,356 515 346 355
device removal none none none none

All figures come from the victory_gpu::host fps lines, one sample every ~5 s. A sample counts as "world" when it has 100 draws or more, which gives 7, 70, 59 and 41 samples. Pause-menu samples (~30 fps, under 100 draws) are left out. Each run ended when I closed the window.

  • The speed switches have the biggest effect here. With them, texture refresh drops from 238 to 11 ms/frame (median) and preparing from 480 to 85 ms, so the GPU becomes the largest share. Runs 3 and 4 also had a full cache and started from a checkpoint, though, and I have not run the defaults with a full cache. The gain therefore can't be split between the switches and the cache yet.
  • Run 4 steady state: 3.6–4.5 fps, with a 30-second stretch at 5.4–6.4 fps (156 ms frames).
  • Checkpoint load is the worst moment. For 1–1.5 minutes after it, frames take 2–10 s (up to 10,000 draws in a frame). It looks frozen, but it recovers.
  • Without the switches (run 2), textures were the bottleneck. About 915 ms of a 1,160 ms frame went to texture refreshes, and the card was about 14% busy by the log's own count.

#23 (pad history 32 → 256) on top of 7b0f736

A fifth run used 7b0f736 with #23's one-line change cherry-picked, the same settings as run 3, the full cache, and the same checkpoint. The left stick felt clearly more responsive while walking: fewer moves lost at 3–5 fps. This is my impression at the pad, not a measurement. The run had no device removal (35 world samples, median 2.7 fps, best 4.8). #23 only touches input, so the lower median most likely comes from the checkpoint load weighing more in a shorter run. At this frame rate the pad helps, but fps remains the real limit.

Still wrong here

  • Shadowed areas are black (no ray-traced light yet, as the README says).
  • About 350 draws/frame are still dropped without a host pipeline, with a full library.
  • The intro Bink video stutters on screen, although the log reports a steady 30 fps. That may be Sunshine's capture; I have not checked on a local display.

Not tested

  • Defaults with a full cache, and VICTORY_RELAY=2 together with the speed switches.
  • A diagnostics / DRED build.
  • TdrDelay changes.
  • Anything past the first gameplay scene.

AI use: the runs were done on my machine. Claude Code (Claude Opus 5.5) built the fork, ran it, read the logs, worked out the figures and wrote this report.

**@⁠m335671** on GitHub · 2026-11-24 20:27 UTC · [original](https://github.com/fxceless/victory-fork/issues/27) ## Setup - GPU: NVIDIA GeForce RTX 4070 12 GB (32-lane waves), driver 32.0.16.2124, native D3D12, default TDR - CPU / RAM: AMD Ryzen 9 7900, 32 GB - OS: Windows 11 Pro 26300 - Fork: `7b0f736` (main), release build (`cargo build --release -p victory`), Rust 1.97.1, no diagnostics - Title: own copy of 1.0.2.1, Series X - Separate cache directory for the fork (`VICTORY_CACHE_DIR`), empty before run 1. Data directory shared with an earlier upstream VIctory install, so the first-run setup was already done. - Played through Sunshine (streaming), with a pad and keyboard. ## Result: no device removal in four runs (about 22 minutes) Same card as the README's test machine, with an AMD CPU. The opening cutscene renders lit, and run 3 holds 4–5 fps in the world. On this machine, upstream `main` hit DEVICE_HUNG (`0x887A0006`) on an indirect mesh draw as soon as the world loaded. | | Run 1 | Run 2 | Run 3 | Run 4 | |---|---|---|---|---| | Settings | `VICTORY_RELAY=2` | `VICTORY_RELAY=2` | `VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024` | same as run 3 | | Start | new game, empty cache | new game | checkpoint | checkpoint | | Early pipelines listed | 0 | 1,645 | 2,506 | 2,683 | | Pipelines being made (first → last sample) | 926 → 1,038 | 1,219 → 2 | 1 → 0 | 0 → 0 (2,693 loaded, 4 made) | | **World fps (median)** | **0.7** | **1.2** | **4.3** | **4.1** | | ms/frame (median) | 1,374 | 850 | 234 | 246 | | best / worst frame (ms) | 342 / 4,173 | 207 / 5,212 | 186 / 10,211 | 156 / 4,644 | | preparing (median ms) | 349 | 480 | 85 | 99 | | of it textures (ms) | 173 | 238 | 11 | 28 | | on the GPU (ms) | 35 | 71 | 90 | 80 | | copying back (ms) | 70 | 129 | 34 | 30 | | draws/frame | 696 | 2,240 | 5,034 | 4,973 | | dropped without a host pipeline | 1,356 | 515 | 346 | 355 | | device removal | none | none | none | none | All figures come from the `victory_gpu::host` fps lines, one sample every ~5 s. A sample counts as "world" when it has 100 draws or more, which gives 7, 70, 59 and 41 samples. Pause-menu samples (~30 fps, under 100 draws) are left out. Each run ended when I closed the window. - **The speed switches have the biggest effect here.** With them, texture refresh drops from 238 to 11 ms/frame (median) and preparing from 480 to 85 ms, so the GPU becomes the largest share. Runs 3 and 4 also had a full cache and started from a checkpoint, though, and I have not run the defaults with a full cache. The gain therefore can't be split between the switches and the cache yet. - **Run 4 steady state:** 3.6–4.5 fps, with a 30-second stretch at 5.4–6.4 fps (156 ms frames). - **Checkpoint load is the worst moment.** For 1–1.5 minutes after it, frames take 2–10 s (up to 10,000 draws in a frame). It looks frozen, but it recovers. - **Without the switches (run 2), textures were the bottleneck.** About 915 ms of a 1,160 ms frame went to texture refreshes, and the card was about 14% busy by the log's own count. ## #23 (pad history 32 → 256) on top of `7b0f736` A fifth run used `7b0f736` with #23's one-line change cherry-picked, the same settings as run 3, the full cache, and the same checkpoint. **The left stick felt clearly more responsive while walking**: fewer moves lost at 3–5 fps. This is my impression at the pad, not a measurement. The run had no device removal (35 world samples, median 2.7 fps, best 4.8). #23 only touches input, so the lower median most likely comes from the checkpoint load weighing more in a shorter run. At this frame rate the pad helps, but fps remains the real limit. ## Still wrong here - Shadowed areas are black (no ray-traced light yet, as the README says). - About 350 draws/frame are still dropped without a host pipeline, with a full library. - The intro Bink video stutters on screen, although the log reports a steady 30 fps. That may be Sunshine's capture; I have not checked on a local display. ## Not tested - Defaults with a full cache, and `VICTORY_RELAY=2` together with the speed switches. - A diagnostics / DRED build. - `TdrDelay` changes. - Anything past the first gameplay scene. AI use: the runs were done on my machine. Claude Code (Claude Opus 5.5) built the fork, ran it, read the logs, worked out the figures and wrote this report.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:34:50 +00:00
Author
Owner

@⁠theo1531998 on GitHub · 2026-11-25 02:15 UTC · original

Additional runtime testing results — AMD Radeon RX 6700 XT

I tested Victory-Fork on an AMD Radeon RX 6700 XT system and would like to share some runtime observations that may help identify performance bottlenecks and areas requiring further development.

Test environment

  • CPU: AMD Ryzen 7 5800X3D
  • GPU: AMD Radeon RX 6700 XT (12 GB VRAM)
  • RAM: 32 GB
  • OS: Windows 10 Enterprise 22H2 (Build 19045)
  • Resolution: 1440p
  • Victory commit: 4e17478b9c27bb530643e5b0e16a767cf4419e08

What worked

  • All workspace tests passed.
  • Shader analysis detected 26,599 containers.
  • 26,148 shader programs were successfully translated.
  • Host D3D12 pipeline validation and creation completed for the emitted shader sets.
  • The application launched successfully and reached its runtime environment with both video and audio working.
  • No crash occurred during the test.

Runtime performance

Performance in the initial menu was above 30 FPS. After entering the main runtime environment, performance dropped to approximately 0.6–0.7 FPS.

The runtime log showed:

  • Approximately 1,526–1,576 ms per frame.
  • GPU utilization around 15–16%.
  • GPU waiting for the submitting thread for approximately 1,280–1,340 ms per frame.
  • Approximately 75–76 MB copied back per frame.
  • Copyback taking approximately 1,113–1,165 ms per frame.
  • Approximately 4,740–4,758 draw calls per frame.
  • Approximately 336–364 draw calls dropped due to missing host pipelines.

Other observations

Several unsupported shader operations appeared in the runtime log, including:

  • v_permlanex16_b32
  • v_cvt_f32_f64
  • Unsupported interpolation operations.
  • Unsupported descriptor-related operations.

I also encountered a host mesh pipeline creation failure with error 0x80070057.

Potential areas for investigation

I believe the following areas may be worth investigating:

  1. The unusually high time spent in the copyback path.
  2. Whether unnecessary or excessive data transfers occur every frame.
  3. The missing host pipelines responsible for dropped draw calls.
  4. Support for the shader instructions and operations reported in the runtime log.
  5. The mesh pipeline creation failure.

These observations are not intended to identify a definitive root cause, but to provide additional runtime data that may help guide debugging and future development.

I have retained the complete runtime log (approximately 6.9 MB / 38,005 lines) and can provide relevant sections if needed.

Thank you for your work on this project!

**@⁠theo1531998** on GitHub · 2026-11-25 02:15 UTC · [original](https://github.com/fxceless/victory-fork/issues/27#issuecomment-7150505406) ## Additional runtime testing results — AMD Radeon RX 6700 XT I tested Victory-Fork on an AMD Radeon RX 6700 XT system and would like to share some runtime observations that may help identify performance bottlenecks and areas requiring further development. ### Test environment - **CPU:** AMD Ryzen 7 5800X3D - **GPU:** AMD Radeon RX 6700 XT (12 GB VRAM) - **RAM:** 32 GB - **OS:** Windows 10 Enterprise 22H2 (Build 19045) - **Resolution:** 1440p - **Victory commit:** `4e17478b9c27bb530643e5b0e16a767cf4419e08` ### What worked - All workspace tests passed. - Shader analysis detected 26,599 containers. - 26,148 shader programs were successfully translated. - Host D3D12 pipeline validation and creation completed for the emitted shader sets. - The application launched successfully and reached its runtime environment with both video and audio working. - No crash occurred during the test. ### Runtime performance Performance in the initial menu was above 30 FPS. After entering the main runtime environment, performance dropped to approximately 0.6–0.7 FPS. The runtime log showed: - Approximately 1,526–1,576 ms per frame. - GPU utilization around 15–16%. - GPU waiting for the submitting thread for approximately 1,280–1,340 ms per frame. - Approximately 75–76 MB copied back per frame. - Copyback taking approximately 1,113–1,165 ms per frame. - Approximately 4,740–4,758 draw calls per frame. - Approximately 336–364 draw calls dropped due to missing host pipelines. ### Other observations Several unsupported shader operations appeared in the runtime log, including: - `v_permlanex16_b32` - `v_cvt_f32_f64` - Unsupported interpolation operations. - Unsupported descriptor-related operations. I also encountered a host mesh pipeline creation failure with error `0x80070057`. ### Potential areas for investigation I believe the following areas may be worth investigating: 1. The unusually high time spent in the copyback path. 2. Whether unnecessary or excessive data transfers occur every frame. 3. The missing host pipelines responsible for dropped draw calls. 4. Support for the shader instructions and operations reported in the runtime log. 5. The mesh pipeline creation failure. These observations are not intended to identify a definitive root cause, but to provide additional runtime data that may help guide debugging and future development. I have retained the complete runtime log (approximately 6.9 MB / 38,005 lines) and can provide relevant sections if needed. Thank you for your work on this project!
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/fxceless--victory-fork#27
No description provided.