Linux/Proton: view-tree Wine server build, hot archives on an SSD, opt-in hole cache for the write watch #3367
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3367
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3367"
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?
@ErRusso on GitHub · 2026-11-29 22:19 UTC · original
ErRusso:linux/vicetux-proton→main· +408 −0 · 4 files · 3 commits · closed without mergingRelated to #2719 and #3141 (Proton: the submitting thread waits on the write watch); no single issue.
What it changes
This ports the Linux/Proton pieces of ErRusso/ViceTux that no open PR here covers yet. Nothing changes on Windows unless a switch is set.
scripts/build-wineserver-viewtree.shbuilds the Wine server that keeps a process's mapped views in a tree (Wine bug 60868, not fixed in Proton Experimental 11), for the installed Proton Experimental.server/wineserver.wineserver-view-tree.patch. It is fetched at a fixed commit and checked against its SHA-256, so the repository holds no patch file.ntdll.so, to pass as umu-run'sPROTONPATH. The installed Proton is not touched.docs/linux-proton.mdalready measured this server: 13.7-15.3 → 19.1-19.3 fps on an RTX 4090. ViceTux measured the write watch going from 25-90 ms a frame to 3-6 ms (11.1 → 15.8 fps) on an RTX 4060.scripts/fast-copy.shcopies the ~108 GB the title streams most (levels.rpf, the hotdata/ttdbfolders) to an SSD and links everything else, so the folder works as the dump.VICTORY_ABSENT_CACHE=1(watch.rs, off by default): uncommitted regions found byuncommitted_endare remembered instead of asked of the system each time.VirtualQuerya second under Wine, each one taking Wine's process-wide lock.writes_in_partly_committed_view_blocks_are_reportedfails with it on, as it should.ee85549b.docs/linux-proton.md: how to use all three.How it was tested
docs/linux-proton.md.cargo xwin test -p victory-gpu --lib watch::, run under Wine 11 on Linux):a_remembered_hole_is_found_from_any_of_its_blocksandmemory_given_anywhere_in_a_hole_forgets_the_whole_hole.mainunder Wine without this change:bits_and_holes_with_faults_that_take_no_lock,holes_are_known_until_the_runtime_tells,no_mapping_is_lost_between_askers,what_is_left_alone_is_no_known_hole. They expect Windows memory semantics.cargo xwin clippy --workspace --all-targetsreports no new warnings from this change.-D warningsalready fails onmain(unwind_copyinvictory-loader/src/crash.rs:804, unused imports invictory-shader).--all-featuresalready fails to compilevictory-gpuonmain(11 errors, the diagnostics build; see #2744 and #3086).bash -n.cargo xtask policy --staged: the 4 files pass.Checked for overlap
watch.rstoo, in other places.🤖 Generated with Claude Code
@Kassadd on GitHub · 2026-11-30 00:47 UTC · original
The script stops with a bare
curl: (22) 404on the current Proton Experimental, andthat is only the tag.
On a build whose
versionisexperimental-bleeding-edge-11.0-482815-20261128-pdd4cb8-w0be231-d1011dd-v71cae0-x86_64-unstripped,the run ends at
tag="${tag%-x86_64}"takes-x86_64off a name that ends in-x86_64-unstripped, leaving…-x86_64, so the API is asked for a tag that hasnever existed. The tag without it (
…-v71cae0) answers 200 and gives0be231deb686bc9c9dd15dae836baa5b3b02150e.That
-unstripped(and-stripped) is the whole problem here — once taken apart,the script builds, the check passes, and
~/.local/share/victory/proton-experimental-viewtreeworks:
psshows thewineserverunder that folder, and in the world the run went from13.0-15.9 fps to 16.3-17.5 over eight consecutive samples each (about 14.5 to 16.7,
preparing41.6 to 35.6 ms a frame). Less than the doc's jump, but on this machine onlyabout 12 of those 35 ms were the server: the rest is
copiesandcopying back, so thetree cannot reach further here.
Two changes, on top of your branch (they touch nothing else, and the SHA-256 check for the
patch is left as it is):
The second one is not cosmetic: without it
curl -fsSLaborts before the note on theline below can print, so the user sees the 404 and nothing else. Keeping curl's own
error on screen matters too — a network failure or a rate limit looks exactly like a
missing tag from here, so the note names both instead of claiming the tag is gone.
I checked the four version formats in use on this machine —
…-x86_64-unstripped,proton-11.0-3-x86_64,proton-10.0-4b,proton-9.0-4f— and none of the 1,000 tagspublished on ValveSoftware/Proton contains
strippedorx86_64, so the extra suffixescannot eat a real one.
Happy to send it as a PR against your branch if you would rather review it that way.
@ErRusso on GitHub · 2026-11-30 01:26 UTC · original
Thanks, @Kassadd — confirmed and applied directly on the branch as
86587de0, so no separate PR needed.Checked here: the
-x86_64-unstrippedname 404s on the contents API, the trimmed tag gives0be231deb686…, no ValveSoftware/Proton tag containsstrippedorx86_64, andproton-11.0-3-x86_64still resolves (957ac7cf…). A missing tag now prints curl's error and then the note, instead of exiting on the bare 404.(One detail:
${tag%-x86_64}left the-unstrippedname unchanged rather than leaving…-x86_64; the fix is the same.)Thanks for the fps numbers too — useful to have a machine where
copiesandcopying backdominate.Pull request closed