[GH #95] 8 GB card: indexed textures 6.2 GB + 208 MB/frame copy-back hold the world at 3 fps #95
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 Zettrox/ztrx. Originally posted by bailu12300 on 2026-11-25T10:50:30Z.
Context: main
90b529f+ #49 + #36 + the builder fix above, Win10 19045, RTX 5060 8 GB, i5-14490F, 32 GB RAM. World now renders (courtyard, sun, volumetrics) but sits at 3-4 fps, and the ceiling is on the host side, not the card.Steady state in the courtyard (6939 -> 5394 draws/frame, VICTORY_RELAY=2 LATE_WAIT=3 WIDE_BACK=1 BVH_BUILDER=1):
textures picked by index: 19,784 uploaded so far (6,217 MB), 15,024 slots queued, only 15 of them "waiting for their memory", 6,600 passed over unmapped, 448,340 writes of table slots since start, 105,711 slots taken out as read through a tablehost copies in the card's memory: 10 copies 492 MB; per frame 58.4 MB sent up in 188 ranges, 8,318 pieces compared, 709 fetched (46.3 MB), 5.5 waits for the card (118.0 ms)textures picked by index: the card has no room for more; they waitonce - i.e.resource::room()said no at 8 GB (used < budget/10*9)So: the card is at 138 ms while 241 ms of copy-back plus 152 ms of preparing wrap around it. The 6.2 GB of indexed-texture host copies plus 150 MB/frame of buffer copies is what a 8 GB card with 32 GB RAM cannot absorb at this rate.
Two things I would like your view on before I start cutting:
room()returns false andheap_texturesthen stops making host copies until something is let go. Would you rather have that path calllet_go_idle()with zero idle (drop every copy nothing names this instant) than simply stop? Right now the "no room" state can last for the rest of the run.I have
VICTORY_TEXTURE_NO_WAIT=1queued as the next measurement (the 5.5 card waits are 118 ms/frame here). I will report the numbers either way.