Linux/render performance #1263

Open
github-bot wants to merge 17 commits from github-bot/gh-1263 into main AGit
Owner

@⁠mrowsnezh on GitHub · 2026-11-26 05:19 UTC · original
mrowsnezh:linux/render-performance → main · +1596 −588500 · 48 files · 17 commits · open

No description provided.

**@⁠mrowsnezh** on GitHub · 2026-11-26 05:19 UTC · [original](https://github.com/fxceless/victory-fork/pull/1263) `mrowsnezh:linux/render-performance` → `main` · +1596 −588500 · 48 files · 17 commits · open *No description provided.*
Port Marvisak/VIctory c0228d939ec1c206313f7e8cb44c922081b6f538 as carried by ZSlayerHQ/zslayer-pc-port-runtime 99f8834. Keep the existing out-of-bounds guard and test flagged, unflagged, and culled triangles.
Port WillyboPeep/victory-all-forks 4aff9e1, f9f6289 and d88f68f.
The ACCC/FSPX parser, resource and instruction lowering, UAV clear
support, and parser tests originate in Marvisak/VIctory 0b35b7f.
Partial image stores originate in Machad3x/VIctory d5c2b24. Willy's
port also follows upscaler wait loops and late wave reads.

Keep Hyphen's image atomic implementation and invalidate its indirect
argument gathering when clearing writable resources. Make each host
clear's two descriptors from a single resolved view and reuse the
CPU-only descriptor on its recording thread.

Co-authored-by: Willy <[email protected]>
Port the pipeline-library fix from jtrudeau1530/victory-fork commit 9dc5ddc3d0e3e7e2a6d46d81704baf8c1a580a7b. vkd3d-proton rejects a dangling slice pointer paired with a zero-byte length. Preserve the existing path for populated blobs.
(cherry picked from commit 091b5ae8f8)
Adapt Jon Parkhill’s ZSlayerHQ/zslayer-pc-port-runtime#7 (e68644d8), with an explicit opt-in and a check of the actual compute entry in PSV0. Keep graphics, fallback, and voxel paths active.

Co-authored-by: Jon Parkhill <[email protected]>
(cherry picked from commit c8c6f3819cfd75c4f8b7a753e370fea6eccabeb4)
write_mapped puts what shaders wrote back into title memory with
NtWriteVirtualMemory (or WriteProcessMemory), which on Windows is a
kernel copy. Wine implements both as a wineserver request (the server
writes /proc/<pid>/mem), even for the calling process, so in gameplay
every frame sent thousands of requests to one server thread that every
other thread of the process also waits on. A read of the calling process
is copied in place by Wine, after it checks the destination is writable,
so under Wine the write is that read, from the host copy into the title
page. Windows is unchanged; VICTORY_WINE_WRITES=0 writes as there.

A test writes across committed pages around an uncommitted one: the
pages around the hole get the bytes and nothing faults (both paths
checked under Wine 11.20).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit d945776fb4)
map_alias mapped page by page, three host calls a page under the
remapping lock that texture reads wait on. Runs of consecutive slices of
one section are now mapped as one view, after joining the per-page
placeholders unmap leaves (MEM_COALESCE_PLACEHOLDERS); page by page if
that is refused or the two ranges overlap.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit 0315f1acbc)
# Conflicts:
#	README.md
#	crates/victory-gpu/src/draw.rs
#	diagnostics/README.md
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:07:19 +00:00
This pull request has changes conflicting with the target branch.
  • crates/victory-hle/src/modules/xmem.rs
  • diagnostics/README.md
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1263/head:github-bot/gh-1263'
git switch 'github-bot/gh-1263'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1263'
git switch 'github-bot/gh-1263'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1263'
git switch 'github-bot/gh-1263'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1263'
git switch 'main'
git merge --squash 'github-bot/gh-1263'
git switch 'main'
git merge --ff-only 'github-bot/gh-1263'
git switch 'main'
git merge 'github-bot/gh-1263'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.