D3D12.X: console device #124 CreateCommandQueue1 creates a console queue #3144
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3144"
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 ivall/xcl. Originally posted by KOLESNiii on 2026-11-28T13:01:48Z.
Status: a guess that needs evidence before it can be merged. That console device slot #124 is CreateCommandQueue1 is reasoned from how titles call the API and from the PC's D3D12; it is not taken from any console documentation, and no title has confirmed it yet. Draft until then.
Evidence that would confirm it: on
mainthis slot is a logged stub, so a title that calls it showsID3D12Device::#124inxcl.logand inreport.json's stubs; anXCL_D3D12_TRACE=1run of such a title shows its arguments (a queue desc, an IID and an out pointer). The retail game used for the regression run does not get there.If you run a title that gets there, please post those lines here (not the whole log, which names your paths).
The console device has CreateCommandQueue1 at #124 (PC #75), in the run of the PC's newer device
methods that ends with #127 CreateCommittedResource3. It fell into the console-extension stub, which
answers S_OK with the out pointer untouched: a title got a NULL queue. It now takes the console
queue path of #8 / #48 (console queue types, present tracking, queue adoption); the creator ID only
groups queues for the PC's scheduler and is dropped. The identity is from a console API audit; no
log yet shows a title calling it.
What is in it
crates/xcl/src/hle/d3d12x/device_x.rs: +7 / -0crates/xcl/src/hle/d3d12x/real.rs: +18 / -0new tests:
console_device_124_creates_a_console_queueTested
NVIDIA RTX 2070 SUPER (driver 32.0.16.2140), AMD Ryzen 5 3600XT, Windows 11 build 26300, Rust 1.100.0 MSVC; tests in debug
cargo test --workspace --no-fail-fast -- --test-threads=4ond9a32069(built onmain336fddda; it merges into the currentmaine429936cwithout conflict): 2123 passed, 9 failed, 48 ignored, 25SKIPPEDlines (21 no wave64, 3 #1426, 1 no heap windows).The 9 failures are the ones
mainhas (3e2etitle tests and 6 split-wave64 GPU tests, #3093:main336fdddagives 2122 passed, 9 failed, 48 ignored); the set of failing tests is identical to it.console_device_124_creates_a_console_queue: ok in that runRegression run
Both 60-second runs used the same warm DXIL cache directory.
Not tested
Full preparation. The smoke runs used
XCL_PREPARE=0.A title calling CreateCommandQueue1 (#124): none logged; the slot identity is from the audit.
AMD and Intel GPUs; wave64 hardware (the RTX 2070 SUPER is wave32).
AI use
Codex (exact model name unavailable) verified the queued smoke results and drafted this description update.
Claude Code, Claude Opus 5.5: the code and tests. The description and the test / suite runs: Claude Code, Claude Sonnet 5.5 and Claude Opus 5.5.
🤖 Generated with Claude Code
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T09:36:18Z.
Triage (#1607) – head
76da16fNo open or merged PR routes device #124. #3135 (same author) remaps the neighbouring #83-#126 device slots and leaves #124 out, so the two complement each other.
real.rs test
console_device_124_creates_a_console_queue: the comment says #124 is at #127's distance from its PC slot, but 124-75 = 49 and 127-76 = 51. The test only checks table membership, not the placement claim.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T10:10:45Z.
Review (head
76da16f0, diff read, not a merge-check; draft,PR descriptionred: the smoke block and counts named9a32069):real.rs~78) doesn't hold either: 124 - 75 = 49, but 127 - 76 = 51, and #3135's own table puts #125 / #126 at a distance of 52.note_newer_device_method(124)(device_x.rs~93) turns on the newer queue and command-list layouts. HANDOFF records only #108, #127 and #133 as observed triggers. A title calling #124 on the older layout would get the wrong command-list slots everywhere if the guess is off.Fine: on main #124 is a stub that returns S_OK with a null queue, so a title calling it fails anyway, and the PR reuses the existing #8 / #48 queue path. It complements #3135, which leaves #124 out.
AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
Imported from ivall/xcl. Originally posted by KOLESNiii on 2026-12-02T14:14:24Z.
@Foniass you are right about the comment. It now says #124 is not derived from a known slot: #127 (CreateCommittedResource3, PC #76) sits 51 past its PC slot, and #124 would sit 49 past. New head
e6f5d327(rebased ontomaindf0cfef6). The slot itself, and that it switches the layout, are for the PR author. How the slot / field meanings were obtained is a question for the PR author, who will answer it here; I have not changed them.— Claude Code (Claude Opus 5.5), on behalf of the PR author
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-02T14:17:35Z.
Follow-up review (head
e6f5d327, since76da16f, diff read, not a merge-check; draft, checks red):device_x.rs) to say the slot is assumed, not derived from a known one (the observed #127 sits 51 past its PC slot, #124 would sit 49 past), which matches the uncertainty in the description.New: none.
AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.