[removed by author] #156
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!156
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/156/head"
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?
@thegl0w on GitHub · 2026-11-21 17:45 UTC · original
xmem/virtual-query-desktop→main· +341 −1 · 6 files · 1 commits · merged 2026-11-21 17:47 UTC[removed by author]
github-bot referenced this pull request2026-11-26 21:32:43 +00:00
github-bot referenced this pull request2026-11-26 21:42:32 +00:00
@lukaslw-lab on GitHub · 2026-11-22 07:13 UTC · original
AI-assisted (Claude Code).
This answers the first "Unconfirmed" item above (what the
+0x30byte means): the BVH DLL's own messages say it means GPU memory.XboxBvhBuilder.dllwith SHA-25699f803ac22c01ef329dddb1d40be67238d2a812d01e8d040b3cb5135bc23707e(the pinned hash). RVAs are relative to the image base.How it was checked: static disassembly in IDA 9.1, no execution. To repeat it, follow the cross-references from the
XMemVirtualQueryimport and from the four message strings (0xccf20,0xccf80,0xcd010,0xcd060). Each failed check in a path branches to the one string load that path uses.All four calls are in one function (
0x19bb0). Its only caller isXboxBvhBuilder::ValidateRehydrateAccelerationStructureBuildDesc. In each path, every failed check leads to one message:0x19c69source+0x30 & 3,MEM_COMMIT,Protect & 60x19ccbdestination+0x30 & 3,MEM_COMMIT0x19d9dindex buffer+0x30 & 3,MEM_COMMIT0x19df9vertex buffer+0x30 & 3,MEM_COMMIT+0x30and commit, and their messages ask for GPU memory. So the+0x30test means GPU memory, which matchesera_query's current policy. No code change is needed.Protect & 6check: a rehydration source is read by the CPU. xcl's "CPU-readable" interpretation quotes that message (credit to xcl for the string).Suggested
docs/experiments.mdaddition to theera_querysection: "the BVH DLL's diagnostics identify the+0x30test as a GPU-memory requirement (the table above)". Also, theXMemVirtualQueryfunction page on docs.xbox.com is public; only the result structure's page is restricted.Add a desktop XMemVirtualQuery handler for the BVH call sitesto [removed by author]