Repository navigation
d3d12_xs: device slot 48 reads the console's 32-byte queue description, again (RT-SLOT48) - #350
Merged
Merged
Conversation
The retail executable calls GetCustomHeapProperties with the return buffer in RCX and the device in RDX. The forwarder took RCX for the proxy and faulted. AI-assisted. (cherry picked from commit 86b8e04)
…te Xbox description Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 0cde63d) Adapted to main by Mumogg: main already routes slot 48 through its Xbox slot table (LEONIDA_XS_QUEUE_X_SLOT), so the route now calls proxy_create_command_queue_xbox instead of a fixed slot 48 branch, and xs_proxy_mock's check_xbox_slots and the environment case pass the console's 32-byte description.
This was referenced Nov 24, 2026
Contributor
|
Built and tested PR #350 at Built These were synthetic tests using mocks and software WARP. No physical GPU, Vulkan backend, or game files were used. AI-assisted testing with Codex. |
This was referenced Nov 24, 2026
d3d12_xs: device slot 74 returns S_OK instead of reaching ShaderCacheControl, again (RT-SLOT74)
#385
Merged
Closed
3 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claimed in #14 as
RT-SLOT48. Depends on: #349 (its commit is the first one here; this pull request is the second commit).What and why
After #349 the retail boot stops at device slot 48.
mainalready routes that slot toCreateCommandQueueX, but hands the console's description to the PC path as it is. The description is the PCD3D12_COMMAND_QUEUE_DESC(16 bytes) followed by four Xbox words, and its flags word carries a bit the PC does not know, so the layer refuses the queue (CreateCommandQueue refused (type, priority, flags or node mask)) and the title stops on its ownint3.The fix is commit
0cde63d61by Alex Collini (-x, authorship kept; an ancestor ofmainwhose content is not in the tree):proxy_create_command_queue_xboxcopies the PC prefix, keeps onlyD3D12_COMMAND_QUEUE_FLAG_DISABLE_GPU_TIMEOUTand logs the four extra words once.Adapted to
main, as the commit message says:Slot == 48branch.mainhas its Xbox slot table (LEONIDA_XS_QUEUE_X_SLOT), so the table's route calls the new function instead and the fixed branch is gone. The override keeps working.xs_proxy_mock_test:check_xbox_slotsand the environment case passed a 16-byte PC description to the console slot. They now pass a 32-byte one, and the check is that the PC call gets its 16-byte prefix.Measured
Linux (Nobara 44, kernel 7.3), Wine 11.21 staging, RTX 5070 Ti (driver 615.78.08), clang-cl 22.1.8 + xwin SDK 10.0.26100, own 1.0.2.1 copy, network off, on
mainece4ba5b3.main--runD3D12XboxCreateDeviceokCreateCommandQueuefailedCreateCommandListfailedThe next stop is device slot 73: the list is asked for with an interface the layer does not know (
QueryInterface: unknown IID). #142 looks like the fix for that; I will measure it on top of this and report there.xs_proxy_mock_testunder Wine passes in its default run (including the newslot 48 makes a queue proxy from a 32-byte descriptioncase) and exits 0 with--env-slots,--env-slots-invalidand--fail-veh.Not built with MSVC and not run on Windows.
AI-assisted (Claude Code); built and run on the machine above.
🤖 Generated with Claude Code
https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt