Skip to content

fix(d3d12): support Xbox command list interface creation - #699

Closed
lucyr03 wants to merge 0 commit into
ProjectLeonida:mainfrom
lucyr03:lucy
Closed

lucyr03 wants to merge 0 commit into
ProjectLeonida:mainfrom
lucyr03:lucy

Conversation

@lucyr03

@lucyr03 lucyr03 commented Nov 24, 2026

Copy link
Copy Markdown

Request the standard PC ID3D12GraphicsCommandList interface internally and expose the Xbox-specific command list IID through the compatibility proxy.

Fixes the initial CreateCommandListX failure during GTA VI graphics initialization.

Verified by launching the game: D3D12 call #13 now succeeds and initialization progresses through call #1639, including command allocator, command list, and resource creation.

Claimed in the coordination issue as:

Depends on:

Fixes:

What and why

Tested

GPUs tested:

AI-assisted:

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed.

@abnalstlll-byte abnalstlll-byte left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed and verified Xbox command list interface creation support. Recognizing console graphics command list IID {c3827890-4024-474c-98cf-645b51dc4874}\ in \is_list_iid()\ and \list_query_interface()\ while requesting standard \ID3D12GraphicsCommandList\ from the host device in \proxy_create_command_list_x()\ resolves host IID rejection during console command list instantiation. LGTM, approved.

@lixonik lixonik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent Windows mock tests on a full checkout at b6956b1. I checked that the entire runtime/ tree is unchanged at the current head 2e46a75.

  • Stock xs_proxy_mock_test fails at the existing assertion that the ordinary PC IID pointer reaches the backend unchanged. To check the difference beyond pointer identity, I also passed a normal ID3D12GraphicsCommandList6 IID to slot 73 on a GCL6-capable mock and compared IID values. The control shim at 21625bca forwards GCL6, while this PR sends the base ID3D12GraphicsCommandList IID. The value assertion fails on the PR.
  • The Xbox-IID case with a base-only mock succeeds here. The equivalent case on #641 at 2f41bb1 fails because #641 requests GCL6. This is a useful compatibility distinction between the overlapping changes.

Could the base-IID substitution be limited to the Xbox IID, leaving ordinary PC IIDs untouched? That would preserve the first behavior while keeping the base-only Xbox case. Synthetic COM objects only, no GPU or game run. AI-assisted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants