d3d12 launcher: title memory windows in the card's memory on cards of 20 GB or more (D3D12-LAUNCHER-WINDOWS-BAR-LARGE-CARDS) #3413

Code

Clone this repository

Checkout

From your project repository, check out a new branch and test the changes.

git fetch -u  "d3d12-launcher-windows-bar-large-cards:Rockcabbage-d3d12-launcher-windows-bar-large-cards"
git switch "Rockcabbage-d3d12-launcher-windows-bar-large-cards"
Open
leonida/mandy
Rockcabbage wants to merge 5 commits from Rockcabbage/mandy:d3d12-launcher-windows-bar-large-cards into main

This branch is out-of-date with the base branch

Conversation
Reviewers 0 approvals
  • No reviewers
Details
This pull request is blocked because it's outdated.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'd3d12-launcher-windows-bar-large-cards:Rockcabbage-d3d12-launcher-windows-bar-large-cards'
git switch 'Rockcabbage-d3d12-launcher-windows-bar-large-cards'
First-time contributor

Claimed in the coordination issue as: D3D12-LAUNCHER-WINDOWS-BAR-LARGE-CARDS (claimed in #2570; #3312 continues that issue)

Overlaps: #3035 (open). It changes the same lines of d3d12/scripts/play-nvidia.ps1 and d3d12/README.md, so
whichever lands second needs a rebase. The two do not overlap in what they decide: #3035 is about cards under 12 GB,
and this one about cards of 20 GB or more.

This touches play-nvidia.ps1 and tests/test_win_launchers.py, so per AGENTS.md it asks for @OreoFR's review.

What and why

play-nvidia.ps1 sets LEONIDA_WINDOWS_BAR_MB only on PCs with under 48 GB of RAM. With more, the title's windows of
memory (4 to 5.4 GB here) stay in the PC's memory, and the card reads them over the bus. On an RTX 4090 with 64 GB of
RAM, that showed as a card 99 % busy at 150 W and 47 C, and as starts that stood at 45 to 52 ms where others stood at
36.

The change: a card of 20 GB or more now gets LEONIDA_WINDOWS_BAR_MB=8192, whatever the RAM.

  • -WindowsBarMB still overrides it, and 0 turns it off.
  • Cards under 20 GB keep the rule by RAM. Cards under 6 GB still get no windows.
  • The runtime's line still decides how many windows go to the card: LEONIDA_WINDOWS_BAR_LINE, 80 hundredths of the
    card's budget unless set. The launcher does not set the line. The cap is 8192 so that the cap is not what stops the
    windows.
  • The card's memory is the same $vram that main's other rules use: the largest adapter's
    HardwareInformation.qwMemorySize.
  • The README, the script's help text, findings.md and the script's comments say the new rule.

Measured

These measurements were taken before the move, on the earlier head (the same diff on the main of that time). They were
not taken again on this base.

The setup: RTX 4090 (24 GB, resizable BAR), i9-13900K, 64 GB of RAM, Windows 11, Series X profile, 2560x1440,
-HardwareRT -NoFrameGen, diag build.

The setting is read at the start, so it cannot be switched by turns inside a run. Starts from the same save were
taken in turn instead. Starts with the same settings differ on this PC (36 to 52 ms standing at one place over the
day), so each start is listed.

LEONIDA_WINDOWS_BAR_MB=8192 0
standing at one place, median of a frame, each start 36.2, 36.7, 37.3, 37.1 ms 45.1, 44.7 ms
a scripted walk with camera turns of 110 s, median 45.0, 38.5 ms 44.6, 52.2 ms
the walk, frames over 50 ms 18, 6 % 30, 73 %
  • With 8192, every window lay in card memory the CPU maps and none in the PC's memory alone (the runtime's own log
    line says so).
  • What the numbers do not show: seven earlier starts that day with 0 stood at 35 to 43 ms, so 0 is not always slow.
    What the windows on the card take away is the slow starts.
  • The walk does not repeat exactly from start to start, so its medians say less than the standing ones.
  • Pictures of the starts with the windows on the card were looked at, standing and mid-walk: the scene is right.
  • Another contributor's measurements on a second 24 GB card are in #3312
    (https://git.leonida.now/leonida/mandy/issues/3312#issuecomment-8164). On an RTX 3090 with 64 GB of RAM, 8192
    against 0 gave -2.4 to -7.9 ms a frame (A B B A) and peaked at 21.4 GB of card memory.
  • Not tested: a 20 GB card, a 24 GB card of another maker (without GPU upload heaps the runtime says so once and the
    cap does nothing), and a PC where -Adapter picks a smaller card beside one of 20 GB or more. In that last case the
    smaller card gets the cap too, and the runtime's line, on that card's own budget, is what holds the windows.

Tested

On this branch, on main 312d88d1d:

  • python -I tests/test_win_launchers.py: 16 tests OK.
  • The new test is test_nvidia_windows_bar_follows_card_memory_then_ram.
    • It stubs the card's memory as the registry value and the RAM as the CIM answer, the way main's frame generation
      test does.
    • Its cases are: 24 and 20 GB cards (8192, with 64 GB and with 16 GB of RAM); a 16 GB card (3072 with 32 GB of RAM,
      not set with 64 GB); a 4 GB card (not set); card memory unknown (by RAM); and -WindowsBarMB 0 and 4096 (these
      win).
  • Red and green: with main's play-nvidia.ps1, the test fails on the three cases of 20 GB or more (3072 or not set,
    against 8192). With this branch's script it passes.
  • python -m unittest discover -s tests -p "test_docs_*.py": 59 tests OK.
  • python -I tools/d3d12_switches.py --check d3d12/docs/switches.md: passes. The file is regenerated with the tool, because the
    script's comment now names LEONIDA_WINDOWS_BAR_LINE.
  • python -I scripts/check_no_game_data.py on the changed files: exit 0.

