On an 8 GB card the card term halves when the translated loop bound halves (measurement) #1417
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?
Imported from fxceless/victory-fork. Originally posted by dodo4154 on 2026-11-27T00:55:24Z.
Measurement from a smaller card (RX 7600 8 GB, Ryzen 7 5700X, 24 GB RAM), in the world, 300 s runs, reading the
ms/frameline of a diagnostics build:VICTORY_SHADER_LOOP_LIMIT=64VICTORY_SHADER_LOOP_LIMIT=1024At 64 the picture is wrong, so this is a measurement, not a setting. What makes it interesting is what does not move the card term on the same build: skipping one world mesh pipeline, or four at once (
VICTORY_SKIP_PIPELINES) leaves it at 220-228 ms;VICTORY_BARRIER_TEST=indirect(the two UAV barriers per indirect command, 2,548 commands a frame) leaves it at 226-233 ms; resolution changes (720p vs native) leave it unchanged; moving shadow buffers into VRAM (CARD_BUFFERS_MIN_MB=8/1024) leaves it at 223-233 ms.So on this title and this driver the card term follows the loop bound almost linearly: the cost is in translated-shader loops, not in draw count, barriers or memory placement. Halving the bound halves the term.
The rest of the day's numbers (what helps, what hurts, including
LATE_WAIT=3+RELAY=2+WIDE_*collapsing to 801-4,636 ms on 24 GB, andCARD_BUFFERS_MIN_KB=64overflowing an 8 GB card) are in https://github.com/dodo4154/vi-small-vram — notes and scripts only, no game files. Close this if it is not useful; I am not asking for a change.Imported from fxceless/victory-fork. Originally posted by dodo4154 on 2026-11-27T01:15:09Z.
Correction to my own report, with the measurements that refute it.
I lowered one stage at a time (
VICTORY_LOOP_LIMIT_PIXEL/_VERTEX/_COMPUTE, a switch I added locally):The run that halved the card term executed 291-444 draws a frame instead of ~5,000: the shaders broke, the layer dropped the world, and a nearly empty frame is fast. So the card term does not follow the loop bound — it follows the draws. The pixel bound is irrelevant on this title, and cutting the compute bound makes it three times slower because every draw then paints garbage.
I have corrected the notes repository to say this. What still stands from it: the card term (228-236 ms on an RX 7600) does not move with resolution, with the two UAV barriers per indirect command, with the title's own 716 barrier groups, with shadow buffers in VRAM, or with the window grid — only with the draws stopping. Sorry for the noise.