play.ps1 -Vram8GB: run on 8 GB RDNA 2 cards (RX 6600M) without device loss #306

Open
github-bot wants to merge 2 commits from github-bot/gh-306 into a-publier AGit
Owner

@⁠KelvinSilvaDev on GitHub · 2026-11-26 19:36 UTC · original
KelvinSilvaDev:rdna2-8gb → a-publier · +43 −1 · 2 files · 2 commits · open

On a Radeon RX 6600M (8 GB, RDNA 2), Ryzen 5 5600, 32 GB RAM, the default settings end in DXGI_ERROR_DEVICE_REMOVED on entering the world. The cause is the reuse of host command lists (the pool of 512 in crates/victory-gpu/src/list.rs): with VICTORY_LIST_POOL=0 the title runs. (A runtime of the same lineage also lost the device with a pool of 384 lists and ran with 128.)

This adds scripts\play.ps1 -Vram8GB:

  • VICTORY_LIST_POOL=0
  • memory limits for 8 GB of VRAM: VICTORY_RESIDENCY=1, VICTORY_RESIDENCY_LIMITED=1, VICTORY_TEXTURE_ROOM_PERCENT=60, VICTORY_TEXTURE_BUDGET_MB=1536, VICTORY_LEVELS_ON_DEMAND=1
  • VICTORY_THIN_THREADS=5 for a 6-core CPU, VICTORY_CARD_AWAKE left off
  • the Series S profile (--console series-s, unless -Fsr4K)

and a README section with the measurement.

Measured with the renderer patches 1, 2, 5, 6, 7 on, Series S, ray-tracing pipelines skipped, right after a restart of Windows: two minutes in the world without a device loss, median 327 ms a frame (about 3 fps); the picture is very dark there. Code is unchanged; only the launcher and the README.

🤖 Generated with Claude Code

**@⁠KelvinSilvaDev** on GitHub · 2026-11-26 19:36 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/306) `KelvinSilvaDev:rdna2-8gb` → `a-publier` · +43 −1 · 2 files · 2 commits · open On a Radeon RX 6600M (8 GB, RDNA 2), Ryzen 5 5600, 32 GB RAM, the default settings end in `DXGI_ERROR_DEVICE_REMOVED` on entering the world. The cause is the reuse of host command lists (the pool of 512 in `crates/victory-gpu/src/list.rs`): with `VICTORY_LIST_POOL=0` the title runs. (A runtime of the same lineage also lost the device with a pool of 384 lists and ran with 128.) This adds `scripts\play.ps1 -Vram8GB`: - `VICTORY_LIST_POOL=0` - memory limits for 8 GB of VRAM: `VICTORY_RESIDENCY=1`, `VICTORY_RESIDENCY_LIMITED=1`, `VICTORY_TEXTURE_ROOM_PERCENT=60`, `VICTORY_TEXTURE_BUDGET_MB=1536`, `VICTORY_LEVELS_ON_DEMAND=1` - `VICTORY_THIN_THREADS=5` for a 6-core CPU, `VICTORY_CARD_AWAKE` left off - the Series S profile (`--console series-s`, unless `-Fsr4K`) and a README section with the measurement. Measured with the renderer patches 1, 2, 5, 6, 7 on, Series S, ray-tracing pipelines skipped, right after a restart of Windows: two minutes in the world without a device loss, median 327 ms a frame (about 3 fps); the picture is very dark there. Code is unchanged; only the launcher and the README. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
On a Radeon RX 6600M (8 GB) the reuse of host command lists (the pool of
512) ends in DXGI_ERROR_DEVICE_REMOVED on entering the world; with
VICTORY_LIST_POOL=0 the title runs. -Vram8GB sets that, memory limits for
8 GB of VRAM, five translating threads and the Series S profile. README:
the measurement (Series S, ray tracing off: 327 ms a frame, stable).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:49:14 +00:00
Author
Owner

@⁠MamaLeVrai on GitHub · 2026-11-26 20:17 UTC · original

A data point from another RDNA 2 card: on an RX 6950 XT 16 GB (Ryzen 7 5700X, 32 GB RAM, 64 GiB paging file, driver 32.0.21045.29003, Windows 11 build 26300), VICTORY_LIST_POOL=0 alone does not prevent the device loss on rx9070xt at cd8dfc0.

Run: scripts\play.ps1 defaults plus -More @{VICTORY_LIST_POOL='0'}, Series X profile, diag build, nothing else running on the card. The device was lost about 3.5 minutes after start, with the world at 0.5 to 2 fps: no host list for a state prelude; device removed ... (0x887A0007), and DRED light showed breadcrumbs (done/count, list) []. In the 10 s before, the log shows compute pipelines being made, each taking 6 to 7 s (pipeline library: made [compute ...] in 6415.5 ms). The compiler guard caught no compiler crash.

I did not try the rest of -Vram8GB (the residency limits, the texture budget, Series S). So this does not say that your settings fail here, only that the list pool is not the whole story on this card. The same card also loses the device the same way on main (4f62c2a-based builds).

AI-assisted (Claude Code); no game data.

**@⁠MamaLeVrai** on GitHub · 2026-11-26 20:17 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/306#issuecomment-7202496276) A data point from another RDNA 2 card: on an RX 6950 XT 16 GB (Ryzen 7 5700X, 32 GB RAM, 64 GiB paging file, driver 32.0.21045.29003, Windows 11 build 26300), `VICTORY_LIST_POOL=0` alone does **not** prevent the device loss on `rx9070xt` at `cd8dfc0`. Run: `scripts\play.ps1` defaults plus `-More @{VICTORY_LIST_POOL='0'}`, Series X profile, diag build, nothing else running on the card. The device was lost about 3.5 minutes after start, with the world at 0.5 to 2 fps: `no host list for a state prelude; device removed ... (0x887A0007)`, and DRED `light` showed `breadcrumbs (done/count, list) []`. In the 10 s before, the log shows compute pipelines being made, each taking 6 to 7 s (`pipeline library: made [compute ...] in 6415.5 ms`). The compiler guard caught no compiler crash. I did not try the rest of `-Vram8GB` (the residency limits, the texture budget, Series S). So this does not say that your settings fail here, only that the list pool is not the whole story on this card. The same card also loses the device the same way on `main` (4f62c2a-based builds). AI-assisted (Claude Code); no game data.
An RX 6950 XT still lost the device with VICTORY_LIST_POOL=0 alone (PR #306),
and the RX 6600M measurement was a single two-minute run: worded as such.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Owner

@⁠KelvinSilvaDev on GitHub · 2026-11-26 20:44 UTC · original

Thanks, that's a useful data point. On the RX 6600M the list pool was necessary but, as you found, likely not sufficient: in our own runtime (same lineage) the same no host list for a state prelude / 0x887A0007 loss also came from a different combination (title memory read in place together with a background drop/fetch thread), stable once either was off. Our Belobug run with -Vram8GB was a single 2-minute run, so I've softened the README and the script comment to "needed here" rather than "the cause", and pointed to your report.

🤖 Generated with Claude Code

**@⁠KelvinSilvaDev** on GitHub · 2026-11-26 20:44 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/306#issuecomment-7203031827) Thanks, that's a useful data point. On the RX 6600M the list pool was necessary but, as you found, likely not sufficient: in our own runtime (same lineage) the same `no host list for a state prelude` / `0x887A0007` loss also came from a different combination (title memory read in place together with a background drop/fetch thread), stable once either was off. Our Belobug run with `-Vram8GB` was a single 2-minute run, so I've softened the README and the script comment to "needed here" rather than "the cause", and pointed to your report. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

@⁠MamaLeVrai on GitHub · 2026-11-26 21:01 UTC · original

Follow-up to my comment above, same RX 6950 XT 16 GB (RDNA 2), on cd8dfc0. Your full -Vram8GB (this PR's scripts\play.ps1) did better here:

  • -Vram8GB: 4 min 25 s from start to when the player stopped it, into the opening scene, with no device loss (no device removed in the log). About 2 to 2.6 fps in the scene, with sound steady. The player says it was also the best-looking run on this card.
  • Same build, defaults plus only VICTORY_LIST_POOL=0 (Series X): device lost after about 3.5 min.
  • Same build, defaults plus VICTORY_D3D12_DEBUG=1: device lost after 67 s, before the opening scene.

One run each, so this is no proof. But it points at the other -Vram8GB settings (residency limits, texture budget, Series S), not the list pool alone, as what keeps this card going. I can't split them further from here (the runs are the player's); if you want a specific combination tried, say which.

AI-assisted (Claude Code); no game data.

**@⁠MamaLeVrai** on GitHub · 2026-11-26 21:01 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/306#issuecomment-7203302849) Follow-up to my comment above, same RX 6950 XT 16 GB (RDNA 2), on `cd8dfc0`. Your full `-Vram8GB` (this PR's `scripts\play.ps1`) did better here: - **`-Vram8GB`:** 4 min 25 s from start to when the player stopped it, into the opening scene, with **no device loss** (no `device removed` in the log). About 2 to 2.6 fps in the scene, with sound steady. The player says it was also the best-looking run on this card. - **Same build, defaults plus only `VICTORY_LIST_POOL=0` (Series X):** device lost after about 3.5 min. - **Same build, defaults plus `VICTORY_D3D12_DEBUG=1`:** device lost after 67 s, before the opening scene. One run each, so this is no proof. But it points at the other `-Vram8GB` settings (residency limits, texture budget, Series S), not the list pool alone, as what keeps this card going. I can't split them further from here (the runs are the player's); if you want a specific combination tried, say which. AI-assisted (Claude Code); no game data.
Author
Owner

@⁠adrianmjim on GitHub · 2026-11-26 22:45 UTC · original

Checked by reading the code on a-publier 4eb6cfd (head 5e9bf87); I did not build or run it.

  • VICTORY_TEXTURE_ROOM_PERCENT=60 has no effect while VICTORY_TEXTURE_BUDGET_MB is set. In resource::room (crates/victory-gpu/src/resource.rs:1778-1787), once the budget is set it returns filled < limit straight away. room_percent() is only used further down (resource.rs:1799), so it is never reached.
  • The same early return skips the card-memory part of that test (resource.rs:1788-1802). With -Vram8GB, whether more texture copies may be made then depends only on their own bytes against 1536 MB. The card's current use, card_room_kept and targets_room_kept are not looked at there. They are still used when idle copies are let go (let_go_idle, resource.rs:2136-2141).
  • So, of the settings MamaLeVrai named as the likely fix on the RX 6950 XT, the texture part is just the 1536 MB cap. The room percent does not need to be tried separately.
  • VICTORY_THIN_THREADS is only read when VICTORY_THIN=1 (list/thin.rs:45-59, 307-308). play.ps1 sets VICTORY_THIN only without -Safe (scripts/play.ps1:26-30 on the head). With -Safe -Vram8GB, the 5-thread setting does nothing. The script comment (play.ps1:41 on the head) and README.md:120 could say that these are the threads that translate list calls (victory-list-N, thin.rs:328), not shader threads.
  • The README example command (README.md:123 on the head) does not match the measurement in README.md:126-127. The run skipped the ray-tracing pipelines with VICTORY_SKIP_PIPELINES, but the command does not set it. That variable takes a list of 16-digit shader hashes (pipeline.rs:483-500, 506), and the README does not give the list. It is also compiled only with the diagnostics feature (pipeline.rs:482, 502-503), so it does nothing in a build without --features diagnostics, such as a plain target\release build. Run as written, the command does not reproduce the measured setup.
  • The conflict with a-publier 4eb6cfd is one hunk in the play.ps1 header comment: #336 rewrote the -Fsr4K line (play.ps1:5 on 4eb6cfd), where the PR adds the -Vram8GB lines. From a trial merge, README.md and the rest of play.ps1 merge without conflict.

Not checked: whether the 1536 MB cap or the residency settings change the device-loss behaviour on any card.

**@⁠adrianmjim** on GitHub · 2026-11-26 22:45 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/306#issuecomment-7204961913) Checked by reading the code on a-publier 4eb6cfd (head 5e9bf87); I did not build or run it. - `VICTORY_TEXTURE_ROOM_PERCENT=60` has no effect while `VICTORY_TEXTURE_BUDGET_MB` is set. In `resource::room` (crates/victory-gpu/src/resource.rs:1778-1787), once the budget is set it returns `filled < limit` straight away. `room_percent()` is only used further down (resource.rs:1799), so it is never reached. - The same early return skips the card-memory part of that test (resource.rs:1788-1802). With `-Vram8GB`, whether more texture copies may be made then depends only on their own bytes against 1536 MB. The card's current use, `card_room_kept` and `targets_room_kept` are not looked at there. They are still used when idle copies are let go (`let_go_idle`, resource.rs:2136-2141). - So, of the settings MamaLeVrai named as the likely fix on the RX 6950 XT, the texture part is just the 1536 MB cap. The room percent does not need to be tried separately. - `VICTORY_THIN_THREADS` is only read when `VICTORY_THIN=1` (list/thin.rs:45-59, 307-308). play.ps1 sets `VICTORY_THIN` only without `-Safe` (scripts/play.ps1:26-30 on the head). With `-Safe -Vram8GB`, the 5-thread setting does nothing. The script comment (play.ps1:41 on the head) and README.md:120 could say that these are the threads that translate list calls (`victory-list-N`, thin.rs:328), not shader threads. - The README example command (README.md:123 on the head) does not match the measurement in README.md:126-127. The run skipped the ray-tracing pipelines with `VICTORY_SKIP_PIPELINES`, but the command does not set it. That variable takes a list of 16-digit shader hashes (pipeline.rs:483-500, 506), and the README does not give the list. It is also compiled only with the `diagnostics` feature (pipeline.rs:482, 502-503), so it does nothing in a build without `--features diagnostics`, such as a plain `target\release` build. Run as written, the command does not reproduce the measured setup. - The conflict with a-publier 4eb6cfd is one hunk in the play.ps1 header comment: #336 rewrote the `-Fsr4K` line (play.ps1:5 on 4eb6cfd), where the PR adds the `-Vram8GB` lines. From a trial merge, README.md and the rest of play.ps1 merge without conflict. Not checked: whether the 1536 MB cap or the residency settings change the device-loss behaviour on any card.
Author
Owner

@⁠Gabzinnn12 on GitHub · 2026-11-27 03:07 UTC · original

A data point from an 8 GB RDNA 3 card with 16 GB of RAM: the memory settings of -Vram8GB against the same build without them.

Machine: Ryzen 5 5500 (6c/12t), Radeon RX 7600 8 GB (driver 32.0.32029.2010), 16 GB DDR4-3200, Windows 11 Pro 26300, commit limit about 49 GB. Game package on a SATA SSD.

Build: a-publier at 4eb6cfd, --release --features diagnostics, with one local path-only change (the game package read from VICTORY_GAME_DIR). This is not this PR's head; I set the variables myself. Series X profile (not Series S), VICTORY_OUTPUT=1920x1080, renderer ports 1, 2, 5, 6, 7 on in every run. VICTORY_THIN was not set, so VICTORY_THIN_THREADS was not used. Ray-tracing pipelines were not skipped. Scripted Enter every 3 s from 8 to 80 s, intro cutscene not skipped, 300 s measured from the first frame with more than 100 draws.

"V8" = VICTORY_LIST_POOL=0 VICTORY_RESIDENCY=1 VICTORY_RESIDENCY_LIMITED=1 VICTORY_TEXTURE_BUDGET_MB=1536 VICTORY_LEVELS_ON_DEMAND=1

Run V8 Avg fps (frames / s) Median frame 0x8007000E Video memory at the last memory line NON_LOCAL at the last memory line End
a no 2.80 (840 / 300) 702 ms 0 6,271 of 6,998 MB 7,499 of 7,475 MB full 300 s
b no 4.43 (1,310 / 296) 224 ms 2,816 (no shared buffer, within about 3 s) 6,882 of 7,010 MB 7,233 of 7,475 MB full 296 s
c yes 1.09 (326 / 300) 1,230 ms 0 5,274 of 6,892 MB 5,687 of 7,475 MB full 300 s
d yes 1.65 (496 / 300) 632 ms 0 5,518 of 6,993 MB 6,403 of 7,475 MB full 300 s

Runs a and b are the ones in #147. For comparison, one run of the same build without the ports and without V8 logged 43 no shared buffer failures and ended in 0x887A0005 after about 173 s.

What it says, with 2 + 2 runs on one machine:

  • No device loss in any of the four runs, with or without V8 (the ports were on in all of them).
  • V8 left room in both segments (video memory 5.3–5.5 GB, NON_LOCAL 5.7–6.4 GB) and logged no allocation failures (one of the two runs without it logged a burst).
  • The frame rate was 1.1–1.7 fps with V8 against 2.8–4.4 fps without it.
  • Peak private memory: about 18.7–19.7 GB with V8, about 23.5 GB without it.

So on this card and RAM, with the ports on, V8 trades more than half of the frame rate for memory headroom. I have not split the five variables, so I can't say which one costs the frame rate. I can run them one at a time if that helps.

AI-assisted (Claude Code): the runs, the numbers and this text. No game data.

**@⁠Gabzinnn12** on GitHub · 2026-11-27 03:07 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/306#issuecomment-7208719014) A data point from an 8 GB **RDNA 3** card with **16 GB of RAM**: the memory settings of `-Vram8GB` against the same build without them. **Machine:** Ryzen 5 5500 (6c/12t), Radeon RX 7600 8 GB (driver 32.0.32029.2010), 16 GB DDR4-3200, Windows 11 Pro 26300, commit limit about 49 GB. Game package on a SATA SSD. **Build:** `a-publier` at `4eb6cfd`, `--release --features diagnostics`, with one local path-only change (the game package read from `VICTORY_GAME_DIR`). This is not this PR's head; I set the variables myself. Series X profile (not Series S), `VICTORY_OUTPUT=1920x1080`, renderer ports 1, 2, 5, 6, 7 on in every run. `VICTORY_THIN` was not set, so `VICTORY_THIN_THREADS` was not used. Ray-tracing pipelines were not skipped. Scripted Enter every 3 s from 8 to 80 s, intro cutscene not skipped, 300 s measured from the first frame with more than 100 draws. "V8" = `VICTORY_LIST_POOL=0 VICTORY_RESIDENCY=1 VICTORY_RESIDENCY_LIMITED=1 VICTORY_TEXTURE_BUDGET_MB=1536 VICTORY_LEVELS_ON_DEMAND=1` | Run | V8 | Avg fps (frames / s) | Median frame | `0x8007000E` | Video memory at the last memory line | NON_LOCAL at the last memory line | End | |---|---|---|---|---|---|---|---| | a | no | 2.80 (840 / 300) | 702 ms | 0 | 6,271 of 6,998 MB | 7,499 of 7,475 MB | full 300 s | | b | no | 4.43 (1,310 / 296) | 224 ms | 2,816 (`no shared buffer`, within about 3 s) | 6,882 of 7,010 MB | 7,233 of 7,475 MB | full 296 s | | c | yes | 1.09 (326 / 300) | 1,230 ms | 0 | 5,274 of 6,892 MB | 5,687 of 7,475 MB | full 300 s | | d | yes | 1.65 (496 / 300) | 632 ms | 0 | 5,518 of 6,993 MB | 6,403 of 7,475 MB | full 300 s | Runs a and b are the ones in #147. For comparison, one run of the same build without the ports and without V8 logged 43 `no shared buffer` failures and ended in `0x887A0005` after about 173 s. **What it says, with 2 + 2 runs on one machine:** - No device loss in any of the four runs, with or without V8 (the ports were on in all of them). - V8 left room in both segments (video memory 5.3–5.5 GB, NON_LOCAL 5.7–6.4 GB) and logged no allocation failures (one of the two runs without it logged a burst). - The frame rate was 1.1–1.7 fps with V8 against 2.8–4.4 fps without it. - Peak private memory: about 18.7–19.7 GB with V8, about 23.5 GB without it. So on this card and RAM, with the ports on, V8 trades more than half of the frame rate for memory headroom. I have not split the five variables, so I can't say which one costs the frame rate. I can run them one at a time if that helps. AI-assisted (Claude Code): the runs, the numbers and this text. No game data.
Author
Owner

@⁠Gabzinnn12 on GitHub · 2026-11-27 04:23 UTC · original

Follow-up: the -Vram8GB memory variables one at a time, on the same machine and build as my comment above (RX 7600 8 GB, RDNA 3, 16 GB RAM; a-publier 4eb6cfd, Series X, VICTORY_OUTPUT=1920x1080, ports 1, 2, 5, 6, 7 on in every run). VICTORY_RESIDENCY and VICTORY_RESIDENCY_LIMITED were set together. Same measurement: 300 s from the first frame with more than 100 draws, intro cutscene not skipped.

Added to the base Runs: avg fps (median frame) 0x8007000E per run Video memory, last memory line NON_LOCAL, last memory line End
nothing (base) 2.80 (702 ms) · 4.43 (224 ms) · 1.40 (1,153 ms) 0 · 2,816 · 7,161 6,271 / 6,882 / 6,264 MB 7,499 / 7,233 / 7,721 of 7,475 MB third run: 0x887A0005 at about 167 s
LIST_POOL=0 1.40 (789 ms) 0 6,454 MB 6,573 MB full 300 s
RESIDENCY=1 + RESIDENCY_LIMITED=1 5.11 (186 ms) · 3.83 (336 ms) · 3.57 (368 ms) 0 · 0 · 0 6,048 / 5,992 / 5,830 MB 6,635 / 6,895 / 7,065 MB all full
TEXTURE_BUDGET_MB=1536 2.51 (677 ms) 61,735 5,816 MB 7,731 MB 0x887A0005 at about 134 s
LEVELS_ON_DEMAND=1 5.45 (176 ms) 8,826 7,475 of 7,014 MB 7,245 MB full 300 s
residency + LEVELS_ON_DEMAND=1 5.09 (183 ms) · 4.33 (249 ms) 16 · 0 6,577 / 7,145 of 7,018 MB 6,889 / 7,137 MB both full
all five (my comment above) 1.09 (1,230 ms) · 1.65 (632 ms) 0 · 0 5,274 / 5,518 MB 5,687 / 6,403 MB both full

Video memory budgets were 6,900–7,027 MB.

What it says on this machine (1–3 runs per row, so this is no proof):

  • The residency pair is the one that helps here: three full runs, no allocation failures, both segments below budget, and 3.6–5.1 fps.
  • VICTORY_LIST_POOL=0 alone cost frame rate (1.40 fps). With the five together, it is the likely source of the drop to 1.1–1.7 fps, though I have not run "all but the list pool".
  • VICTORY_TEXTURE_BUDGET_MB=1536 alone did not keep NON_LOCAL down: 61,735 failures and a device removal.
  • VICTORY_LEVELS_ON_DEMAND=1 was fast, but alone it went over the video memory budget with 8,826 failures. With the residency pair, it had 16 and 0 failures, and in the second run video memory was again over budget.
  • The base alone ended in a device removal in one run of three.
  • A visual note from the person watching the residency runs: fewer low-detail (untextured) stand-in characters in the indoor scenes with few characters, and textures correct in the living-room scene, where the window caption reached about 10 fps.

So for an 8 GB card with 16 GB of RAM, VICTORY_RESIDENCY=1 VICTORY_RESIDENCY_LIMITED=1 on top of the ports looks worth keeping, and VICTORY_LIST_POOL=0 worth leaving out unless a card needs it to avoid the device loss.

AI-assisted (Claude Code): the runs, the numbers and this text. No game data.

**@⁠Gabzinnn12** on GitHub · 2026-11-27 04:23 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/306#issuecomment-7209755584) Follow-up: the `-Vram8GB` memory variables one at a time, on the same machine and build as my comment above (RX 7600 8 GB, RDNA 3, 16 GB RAM; `a-publier` `4eb6cfd`, Series X, `VICTORY_OUTPUT=1920x1080`, ports 1, 2, 5, 6, 7 on in every run). `VICTORY_RESIDENCY` and `VICTORY_RESIDENCY_LIMITED` were set together. Same measurement: 300 s from the first frame with more than 100 draws, intro cutscene not skipped. | Added to the base | Runs: avg fps (median frame) | `0x8007000E` per run | Video memory, last memory line | NON_LOCAL, last memory line | End | |---|---|---|---|---|---| | nothing (base) | 2.80 (702 ms) · 4.43 (224 ms) · 1.40 (1,153 ms) | 0 · 2,816 · 7,161 | 6,271 / 6,882 / 6,264 MB | 7,499 / 7,233 / 7,721 of 7,475 MB | third run: `0x887A0005` at about 167 s | | `LIST_POOL=0` | 1.40 (789 ms) | 0 | 6,454 MB | 6,573 MB | full 300 s | | `RESIDENCY=1` + `RESIDENCY_LIMITED=1` | 5.11 (186 ms) · 3.83 (336 ms) · 3.57 (368 ms) | 0 · 0 · 0 | 6,048 / 5,992 / 5,830 MB | 6,635 / 6,895 / 7,065 MB | all full | | `TEXTURE_BUDGET_MB=1536` | 2.51 (677 ms) | 61,735 | 5,816 MB | 7,731 MB | `0x887A0005` at about 134 s | | `LEVELS_ON_DEMAND=1` | 5.45 (176 ms) | 8,826 | 7,475 of 7,014 MB | 7,245 MB | full 300 s | | residency + `LEVELS_ON_DEMAND=1` | 5.09 (183 ms) · 4.33 (249 ms) | 16 · 0 | 6,577 / 7,145 of 7,018 MB | 6,889 / 7,137 MB | both full | | all five (my comment above) | 1.09 (1,230 ms) · 1.65 (632 ms) | 0 · 0 | 5,274 / 5,518 MB | 5,687 / 6,403 MB | both full | Video memory budgets were 6,900–7,027 MB. **What it says on this machine (1–3 runs per row, so this is no proof):** - The residency pair is the one that helps here: three full runs, no allocation failures, both segments below budget, and 3.6–5.1 fps. - `VICTORY_LIST_POOL=0` alone cost frame rate (1.40 fps). With the five together, it is the likely source of the drop to 1.1–1.7 fps, though I have not run "all but the list pool". - `VICTORY_TEXTURE_BUDGET_MB=1536` alone did not keep NON_LOCAL down: 61,735 failures and a device removal. - `VICTORY_LEVELS_ON_DEMAND=1` was fast, but alone it went over the video memory budget with 8,826 failures. With the residency pair, it had 16 and 0 failures, and in the second run video memory was again over budget. - The base alone ended in a device removal in one run of three. - A visual note from the person watching the residency runs: fewer low-detail (untextured) stand-in characters in the indoor scenes with few characters, and textures correct in the living-room scene, where the window caption reached about 10 fps. So for an 8 GB card with 16 GB of RAM, `VICTORY_RESIDENCY=1 VICTORY_RESIDENCY_LIMITED=1` on top of the ports looks worth keeping, and `VICTORY_LIST_POOL=0` worth leaving out unless a card needs it to avoid the device loss. AI-assisted (Claude Code): the runs, the numbers and this text. No game data.
This pull request has changes conflicting with the target branch.
  • scripts/play.ps1
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/306/head:github-bot/gh-306'
git switch 'github-bot/gh-306'

Merge

Merge the changes and update on Forgejo.
git switch 'a-publier'
git merge --no-ff 'github-bot/gh-306'
git switch 'github-bot/gh-306'
git rebase 'a-publier'
git switch 'a-publier'
git merge --ff-only 'github-bot/gh-306'
git switch 'github-bot/gh-306'
git rebase 'a-publier'
git switch 'a-publier'
git merge --no-ff 'github-bot/gh-306'
git switch 'a-publier'
git merge --squash 'github-bot/gh-306'
git switch 'a-publier'
git merge --ff-only 'github-bot/gh-306'
git switch 'a-publier'
git merge 'github-bot/gh-306'
git push origin 'a-publier'
This discussion has been locked. Commenting is limited to contributors.
No description provided.