HLE: order fresh slices in low graphics placeholders #1339
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!1339
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1339"
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?
@Filip722 on GitHub · 2026-11-26 17:08 UTC · original
Filip722:hle/order-fresh-graphics-pages→main· +171 −7 · 1 files · 1 commits · openSummary
Add an opt-in Wine path that orders previously unused physical-page slices within a low graphics placeholder. Set
VICTORY_CONSTANTS_ORDER=1to opt in. This lets an eligible graphics buffer occupy one consecutive range of its pagefile section and prepares it for direct D3D12 import.The runtime records the effective placeholder flag. It plans the full permutation under the physical-page table lock and retains the guest page numbers. Mapping and DirectStorage access mark slices before another thread can change their positions. Any conflicting exposure or incomplete plan leaves the original assignments in place.
The ordering approach follows VIctory-7900XTX 4b82f6c.
Verification
On an RTX 5060 Laptop GPU with driver 615.78.08, GE-Proton11-14 and vkd3d-proton 3.2.0, the private compatibility build changed a 174 MiB registered graphics buffer from scattered section offsets to one contiguous span. The ordered replay reached the rendered prison view. A separate import experiment measured the resulting GPU path. Import test on #1117.
The synthetic regression checks both a successful permutation and a later request containing an already exposed slice. It verifies that a rejected plan leaves the earlier assignments intact.
All 15 focused XMem tests passed under GE-Proton on the PR branch. Windows-target Clippy passed with warnings denied, and the staged asset-policy check passed.
Assisted by Codex (GPT-6.2-Sol High).
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.