feat: build the view-tree wineserver for a GE-Proton release (Linux, ~8x world frame) #261
No reviewers
Labels
No labels
accessibility
bloqué : binaire console
bug
chargeur
console-dll
cpu
documentation
duplicate
enhancement
good first issue
gpu
help wanted
invalid
performance
question
runtime-gdk
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LooperSalty--AnyXboxX!261
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-261"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Anzymanz on GitHub · 2026-11-25 22:20 UTC · original
Anzymanz:feat/ge-view-tree-wineserver→main· +194 −0 · 5 files · 3 commits · openPour le mainteneur : bonjour ! Le guide parle d'un « correctif communautaire view-tree du wineserver » sans dire où le trouver ni comment le construire. Cette PR ajoute un script qui le construit pour n'importe quelle version de GE-Proton (en vérifiant le protocole contre le
ntdll.soinstallé), le lien vers le correctif et ses auteurs, et une mesure A/B sur une RX 9070 XT. Pas de code de jeu ni de données du jeu : seulement des comptes et des temps. Code et texte écrits avec Claude Code (voir plus bas).What
tools/build_ge_wineserver.sh <GE tag> <installed GE-Proton folder> <empty work folder>: fetches the tag of proton-ge-custom and the Wine / wine-staging commits it pins, runs the Wine section of GE'sprotonprep-valve-staging.sh, applies the view-tree patch, builds onlyserver/wineserver, checks itsSERVER_PROTOCOL_VERSIONagainst the installed Proton'sntdll.so(stops on a mismatch), and copies the Proton folder with onlyfiles/bin/wineserverreplaced. About 75 s from scratch here;bash -nandshellcheck -S warningclean.docs/running-gta6.mdanddocs/fr/lancer-gta6.md: a short section naming the patch, why it helps VIctory, how to build and use it (and the "a new launch joins a running stock wineserver" trap), and the A/B below.The patch itself is CachyOS/wine-cachyos#50 (Wine bug 60868) by @ajsem1337, from a version by @neonbyte1; it is downloaded by the script, not copied into this repository.
Measured
GE-Proton11-14 (protocol 938), CachyOS, Ryzen 9 5950X, RX 9070 XT, Mesa 26.3.1; this repository's VIctory plus Marvisak/VIctory#454 (watchdog off); Wine's own
d3dcompiler_47, so indirect draws were dropped in every run; same binary and prefix, onlywineserverswapped; numbers fromtools/resume_journal_victory.py.perf, 20 s)MapViewOfFile+UnmapViewOfFilepair with 0 / 5k / 20k / 50k other viewsCaveat: both view-tree runs ended after about 8 and 7 minutes on the title's own breakpoint ("Unsignaled CrossQueueBarrier" in its crash report). The stock run never got that far, so it is not known yet whether the patch plays a part.
Checks
pytest: 1092 passed, 322 skipped (Linux, no runtime build).ruff check --select W605,F,E9 PrototypeScarlett tests tools: clean.AI use
Claude Code (Claude Opus 5.5) wrote the script and the docs, built the server, ran the game measurements on my PC and wrote this description.
🤖 Generated with Claude Code
@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 22:20 UTC · original · edited 2026-11-25 22:24 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
69be361ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
@LooperSalty on GitHub · 2026-11-26 00:06 UTC · original
Thanks for the Linux work. Before it can go in: (1)
tools/build_ge_wineserver.sh:5usage saysscripts/but the file is intools/; (2) the CachyOS patch is downloaded with curl at line 30 without a sha256 check — please pin it by hash (or vendor it with its licence and a Source line, rule 10); (3) GE-Proton is cloned at a mutable tag — please pin a commit SHA; (4) please credit the patch's origin in THIRD_PARTY.md. The measurements are welcome as reported by you; say so in the docs.@mancube on GitHub · 2026-11-26 00:08 UTC · original
I've tested this on my CachyOS machine - it built correctly for GE-Proton11-14 and I now get playable ~4fps with no glitches on my 7900X/RX9700XT, as compared to 1 frame every ~20s before the wineserver patch.
@Foxiquek on GitHub · 2026-11-26 05:25 UTC · original
I've proposed the view-tree patch to GE-Proton so it can ship there without a local build: GloriousEggroll/proton-ge-custom#1016.
@ -0,0 +45,4 @@make -j"$(nproc)" server/wineserver > make.log 2>&1strip -o wineserver server/wineserverOUT="$WORK/$(basename "$INST")-viewtree"cp -a "$INST" "$OUT"; cp wineserver "$OUT/files/bin/wineserver"@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 22:24 UTC · original
This new build path replaces the wineserver in a Proton copy, but the diff adds no test for its protocol-check and replacement contract. If that logic regresses, the helper could produce an incompatible or unusable copy without a test catching it. Please add a focused test that stubs the fetch and build steps and verifies the validation and replacement behavior; this repository requires each new behavior to have a test.
AGENTS.md reference: AGENTS.md:L54-L54
Useful? React with 👍 / 👎.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 22:24 UTC · original · reviewed
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
69be361abaℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
@Anzymanz on GitHub · 2026-11-27 01:31 UTC · original
Updated:
mainmerged in, plus8858f44for the review points.@LooperSalty, your four points:
tools/.9ee40d56…a74b). The script refuses it if the download differs.GE-Proton11-14→777d72b4. Any other tag is refused until its commit is added toge_commit.The docs (EN and FR) now say the numbers are the contributor's own and not reproduced by the project.
Codex review (a test). The protocol check and the copy are now functions; sourcing the script only defines them.
tests/test_build_ge_wineserver.pycovers three cases:objdump's output;files/bin/wineserverand leaves the source alone, and it refuses an existing folder;3 passed locally, and ruff with the CI's rules is clean. The build itself (fetch, GE prep, compile) isn't covered by the test. I haven't re-run the build since this change.
@mancube, thank you for testing it on another machine.
@Foxiquek, thanks for taking it to GE. GloriousEggroll closed #1016 as a duplicate of the same fix, which landed in GE's tree on 27 Nov as
d3b6ae7. The docs now say so: a GE-Proton release after 11-14 that includes it needs no local build, and this script is only for 11-14.Written with Claude Code.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.