Repository navigation
Conversation
|
Independent Windows 11 / MSVC check at head
AI-assisted. |
|
Independent Windows + GPU test of Setup: Windows 11 x64, MSVC 19.44.35220 (RelWithDebInfo, Windows SDK 10.0.26100.0), NVIDIA GeForce RTX 3080 (driver 32.0.16.2124 / 621.24), Vulkan SDK 1.4.363.1, no game files.
AI-assisted review/test. |
|
Integration note (AI-assisted; no game files): with #2490 merged, the early return for queue slot 10 skips #2490's list-proxy unwrapping.
Unwrapping inside UnwrappedArray unwrapped;
if (!unwrapped.fill(lists_word, static_cast<std::uint64_t>(static_cast<UINT>(count_word))))
return hr_to_u64(E_OUTOFMEMORY);
if (unwrapped.data()) lists_word = unwrapped.data();The slot 35 mock test then needs null (or real mock) entries instead of |
|
Retail confirmation of the #2490 integration issue on CachyOS / Wine 11.22, RTX 4070 (620.73.04). Routing slot 35 reaches the PC queue, which rejects the wrapped list. Unwrapping it with list_proxy_real_list before the Vulkan queue resolves the list changes ExecuteCommandLists from failure to success on the same stack. AI-assisted testing. |
|
Retail data point for this (my own 1.0.2.1 copy, Windows 11 + RTX 3060, integration tree with the boot PRs; #7496 comment 7107949979). Forwarding slot 35 to
|
|
Tested As noted above, it only breaks once #2490's console list proxies are in (the early return skips the list unwrapping); the |
|
Tested |
|
Measured on the retail executable (own 1.0.2.1 copy, native Windows 11, RTX 5060 Ti,
Unwrapping the array the way slot 10 already does fixes it here (every slot 35 submit then traces std::uint64_t queue_execute_command_lists(ChildProxy* self, std::uint64_t count_word, std::uint64_t lists_word) {
using ExecuteFn = void(WINAPI*)(void*, std::uint64_t, ID3D12CommandList* const*);
UnwrappedArray unwrapped;
if (!unwrapped.fill(lists_word, count_word)) return 0;
if (unwrapped.data()) lists_word = unwrapped.data();
reinterpret_cast<ExecuteFn>(self->real_vtable[kQueueExecuteCommandLists])(
self->real, static_cast<std::uint64_t>(static_cast<UINT>(count_word)),
reinterpret_cast<ID3D12CommandList* const*>(lists_word));
return 0;
}Happy for you to fold it in; I won't open a separate PR for it. AI-assisted (Claude Code). |
|
I tested the 256-list batch size reported in this thread on PR head All four runs returned 256/256 on each backend:
As a negative control I changed only the submitted count to 255 and kept all 256 expected words. WARP reported the first mismatch at index 255 and exited 1. Restoring the count to 256 passed again on all three backends. Windows 11 26H2, MSVC 19.51.36263, RelWithDebInfo. This tests batch delivery with PC-interface command lists on this PR in isolation. The #2490 wrapped-list integration and retail startup are outside this measurement. All inputs were synthetic. AI-assisted. To reproduce with the patch and the Vulkan SDK installed, from the repository root on Windows: git apply Leonida-7286-queue-batch.patch
cmake -S runtime -B build -A x64 -DLEONIDA_REQUIRE_VULKAN=ON
cmake --build build --config RelWithDebInfo --target queue_proxy_test
$env:LEONIDA_VK_VALIDATION = '1'
.\build\RelWithDebInfo\queue_proxy_test.exe --xbox-client |
Queue slot 35 (console ExecuteCommandLists) goes through the fork's list-proxy unwrapping: ItsNotRexed#7286 forwarded the caller's array to PC slot 10 as it was, which would hand console list proxies to the real queue, and its slot-10 shortcut skipped the existing unwrapping (removed). The console queue tail stays S_OK; the mock check passes real objects instead of marker pointers, since entries are read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
I tested the console queue path with retail 1.0.2.1 on Linux under Proton CachyOS 11.0-20261015, Gamescope and an RX 9070 XT (RADV). In our #2490 + #7880 integration, all 586 command-list Close calls succeeded, but slot 35 reached the console-only handler and the runtime recorded zero PC ExecuteCommandLists calls. I then integrated the routing from The game presented one plane and still stopped at Game Init, engine frame 0. The visible window remained black, with no DrawInstanced or DrawIndexedInstanced in either trace. This validates the submission step on RADV. AI-assisted testing. |
|
Merge note from a local integration, in case this lands together with #7076 (the console list proxy from #2490):
What worked locally:
With that, the retail boot's first Outcomes only, no game data. AI-assisted (Claude Code). |
|
tried: #7286 (behaviour integrated locally, not a competing PR) | for: command queue slot 35 | base: main@0656b0b + the open boot-chain PR heads and local shims | on: Windows 11, RTX 5080, 32.0.16.1714 | result: past the slot; 126,913 |
|
Retail boot result and a merge note. Wine 11.22 on an AMD Radeon 760M (RADV Mesa 26.3.1), my own 1.0.2.1 executable, gta6rt cross-built with clang-cl 23.1.5 + xwin.
Merge note for a stack with #2490's list proxies:
AI-assisted (Claude Code). |
|
Windows retail integration check of the slot-35 routing. Base: ASTROWwwW's
This confirms the slot-35 submit route on a retail boot. The window-selection change was included in the same run, so this comparison does not isolate effects on the picture. |
# Conflicts: # runtime/shims/d3d12_xs_device.cpp # runtime/shims/d3d12_xs_device.h # runtime/test/queue_proxy_test.cpp # runtime/test/xs_proxy_mock_test.cpp
…lists (RT-5 stop 25) Two integration gaps between ItsNotRexed#7286 (ExecuteCommandListsX) and ItsNotRexed#2490's console list proxy, as retail_boot_frame_loop.md section 3 describes: - The console-only fallback for queue slots past the public chain ran before ItsNotRexed#7286's slot 35 handler, so ExecuteCommandListsX was answered S_OK and nothing reached the queue. Slot 35 is now excluded from it. - queue_execute_command_lists passed the title's array, which holds list proxies, straight to the real queue (slots 10 and 35 both reach it before the slot-10 unwrapping). It now hands over an UnwrappedArray copy with the real lists. Measured with --run --trace: the title's first ExecuteCommandListsX reaches the Vulkan queue (ExecuteCommandLists ok, with a ClearRenderTargetView) instead of 13 console-only no-ops.
Queue slot 35 (ExecuteCommandListsX) is served before the console-only S_OK answer, next to fence slot 12 and allocator slot 9. Slots 10 and 35 share one path that unwraps list proxies (ItsNotRexed#2490), so the PR's mock check uses real objects and compares the array the real queue got. Tail loops skip the overridden queue slots. queue_proxy_test: the fence slot 12 block is back to the PR's value 9 (the fence is already at 9 there; 8 was a backwards signal). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
Retail boot test (RT-5): own 1.0.2.1 copy, Windows 11, i9-12900KF (Intel, no SSE4a/CLZERO/MONITORX), RTX 3070 (NVIDIA 617.42), MSVC 2022 RelWithDebInfo, Integration bug with #2490. AI-assisted test run. |
|
checked: #7286e925b63 | with: AI-assisted (Claude Code). |
Claimed in the coordination issue: #7049 (comment)
Depends on: none (applies directly to
main; sharingqueue_execute_command_listsbetween slots 10 and 35 also keeps future command-list unwrapping such as #7076/#2490 in one place).What and why
Per @KkelebekK's RT-5 measurement (#7049 (comment)), the retail executable calls command queue slot
35as(count, lists)— a consoleExecuteCommandListsvariant, notPresentX. PreviouslyChildProxy<ChildKind::queue>only forwarded slots0..18(kQueuePublicSlots = 19) and refused slot35withE_NOTIMPL.runtime/shims/d3d12_xs_device.cpp/runtime/shims/d3d12_xs_device.h:ChildKind::queueslot35(kQueueExecuteCommandListsX) to PC slot10(kQueueExecuteCommandLists) via a sharedqueue_execute_command_listshelper, zero-extendingUINT countcleanly to 64 bits and returning0(S_OK/ ignoredvoid).35asXboxID3D12CommandQueue::ExecuteCommandListsXinchild_public_name<ChildKind::queue>/d3d12_traceand exposequeue_slot_overridden(unsigned slot).runtime/test/queue_proxy_test.cpp:35on both empty command lists (check_slots) and a GPU upload -> default -> readback copy round-trip with readback verification (check_xbox_client), plusqueue_slot_overriddenchecks and skipping overridden slots in theE_NOTIMPLtail loop.runtime/test/xs_proxy_mock_test.cpp:check_xbox_queue_slots()verifyingqueue_slot_overridden, slot35hit/first-call tracking, routing to mock PC slot10without reaching mock slot35, upper-32-bit garbage masking oncount, and skipping overridden slots incheck_tail.Tested
Windows 11, MSVC (
RelWithDebInfo), AMD Radeon RX 9070 XT + WARP + Vulkan, no game files:scripts\build_runtime.ps1: clean incremental build (113/113targets,gta6rt.exelinked)..\runtime\build\queue_proxy_test.exe --trace-d3d12:3 backend(s) passed(host WARP, host AMD Radeon RX 9070 XT, Vulkan)..\runtime\build\xs_proxy_mock_test.exe:xs_proxy_mock_test: PASS (9 allocations refused on purpose).ctest --test-dir runtime/build -C RelWithDebInfo -R "proxy|allocator|root_sig|loader|xmem|frame_pacer|tiny|d3d12_xs|dxgi_device|xbox_present" --output-on-failure:39/39passed (0failed).python -I scripts/check_no_game_data.py runtime/shims/d3d12_xs_device.h runtime/shims/d3d12_xs_device.cpp runtime/test/queue_proxy_test.cpp runtime/test/xs_proxy_mock_test.cpp,git diff --check, and LF line-ending check: clean.VK_LAYER_KHRONOS_validation(layer not installed on this host) and the retail executable itself (no game files).AI-assisted: yes.