README: document XCL_PLACE_MAP_WAIT_MS #3783

Open
romeawayfromhome-rgb wants to merge 1 commit from upstream-pr/3783 into main
romeawayfromhome-rgb commented 2026-12-03 11:10:53 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-12-03T11:10:53Z.


Documents XCL_PLACE_MAP_WAIT_MS, which is read in crates/xcl/src/hle/d3d12x/vram.rs but was not mentioned in the README switches list.

  • This change does not use code, signatures or documentation from leaked or NDA-only SDKs.

What is in it

  • README.md: add an XCL_PLACE_MAP_WAIT_MS bullet to the "Switches for how a title runs" sub-list, after the XCL_WAIT_TIMEOUT_MS bullet.

Tested

  • Not built or tested: this change was prepared on a Linux VM, and XCL builds/runs on Windows only.
  • Verified against main at 16c2fd0: a placement that had to make a new reserved texture waits for the mapping queue's Signal sent after it, 1000 ms unless given and no wait with 0; the Signal completes once the texture's page-table entries exist. In that tree the variable name appears only in vram.rs; the README on main and amd-dev has no mention of it.

Regression run

  • Not applicable: README-only change; no runtime code changed.

Not tested

  • Windows build, GPU test suite, and title runs were not run for this docs-only change.

AI use

  • Muse Spark via Muse found the undocumented variable, drafted the README bullet, and wrote this description. No code was changed.
<!-- greyfinch-sync:ivall/xcl:issue:5625280919 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3783). Originally posted by [romeawayfromhome-rgb](https://github.com/romeawayfromhome-rgb) on 2026-12-03T11:10:53Z. --- Documents `XCL_PLACE_MAP_WAIT_MS`, which is read in `crates/xcl/src/hle/d3d12x/vram.rs` but was not mentioned in the README switches list. - [x] This change does not use code, signatures or documentation from leaked or NDA-only SDKs. **What is in it** - `README.md`: add an `XCL_PLACE_MAP_WAIT_MS` bullet to the "Switches for how a title runs" sub-list, after the `XCL_WAIT_TIMEOUT_MS` bullet. **Tested** - Not built or tested: this change was prepared on a Linux VM, and XCL builds/runs on Windows only. - Verified against `main` at `16c2fd0`: a placement that had to make a new reserved texture waits for the mapping queue's Signal sent after it, 1000 ms unless given and no wait with `0`; the Signal completes once the texture's page-table entries exist. In that tree the variable name appears only in `vram.rs`; the README on `main` and `amd-dev` has no mention of it. **Regression run** - Not applicable: README-only change; no runtime code changed. **Not tested** - Windows build, GPU test suite, and title runs were not run for this docs-only change. **AI use** - Muse Spark via Muse found the undocumented variable, drafted the README bullet, and wrote this description. No code was changed.
Foniass commented 2026-12-03 11:11:52 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-03T11:11:52Z.


Review of e1804bbd (code reading only, not a merge-check; draft) · no findings

In short: The PR adds an XCL_PLACE_MAP_WAIT_MS bullet to the README switches list. It matches place_map_wait_ms in hle/d3d12x/vram.rs on main: the default, the meaning of 0, and what the Signal waits for. The indentation matches the bullets around it. Nothing to change.

Checked and fine
  • place_map_wait_ms (vram.rs ~861) parses the value as milliseconds and defaults to 1000. 0 gives NewWait::Off, so no Signal is waited for.
  • The doc comment (~856-860) says the wait is for a Signal of the mapping queue sent after the new reserved texture, which completes once its page-table entries exist. That is what the bullet says.
  • The bullet sits in the "Switches for how a title runs" sub-list, with its continuation lines at 4 spaces. One commit with a README: subject. 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.

<!-- greyfinch-sync:ivall/xcl:comment:7376350317 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3783#issuecomment-7376350317). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-03T11:11:52Z. --- **Review** of `e1804bbd` (code reading only, not a merge-check; draft) · no findings **In short:** The PR adds an `XCL_PLACE_MAP_WAIT_MS` bullet to the README switches list. It matches `place_map_wait_ms` in `hle/d3d12x/vram.rs` on `main`: the default, the meaning of `0`, and what the Signal waits for. The indentation matches the bullets around it. Nothing to change. <details><summary>Checked and fine</summary> - `place_map_wait_ms` (`vram.rs` ~861) parses the value as milliseconds and defaults to 1000. `0` gives `NewWait::Off`, so no Signal is waited for. - The doc comment (~856-860) says the wait is for a Signal of the mapping queue sent after the new reserved texture, which completes once its page-table entries exist. That is what the bullet says. - The bullet sits in the "Switches for how a title runs" sub-list, with its continuation lines at 4 spaces. One commit with a `README:` subject. No other open PR documents this variable. </details> <sub>Written by Claude Code (Claude Opus 5.5) and posted by Foniass without a human check of each point.</sub>
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/3783:upstream-pr/3783'
git switch 'upstream-pr/3783'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/3783'
git switch 'upstream-pr/3783'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/3783'
git switch 'upstream-pr/3783'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/3783'
git switch 'main'
git merge --squash 'upstream-pr/3783'
git switch 'main'
git merge --ff-only 'upstream-pr/3783'
git switch 'main'
git merge 'upstream-pr/3783'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!3783
No description provided.