Default-on for VICTORY_CLUSTER_GUEST_LOADS, VICTORY_RECORD_PLACES, VICTORY_RECORD_RANGES? (+9 % at full quality on a Strix Halo APU) #517

Open
opened 2026-12-04 20:54:49 +00:00 by github-bot · 2 comments
Owner

@⁠ChainedTears on GitHub · 2026-12-04 20:51 UTC · original

On an AMD Ryzen AI Max+ 395 (Radeon 8060S, RDNA 3.5, 128 GB, RADV from Mesa
main with the repo's patch), these three translator switches together are
the only full-quality gain I found in a day of A/B runs:

  • VICTORY_CLUSTER_GUEST_LOADS=1
  • VICTORY_RECORD_PLACES=1
  • VICTORY_RECORD_RANGES=1

Setup: Series X profile, 2560x1440 output (1706x960 rendered), default
render scale, ray tracing on, Proton Experimental. The benchmark is the
first 3 minutes after loading the "Gone Fishing" save (cutscene, world-gated,
the same save restored before each run), plus one gameplay run on the boat.

runs avg fps (mean) 1 % low
defaults 25.1, 26.4, 26.8, 26.6 26.2 ~11.6
the three switches 29.2, 28.7, 29.1, 28.6, 28.0, 28.7, 28.6, 29.0, 28.8 28.7 ~12.2
boat gameplay, defaults / switches 28.9 / 30.1

That's about +9.7 % in the cutscene and +4 % in gameplay. Screenshots at
20-second steps look the same, and I saw no GPU hang I could tie to them in
about 50 runs. The random device-removed resets, about 1 in 12 runs, happen with
or without them. With the Series S profile they gave +6.5 %.

The doc comments note the assumptions they make: a record copied by halves
reads as an empty view under RECORD_RANGES, and typed-buffer records under
RECORD_PLACES=2. Is that why they're opt-in, or is it just that they
haven't been tested widely yet? If they're expected to be safe, defaulting
them on (or adding them to a preset) would give everyone this for free. Happy
to run more checks on this hardware if useful.

Measured and written with help from Claude Code (AI); I reviewed the numbers.

**@⁠ChainedTears** on GitHub · 2026-12-04 20:51 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/517) On an AMD Ryzen AI Max+ 395 (Radeon 8060S, RDNA 3.5, 128 GB, RADV from Mesa main with the repo's patch), these three translator switches together are the only full-quality gain I found in a day of A/B runs: - `VICTORY_CLUSTER_GUEST_LOADS=1` - `VICTORY_RECORD_PLACES=1` - `VICTORY_RECORD_RANGES=1` Setup: Series X profile, 2560x1440 output (1706x960 rendered), default render scale, ray tracing on, Proton Experimental. The benchmark is the first 3 minutes after loading the "Gone Fishing" save (cutscene, world-gated, the same save restored before each run), plus one gameplay run on the boat. | | runs | avg fps (mean) | 1 % low | |---|---|---|---| | defaults | 25.1, 26.4, 26.8, 26.6 | 26.2 | ~11.6 | | the three switches | 29.2, 28.7, 29.1, 28.6, 28.0, 28.7, 28.6, 29.0, 28.8 | 28.7 | ~12.2 | | boat gameplay, defaults / switches | 28.9 / 30.1 | | | That's about +9.7 % in the cutscene and +4 % in gameplay. Screenshots at 20-second steps look the same, and I saw no GPU hang I could tie to them in about 50 runs. The random device-removed resets, about 1 in 12 runs, happen with or without them. With the Series S profile they gave +6.5 %. The doc comments note the assumptions they make: a record copied by halves reads as an empty view under `RECORD_RANGES`, and typed-buffer records under `RECORD_PLACES=2`. Is that why they're opt-in, or is it just that they haven't been tested widely yet? If they're expected to be safe, defaulting them on (or adding them to a preset) would give everyone this for free. Happy to run more checks on this hardware if useful. Measured and written with help from Claude Code (AI); I reviewed the numbers.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-04 20:54:49 +00:00
Author
Owner

@⁠tmalik1116 on GitHub · 2026-12-05 06:15 UTC · original

Data point from RDNA 2: about +4 % on an RX 6800 XT, in both the mean and the lows.

Setup

  • RX 6800 XT (16 GB), Ryzen 7 5700X3D, 32 GB, CachyOS
  • Mesa 26.3.1 with the repo's patch, Proton-CachyOS SLR
  • xmem at b581f7e, Series X profile, default 2560x1440 output (1706x960 rendered), ray tracing on
  • Each run starts from the same save, sends scripted Enter presses, and lasts 400 s; I averaged the stats: frame lines (5 s windows) with draws ≥ 1000
  • Defaults and switches were run alternately
mean fps per run p10 per run
defaults 24.3*, 22.1, 22.1, 22.2 17.9*, 21.4, 21.4, 21.2
the three switches 22.9, 23.1, 23.1 22.0, 22.1, 22.3

* first run of the batch, likely an outlier; the switches won every back-to-back pair.

  • I ran one more switch run before these. It was still translating the switched shader set (the switches change the shader-cache key), so I left it out.
  • No crashes, hangs or device losses in these runs.
  • I didn't compare screenshots, so this covers performance only.

Measured and written with help from Claude Code (AI); I reviewed the numbers.

**@⁠tmalik1116** on GitHub · 2026-12-05 06:15 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/517#issuecomment-7433213071) Data point from RDNA 2: about **+4 %** on an RX 6800 XT, in both the mean and the lows. **Setup** - RX 6800 XT (16 GB), Ryzen 7 5700X3D, 32 GB, CachyOS - Mesa 26.3.1 with the repo's patch, Proton-CachyOS SLR - xmem at b581f7e, Series X profile, default 2560x1440 output (1706x960 rendered), ray tracing on - Each run starts from the same save, sends scripted Enter presses, and lasts 400 s; I averaged the `stats: frame` lines (5 s windows) with draws ≥ 1000 - Defaults and switches were run alternately | | mean fps per run | p10 per run | |---|---|---| | defaults | 24.3*, 22.1, 22.1, 22.2 | 17.9*, 21.4, 21.4, 21.2 | | the three switches | 22.9, 23.1, 23.1 | 22.0, 22.1, 22.3 | \* first run of the batch, likely an outlier; the switches won every back-to-back pair. - I ran one more switch run before these. It was still translating the switched shader set (the switches change the shader-cache key), so I left it out. - No crashes, hangs or device losses in these runs. - I didn't compare screenshots, so this covers performance only. Measured and written with help from Claude Code (AI); I reviewed the numbers.
Author
Owner

@⁠Widget9337 on GitHub · 2026-12-05 07:16 UTC · original

A data point from RDNA 4: about +5 % in the mean and +18 % in the worst frames on an RX 9070 XT.

Setup

  • RX 9070 XT 16 GB (Navi 48), Ryzen 9 7950X3D, 64 GB, CachyOS (kernel 7.2)
  • This repo's patched Mesa 26.3.1 and vkd3d-proton, proton-cachyos-slr
  • xmem at b581f7e with #428 and #445 on top, release build, Series X profile
  • 1920x1080 output with FSR 4 Balanced (1129x635 rendered), ray tracing on, VICTORY_FRAME_INTERVAL_MS=33.333 (a 30 fps cap)
  • The same route on foot and in a car through the city, played by hand, about 5 minutes in the world each. I averaged the stats: frame lines (5 s windows) with draws ≥ 1000 and left out the first minute
  • The shader cache was cleared and translated fresh before the first run, and translated again for the switches before the second, so no run built shaders while playing
defaults the three switches
mean fps 25.9 27.3
median 25.5 28.0
worst 10 % of windows 20.7 24.5
GPU wait 12.2 ms 10.6 ms
draws 7,595 8,046

In the heaviest windows (8,000 draws or more) it was 24.1 against 25.5 fps (+6 %). The GPU waited less while drawing more, so the gain is on the card's side, as expected from the translator.

The 30 fps cap holds the mean back: the median with the switches is already 28, so on this card most of the gain shows up in the lows. Three later runs with the switches on, over the same kind of route, came out at 27.5 to 29.1 mean, all above the defaults run.

That's one run each for the A/B itself, played by hand, so take the exact numbers with some care. But the direction matches yours and @⁠tmalik1116's, and the lows improving the most matches the RX 6800 XT result.

Stability: I've kept them on since, about a dozen sessions over a day, with no device loss, no GPU fault in the kernel log and nothing visibly wrong that goes away with them off. From here, defaulting them on looks safe on RDNA 4.

**@⁠Widget9337** on GitHub · 2026-12-05 07:16 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/517#issuecomment-7434011405) A data point from RDNA 4: about **+5 % in the mean and +18 % in the worst frames** on an RX 9070 XT. **Setup** - RX 9070 XT 16 GB (Navi 48), Ryzen 9 7950X3D, 64 GB, CachyOS (kernel 7.2) - This repo's patched Mesa 26.3.1 and vkd3d-proton, proton-cachyos-slr - xmem at `b581f7e` with #428 and #445 on top, release build, Series X profile - 1920x1080 output with FSR 4 Balanced (1129x635 rendered), ray tracing on, `VICTORY_FRAME_INTERVAL_MS=33.333` (a 30 fps cap) - The same route on foot and in a car through the city, played by hand, about 5 minutes in the world each. I averaged the `stats: frame` lines (5 s windows) with draws ≥ 1000 and left out the first minute - The shader cache was cleared and translated fresh before the first run, and translated again for the switches before the second, so no run built shaders while playing | | defaults | the three switches | |---|---|---| | mean fps | 25.9 | 27.3 | | median | 25.5 | 28.0 | | worst 10 % of windows | 20.7 | 24.5 | | GPU wait | 12.2 ms | 10.6 ms | | draws | 7,595 | 8,046 | In the heaviest windows (8,000 draws or more) it was 24.1 against 25.5 fps (+6 %). The GPU waited less while drawing more, so the gain is on the card's side, as expected from the translator. The 30 fps cap holds the mean back: the median with the switches is already 28, so on this card most of the gain shows up in the lows. Three later runs with the switches on, over the same kind of route, came out at 27.5 to 29.1 mean, all above the defaults run. That's one run each for the A/B itself, played by hand, so take the exact numbers with some care. But the direction matches yours and @⁠tmalik1116's, and the lows improving the most matches the RX 6800 XT result. **Stability:** I've kept them on since, about a dozen sessions over a day, with no device loss, no GPU fault in the kernel log and nothing visibly wrong that goes away with them off. From here, defaulting them on looks safe on RDNA 4.
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/lobomfz--VIctory-xmem#517
No description provided.