README: document XCL_LIVE_RESERVED #3794
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3794"
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?
Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-12-03T15:11:11Z.
Documents
XCL_LIVE_RESERVED, which is read incrates/xcl/src/hle/d3d12x/vram.rsbut was not mentioned in the README switches list.What is in it
README.md: add anXCL_LIVE_RESERVEDbullet to the "Switches for how a title runs" sub-list, after theXCL_WAIT_TIMEOUT_MSbullet.Tested
mainata815de9: live reserved placements are on only with the reserved pool enabled, and then only when the trimmed value is1or, for any other value except0, under Wine on an AMD adapter;0forces them off, andXCL_RESERVED_POOL=0turns them off with the pool. In that tree the variable name appears only invram.rs; the README onmainandamd-devhas no mention of it, and PR/issue search found no duplicate PR.Regression run
Not tested
AI use
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-03T15:12:29Z.
Review of
ae81b975(code reading only, not a merge-check; draft) · 1 nitIn short: The PR documents
XCL_LIVE_RESERVEDin the README's switches list. The bullet matches the code: on by default only under Wine on an AMD adapter,1and0force it, andXCL_RESERVED_POOL=0turns it off with the pool. One nit on what the bullet leaves out. Nothing blocks it.Nit
live_reserved_for(vram.rs~744-758) gives both. It works around amdgpu running page-table updates behind work in flight, which page-faults a retail title on Wine + RADV. It also costs extraCreateReservedResourcecalls and waits on the title's thread, which is why it is off on Windows. Without either point, a reader cannot tell when1would help or why it is not on everywhere. Half a sentence would do, for example: "(a workaround for GPU page faults with amdgpu under Wine; it costs time on the title's thread, so Windows leaves it off)".Checked and fine
live_decide(vram.rs~809): the value is trimmed,1turns it on,0turns it off, and anything else falls back to Wine with vendor0x1002. The vendor is Vulkan's when vkd3d-proton reports it, otherwise DXGI's.live_reserved_forchecksreserved_pool_enabled()first, soXCL_RESERVED_POOL=0turns it off regardless, as the bullet says.XCL_WAIT_TIMEOUT_MS, and it is the only change. No other open PR documents this variable.Written by Claude Code (Claude Opus 5.5) and posted by Foniass without a human check of each point.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.