mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 08:38:36 +00:00
d3d12 play-nvidia: frame generation with ray tracing on Series X from 20 GB of video memory, not 12
A player's RTX 5080 (16 GB), Series X, hardware RT, DLSS quality, frame generation 2x with LEONIDA_FG_WITH_RT=1, 7 minutes: frames generated, then about 5 minutes in the process passed the card's budget (13.0 of 12.95 GB, up to 14.2), Streamline reported eWarnOutOfVRAM and frames over 100 ms went from 8-15 to 46-53 a minute. A 3090 reached 18.6 GB on the same profile. 20 GB is just above: 16 GB cards keep it on Series S, and on Series X with LEONIDA_FG_WITH_RT=1. The dry-run test gains a 24 GB case; 16 GB on Series X is now off (fails at 12 GB). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -153,8 +153,9 @@ It has not been measured by the maintainer.
|
||||
were nearly black from 2026-11-27 because that stand-in had stopped running; it runs again since 2026-11-28
|
||||
([details](d3d12/docs/fork-ray-tracing.md)).
|
||||
- **Water is darker** than on the console: the transmission-volumetrics programs are left out.
|
||||
- **Ray tracing and frame generation together need video memory**: on the Series X profile with under 12 GB the
|
||||
play script leaves frame generation off with ray tracing (an 8 GB card ran out of it); elsewhere they run together.
|
||||
- **Ray tracing and frame generation together need video memory**: on the Series X profile with under 20 GB the
|
||||
play script leaves frame generation off with ray tracing (an 8 GB card ran out of it at once, a 16 GB one after about
|
||||
5 minutes); on Series S they run together, and `LEONIDA_FG_WITH_RT=1` forces it on Series X.
|
||||
- **A short stutter the first time a place is seen**, while its pipelines are made. The precompile at start makes
|
||||
only the pipelines earlier sessions drew with, so a first session, and the first drive into a new part of the
|
||||
map, stutter the most.
|
||||
|
||||
@ -27,7 +27,8 @@ dakisback2 ecc49d5b and 72f8316a), GPL-3.0, and fitted to this tree:
|
||||
console lanes) is not lifted. The structure is bound as root SRV `t230..t241`.
|
||||
- the light stand-in (`LEONIDA_AMBIENT`) stands aside and the passes left out without structures run, as with the
|
||||
title's builder. Frame generation runs with it, as with `-RayTracing`, except on the Series X profile with under
|
||||
12 GB of video memory, where the play script leaves it off (`play-nvidia.ps1`).
|
||||
20 GB of video memory, where the play script leaves it off (`play-nvidia.ps1`: a 16 GB card passed its budget
|
||||
after about 5 minutes there, a 24 GB one peaked at 18.6 GB).
|
||||
- the log has, per ray-tracing program, "ray queries lifted N of M ..., fell back: <reason>", and every 5 s
|
||||
"ray queries: lifted shaders N, partly N, fell back N (software)" and "hardware RT: BLAS live ...".
|
||||
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
# -PresentScale fit (the 16:9 picture centred, black bars beside it: the default with -Aspect) or stretch
|
||||
# -Quality fewer stretched/jumping bodies, slower (relay stage 1, no card steps)
|
||||
# -RayTracing the title's real ray tracing (the structure builder runs). Shaders build for minutes the
|
||||
# first time. Frame generation runs with it, except on the Series X profile with under 12 GB of
|
||||
# first time. Frame generation runs with it, except on the Series X profile with under 20 GB of
|
||||
# video memory (below).
|
||||
# -HardwareRT a trial: the title's rays on the card's ray-tracing cores (DXR 1.1, LEONIDA_HW_RT=1), in place of
|
||||
# -RayTracing. The ray-tracing shaders are translated again the first time. Frame generation as with
|
||||
@ -673,7 +673,7 @@ if ($console -eq 'series-s' -and $menu['LEONIDA_UPSCALE'] -eq 'dlss' -and $setti
|
||||
$settings.Remove('LEONIDA_RENDER_SCALE')
|
||||
}
|
||||
# Leonida: frame generation (DLSS's and FSR 3's) runs with ray tracing, software (LEONIDA_BVH_BUILDER) or on the
|
||||
# card's ray-tracing cores (LEONIDA_HW_RT), except on the Series X profile with under 12 GB of video memory, where it
|
||||
# card's ray-tracing cores (LEONIDA_HW_RT), except on the Series X profile with under 20 GB of video memory, where it
|
||||
# is left off. It was left off with ray tracing everywhere ("0.1 frames a second", a measure of the software walk
|
||||
# from before this renderer). RTX 4070 Laptop, 8 GB, main 45dc41f95 (2026-12-02), walking 240 s, one run each:
|
||||
# Series S, -HardwareRT -FrameGen 2: 21 frames rendered and 43 shown once warm, frames generated; Series S,
|
||||
@ -682,20 +682,23 @@ if ($console -eq 'series-s' -and $menu['LEONIDA_UPSCALE'] -eq 'dlss' -and $setti
|
||||
# A player's 16 GB card on the Series X profile with -HardwareRT -Dlss quality -FrameGen 2: no out-of-memory warning,
|
||||
# frames generated part of the time. An RTX 3090 24 GB (#3182, MFG unlocker): frames generated from about 10 s into
|
||||
# the world on both profiles, the process at most 14.4 GB of the card's memory on Series X and 10.6 GB on Series S.
|
||||
# 12 GB is a guess between the 8 GB card that ran out and the 16 GB one that did not: 10 to 12 GB cards are untested
|
||||
# (the runtime sizes part of its memory by the card's budget, so the 24 GB card's 14.4 GB is not what a 12 GB card
|
||||
# needs). This start, Series S -HardwareRT -FrameGen 2 with no -More on this script (8 GB card, 300 s walking): 22-24
|
||||
# The same player's 7-minute run (RTX 5080 16 GB, Series X, -HardwareRT -Dlss quality -FrameGen 2, LEONIDA_FG_WITH_RT=1,
|
||||
# 2026-12-02): frames generated, then about 5 minutes in the process passed the card's budget (13.0 GB of 12.95, up
|
||||
# to 14.2 GB), Streamline reported eWarnOutOfVRAM and frames over 100 ms went from 8-15 to 46-53 a minute. The 3090's
|
||||
# Series X run with the unlocker reached 18.6 GB (#3182). Hence 20 GB, just above it: 16 GB cards keep frame
|
||||
# generation with ray tracing on Series S, and on Series X only with LEONIDA_FG_WITH_RT=1. Two cards, one run each.
|
||||
# This start, Series S -HardwareRT -FrameGen 2 with no -More on this script (8 GB card, 300 s walking): 22-24
|
||||
# rendered and 45-48 shown, frames generated, no device lost. LEONIDA_FG_WITH_RT tells the runtime's own guard
|
||||
# (fg.rs) to start it with ray tracing: -More @{LEONIDA_FG_WITH_RT='1'} keeps it on the Series X profile under
|
||||
# 12 GB too, '0' leaves it off.
|
||||
# 20 GB too, '0' leaves it off.
|
||||
$rayTracing = $settings.LEONIDA_BVH_BUILDER -eq '1' -or $settings.LEONIDA_HW_RT -eq '1'
|
||||
$fgWanted = $settings.LEONIDA_FRAME_GEN -or $settings.LEONIDA_FSR_FRAMEGEN -eq '1'
|
||||
if ($rayTracing -and $fgWanted) {
|
||||
if ($settings.LEONIDA_FG_WITH_RT -eq '0') {
|
||||
Write-Host 'Ray tracing is on and LEONIDA_FG_WITH_RT=0: frame generation is left off.'
|
||||
$settings.Remove('LEONIDA_FRAME_GEN'); $settings.Remove('LEONIDA_FSR_FRAMEGEN')
|
||||
} elseif ($settings.LEONIDA_FG_WITH_RT -ne '1' -and $console -eq 'series-x' -and $vram -gt 0 -and $vram -lt 12GB) {
|
||||
Write-Host "Ray tracing on the Series X profile with under 12 GB of video memory: frame generation is left off (it runs out of video memory there); -More @{LEONIDA_FG_WITH_RT='1'} turns it on anyway."
|
||||
} elseif ($settings.LEONIDA_FG_WITH_RT -ne '1' -and $console -eq 'series-x' -and $vram -gt 0 -and $vram -lt 20GB) {
|
||||
Write-Host "Ray tracing on the Series X profile with under 20 GB of video memory: frame generation is left off (it runs out of video memory there after a few minutes); -More @{LEONIDA_FG_WITH_RT='1'} turns it on anyway."
|
||||
$settings.Remove('LEONIDA_FRAME_GEN'); $settings.Remove('LEONIDA_FSR_FRAMEGEN')
|
||||
} else {
|
||||
$settings.LEONIDA_FG_WITH_RT = '1'
|
||||
|
||||
@ -147,7 +147,7 @@ $options = @{
|
||||
@unittest.skipUnless(POWERSHELL, "requires PowerShell")
|
||||
def test_nvidia_frame_generation_with_ray_tracing(self) -> None:
|
||||
"""Frame generation with hardware ray tracing: kept (and LEONIDA_FG_WITH_RT=1 set for the runtime's guard)
|
||||
except on the Series X profile under 12 GB of video memory; -More LEONIDA_FG_WITH_RT=1 keeps it there too,
|
||||
except on the Series X profile under 20 GB of video memory; -More LEONIDA_FG_WITH_RT=1 keeps it there too,
|
||||
and LEONIDA_FG_WITH_RT=0 leaves it off anywhere. The card's memory is a stubbed registry value."""
|
||||
with tempfile.TemporaryDirectory() as td:
|
||||
root = Path(td)
|
||||
@ -198,6 +198,7 @@ function Show-Case([string]$name, [uint64]$memory, [hashtable]$extra) {
|
||||
Show-Case 'S-8' 8GB @{}
|
||||
Show-Case 'X-8' 8GB @{ SeriesX = $true }
|
||||
Show-Case 'X-16' 16GB @{ SeriesX = $true }
|
||||
Show-Case 'X-24' 24GB @{ SeriesX = $true }
|
||||
Show-Case 'X-8-unlocked' 8GB @{ SeriesX = $true; More = @{ LEONIDA_FG_WITH_RT = '1' } }
|
||||
Show-Case 'S-8-off' 8GB @{ More = @{ LEONIDA_FG_WITH_RT = '0' } }
|
||||
Show-Case 'X-unknown' 0 @{ SeriesX = $true }
|
||||
@ -213,9 +214,10 @@ Show-Case 'X-unknown' 0 @{ SeriesX = $true }
|
||||
cases = dict(line.split(" ", 2)[1:] for line in result.stdout.splitlines() if line.startswith("CASE "))
|
||||
self.assertEqual(cases, {
|
||||
"S-8": "fg=2 with_rt=1", # Series S: kept, the runtime's guard told
|
||||
"X-8": "fg= with_rt=", # Series X under 12 GB: left off
|
||||
"X-16": "fg=2 with_rt=1", # Series X with 12 GB or more: kept
|
||||
"X-8-unlocked": "fg=2 with_rt=1", # -More LEONIDA_FG_WITH_RT=1 keeps it under 12 GB
|
||||
"X-8": "fg= with_rt=", # Series X under 20 GB: left off
|
||||
"X-16": "fg= with_rt=", # 16 GB too (it passed its budget after about 5 minutes)
|
||||
"X-24": "fg=2 with_rt=1", # Series X with 20 GB or more: kept
|
||||
"X-8-unlocked": "fg=2 with_rt=1", # -More LEONIDA_FG_WITH_RT=1 keeps it under 20 GB
|
||||
"S-8-off": "fg= with_rt=0", # LEONIDA_FG_WITH_RT=0 leaves it off
|
||||
"X-unknown": "fg=2 with_rt=1", # memory unknown (0): not held back
|
||||
}, result.stdout + result.stderr)
|
||||
|
||||
Reference in New Issue
Block a user