diff options
| author | qhukz13 <v.onashchuk@gmail.com> | 2026-11-28 21:03:40 +0200 |
|---|---|---|
| committer | qhukz13 <v.onashchuk@gmail.com> | 2026-11-28 21:03:40 +0200 |
| commit | 5e85a5e3137a424a5d184812b0e0a79d45b1ff6b (patch) | |
| tree | d67c536ed024e59ef37ab019634f7da752eed06c /runtime/test/code_hooks_test.cpp | |
| parent | 8b318bd4037e37a29bebda7417da0062d869f365 (diff) | |
d3d12: on a card under 6 GB the launcher leaves the buffer-copy limit to the runtime and puts no windows in VRAM
play-nvidia.ps1 set LEONIDA_CARD_BUFFERS_MB=1536 on every card, which overrides the runtime's own sizing by the
card's budget (shadow.rs default_card_limits_mb: 512 MiB at 12 GiB and under). It also put up to 3 GB of title
memory windows in CPU-mapped VRAM on every PC under 48 GB of RAM. Both were measured on large cards. On a 4 GB card
they add up to more than its whole budget: 5.5 GB in use of 3.2 GB, the rest paged out by the system.
The launcher now reads the card's memory from its driver key (HardwareInformation.qwMemorySize; AdapterRAM stops at
4 GB). Under 6 GB it leaves LEONIDA_CARD_BUFFERS_MB unset and gives the windows no VRAM, and says so. -More and
-WindowsBarMB still win.
MEASURED, GTX 1050 Ti 4 GB, Windows 10, the same scenes with 512 / 0 against 1536 / 3072: frames steadier
(2-3 -> 3-4 fps) and more textures and characters drawn in. Eyes on the same scenes, not a capture. -DryRun shows
neither variable on that card and the -More value when given.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/code_hooks_test.cpp')
0 files changed, 0 insertions, 0 deletions