Repository navigation
Conversation
|
Test data from an 8 GB card, in case it helps the review. I ran the same gate today before seeing this PR. Important: this is not this branch. It is my own local port of the gate from Setup: RTX 3070 8 GB (DXGI budget 7,250 MB), Ryzen 7 5800X3D, 32 GB, Windows 11. Series S profile, 1920x1080, no DLSS, no frame generation, ray tracing off, built from source. What the
What I read from it:
Frame times in that session, for what one run is worth: 55 / 60 / 70 / 78 ms at 3-5k / 5-7k / 7-9k / 9-11k draws a frame. Caveats: one session; I can post the log lines or rerun with other settings if that is useful. Measurements and this note were prepared with an AI assistant (Claude Code); the session was played on my machine. |
|
Independent Linux/Proton test of this PR's actual source delta on an 8 GB card (rather than a different port). RTX 4060 desktop, 16 GB host RAM, NVIDIA driver 620.73.04, GE-Proton11-14/vkd3d-proton 3.2.0 ( Receiver: Both launches used separate copies of the same private profile, fresh engine/external caches, Wine Windows 11 mode (the startup workaround described in #120), Series X,
The candidate's last block report showed 30 blocks (1920 MB), 71 MB free; its prospective new-block sum 6732 MB against 6198 MB, with the admission message saying no new block and reuse free pieces. However, the cumulative counts were still 0 blocks not made for want of room, 0 made without room, 0 given back, 0 texture-placement waits. Thus the policy was observed closed at the final sample but this short workload did not witness an actual refused block request. The separate texture-queue accounting has a different free-space term (120 MB at that sample); these lines are sampled diagnostics, not a hard physical VRAM cap. Both runs progressed through loading artwork to black frames, then exit 5, with the same one unsupported Wave64 compute translation and no missing clamp/compare/library warning. No new host OOM kill, recorded kernel GPU fault or 256 MiB guard stop; temporary backing directories empty after retirement. This is a matched startup/load comparison, not a world-play benchmark or a texture-fidelity verdict. It does not demonstrate memory savings or a fix for the black screen on this workload; the gate needs a longer allocation-heavy world run before drawing that conclusion. The comparable negative result is retained so we do not attribute the pre-existing load failure to this PR. AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High). |
…ine Port VICTORY_POOL_GATE from fxceless/victory-fork commit 2eade68cade9b2f8cd2511cc97328e83f58508c3 onto trustno1-victory main (63b902f). - pool, resource: make a new 64 MiB texture block only while card real use + block + buffer-copy reserve + render targets still to come stays at or under the texture line (VICTORY_POOL_GATE=0 disables); otherwise reuse free pieces or defer waitable heap textures, keeping 2-5% + one block free during idle sweeps so the gate does not deadlock. Support fullest-block-first placement (VICTORY_POOL_FULLEST; launcher keeps first-fit). - draw, host: defer heap texture slots with no free piece when the gate closes, track HEAP_TEXTURES_NO_PLACE and pool::BLOCKS, and log 'texture blocks: ...' alongside room_terms. - shadow: enforce targets_to_come reserve in by_address_room for title memory by address (memory.rs routes arenas through shadow::by_address on main, so no memory.rs change is needed and PR trustno1-coder#88 is preserved).
11a44a1 to
cdc7f19
Compare
|
Thanks for this. I'm closing it without merging because it conflicts with the current main in several places (main has moved a lot since it was opened, with about 100 pull requests merged today), and I can't resolve that safely on your behalf. If you'd still like it in, please rebase it on the current main and open a new pull request. |
Summary
Ports
VICTORY_POOL_GATEandVICTORY_POOL_FULLESTfromfxceless/victory-forkcommit2eade68cade9b2f8cd2511cc97328e83f58508c3(GPL-3.0-or-later), rebased ontomain(63b902f).Changes
pool.rs,resource.rs: Allocate a new 64 MiB texture block only while card real use + new block + buffer-copy reserve +targets_to_comeremains at or below the texture budget line (VICTORY_POOL_GATE=0disables). Otherwise reuse free pieces or defer waitable heap textures while keeping headroom + one block free during idle sweeps so the gate does not deadlock. Adds optional fullest-block-first placement (VICTORY_POOL_FULLEST=1;play.rsdefaults to0first-fit). Preservesmain'sVICTORY_POOL_STATStracking (smallblock flag ongive_back_with/counted).draw.rs,host.rs: Defer heap texture slots when no free piece fits and the gate is closed, trackHEAP_TEXTURES_NO_PLACE/pool::BLOCKS, and logtexture blocks: ...alongsideroom_terms.shadow.rs,apps/victory/src/play.rs: Enforcetargets_to_comereserve (VICTORY_CARD_ROOM_FOR_TARGETS_MB) inby_address_roomfor title memory by address. Becausemainalready routes arenas throughshadow::by_address,memory.rsis left untouched and merged PR Ray tracing: no arena storm when the low range is full (the 30 s watchdog crash); reserve the arenas' room at the start #88 is preserved.Distinct from PR #79 (
VICTORY_POOL_STATSlogging) and PR #209 (window heap hole reuse).Verification
Verified on Windows (
x86_64-pc-windows-msvc) after rebasing ontomain(63b902f):git diff --check origin/main..HEAD— cleancargo test -p xtask --locked— 6 passed, 0 failed (repository_passes_policyok)cargo clippy -p victory-gpu -p victory --all-targets --locked— exit 0, 0 warnings in PR-changed lines (mainhas pre-existing clippy warnings in untouched lines such asshadow.rs:1708andvictory-hle/src/modules/gameinput.rs:1372)cargo test -p victory-gpu --locked pool::— 11 passed, 0 failedcargo test -p victory-gpu --locked resource::— 22 passed, 0 failedcargo test -p victory --locked— 26 passed (unit tests) + 2 passed (census), 0 failed