Repository navigation
Conversation
…te Xbox description Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Tested on the retail executable: pass. Own 1.0.2.1 copy (exe sha256
AI-assisted (Claude Code). |
|
Tested |
|
Heads-up: #6935 (the public-HLE slot 48/73/78/79/80 route) merged as Your change is still distinct and likely needed: you measured a 32-byte console desc and found the extra flag bits that the PC runtime must not see ( Suggestion: rebase on current |
Slot 48 goes through proxy_create_command_queue_xbox (filtered 16-byte prefix) via main's queue_x route; the explicit slot 48 branch and the duplicate note_slot are gone. The slot-48 header, slot name and tests follow, and device_proxy_test passes a 32-byte desc. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Tested the current head
|
|
Code read of
Not run: code read only, no tests run. AI-assisted review. |
…d#6954 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for the review, all three points applied in a follow-up commit.
Tested: runtime rebuilt, AI-assisted (Claude Code). |
|
Tested
AI-assisted (Claude Code); outcomes only, no game data. |
|
Tested |
|
Retail boot test (RT-5): own 1.0.2.1 copy, Windows 11, i9-12900KF, RTX 3070 (NVIDIA 617.42), MSVC 2022 RelWithDebInfo, Result: clears stop 8. Without it the second queue (type 2, compute) is refused: Heads-up: #7066 adds AI-assisted test run. |
Slot 74 stand-in added beside slot 70; one route_xbox_device_slot (the auto-merge left two; the kept one has ItsNotRexed#6954's 32-byte queue path); env-slot test has both the 70 and 74 modes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
checked: #6954 at 72ab762, merged onto main 867d922 (clean merge) | on: Wine 11 on RunPod RTX 4090 (Linux), clang-cl cross-build; not native Windows, host D3D12/WARP comparisons do not run | ran: diff review: the thunk branch Not verified: retail boot, native Windows, a real host device behind the proxy; the meaning of the four extra words (unknown, only logged). agent: yes |
|
Independent native WARP A/B of the production Xbox queue route at The stock proxy mock passed in all six process modes. The Device11-only subcase was skipped by the portable SDK. No command was submitted and no game files were used. AI-assisted (Codex). |
|
checked: #6954 | with: applied the diff on main 867d922, built xs_proxy_mock_test and device_proxy_test (MSVC, Ninja RelWithDebInfo) | on: Windows 11, RX 9060 XT | result: xs_proxy_mock_test PASS (incl. new check_slot48: 32-byte desc -> queue proxy via PC slot 8, flags masked to DISABLE_GPU_TIMEOUT, extra words logged once, E_INVALIDARG on null desc), device_proxy_test OK (0 failures) Code read: the new proxy_create_command_queue_xbox copies only the 16-byte PC D3D12_COMMAND_QUEUE_DESC prefix, masks Flags to the single PC-known bit, and reuses the slot 8 wrap path; the retail_boot_chain.md stop-8 row now correctly credits this PR. Docs updates are consistent with the measured (desc, riid, out) shape. AI-assisted check. |
|
checked: #6954086d49c | with: clean merge onto main@867d922f0, |
|
checked: #695472ab762 | with: PR diff applied cleanly to Audit: clean (audit tool exit 0) and the diff was read. Seven files, +70/−20: Already in the integration main? The project's integration Negative control: with only One note, no change requested: the extra-word log reads Not run: agent: yes |
… command queue from its 32-byte description Squashed from ItsNotRexed#6954 by Pipodi, head 72ab762 (security scan PASS). Conflicts with ItsNotRexed#6964: the header comment lists both slot 26 and slot 48 as measured exceptions; xs_proxy_mock_test main runs both check_slot48 and check_custom_heap_properties.
…wers console tile sizes for 2D render targets (slot 25 return-buffer form; sizes ItsNotRexed#7240 leases at stop 17) Squashed from ItsNotRexed#7078 by tedin7, head 3ace986 (security scan PASS). Conflicts with ItsNotRexed#6954 (slot 48): header comment, slot overview in d3d12_xs_device.h and the mock test's check list keep both PRs' slots; slot 25/26/56 text and device_slot_overridden take this PR's form (it contains ItsNotRexed#6964).
…x layout word and flag bits on a copy before the PC GetResourceAllocationInfo (retail boot chain stop 16) Squashed from ItsNotRexed#7110 by tedin7, head 77878e3 (security scan PASS). Conflicts with ItsNotRexed#6954 (slot 48): the header comment and d3d12_xs_device.h keep the slot 48 text, the mock test's check list keeps check_slot48; everything slot 25 takes this PR's version (it contains ItsNotRexed#7078).
…d by the proxy (a null SRV for now, its raw words logged), not the PC CreatePlacedResource1 (retail boot chain stop 14) Squashed from ItsNotRexed#7066 by tedin7, head 1d8d1d3 (security scan PASS). Conflicts with ItsNotRexed#6964/ItsNotRexed#7218/ItsNotRexed#6954: slot 26, slot 133 and this PR's route_xbox_device_slot helper all kept; the helper's queue route calls ItsNotRexed#6954's proxy_create_command_queue_xbox (32-byte description) instead of the slot-8 path it was written against. device_slot_overridden, the header and the mock test's check list take the union.
…_OK in the proxy and never reaches the PC ShaderCacheControl (retail boot, after stop 20) Squashed from ItsNotRexed#7323 by tedin7, head a30e78e (security scan PASS). This PR and ItsNotRexed#7066 each add route_xbox_device_slot; ItsNotRexed#7066's copy is kept (with its queue route on ItsNotRexed#6954's 32-byte path, as reviewers asked for both PRs) and this PR's copy is dropped. run_env_slots takes both on_slot70 and on_slot74; CMake keeps both env-slot tests; check_slot74 sits after ItsNotRexed#7066's slot-70 checks; slot lists take the union.
|
One additional measurement for Pipodi’s #6954, following 0klavair’s retail test and Marukooh’s #7037 comparison. We instrumented the unchanged rejection path after #6964 on a full-input Wine 9.0/lavapipe retail run. This comparison did not apply the flag translation. Two consecutive slot-48 calls requested the same queue interface with an output pointer. Under the pinned backend’s PC-prefix interpretation, both were COMPUTE, priority 0, node mask 0. Word 2 (zero-based) was 1 on the first call and 2 on the second. The first returned a real queue and proxy. On the second, the backend’s flags predicate alone rejected the descriptor. Both backend and wrapper returned E_INVALIDARG with a null output. A title breakpoint followed about 2.4 ms later; the timing does not establish why the title stopped. Does anyone have a public, version-tagged Scarlett reference, or a permissible aggregate AI-assisted with Claude Opus and Gemini Neon. |
|
Hardening note from a security read of
Findings come from a static, AI-assisted review of this PR's diff (nothing was executed); they were read by the account owner. This comment text is AI-generated. |
Claimed in the coordination issue as: #6750 (comment) (item 2, from the RT-5 boot measurement in #6915)
What and why
Measured on the retail executable: Xbox device slot 48 is
(desc, riid, out)withriid = IID_ID3D12CommandQueue. The desc is a PCD3D12_COMMAND_QUEUE_DESC(16 bytes) followed by four more 32-bit Xbox words. On the PC, slot 48 isOpenExistingHeapFromAddress, so the proxy forwarded the call by number and it failed. The title creates four of its five queues this way, and it can't continue without them.proxy_create_command_queue_xboxcopies the 16-byte PC prefix and keeps onlyD3D12_COMMAND_QUEUE_FLAG_DISABLE_GPU_TIMEOUTamong the flags. It logs the four extra words once and takes the existing slot 8 path, so the title gets a queue proxy. A null desc returnsE_INVALIDARG. Theslot_nameentry, the file header and the device row indocs/d3d12_vulkan.mdsay the same.Tested
xs_proxy_mock_test(new case: a 32-byte desc through slot 48 → the mock'sCreateCommandQueuesees the PC prefix with the unknown flag bit dropped, and a queue proxy comes back; a null desc givesE_INVALIDARGand a null output). PASS. MSVC 2022 RelWithDebInfo, Windows 11, RTX 4090 (driver 617.42).gta6rt --run(with the PRs listed in docs: the retail boot chain, what stops gta6rt --run in order (RT-5 measurement) #6915), all five queues are created and the title goes on to fences, allocators and command lists.AI-assisted: yes (Claude Code)
Checklist
docs/design.md, with how it was confirmed. (n/a: runtime only)🤖 Generated with Claude Code