diff options
| author | ubiquitarianism <283527159+ubiquitarianism@users.noreply.github.com> | 2026-12-02 11:31:59 -0500 |
|---|---|---|
| committer | ubiquitarianism <283527159+ubiquitarianism@users.noreply.github.com> | 2026-12-02 11:31:59 -0500 |
| commit | 0413012fac8510805db75e5c5e8e73573bbcbfa0 (patch) | |
| tree | f2aab5f8b35a6df2aea26c3bc62f3050cc225091 | |
| parent | e71aa0ef150f286c288d79245e6f419018d6a0f8 (diff) | |
Explain host memory use during full pipeline warm-upcodex/full-precompile-default
| -rw-r--r-- | d3d12/README.md | 3 | ||||
| -rw-r--r-- | d3d12/scripts/play-nvidia.ps1 | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/d3d12/README.md b/d3d12/README.md index d33bd9aff..b13e0aa3d 100644 --- a/d3d12/README.md +++ b/d3d12/README.md | |||
| @@ -70,7 +70,8 @@ measurements and what is still wrong in the picture are in the [top-level README | |||
| 70 | 70 | ||
| 71 | `scripts/play-d3d12.ps1` (through `d3d12/scripts/play-nvidia.ps1`) defaults to full precompilation before starting | 71 | `scripts/play-d3d12.ps1` (through `d3d12/scripts/play-nvidia.ps1`) defaults to full precompilation before starting |
| 72 | the title. `-PrecompileUsed` limits the warm-up to pipelines earlier runs drew with. `-NoPrecompile` skips both | 72 | the title. `-PrecompileUsed` limits the warm-up to pipelines earlier runs drew with. `-NoPrecompile` skips both |
| 73 | stages. The first full warm-up can take an hour or more. On NVIDIA, set Shader Cache Size to Unlimited. | 73 | stages. The first full warm-up can take an hour or more. Parallel compiler processes can use several GB of system |
| 74 | RAM. On NVIDIA, set Shader Cache Size to Unlimited. | ||
| 74 | 75 | ||
| 75 | 1. `leonida shaders <the title's shaders.rpf>` translates every shader into the cache with the settings of this | 76 | 1. `leonida shaders <the title's shaders.rpf>` translates every shader into the cache with the settings of this |
| 76 | start. That takes minutes the first time and after a change of the translator or of a setting a translation | 77 | start. That takes minutes the first time and after a change of the translator or of a setting a translation |
diff --git a/d3d12/scripts/play-nvidia.ps1 b/d3d12/scripts/play-nvidia.ps1 index fbd27bc9c..4d5f5699a 100644 --- a/d3d12/scripts/play-nvidia.ps1 +++ b/d3d12/scripts/play-nvidia.ps1 | |||
| @@ -915,6 +915,7 @@ if (-not $NoPrecompile) { | |||
| 915 | } else { | 915 | } else { |
| 916 | Write-Host 'Precompiling every pipeline recorded in earlier runs ...' | 916 | Write-Host 'Precompiling every pipeline recorded in earlier runs ...' |
| 917 | Write-Host ' The first full warm-up can take an hour or more. On NVIDIA, set Shader Cache Size to Unlimited.' | 917 | Write-Host ' The first full warm-up can take an hour or more. On NVIDIA, set Shader Cache Size to Unlimited.' |
| 918 | Write-Host ' Parallel compilers can use several GB of system RAM. Use -PrecompileUsed for a smaller warm-up.' | ||
| 918 | } | 919 | } |
| 919 | $gone = @() | 920 | $gone = @() |
| 920 | if ($dxNoted -and (Test-Path $dxNoted)) { | 921 | if ($dxNoted -and (Test-Path $dxNoted)) { |