diff options
| author | NotRexed <therealnothingfn@gmail.com> | 2026-11-27 14:55:43 -0500 |
|---|---|---|
| committer | NotRexed <therealnothingfn@gmail.com> | 2026-11-27 14:55:43 -0500 |
| commit | 529d9da21f06befa1e178e9ec1d915ce51ba25a1 (patch) | |
| tree | 2d75445c65fd1032f11bb718b7c181b8a4cb0f3f /runtime/test/clzero_patch_test.cpp | |
| parent | bf479a3cde6c84a48182b0b5f2b9a5902eb6ddd4 (diff) | |
Card room for windows of title memory: budgets kept in full when asked (LEONIDA_CARD_RESERVE_BUDGETS=1), and a line that says where windows lie
The card's time of a frame here does not move with the render size, and the card is busy at
half its power: what its draws wait for is suspected to be memory in the PC that they read over
the bus. Title buffers went to the card for that (LEONIDA_CARD_BUFFERS_MIN_KB=64: 64.1 -> 33.9 ms
of the card a frame); the windows of title memory outside buffers, two thirds of what the card
shares with the PC, have no room there by default (LEONIDA_CARD_WINDOWS_MB), and with room they
were turned down from eight tenths of the card's budget on, which the texture queue passes within
the first minute in the world.
LEONIDA_CARD_RESERVE_BUDGETS=1 (off by default; unset or anything else is as before): the texture
queue counts as used the whole of a buffer budget that is set (LEONIDA_CARD_BUFFERS_MB; it kept
1 GiB at most, the NVIDIA launcher sets 1,536) and what the windows' budget has left, and a
window gets its card side up to 97 hundredths of the card's budget, as a title buffer's copy
does. Ported from TaynanGT/Vice-Tay f3dfb5b (GPL-3.0-or-later), whose NVIDIA presets for cards of
10 to 19 GB set it with 1,024 MB of windows (docs/rtx4070-performance.md and rtx5080-16gb.md
there: "on the GPU" 22 -> 0.8 ms a frame on an RTX 5080 from buffers in the card's memory).
The frame lines gain one: windows made with a side on the card, in card memory the CPU maps and
in the PC's memory alone, card sides not given (the card filled to the windows' line; no room
under LEONIDA_CARD_WINDOWS_MB), and title buffers turned down for a card copy because the copies
made had used LEONIDA_CARD_BUFFERS_MB up, which nothing said (the count of windows by place after
fxceless/victory-fork f299fba; the quota's refusals after DoubleGhosty/cool_fox 42ac562, where one
such buffer of 20 MiB cost a dispatch 63 ms on an RTX 4060; both GPL-3.0-or-later).
Not measured in the title: to try, -More @{LEONIDA_CARD_WINDOWS_MB='1024';
LEONIDA_CARD_RESERVE_BUDGETS='1'} and the new line beside the card's time.
Test: shadow::window_tests::card_budgets_are_kept_in_full_only_when_asked.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/clzero_patch_test.cpp')
0 files changed, 0 insertions, 0 deletions