RX 9060 XT (RDNA4) + Ryzen 5 5600: performance report, renderer ports 1/6/7 OK, port 5 (CBV) black screen, port 2 slower on an unknown build #400

Open
opened 2026-11-27 00:59:12 +00:00 by github-bot · 0 comments
Owner

@⁠MatheusSlvRibeiro on GitHub · 2026-11-26 23:58 UTC · original

Setup

GPU AMD Radeon RX 9060 XT 16 GB (RDNA4, vendor 0x1002, device 0x7590). Driver 32.0.31044.16. VIctory logs host wave lanes min=32 max=64 and vram_budget_mb=15447
CPU AMD Ryzen 5 5600 (6 cores / 12 threads)
RAM 32 GB DDR4-2666 (the README recommends 64 GB; runs use ~30 GB)
Storage game and cache on SSD (NVMe Kingston KC3000)
OS Windows 11 Home, build 26300
VIctory a-publier @ cd8dfc0 (FSR 4.1.2 port), cargo build --locked --profile diag -p victory --features diagnostics, rustc 1.98.1
Title 1.0.2.1 dump. The loader reports build unknown (b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93)

How the shaders were prepared

  1. Offline translation, before any run:
    target\diag\victory.exe shaders <dump>\shaders.rpf
    
    It found 26,503 shaders. 25,694 went into the cache, and 195 do not translate: a container without a vertex, pixel, compute or mesh program is not supported, all of them GS_* geometry containers. 4,103 earlier translations were redone with 0 differences. It took 5 min 20 s.
  2. Port 5 has its own cache key (VICTORY_PORT_CBV=1 is part of the key in shader_cache.rs), so I translated a second time with it on:
    $env:VICTORY_PORT_CBV='1'; target\diag\victory.exe shaders <dump>\shaders.rpf
    
    Again 25,694 cached and 195 untranslated, in 206 s.
  3. During every run below the log shows shaders from the cache and translated so far hits=~2200-2600 misses=0. Nothing is translated live.
  4. Host pipelines come from the pipeline library: loaded=3803 made=4 at exit. I have not run victory warm.

Method

  • Every run uses scripts\play.ps1 (diag build), with the same route each time: from boot through every cutscene without skipping (Lucia in jail through the boat ride) to the first briefcase. Each run lasts about 7–8 min.
  • The numbers come from the periodic victory_gpu::host: N fps, M ms/frame (P preparing ...) log lines. I count only the in-game samples (below 29 fps), which leaves out the 30 fps-capped logo and loading screens. Medians.
  • "GPU idle" comes from the card's clock per frame and is split into the two causes that line reports: idle while our submitting thread worked, and idle because the title had not submitted.
  • Each configuration ran only once, so treat differences of about 5% as noise.

Results

Run Configuration fps (median) ms/frame Preparing (ms) GPU idle: behind submit / title not submitted Picture
0 -Safe 9.4 104.8 80.8 — OK
A -Safe + port 1 9.8 101.0 71.3 — OK
N default + port 1 10.5 94.2 72.0 30.4 / 23.3 OK
J N + port 7 9.9 100.4 65.3 27.5 / 27.0 OK
G J + port 6 10.5 94.5 65.1 27.6 / 15.8 OK
O G + VICTORY_OUTPUT=1920x1080 12.5 (max 18.5) 79.5 59.8 32.6 / 27.0 OK, but the HUD and subtitles are scaled up
T O + port 2 + port 5 ~3 ~300 — — black
C O + port 5 ~3 300–430 95–196 card only 9–17% busy almost black (only a few highlights)
D O + port 2 11.5 86.7 60.6 32.2 / 34.7 OK
S G + --console series-s 10.8 92.2 71.0 34.1 / 17.1 OK. No low-poly LODs in cutscenes, aliased

Submitting thread breakdown (ms per frame, average):

Run write watch lists' steps (refreshes) snapshots waiting for flights waiting for heaps' records
0 6.7 38.6 (20.3) 11.7 1.9 3.7
A 7.0 35.1 (16.8) 12.5 0.9 5.2
N 5.7 32.2 (19.5) 11.2 3.7 13.3
J 5.9 32.5 (19.9) 11.4 2.6 6.1
G 6.1 31.7 (18.1) 11.7 3.2 6.9

