[AMD] Frame freezes (up to ~3.8s), slow XMA audio bursts, and high RAM/VRAM pressure — prioritize physical memory/budget handling over virtual/paging #120
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp#120
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?
@jonny199292 on GitHub · 2026-12-05 19:01 UTC · original
Environment
larp-1.0.11-amd(larp-gpu,larp-hle)ID3D12GraphicsCommandList4,hostmem/cardmem/copystat)LARP_HOST_MAX_WAVE=32,LARP_PIPELINE_WORKERS=6,LARP_FRAME_RATE=60(tested with and withoutLARP_NO_RT=1and--card-budget 10240)Summary & Priority
Reporting frame freezes,
slow XMA decoding passbursts, and ray tracing readiness/behavior on AMD.Priority: Address physical memory / VRAM & RAM budget pressure (avoiding excessive private RAM growth, shared memory spill, and exceeding the card target), rather than relying on virtual memory / SSD paging.
Observed Issues
16.6–16.7 ms(60.0 fps), with periodiclongestspikes (~220–292 ms) and severe drops when load spikes (e.g.0.3 fps, 3830.6 ms/framewith267 draws/framewhilepreparingwas11.6 msand GPU time on that line was0.0 ms).DEBUG larp_hle::modules::audio: slow XMA decoding passcoincide with frame pacing drops and heavy memory/resource transitions.~25.5–27.8 GB, shared memory rises to~911–1036 MB, and VRAM usage can cross the layer target (e.g.,13269 MBin use vs.13089 MBtarget), accompanied by lower FPS (8.0–20.1 fpsin heavy windows) and highOWNsmall-block counts (~2.12Mblocks /2606 MBincopystat).--card-budget 10240kept private RAM much lower (~7.0–9.1 GB) with16.6–16.7 msmedian.larp_gpu::rt):placed,title_scratch,record_jobs,256-byte alignment,list scratch, andhost_compute_lost()), including cases where console structure walks occur or RT is toggled (LARP_NO_RT).Reproduction & Logs
game_scarlett_master.exewith-skipToIISand advancing through loading/gameplay while logginglarp_gpu/larp_hlediagnostics.times between presents,larp_gpu::hostmem,larp_gpu::copystat,larp_hle::modules::audio,larp_gpu::rt).scene_debug.log
run_scarlett13_xmem.log
run_scarlett13_rel_v2.log
run_scarlett13_rel.log
@gamingwithhomie on GitHub · 2026-12-05 21:02 UTC · original
The 3.8s freezes + audio bursts pattern = host paging under memory pressure. Things in your control:
options.ini stream_budgetlower (e.g. 2500), F10 Texture detail 1 level down, and a fixed Windows pagefile on SSD (not system-managed on a full drive). In code, v1.1.1 included #157 (texture row reads) and #145 (pacer); if freezes persist on v1.1.1, attach zip-logs and note your RAM/VRAM/pagefile setup - the log shows our memory counters per second.