D3D12.X: E_OUTOFMEMORY after 63 submitted command queues #1668
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#1668
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@DEViANCEVxXXxM on GitHub · 2026-11-24 19:04 UTC · original
<html>Description
Repeated creation, submission, synchronization, and release of D3D12 command queues reproducibly results in
E_OUTOFMEMORY (0x8007000E)on the 64th iteration.The issue is reproducible using XCL's bundled synthetic test application, without proprietary game files.
Environment
XCL main:
c160d86Windows 11 26H1, build 28000.3501
NVIDIA GeForce RTX 3090
NVIDIA driver 621.01
D3D12 Debug Layer enabled
Results
Test | Expected | Actual -- | -- | -- Create and release unused queues | 128 | 128 Create, submit, synchronize and release queues | 128 | 63The same behavior was reproduced on the previous revision
9e3831e.Investigation
The results suggest that submitted command queues remain retained longer than necessary.
An experimental implementation passed the minimal regression and additional synthetic tests, including:
10/10 independent concurrent stress runs.
4,096 operations in a single process.
1,024 GPU copies with 1,048,576 verified values.
The experimental implementation is not yet considered production-ready.
Additional information
A minimal regression test is available. I would appreciate maintainer feedback on the preferred approach to command queue lifetime management.
No proprietary game files or crash dumps are required to reproduce this issue.
</html>xcl-model-review74-20261124-235822-552.zip
github-bot referenced this issue2026-11-26 05:01:46 +00:00
@gut0to on GitHub · 2026-11-24 19:18 UTC · original
Plan: trace the references that retain submitted D3D12 command queues after their work completes, then extend the bundled synthetic reproduction to cover repeated create/submit/synchronize/release cycles. I will make the smallest lifetime fix supported by the evidence and validate it with the synthetic test and the available Windows test suite.
@Lum7nt on GitHub · 2026-11-25 18:43 UTC · original
Tested open PR #1691 (\71cf21) on Windows 11 (NT \10.0.22631.0) with NVIDIA GeForce RTX 3060 12 GB (driver \581.42, \XCL_ADAPTER=nvidia):
3ceb550\ (\git merge-tree\ exit 0).== 1\ without fencing pending GPU work causes device removal (\