Findings

  1. Port 5 (VICTORY_PORT_CBV=1) breaks rendering on this GPU and build. The shader cache is complete (0 misses), and port 5's own counters look normal: 8110 tables' constant buffers read by the card in place, 741 not in place. Even so, the picture is almost black and the card is busy only 9–17% of the time, at about 300 ms a frame. The first run failed the same way before the port 5 cache existed, so live translation is not the cause either.
  2. Port 2 (VICTORY_PORT_DESCRIPTORS=1) works but is slower here: 8,979 a view record in the title's heap that no store told of (found by the fallback; made now) warnings in one run, and the time the card waits for the title went from 27.0 to 34.7 ms. The patched sites probably do not cover this build unknown executable. The writer most often reported is title+0x18849c.
  3. Ports 1, 6 and 7 work. Port 7 cut the wait for the heaps' records from 13.3 to 6.1 ms, and port 6 cut the card's wait for the title from 27.0 to 15.8 ms. Each time the frame moved to the next bottleneck, so fps changed little until 1080p output took load off the GPU.
  4. With the Series X profile at default output, the card was busy ~51 ms a frame. At 1080p the card is mostly idle and the CPU limits the frame (submitting thread ~60 ms, CPU ~90% in Adrenalin's overlay). A 6-core CPU is probably part of that.
  5. Series S profile: low-poly LODs no longer show in cutscenes, but the submitting thread prepares about 11 ms more a frame than in O, even with fewer draws (2,334 against 2,674).
  6. VICTORY_OUTPUT=1920x1080 scales the HUD and subtitles with the output, which is expected. A render-scale or -Fsr4K performance comparison is still to do.

Logs (one per run, about 90k lines each) are available on request.

**@⁠MatheusSlvRibeiro** on GitHub · 2026-11-26 23:58 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/400) ## Setup | | | |---|---| | GPU | AMD Radeon RX 9060 XT 16 GB (RDNA4, vendor 0x1002, device 0x7590). Driver 32.0.31044.16. VIctory logs `host wave lanes min=32 max=64` and `vram_budget_mb=15447` | | CPU | AMD Ryzen 5 5600 (6 cores / 12 threads) | | RAM | 32 GB DDR4-2666 (the README recommends 64 GB; runs use ~30 GB) | | Storage | game and cache on SSD (NVMe Kingston KC3000) | | OS | Windows 11 Home, build 26300 | | VIctory | `a-publier` @ `cd8dfc0` (FSR 4.1.2 port), `cargo build --locked --profile diag -p victory --features diagnostics`, rustc 1.98.1 | | Title | 1.0.2.1 dump. The loader reports `build unknown (b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93)` | ## How the shaders were prepared 1. Offline translation, before any run: ```powershell target\diag\victory.exe shaders <dump>\shaders.rpf ``` It found 26,503 shaders. 25,694 went into the cache, and 195 do not translate: `a container without a vertex, pixel, compute or mesh program is not supported`, all of them `GS_*` geometry containers. 4,103 earlier translations were redone with 0 differences. It took 5 min 20 s. 2. Port 5 has its own cache key (`VICTORY_PORT_CBV=1` is part of the key in `shader_cache.rs`), so I translated a second time with it on: ```powershell $env:VICTORY_PORT_CBV='1'; target\diag\victory.exe shaders <dump>\shaders.rpf ``` Again 25,694 cached and 195 untranslated, in 206 s. 3. During every run below the log shows `shaders from the cache and translated so far hits=~2200-2600 misses=0`. Nothing is translated live. 4. Host pipelines come from the pipeline library: `loaded=3803 made=4` at exit. I have not run `victory warm`. ## Method - Every run uses `scripts\play.ps1` (diag build), with the same route each time: from boot through every cutscene without skipping (Lucia in jail through the boat ride) to the first briefcase. Each run lasts about 7–8 min. - The numbers come from the periodic `victory_gpu::host: N fps, M ms/frame (P preparing ...)` log lines. I count only the in-game samples (below 29 fps), which leaves out the 30 fps-capped logo and loading screens. Medians. - "GPU idle" comes from `the card's clock per frame` and is split into the two causes that line reports: idle while our submitting thread worked, and idle because the title had not submitted. - Each configuration ran only once, so treat differences of about 5% as noise. ## Results | Run | Configuration | fps (median) | ms/frame | Preparing (ms) | GPU idle: behind submit / title not submitted | Picture | |---|---|---|---|---|---|---| | 0 | `-Safe` | 9.4 | 104.8 | 80.8 | — | OK | | A | `-Safe` + port 1 | 9.8 | 101.0 | 71.3 | — | OK | | N | default + port 1 | 10.5 | 94.2 | 72.0 | 30.4 / 23.3 | OK | | J | N + port 7 | 9.9 | 100.4 | 65.3 | 27.5 / 27.0 | OK | | G | J + port 6 | 10.5 | 94.5 | 65.1 | 27.6 / 15.8 | OK | | **O** | G + `VICTORY_OUTPUT=1920x1080` | **12.5** (max 18.5) | **79.5** | 59.8 | 32.6 / 27.0 | OK, but the HUD and subtitles are scaled up | | T | O + port 2 + port 5 | ~3 | ~300 | — | — | **black** | | C | O + port 5 | ~3 | 300–430 | 95–196 | card only 9–17% busy | **almost black** (only a few highlights) | | D | O + port 2 | 11.5 | 86.7 | 60.6 | 32.2 / 34.7 | OK | | S | G + `--console series-s` | 10.8 | 92.2 | 71.0 | 34.1 / 17.1 | OK. No low-poly LODs in cutscenes, aliased | Submitting thread breakdown (ms per frame, average): | Run | write watch | lists' steps (refreshes) | snapshots | waiting for flights | waiting for heaps' records | |---|---|---|---|---|---| | 0 | 6.7 | 38.6 (20.3) | 11.7 | 1.9 | 3.7 | | A | 7.0 | 35.1 (16.8) | 12.5 | 0.9 | 5.2 | | N | 5.7 | 32.2 (19.5) | 11.2 | 3.7 | **13.3** | | J | 5.9 | 32.5 (19.9) | 11.4 | 2.6 | 6.1 | | G | 6.1 | 31.7 (18.1) | 11.7 | 3.2 | 6.9 | ## Findings 1. **Port 5 (`VICTORY_PORT_CBV=1`) breaks rendering on this GPU and build.** The shader cache is complete (0 misses), and port 5's own counters look normal: `8110 tables' constant buffers read by the card in place, 741 not in place`. Even so, the picture is almost black and the card is busy only 9–17% of the time, at about 300 ms a frame. The first run failed the same way before the port 5 cache existed, so live translation is not the cause either. 2. **Port 2 (`VICTORY_PORT_DESCRIPTORS=1`) works but is slower here:** 8,979 `a view record in the title's heap that no store told of (found by the fallback; made now)` warnings in one run, and the time the card waits for the title went from 27.0 to 34.7 ms. The patched sites probably do not cover this `build unknown` executable. The writer most often reported is `title+0x18849c`. 3. Ports 1, 6 and 7 work. Port 7 cut the wait for the heaps' records from 13.3 to 6.1 ms, and port 6 cut the card's wait for the title from 27.0 to 15.8 ms. Each time the frame moved to the next bottleneck, so fps changed little until 1080p output took load off the GPU. 4. With the Series X profile at default output, the card was busy ~51 ms a frame. At 1080p the card is mostly idle and the CPU limits the frame (submitting thread ~60 ms, CPU ~90% in Adrenalin's overlay). A 6-core CPU is probably part of that. 5. Series S profile: low-poly LODs no longer show in cutscenes, but the submitting thread prepares about 11 ms more a frame than in O, even with fewer draws (2,334 against 2,674). 6. `VICTORY_OUTPUT=1920x1080` scales the HUD and subtitles with the output, which is expected. A render-scale or `-Fsr4K performance` comparison is still to do. Logs (one per run, about 90k lines each) are available on request.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 00:59:12 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.