upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/xma2_decoder.cpp
diff options
context:
space:
mode:
authorTheGeogeo <57634077+TheGeogeo@users.noreply.github.com>2026-12-01 02:40:18 +0100
committerTheGeogeo <57634077+TheGeogeo@users.noreply.github.com>2026-12-01 02:40:18 +0100
commitf8ad7e24558749098691125cb9429e84a1512118 (patch)
tree22ea113a86407834931ba82fcfc22d4b4a585326 /runtime/src/xma2_decoder.cpp
parentd920d850d0a268749b8bc5f6dc508aee9ecdbb37 (diff)
d3d12: lists' scratch stays in the PC's memory by default for now (D3D12-SCRATCH-CARD-OFF-BY-DEFAULT)
Part of enlighted's D3D12-REAPER-BOUNDED-QUEUE, agreed with them. Card scratch, on by default where the card's budget is 9 GiB or more and it has a GPU upload heap, churns chunks: SPARE_CARD keeps 256 MiB in all and gives back an exact size only, so chunks of other sizes are let go in the list resets on the reaper and made again on the recording threads. The reaper falls behind and the memory it holds piles up. Measured on an RTX 3090 with a resizable BAR (23 pairs): frame median 64.6 ms with card scratch against 33.3 ms without. It is off by default until the card's spare chunks are kept by size; LEONIDA_SCRATCH_CARD=1 still puts it there and LEONIDA_AB still switches it. A card that used to get it says once that it is off now. switches.md is regenerated for that row.
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions