RTX 4060 Ti 8 GB: PORT_CBV loses the road and is slower; PORT_CONSTANTS+PORT_CBV throws a C++ exception; the 4 GB profile is slower than the plain preset #15

Closed
opened 2026-11-27 06:06:42 +00:00 by github-bot · 2 comments
Owner

@⁠aef200 on GitHub · 2026-11-26 16:46 UTC · original

Reporting two problems with the new renderer ports on a small NVIDIA card, and one setting that helped a lot more than either.

Machine: Windows 11 26200, i7-14700KF, 64 GB, RTX 4060 Ti 8 GB, driver 32.0.16.2124. Build from this mirror at 472e841 (release + diagnostics). Own cache and data dirs; launcher switches copied from Play-VIctory.cmd plus VICTORY_DISPLAY_MODE=1920x1080.

1. VICTORY_PORT_CBV=1 on its own removes the road

With the pareto-residency set and VICTORY_PORT_CBV=1, no VICTORY_PORT_CONSTANTS: the world draws, but the road surface is gone - everything else is there, the ground the player walks on does not render. Frame time also goes the wrong way: 3.8 fps (264 ms median) against 5.1 fps (197 ms) for the same settings without the switch, over 50 world frames each. So on this card the switch costs speed as well as geometry.

2. PORT_CONSTANTS=1 + PORT_CBV=1 together end in a C++ exception

With both, as 472e841's launcher now defaults: about three minutes in, the process dies with

VIctory: unhandled exception 0xe06d7363 at KERNELBASE.dll+0xc569a
         (C++ .J = 0x80004005 thrown)

No stack follows the line, so I cannot say where it came from. No first-chance line either, unlike an access violation.

3. The 4 GB profile is slower on 8 GB, not faster

Play-VIctory-4GB.cmd here is the same as the normal preset plus CARD_BUFFERS_MIN_KB=4096, CARD_BUFFERS_MB=256, D3D12_BACKGROUND=0. On this 8 GB card that is 3.4 fps (291 ms), below the 5.1 fps of the plain preset. My guess is that 256 MB of card buffers makes texture copies turn over more often than it saves, which is the opposite of what a genuinely 4 GB card needs - so the profile may be right for 4 GB and wrong for 8 GB.

What works best here

For the record, the best configuration on this machine so far is the released f4b48ad binary with Play-VIctory.cmd pareto-residency plus one addition:

VICTORY_DISPLAY_MODE=1920x1080

That is worth more than anything else I tried: the picture becomes sharp (the title otherwise renders for a 4K mode and is then shown in a 1080p window) and the frame time drops from 4.6 to 5.1 fps. 130 minutes without a crash, save works. If the launchers do not set it, that may be free performance on 1080p displays for everyone.

Happy to re-run any of these with more logging if it helps.

**@⁠aef200** on GitHub · 2026-11-26 16:46 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/15) Reporting two problems with the new renderer ports on a small NVIDIA card, and one setting that helped a lot more than either. **Machine:** Windows 11 26200, i7-14700KF, 64 GB, **RTX 4060 Ti 8 GB**, driver 32.0.16.2124. Build from this mirror at `472e841` (release + diagnostics). Own cache and data dirs; launcher switches copied from `Play-VIctory.cmd` plus `VICTORY_DISPLAY_MODE=1920x1080`. ## 1. `VICTORY_PORT_CBV=1` on its own removes the road With the pareto-residency set and `VICTORY_PORT_CBV=1`, no `VICTORY_PORT_CONSTANTS`: the world draws, but the road surface is gone - everything else is there, the ground the player walks on does not render. Frame time also goes the wrong way: **3.8 fps (264 ms median) against 5.1 fps (197 ms) for the same settings without the switch**, over 50 world frames each. So on this card the switch costs speed as well as geometry. ## 2. `PORT_CONSTANTS=1` + `PORT_CBV=1` together end in a C++ exception With both, as `472e841`'s launcher now defaults: about three minutes in, the process dies with ``` VIctory: unhandled exception 0xe06d7363 at KERNELBASE.dll+0xc569a (C++ .J = 0x80004005 thrown) ``` No stack follows the line, so I cannot say where it came from. No `first-chance` line either, unlike an access violation. ## 3. The 4 GB profile is slower on 8 GB, not faster `Play-VIctory-4GB.cmd` here is the same as the normal preset plus `CARD_BUFFERS_MIN_KB=4096`, `CARD_BUFFERS_MB=256`, `D3D12_BACKGROUND=0`. On this 8 GB card that is **3.4 fps (291 ms)**, below the 5.1 fps of the plain preset. My guess is that 256 MB of card buffers makes texture copies turn over more often than it saves, which is the opposite of what a genuinely 4 GB card needs - so the profile may be right for 4 GB and wrong for 8 GB. ## What works best here For the record, the best configuration on this machine so far is the **released `f4b48ad` binary** with `Play-VIctory.cmd pareto-residency` plus one addition: ``` VICTORY_DISPLAY_MODE=1920x1080 ``` That is worth more than anything else I tried: the picture becomes sharp (the title otherwise renders for a 4K mode and is then shown in a 1080p window) and the frame time drops from 4.6 to 5.1 fps. **130 minutes without a crash, save works.** If the launchers do not set it, that may be free performance on 1080p displays for everyone. Happy to re-run any of these with more logging if it helps.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 06:06:42 +00:00
Author
Owner

@⁠DoubleGhosty on GitHub · 2026-11-26 20:31 UTC · original

Update: Commit 46714eb addresses sparse mip tile allocations and improves in-place descriptor mapping, while commit cf3f615 introduces VICTORY_STAGING_IDLE_MS and VICTORY_WINDOW_IDLE_MS to mitigate VRAM over-subscription on 8 GB cards.

**@⁠DoubleGhosty** on GitHub · 2026-11-26 20:31 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/15#issuecomment-7202777942) Update: Commit 46714eb addresses sparse mip tile allocations and improves in-place descriptor mapping, while commit cf3f615 introduces VICTORY_STAGING_IDLE_MS and VICTORY_WINDOW_IDLE_MS to mitigate VRAM over-subscription on 8 GB cards.
Author
Owner

@⁠DoubleGhosty on GitHub · 2026-11-26 21:09 UTC · original

Updated in commit dacddbf:

  • Play-VIctory.cmd and Play-VIctory-4GB.cmd now default VICTORY_PORT_CONSTANTS=0 and VICTORY_PORT_CBV=0 (opt-in) to avoid the missing road geometry and C++ exception (0xe06d7363) on 8 GB NVIDIA cards.
  • Added VICTORY_LIBRARY_STORE_LATER=1 and VICTORY_PIPELINE_WAIT_MS=0 to both launchers.
  • Note: Play-VIctory-4GB.cmd limits card buffers to 256 MB (VICTORY_CARD_BUFFERS_MB=256), which is only meant for 4 GB cards and causes extra copy churn on 8 GB GPUs. Also, VICTORY_OUTPUT=1920x1080 sets the title's internal output mode (VICTORY_DISPLAY_MODE only changes the DXGI output size).

Closing as resolved in main; feel free to reopen if any of these recur on dacddbf.

**@⁠DoubleGhosty** on GitHub · 2026-11-26 21:09 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/15#issuecomment-7203450752) Updated in commit dacddbf: - Play-VIctory.cmd and Play-VIctory-4GB.cmd now default VICTORY_PORT_CONSTANTS=0 and VICTORY_PORT_CBV=0 (opt-in) to avoid the missing road geometry and C++ exception (0xe06d7363) on 8 GB NVIDIA cards. - Added VICTORY_LIBRARY_STORE_LATER=1 and VICTORY_PIPELINE_WAIT_MS=0 to both launchers. - Note: Play-VIctory-4GB.cmd limits card buffers to 256 MB (VICTORY_CARD_BUFFERS_MB=256), which is only meant for 4 GB cards and causes extra copy churn on 8 GB GPUs. Also, VICTORY_OUTPUT=1920x1080 sets the title's internal output mode (VICTORY_DISPLAY_MODE only changes the DXGI output size). Closing as resolved in main; feel free to reopen if any of these recur on dacddbf.
This discussion has been locked. Commenting is limited to contributors.
No description provided.