RX 9070 XT / RADV on stock Proton Experimental: 707 ms/frame in Gone Fishing. Which wineserver patch did run 31 use? #253

Open
opened 2026-11-26 05:40:36 +00:00 by github-bot · 1 comment
Owner

@⁠TobiasFornell on GitHub · 2026-11-25 21:43 UTC · original

Hi, thanks for documenting the Linux runs so carefully.

We tested your tree on the same hardware and driver as your run 31: Linux (CachyOS), RX 9070 XT 16 GB, RADV via vkd3d-proton, game 1.0.2.1, offline. We built third_party/victory from main (4f2cf5c) and ran it with the Linux settings from docs/running-gta6.md (without VICTORY_L7_SKIP, no local role table) on stock Proton Experimental, from the shared "Gone Fishing" save (fxceless/victory-fork#863). One 600 s run; median of the frames from 230 s after world entry (n = 44), because the first minutes are dominated by pipeline compilation and streaming.

Build ms/frame prep copies GPU copy-back
AnyXboxX 4f2cf5c, Series X profile 707 288 209 117 103
Belobug-based tree (our fork), Series S profile 656 465 231 88 102

(Measured. Both are single runs; the scene is the Gone Fishing save, not your chapter 1 boot scene, so the numbers are not directly comparable to your 266 ms.)

This is in the same range as the 685 ms you list for stock Proton (batch 6), which is consistent with the wineserver patch being a large part of your 685 -> 266 ms. I can't separate it from the write-watch cuts, though. Could you share the "community view-tree wineserver patch" (source/PR, Wine or Proton version it applies to)? Other Linux users would probably like to try it too. If you have a number for the patch alone (without the l8ww cuts), that would help as well.

One small finding that may be useful: in crates/victory-shader/src/emit/lower.rs, wave_size is set only when console_lanes || one_wave && lds_dwords > 0, so other native-wave64 compute shaders run as wave32 on RADV. In our tree a small change (WaveSize(64) for these, opt-out switch) gives 319 additional compute shaders on 64 lanes (495 in total) with 0 pipeline rejections on the RX 9070 XT. Measured for the shader count only; we have not measured a GPU-time effect. Happy to send it as a PR if you want it.

Only tested on Linux, RX 9070 XT, RADV, Proton Experimental.

**@⁠TobiasFornell** on GitHub · 2026-11-25 21:43 UTC · [original](https://github.com/LooperSalty/AnyXboxX/issues/253) Hi, thanks for documenting the Linux runs so carefully. We tested your tree on the same hardware and driver as your run 31: Linux (CachyOS), RX 9070 XT 16 GB, RADV via vkd3d-proton, game 1.0.2.1, offline. We built `third_party/victory` from `main` (`4f2cf5c`) and ran it with the Linux settings from `docs/running-gta6.md` (without `VICTORY_L7_SKIP`, no local role table) on **stock Proton Experimental**, from the shared "Gone Fishing" save (fxceless/victory-fork#863). One 600 s run; median of the frames from 230 s after world entry (n = 44), because the first minutes are dominated by pipeline compilation and streaming. | Build | ms/frame | prep | copies | GPU | copy-back | |---|---|---|---|---|---| | AnyXboxX `4f2cf5c`, Series X profile | 707 | 288 | 209 | 117 | 103 | | Belobug-based tree (our fork), Series S profile | 656 | 465 | 231 | 88 | 102 | (Measured. Both are single runs; the scene is the Gone Fishing save, not your chapter 1 boot scene, so the numbers are not directly comparable to your 266 ms.) This is in the same range as the 685 ms you list for stock Proton (batch 6), which is consistent with the wineserver patch being a large part of your 685 -> 266 ms. I can't separate it from the write-watch cuts, though. **Could you share the "community view-tree wineserver patch"** (source/PR, Wine or Proton version it applies to)? Other Linux users would probably like to try it too. If you have a number for the patch alone (without the `l8ww` cuts), that would help as well. One small finding that may be useful: in `crates/victory-shader/src/emit/lower.rs`, `wave_size` is set only when `console_lanes || one_wave && lds_dwords > 0`, so other native-wave64 compute shaders run as wave32 on RADV. In our tree a small change (`WaveSize(64)` for these, opt-out switch) gives 319 additional compute shaders on 64 lanes (495 in total) with 0 pipeline rejections on the RX 9070 XT. Measured for the shader count only; we have not measured a GPU-time effect. Happy to send it as a PR if you want it. Only tested on Linux, RX 9070 XT, RADV, Proton Experimental.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:40:36 +00:00
Author
Owner

@⁠Foxiquek on GitHub · 2026-11-26 04:45 UTC · original

The patch is most likely the view-tree change in wineserver: CachyOS/wine-cachyos@fd66dbc ("server: Keep memory views in a tree by base address", Wine bug 60868). It's 4 files in server/ only. Marvisak/VIctory#834 has two A/B runs with only wineserver swapped.

A third data point, on GE-Proton this time.
Same hardware class as run 31: RX 9070 XT, RADV, Linux Mint 22.3, GE-Proton11-14. AnyXboxX main (c4c93bd) plus Marvisak/VIctory#1885, with the launcher's tuned set plus the Linux changes from docs/running-gta6.md, and a warm shader cache.

I built wineserver from GE-Proton11-14's own source (its Wine patches applied, protocol 938) with and without fd66dbc, and swapped only that binary. The source-built server without the patch started fine with GE's client.

Opening sequence, median of the frame lines with at least 1,000 draws:

stock GE wineserver with view tree
ms/frame 4,534 531
preparing 2,778 168
textures 1,501 8.5
copies 487 105
copying back 520 104
on the GPU 112 114
wineserver CPU ~100% of one core 10-20%

Caveats: one run each, and the patched run is shorter (10 frame lines over 1 minute, against 37 over 6 minutes). Both are from the opening in-engine sequence, not gameplay, so they aren't directly comparable to run 31's 266 ms in chapter 1. Still, an 8.5x gap with unchanged GPU time is hard to put down to noise.

Building it: clone proton-ge-custom at the tag with the wine and wine-staging submodules, run the Wine section of patches/protonprep-valve-staging.sh, then tools/make_requests, tools/make_specfiles, dlls/winevulkan/make_vulkan and autoreconf -f. Apply fd66dbc (clean, with offsets), configure, and run make server/wineserver. Replace files/bin/wineserver in the GE install and keep the original. It must come from the same source: GE-Proton11-14's protocol is 938, not stock 11.0's 930.

**@⁠Foxiquek** on GitHub · 2026-11-26 04:45 UTC · [original](https://github.com/LooperSalty/AnyXboxX/issues/253#issuecomment-7182874668) The patch is most likely the view-tree change in wineserver: [CachyOS/wine-cachyos@fd66dbc](https://github.com/CachyOS/wine-cachyos/commit/fd66dbca8eb0754839ca974e45b5ea446ca62d2f) ("server: Keep memory views in a tree by base address", Wine bug [60868](https://bugs.winehq.org/show_bug.cgi?id=60868)). It's 4 files in `server/` only. Marvisak/VIctory#834 has two A/B runs with only wineserver swapped. A third data point, on GE-Proton this time. Same hardware class as run 31: RX 9070 XT, RADV, Linux Mint 22.3, GE-Proton11-14. AnyXboxX `main` (`c4c93bd`) plus Marvisak/VIctory#1885, with the launcher's tuned set plus the Linux changes from `docs/running-gta6.md`, and a warm shader cache. I built `wineserver` from GE-Proton11-14's own source (its Wine patches applied, protocol 938) with and without `fd66dbc`, and swapped only that binary. The source-built server without the patch started fine with GE's client. Opening sequence, median of the frame lines with at least 1,000 draws: | | stock GE wineserver | with view tree | |---|---:|---:| | ms/frame | 4,534 | 531 | | preparing | 2,778 | 168 | | textures | 1,501 | 8.5 | | copies | 487 | 105 | | copying back | 520 | 104 | | on the GPU | 112 | 114 | | wineserver CPU | ~100% of one core | 10-20% | Caveats: one run each, and the patched run is shorter (10 frame lines over 1 minute, against 37 over 6 minutes). Both are from the opening in-engine sequence, not gameplay, so they aren't directly comparable to run 31's 266 ms in chapter 1. Still, an 8.5x gap with unchanged GPU time is hard to put down to noise. Building it: clone `proton-ge-custom` at the tag with the `wine` and `wine-staging` submodules, run the Wine section of `patches/protonprep-valve-staging.sh`, then `tools/make_requests`, `tools/make_specfiles`, `dlls/winevulkan/make_vulkan` and `autoreconf -f`. Apply `fd66dbc` (clean, with offsets), configure, and run `make server/wineserver`. Replace `files/bin/wineserver` in the GE install and keep the original. It must come from the same source: GE-Proton11-14's protocol is 938, not stock 11.0's 930.
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/LooperSalty--AnyXboxX#253
No description provided.