diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-26 10:28:43 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-26 10:28:43 -0500 |
| commit | 248b58c42d2cc5bbdb9aaf81ed122a379926d518 (patch) | |
| tree | 29cc4c568eb59d8fe479cbd9fe5526671258729d /runtime/src/main.cpp | |
| parent | 4a6a8a633e71ceb5af7afbaadcf9ad2e4ba9a377 (diff) | |
d3d12: the console heap's host-RAM mirror only with LEONIDA_HEAP_MIRROR=1
The mirror (746059011, in #2350) was on by default. World runs on merged main on an RX 7900 XTX (RADV), the same
settings otherwise:
- remap release on, mirror on: GPU page fault and a lost device about 40 s into the world;
- remap release off, mirror on: no evictions and no page fault, but a hang in a library compute program on the
direct queue about a minute in, a ring timeout and a lost device;
- both off: past five minutes in the world with no fault or hang, ending where the build before #2350 ended, on the
title's own breakpoint.
Why the mirror hangs the GPU is not known. It is off unless the variable is 1; the release sweep then reads the copy,
as before the mirror.
Tests: d3d12_console_heap_mirror sets LEONIDA_HEAP_MIRROR=1; a new ctest entry, d3d12_console_heap_mirror_default,
runs the same program without the variable and expects no mirror (it fails on main).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions