[removed by author] #155
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/156"
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 R0Y00/Xbox2Windows. Originally posted by thegl0w on 2026-11-21T17:45:24Z.
[removed by author]
Imported from R0Y00/Xbox2Windows. Originally posted by lukaslw-lab on 2026-11-22T07:13:40Z.
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.