Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,11 @@ Fill the reusable DXIL cache ahead of a run with the read-only package wrapper.
`report.json` records cumulative detach, owner-retirement and restoration totals under
`d3d12.pipeline_pressure`. A generation-owner release means XCL issued COM `Release`; it does
not prove that the driver immediately reclaimed the allocation or video memory.
- `XCL_HEAP_COUNT=2` with `XCL_ACTIVITY=1`: every 20 seconds, count XCL's live Rust heap
allocations by size and the title's `XMemAllocDefault` heap allocations, without stack
capture or Windows heap walks. These are only parts of process memory, not VRAM usage.
`XCL_HEAP_COUNT=1` also collects sampled allocation stacks and walks the process and shader
compiler heaps; those diagnostic operations can pause allocating threads.
- `XCL_THREAD_DUMP_AT=s1,s2,…`: at each of those seconds after the start, the state of every
thread of the title goes into `xcl.log`, for a title that stalls.
- `XCL_TRACE_FAULTS=1` (any value): the first 32 access violations are logged as they are raised
Expand Down
1 change: 1 addition & 0 deletions crates/xcl/src/gpu/recomp/dxc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ impl DxcMalloc {
if heap.is_null() {
Err(format!("HeapCreate for DXC: {}", std::io::Error::last_os_error()))
} else {
crate::heap_count::note_heap("DXC", heap as usize);
Ok(Self { heap })
}
}
Expand Down
Loading
Loading