GPUs tested: NVIDIA GeForce RTX 4090, driver 621.24, Windows 11 (CPU: Intel i9-13900K)

AI-assisted: yes. Claude Code; Claude Fable 5.2 directing, Claude Opus 5.5 writing and reviewing.

  • Before the move, a separate read-only reviewer agent (Claude Opus) audited the diff. Its findings are addressed: the
    README's statement of the rule, a test of the automatic branch, and consistent numbers.
  • On this base, a second review pass by Claude Opus 5.5 led to the follow-up commit. It names
    LEONIDA_WINDOWS_BAR_LINE in the comment, says what happens with -Adapter, rewraps two long comment lines, and regenerates switches.md.

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a: no translator change)

🤖 Generated with Claude Code

Claimed in the coordination issue as: `D3D12-LAUNCHER-WINDOWS-BAR-LARGE-CARDS` (claimed in #2570; #3312 continues that issue) Overlaps: #3035 (open). It changes the same lines of `d3d12/scripts/play-nvidia.ps1` and `d3d12/README.md`, so whichever lands second needs a rebase. The two do not overlap in what they decide: #3035 is about cards under 12 GB, and this one about cards of 20 GB or more. - Base: `main` at 312d88d1d. - Head: `d3d12-launcher-windows-bar-large-cards` at 1b7a99e32. This touches `play-nvidia.ps1` and `tests/test_win_launchers.py`, so per AGENTS.md it asks for @OreoFR's review. ### What and why `play-nvidia.ps1` sets `LEONIDA_WINDOWS_BAR_MB` only on PCs with under 48 GB of RAM. With more, the title's windows of memory (4 to 5.4 GB here) stay in the PC's memory, and the card reads them over the bus. On an RTX 4090 with 64 GB of RAM, that showed as a card 99 % busy at 150 W and 47 C, and as starts that stood at 45 to 52 ms where others stood at 36. The change: a card of 20 GB or more now gets `LEONIDA_WINDOWS_BAR_MB=8192`, whatever the RAM. - `-WindowsBarMB` still overrides it, and 0 turns it off. - Cards under 20 GB keep the rule by RAM. Cards under 6 GB still get no windows. - The runtime's line still decides how many windows go to the card: `LEONIDA_WINDOWS_BAR_LINE`, 80 hundredths of the card's budget unless set. The launcher does not set the line. The cap is 8192 so that the cap is not what stops the windows. - The card's memory is the same `$vram` that `main`'s other rules use: the largest adapter's `HardwareInformation.qwMemorySize`. - The README, the script's help text, `findings.md` and the script's comments say the new rule. ### Measured These measurements were taken before the move, on the earlier head (the same diff on the main of that time). They were not taken again on this base. The setup: RTX 4090 (24 GB, resizable BAR), i9-13900K, 64 GB of RAM, Windows 11, Series X profile, 2560x1440, `-HardwareRT -NoFrameGen`, diag build. The setting is read at the start, so it cannot be switched by turns inside a run. Starts from the same save were taken in turn instead. Starts with the same settings differ on this PC (36 to 52 ms standing at one place over the day), so each start is listed. | | `LEONIDA_WINDOWS_BAR_MB=8192` | 0 | |---|---|---| | standing at one place, median of a frame, each start | 36.2, 36.7, 37.3, 37.1 ms | 45.1, 44.7 ms | | a scripted walk with camera turns of 110 s, median | 45.0, 38.5 ms | 44.6, 52.2 ms | | the walk, frames over 50 ms | 18, 6 % | 30, 73 % | - With 8192, every window lay in card memory the CPU maps and none in the PC's memory alone (the runtime's own log line says so). - What the numbers do not show: seven earlier starts that day with 0 stood at 35 to 43 ms, so 0 is not always slow. What the windows on the card take away is the slow starts. - The walk does not repeat exactly from start to start, so its medians say less than the standing ones. - Pictures of the starts with the windows on the card were looked at, standing and mid-walk: the scene is right. - Another contributor's measurements on a second 24 GB card are in #3312 (https://git.leonida.now/leonida/mandy/issues/3312#issuecomment-8164). On an RTX 3090 with 64 GB of RAM, 8192 against 0 gave -2.4 to -7.9 ms a frame (A B B A) and peaked at 21.4 GB of card memory. - Not tested: a 20 GB card, a 24 GB card of another maker (without GPU upload heaps the runtime says so once and the cap does nothing), and a PC where `-Adapter` picks a smaller card beside one of 20 GB or more. In that last case the smaller card gets the cap too, and the runtime's line, on that card's own budget, is what holds the windows. ### Tested On this branch, on `main` 312d88d1d: - `python -I tests/test_win_launchers.py`: 16 tests OK. - The new test is `test_nvidia_windows_bar_follows_card_memory_then_ram`. - It stubs the card's memory as the registry value and the RAM as the CIM answer, the way `main`'s frame generation test does. - Its cases are: 24 and 20 GB cards (8192, with 64 GB and with 16 GB of RAM); a 16 GB card (3072 with 32 GB of RAM, not set with 64 GB); a 4 GB card (not set); card memory unknown (by RAM); and `-WindowsBarMB 0` and `4096` (these win). - Red and green: with `main`'s `play-nvidia.ps1`, the test fails on the three cases of 20 GB or more (3072 or not set, against 8192). With this branch's script it passes. - `python -m unittest discover -s tests -p "test_docs_*.py"`: 59 tests OK. - `python -I tools/d3d12_switches.py --check d3d12/docs/switches.md`: passes. The file is regenerated with the tool, because the script's comment now names `LEONIDA_WINDOWS_BAR_LINE`. - `python -I scripts/check_no_game_data.py` on the changed files: exit 0. GPUs tested: NVIDIA GeForce RTX 4090, driver 621.24, Windows 11 (CPU: Intel i9-13900K) AI-assisted: yes. Claude Code; Claude Fable 5.2 directing, Claude Opus 5.5 writing and reviewing. - Before the move, a separate read-only reviewer agent (Claude Opus) audited the diff. Its findings are addressed: the README's statement of the rule, a test of the automatic branch, and consistent numbers. - On this base, a second review pass by Claude Opus 5.5 led to the follow-up commit. It names `LEONIDA_WINDOWS_BAR_LINE` in the comment, says what happens with `-Adapter`, rewraps two long comment lines, and regenerates `switches.md`. ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (n/a: no translator change) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
With 48 GB of RAM or more the launcher left LEONIDA_WINDOWS_BAR_MB at 0, so
on an RTX 4090 with 64 GB the title's 4 to 5.4 GB of windows lay in the PC's
memory and the card read them over the bus (99 % busy at 150 W). A card of
20 GB or more now gets up to 8 GB of them whatever the RAM; -WindowsBarMB
still overrides. Standing at one place, starts taken in turn: 36.2 to 37.3 ms
a frame with the windows on the card, 45.1 and 44.7 without.

The test stubs the card's memory as the registry value and the RAM as the
CIM answer, as main's frame generation test does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From a second review on this base: the line that stops the windows is
LEONIDA_WINDOWS_BAR_LINE (80 hundredths of the card's budget unless
set), and $vram is the largest adapter's, so a smaller card picked with
-Adapter beside a large one gets the cap too, held by the line on its
own budget. Two comment lines rewrapped; switches.md regenerated (the
script now names LEONIDA_WINDOWS_BAR_LINE).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From review: the large-card rule compared the card's reported memory
with exactly 20 GiB, but a card reports a little under what it is sold
as (a 12 GB card reports some 12,280 MiB), so a 20 GB card reporting
e.g. 20,470 MiB fell to the rule by RAM and, with 48 GB of RAM or more,
got no windows on the card: the case the rule is for. The test hid it
by stubbing exactly 20 GiB.

The rule now compares with 19 GiB; the comment says why. The test adds
a card of 20,470 MiB, which fails with the old threshold and passes
with the new one. The rule as stated to users (a card of 20 GB or more)
is unchanged. Main's frame generation rule (-lt 20GB) is left as it is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
First-time contributor

A second read-only review of this branch (Claude Opus 5.5), and what changed for it. The head is now 6bcbdc874, with main a9361504a merged in; the hashes in the description are older.

Fixed (ddc481ba9)

  • The rule compared the card's reported memory with exactly 20 GiB, but a card reports a little under what it is sold as (#3035 notes some 12,280 MiB for a 12 GB card). A 20 GB card reporting, say, 20,470 MiB fell to the rule by RAM, and with 48 GB of RAM or more got no windows on the card: the case this change is for. The rule now compares with 19 GiB. What users are told (a card of 20 GB or more) is unchanged.
  • The test stubbed exactly 20 GiB, which hid this. It has a new case, a card of 20,470 MiB. Red: with the threshold back at 20GB that case fails (not set, against 8192). Green with 19 GiB.
  • python -I tests/test_win_launchers.py on the merged head: 17 tests OK.

What the review checked

  • The order is right: an explicit -WindowsBarMB (0 too) wins, then a card of 20 GB or more, then the rule by RAM; a card under 6 GB gets nothing; unknown card memory falls to the rule by RAM.
  • The test copies the real script and replaces only the registry and CIM calls, so it runs the script's own logic.

Corrections to the description

  • With #3035 this conflicts in switches.md as well as in play-nvidia.ps1 and README.md.
  • "The two do not overlap in what they decide" is too strong. #3035 has the runtime judge the card it takes (LEONIDA_WINDOWS_BAR_CARD_MIN_MB), because $vram is the largest adapter's. This change's large-card branch sets no such minimum. So where -Adapter picks a card under 12 GB beside one of 20 GB or more, that card would get the 8 GB cap, which is the case #3035 measured as harmful on a 10 GB card. If #3035 lands first I will rebase and set the minimum in the large-card branch too; if this lands first, that line belongs in #3035's rebase. Tell me which you prefer.
  • Not tested, still: a real 20 GB card (what it reports is taken from the pattern above, not from one).

🤖 Generated with Claude Code

A second read-only review of this branch (Claude Opus 5.5), and what changed for it. The head is now 6bcbdc874, with `main` a9361504a merged in; the hashes in the description are older. **Fixed (ddc481ba9)** - The rule compared the card's reported memory with exactly 20 GiB, but a card reports a little under what it is sold as (#3035 notes some 12,280 MiB for a 12 GB card). A 20 GB card reporting, say, 20,470 MiB fell to the rule by RAM, and with 48 GB of RAM or more got no windows on the card: the case this change is for. The rule now compares with 19 GiB. What users are told (a card of 20 GB or more) is unchanged. - The test stubbed exactly 20 GiB, which hid this. It has a new case, a card of 20,470 MiB. Red: with the threshold back at `20GB` that case fails (not set, against 8192). Green with 19 GiB. - `python -I tests/test_win_launchers.py` on the merged head: 17 tests OK. **What the review checked** - The order is right: an explicit `-WindowsBarMB` (0 too) wins, then a card of 20 GB or more, then the rule by RAM; a card under 6 GB gets nothing; unknown card memory falls to the rule by RAM. - The test copies the real script and replaces only the registry and CIM calls, so it runs the script's own logic. **Corrections to the description** - With #3035 this conflicts in `switches.md` as well as in `play-nvidia.ps1` and `README.md`. - "The two do not overlap in what they decide" is too strong. #3035 has the runtime judge the card it takes (`LEONIDA_WINDOWS_BAR_CARD_MIN_MB`), because `$vram` is the largest adapter's. This change's large-card branch sets no such minimum. So where `-Adapter` picks a card under 12 GB beside one of 20 GB or more, that card would get the 8 GB cap, which is the case #3035 measured as harmful on a 10 GB card. If #3035 lands first I will rebase and set the minimum in the large-card branch too; if this lands first, that line belongs in #3035's rebase. Tell me which you prefer. - Not tested, still: a real 20 GB card (what it reports is taken from the pattern above, not from one). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Collaborator

A read of this branch at 6bcbdc874 and a check on the kind of PC it is for (64 GB of RAM, a 24 GB card), next to EdenBendheim's VERIFY-3413-RTX3090 on a 32 GB PC. This is a plain comment, not a review approval.

What I checked

  • The whole diff: play-nvidia.ps1, the README, findings.md, switches.md and the new test.
  • The order of the rules in the script. A typed -WindowsBarMB wins, 0 included, and -More still comes after it. Next comes a card reported at 19 GiB or more, then the rule by RAM. A card under 6 GB cannot reach the large-card branch. A card whose memory is unknown (0) falls to the rule by RAM, as on main.
  • The launcher's own dry run on this PC, with its real card and RAM read and no stubs (RTX 3090 24 GB, 64 GB of RAM, Windows 11, Windows PowerShell 5.1, no -More, no saved F1 file):
    • this head: LEONIDA_WINDOWS_BAR_MB=8192, with the line saying 24 GB of video memory and up to 8 GB of windows;
    • main (44c480a5f): no LEONIDA_WINDOWS_BAR_MB line, so the runtime's 0.
  • python -I tests/test_win_launchers.py on this head, on Windows 11 with Python 3.13: 17 tests OK, test_nvidia_windows_bar_follows_card_memory_then_ram among them.

Measured on this PC, the case this pull request changes

RTX 3090 24 GB, 64 GB of RAM, NVIDIA 621.40. LEONIDA_WINDOWS_BAR_MB=8192 against 0 (what main gives this PC), A B B A, 600 s runs from one warmed-up save, medians from 150 s:

profile frames a second, 0 → 8192 frame (median) p99
Series X, DLSS quality (960 rendered lines, 2560x1440 out) 26.5 → 32.8 (+24 %) -6.27 ± 0.74 ms -13.7 ms
Series X, 1440 lines held, no DLSS 20.6 → 24.5 (+19 %) -7.86 ± 0.01 ms -11.5 ms

The card was the limit in both arms (97-99 % busy). With 8192, every window went to the card's CPU-mapped memory, and the runtime turned none down at its 80 % line.

Headroom on a 24 GB card

  • With DLSS frame generation 2x on top (Series X, DLSS quality, the 8192 cap, two 600 s runs): the whole card peaked at 21,776 MiB of 24,576 (nvidia-smi), and the process's own dedicated memory at 16,900 MiB. No device was removed and no window was turned down.
  • Without frame generation the peak was 19,171 MiB with DLSS quality and 21,401 MiB at 1440 held. The highest whole-card figure in any of our runs with this cap was 22,653 MiB, in a run with diagnostic switches on.
  • So 2,800 MiB was left with frame generation, and 1,923 MiB in that diagnostic run. Ray tracing and frame generation together were not measured here; your 4090 runs had hardware ray tracing without frame generation.

Gaps I see (none blocks this change)

  • -Adapter. $vram is the largest adapter's, so a smaller card picked next to one of 20 GB or more gets the 8 GB cap too, with only the 80 % line to hold it. #3035 measured on a 10 GB card that this line alone does not keep room for the textures. #3396 (open) makes $vram follow -Adapter and the DXGI #N index. With it the large-card branch would judge the card the runtime takes. Whichever of the two lands second should keep that.
  • Cards of 12 to 19 GB on PCs of 48 GB or more still get no windows. No card-bound measurement exists for them yet. The "no difference" row in findings.md (3072 against 0) was a run where the card worked 68 to 73 ms of a 93 ms frame, so it was not the limit. The 16 GB card where 6144 moved nothing had 4.4 GB taken by other programs. An A B B A on a 16 GB card, card-bound (Series X with DLSS quality), would show whether the 19 GiB line can come down, with #3035's card minimum as the guard.
  • 24 GB headroom. The figures above leave room in every run we did. Still, the 80 % line holds only the windows, not textures that arrive after them. A run with ray tracing and frame generation together would close that question.

AI-assisted: yes (Claude Code, Claude Opus 5.5). The measurements are ours, on the PC above.

A read of this branch at `6bcbdc874` and a check on the kind of PC it is for (64 GB of RAM, a 24 GB card), next to EdenBendheim's VERIFY-3413-RTX3090 on a 32 GB PC. This is a plain comment, not a review approval. **What I checked** - The whole diff: `play-nvidia.ps1`, the README, `findings.md`, `switches.md` and the new test. - The order of the rules in the script. A typed `-WindowsBarMB` wins, 0 included, and `-More` still comes after it. Next comes a card reported at 19 GiB or more, then the rule by RAM. A card under 6 GB cannot reach the large-card branch. A card whose memory is unknown (0) falls to the rule by RAM, as on `main`. - The launcher's own dry run on this PC, with its real card and RAM read and no stubs (RTX 3090 24 GB, 64 GB of RAM, Windows 11, Windows PowerShell 5.1, no `-More`, no saved F1 file): - this head: `LEONIDA_WINDOWS_BAR_MB=8192`, with the line saying 24 GB of video memory and up to 8 GB of windows; - `main` (`44c480a5f`): no `LEONIDA_WINDOWS_BAR_MB` line, so the runtime's 0. - `python -I tests/test_win_launchers.py` on this head, on Windows 11 with Python 3.13: 17 tests OK, `test_nvidia_windows_bar_follows_card_memory_then_ram` among them. **Measured on this PC, the case this pull request changes** RTX 3090 24 GB, 64 GB of RAM, NVIDIA 621.40. `LEONIDA_WINDOWS_BAR_MB=8192` against 0 (what `main` gives this PC), A B B A, 600 s runs from one warmed-up save, medians from 150 s: | profile | frames a second, 0 → 8192 | frame (median) | p99 | |---|---|---|---| | Series X, DLSS quality (960 rendered lines, 2560x1440 out) | 26.5 → 32.8 (+24 %) | -6.27 ± 0.74 ms | -13.7 ms | | Series X, 1440 lines held, no DLSS | 20.6 → 24.5 (+19 %) | -7.86 ± 0.01 ms | -11.5 ms | The card was the limit in both arms (97-99 % busy). With 8192, every window went to the card's CPU-mapped memory, and the runtime turned none down at its 80 % line. **Headroom on a 24 GB card** - With DLSS frame generation 2x on top (Series X, DLSS quality, the 8192 cap, two 600 s runs): the whole card peaked at 21,776 MiB of 24,576 (`nvidia-smi`), and the process's own dedicated memory at 16,900 MiB. No device was removed and no window was turned down. - Without frame generation the peak was 19,171 MiB with DLSS quality and 21,401 MiB at 1440 held. The highest whole-card figure in any of our runs with this cap was 22,653 MiB, in a run with diagnostic switches on. - So 2,800 MiB was left with frame generation, and 1,923 MiB in that diagnostic run. Ray tracing and frame generation together were not measured here; your 4090 runs had hardware ray tracing without frame generation. **Gaps I see (none blocks this change)** - **`-Adapter`.** `$vram` is the largest adapter's, so a smaller card picked next to one of 20 GB or more gets the 8 GB cap too, with only the 80 % line to hold it. #3035 measured on a 10 GB card that this line alone does not keep room for the textures. #3396 (open) makes `$vram` follow `-Adapter` and the DXGI `#N` index. With it the large-card branch would judge the card the runtime takes. Whichever of the two lands second should keep that. - **Cards of 12 to 19 GB on PCs of 48 GB or more** still get no windows. No card-bound measurement exists for them yet. The "no difference" row in `findings.md` (3072 against 0) was a run where the card worked 68 to 73 ms of a 93 ms frame, so it was not the limit. The 16 GB card where 6144 moved nothing had 4.4 GB taken by other programs. An A B B A on a 16 GB card, card-bound (Series X with DLSS quality), would show whether the 19 GiB line can come down, with #3035's card minimum as the guard. - **24 GB headroom.** The figures above leave room in every run we did. Still, the 80 % line holds only the windows, not textures that arrive after them. A run with ray tracing and frame generation together would close that question. AI-assisted: yes (Claude Code, Claude Opus 5.5). The measurements are ours, on the PC above.
First-time contributor

Home RTX 3090 check of current head 6bcbdc874 against main f22b9fa64.

Host: NVIDIA RTX 3090 24 GiB, driver 610.88; Windows 11, Ryzen 9 5900X, 32 GiB RAM. Fresh Rust 1.98.1 diag build with diagnostics,dlss,mimalloc; identical compiled runtime inputs and binary for both exact launcher scripts.

  • Launcher suite: 17 passed. Main-to-candidate large-card regression and the marketed-20-GB threshold mutation were reproduced red, then restored green. Six initial long-temp-path error-format assertion failures also reproduced on exact main; the unchanged 17-test suite passed with short D: temp, without skips (six subtest failures in one method).
  • GPU diagnostics: 877 passed, 60 ignored; explicit depth test: 1 passed with no skip; diagnostics replay: 1 passed. Clean-room scan, switch catalog, 59 documentation tests, compileall and diff checks passed. The full diagnostics process was observed on the physical RTX 3090; the additional depth test's early NVIDIA snapshot did not capture its PID separately.
  • Unchanged stock gates, same profile/memory stops: candidate PASS 305.254 world seconds; main PASS 305.559. Both stock commands and games exited 0, saved cache and were not killed; no runtime ERROR lines detected.

Important limits: both processes reported GPU-upload support unavailable, explicitly said their 8192/3072 MiB caps had no effect, and reported zero card-mapped windows. This is launcher/fallback stability evidence, not active VRAM-window validation or a performance benefit. Candidate had 25/25 near-location marks; main had 5/33 before a late position overwrite. Shared shader history and unequal location/draw history preclude a matched FPS comparison. Neither leg proves 300 seconds continuously at the destination. No visual-correctness approval. The existing selected-smaller-adapter interaction remains outside this host's coverage.

One initial candidate attempt was stopped during loading after its final preflight overlapped launch; zero world seconds, excluded from the completed pair. It is preserved as an operator preparation error, not a runtime failure.

AI-assisted: GPT-6.1 Sol (xhigh), including an independent read-only source/evidence review. This reports launcher/fallback stability only.

Home RTX 3090 check of current head `6bcbdc874` against `main` `f22b9fa64`. Host: NVIDIA RTX 3090 24 GiB, driver 610.88; Windows 11, Ryzen 9 5900X, 32 GiB RAM. Fresh Rust 1.98.1 `diag` build with `diagnostics,dlss,mimalloc`; identical compiled runtime inputs and binary for both exact launcher scripts. - Launcher suite: 17 passed. Main-to-candidate large-card regression and the marketed-20-GB threshold mutation were reproduced red, then restored green. Six initial long-temp-path error-format assertion failures also reproduced on exact main; the unchanged 17-test suite passed with short D: temp, without skips (six subtest failures in one method). - GPU diagnostics: 877 passed, 60 ignored; explicit depth test: 1 passed with no skip; diagnostics replay: 1 passed. Clean-room scan, switch catalog, 59 documentation tests, compileall and diff checks passed. The full diagnostics process was observed on the physical RTX 3090; the additional depth test's early NVIDIA snapshot did not capture its PID separately. - Unchanged stock gates, same profile/memory stops: candidate PASS 305.254 world seconds; main PASS 305.559. Both stock commands and games exited 0, saved cache and were not killed; no runtime ERROR lines detected. Important limits: both processes reported GPU-upload support unavailable, explicitly said their 8192/3072 MiB caps had no effect, and reported zero card-mapped windows. This is launcher/fallback stability evidence, not active VRAM-window validation or a performance benefit. Candidate had 25/25 near-location marks; main had 5/33 before a late position overwrite. Shared shader history and unequal location/draw history preclude a matched FPS comparison. Neither leg proves 300 seconds continuously at the destination. No visual-correctness approval. The existing selected-smaller-adapter interaction remains outside this host's coverage. One initial candidate attempt was stopped during loading after its final preflight overlapped launch; zero world seconds, excluded from the completed pair. It is preserved as an operator preparation error, not a runtime failure. AI-assisted: GPT-6.1 Sol (xhigh), including an independent read-only source/evidence review. This reports launcher/fallback stability only.
Sign in to join this conversation.
No description provided.