Add a 4080 machine profile for 16 GB NVIDIA cards with 8 cores #223
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!223
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-223"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Smoodie7 on GitHub · 2026-11-27 11:00 UTC · original
Smoodie7:feat/machine-4080→main· +18 −2 · 2 files · 3 commits · closed without mergingSplit out of #217. This adds a
-Machine 4080preset for a 16 GB NVIDIA card next to an 8-core CPU, and hasautopick it for that kind of PC only.autogives every NVIDIA PC the 4090 / 16-core thread counts (12/8/6).-Machine 4070matches 8 cores, but it caps card buffer copies at 1536 MB, below the runtime's own 2048 MB default for a 16 GB budget. In #212 the card had 7.5 of 15.3 GB in use.-Safeleaves the budgets out, as it does for 4070.Measured (RTX 4070 Ti SUPER, Ryzen 7 7700, 1080p,
-Console series-s -Dlss quality -FrameGen, warmed cache,measure-frames.ps1 -MinDraws 1001, same boat route):A run against
-Machine 4070and-Machine 4090on the same route, with a gunfight interval, would separate the thread-count effect from the budgets. I can run it on this PC.@TaynanGT on GitHub · 2026-11-27 11:08 UTC · original
@Smoodie7 Start with 4070 versus 4080 on the same warmed route. They share the thread counts, so that pair isolates the card-copy budgets. A second pair can keep the 4080 budgets and vary the threads. Include the gunfight interval, private/shared memory and rendered frame time. For auto-pick, read VRAM from the active adapter’s driver entry so an old registry entry for a removed card can’t select the profile.
The auto-pick scanned every entry under the display class and took the largest NVIDIA memory size, so an entry left by a removed card could select the 4080 profile. It now follows each NVIDIA adapter that Win32_VideoController reports to its own driver key (DEVPKEY_Device_Driver) and reads HardwareInformation.qwMemorySize there. On the RTX 4070 Ti SUPER this resolves to {4d36e968-...}\0001, 16 GB, and auto still picks 4080. Co-Authored-By: Claude Opus 5.5 <[email protected]>@Smoodie7 on GitHub · 2026-11-27 11:20 UTC · original
Done for the auto-pick in
cb29ee6e: it now follows each NVIDIA adapter thatWin32_VideoControllerreports to its own driver key (DEVPKEY_Device_Driver) and readsHardwareInformation.qwMemorySizethere. An entry left by a removed card no longer counts. On this PC it resolves to{4d36e968-…}\0001, 16 GB, andautostill prints "Settings for the 4080".Agreed on the order. First 4070 vs 4080 on the same warmed route, since the thread counts are the same and that isolates the card-copy budgets. Then 4080 budgets with the threads varied. Both will include the boat and gunfight intervals, rendered frame time with sample counts at the same
MinDraws, and private and shared memory with free VRAM. I'll post the tables here.@efsebayern on GitHub · 2026-11-27 11:24 UTC · original
These are the 4070-vs-4080 budget numbers from the 13700K PC. The thread counts are the same in both runs, so only the card-copy budgets differ.
Setup
diagwith--features diagnostics, ata51fb9dplus my fork's PR (VICTORY_NAN_GUARD=clamp, anda10179ab7eda0dc3onVICTORY_WAVE_WIDE_ONLY; nothing that touches the budgets).-Machine 4070. "4080 budgets" is-Machine 4070plusVICTORY_CARD_BUFFERS_MB=3072andVICTORY_CARD_WINDOWS_MB=2048.The low points are streaming spikes in the cutscene. The 4080 budgets show no gain on this PC, if anything they are slightly worse, though that is close to run-to-run noise with one run each. Neither run lost the device.
Earlier, the same PC with the
4090thread counts (12/8/6) ran 17.0 fps without ray tracing and 10.2 with it, against 20.3 and 16.2 for the 8/6/4 counts. So here the thread counts matter and the doubled budgets don't. Ifautogets topology detection viaEfficiencyClass, a 13700K-class CPU would want the 8/6/4 counts, and probably the 4070 budgets.AI-assisted (Claude Code).
@TaynanGT on GitHub · 2026-11-27 11:30 UTC · original
@Smoodie7 The per-device registry lookup resolves the installed 4090 here and keeps it on the 4090 preset with 16 cores. The
-ge 15GBguard would still select 4080 on a 24 GB card paired with eight cores or fewer. Please keep the new preset explicit until we have data to justify the auto range.@efsebayern The 35 samples per run show 18.4 vs. 17.6 median rendered FPS with the same thread counts. That gives us no reason to double the default budgets from this pair. The 8/6/4 comparison is worth repeating on the same warmed route with just the thread counts changed.
@Smoodie7 on GitHub · 2026-11-27 11:36 UTC · original
Done in
dd4d73e3:autois back to its vendor defaults, and-Machine 4080is explicit only (README updated). I agree the data doesn't support an auto range. Thanks @efsebayern for the 13700K pair: with the same thread counts, the doubled budgets show no gain there either.That points to the thread counts, not the budgets, as the real issue for 8-core PCs on
auto, as your 12/8/6 vs 8/6/4 runs show. I'll still run 4070 vs 4080 on my 7700 / 4070 Ti SUPER, same warmed route with a gunfight, to confirm the budgets on a second PC. If that shows no gain either, I'll close this in favour of a thread-count change based on the CPU topology.@TaynanGT on GitHub · 2026-11-27 11:42 UTC · original
@Smoodie7 I checked
dd4d73e:autokeeps its vendor defaults and only-Machine 4080selects the new budgets. The 7700 run with the same thread counts will give us the second budget comparison. If it also sees no gain, a separate topology change will keep the thread-count result easy to interpret.@Smoodie7 on GitHub · 2026-11-27 12:14 UTC · original
4070 vs 4080 on my PC (Ryzen 7 7700, RTX 4070 Ti SUPER 16 GB, driver 621.40, 32 GB). Build
57f31035plus this PR and #224, diagnostics. 1080p output,-Console series-s -Dlss quality -FrameGen, overlay off, warmed caches. Same route both times: cutscenes skipped, boat for about 6 minutes, then an on-foot gunfight. One run each, back to back. Frames fromscripts/measure-frames.ps1 -MinDraws 1001. Thread counts are the same (8/6/4), so only the card-copy budgets differ (1536/1024 vs 3072/2048 MB).So the doubled budgets don't help on this PC either: rendered FPS is lower in both intervals, and the gap is clearest in the gunfight. Private memory is the same, and shared memory drops by only about 0.3 GB. The 4080 run made about 2.6x more card-buffer bytes over the session, which looks like churn rather than room being used. It matches the 13700K pair, and it felt less playable outside the intro, too. The only thing in favour of the 4080 budgets was a somewhat smoother intro. Unless you want the explicit preset kept for testing, I'll close this PR. What's left for 8-core PCs on
autois the thread count (the 12/8/6 vs 8/6/4 gap in efsebayern's runs), which needs CPU topology detection rather than a new preset.Graphics seen in both runs, for triage (the same in 4070 and 4080):
-RayTracingfixes on an RTX 3080) and the moving colour noise in #168. Both runs logno stand-in for the indirect light: missing depth SRV role=Resolveonce, at the first world frames, which is the case covered by #172 / #204 / #206. #205 (VICTORY_AMBIENT_FLAT_REPLACE=1) targets exactly these stray colour flashes. I can test #206, then #205 on top, on this route.5dc3b25986622949,6f225b641c5b0708) are now on the wave-wide list. The two compute programs still refused in every run here area10179ab7eda0dc3and6871d6e4b3ac9a10("no wave32 lowering"). efsebayern's fork already runsa10179ab7eda0dc3onVICTORY_WAVE_WIDE_ONLY. A run with both added would show whether one of them is this water pass.Next, if useful: the two wave64 programs on
VICTORY_WAVE_WIDE_ONLYon the same route, then #206 / #205 for the foliage.@TaynanGT on GitHub · 2026-11-27 12:19 UTC · original
@Smoodie7 I’d close this preset PR. Both machines show the doubled budgets failing to improve the late route, and on the 7700 the gunfight median is 14.6 vs. 12.5 rendered FPS. CPU topology is a separate change. For the foliage comparison, use #206 alone first and add the probe replacement in a separate pass. Keep the existing shader allow-list for that comparison while we identify which stage owns the water artifacts.
@Smoodie7 on GitHub · 2026-11-27 12:38 UTC · original
Agreed, closing. The doubled budgets don't improve the late route on either machine. CPU topology for
autowill be a separate change. I'll do the foliage comparison with #206 alone first, then the probe replacement as a separate pass, keeping the current shader allow-list. A summary of today's last runs (including an all-on ray-tracing run) is in #212.@TaynanGT on GitHub · 2026-11-27 12:41 UTC · original
@Smoodie7 Closing matches the two budget comparisons. The topology change can keep the current card budgets so the thread-count result has a clear control.
Pull request closed