D3D12.X: E_OUTOFMEMORY after 63 submitted command queues #1658
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?
Imported from ivall/xcl. Originally posted by DEViANCEVxXXxM on 2026-11-24T19:04:04Z.
<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
upstream-sync referenced this issue2026-11-24 21:07:02 +00:00
Imported from ivall/xcl. Originally posted by gut0to on 2026-11-24T19:18:25Z.
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.
upstream-sync referenced this issue2026-11-25 07:04:28 +00:00
Imported from ivall/xcl. Originally posted by Lum7nt on 2026-11-25T18:43:28Z.
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 (\