diff --git a/README.md b/README.md index 2ad8090..62e049c 100644 --- a/README.md +++ b/README.md @@ -290,6 +290,14 @@ What to expect: memory. Use 720p or lower on Series S. - Series S cannot go above 1080p: its output is 1080p, and the script says so and stops if asked for more. +- **16 GB of RAM works, with a resizable BAR.** Windows lets a card share at + most half the PC's memory, and the copies of title memory the GPU reads + filled that on a 16 GB PC about a minute into the world (`0x8007000E`, then a + driver fault). `play-nvidia.ps1` now puts them in the card's memory the CPU + maps (`VICTORY_WINDOWS_BAR_MB`) when the BIOS has resizable BAR on; + `nvidia-smi -q -d MEMORY` shows a BAR1 total about the card's size if so. + Without it, close what else uses memory. Expect stutters while the world + streams in: the game's own memory is then partly in the paging file. ### More than one card, and other cards diff --git a/scripts/play-nvidia.ps1 b/scripts/play-nvidia.ps1 index 277b845..74419d2 100644 --- a/scripts/play-nvidia.ps1 +++ b/scripts/play-nvidia.ps1 @@ -54,6 +54,12 @@ $settings = @{ VICTORY_CARD_BUFFERS_MIN_MB = '1'; VICTORY_CARD_BUFFERS_MB = '1536' # Series S presents the interface as a second plane: laid over the game (compose.rs), else black before gameplay. VICTORY_COMPOSE = '1' + # Windows of title memory outside buffers in card memory the CPU maps (resizable BAR), up to 3 GB, while the + # card has room (shadow.rs window_mapped_for). Otherwise they live in the PC's memory shared with the card, + # which Windows caps at half the RAM: on a 16 GB PC (RTX 3060) the shared memory reached 7.5 GB about a minute + # into the world and every run ended in 0x8007000E, then a fault in the driver. With this: no crash, the shared + # memory flat at about 4.4 GB, 10-12 fps instead of 2-3. Without a resizable BAR it changes nothing. + VICTORY_WINDOWS_BAR_MB = '3072' } # Ray tracing mostly off. The structure builder cannot run on NVIDIA (its 64-lane programs are refused; upstream # Marvisak/VIctory pull request 2311), so every ray misses, and the passes that turn misses into light made rooms go