launcher: say NVIDIA's Shader Cache Size beside the full precompile (LAUNCHER-NVIDIA-CACHE-NOTE) #3166

Manually merged
github merged 1 commit from github-bot/gh-3166 into gh-pr/3166/base 2026-12-02 16:17:35 +00:00 AGit
Owner

@⁠OreoFR on GitHub · 2026-12-02 15:52 UTC · original
OreoFR:feat/launcher-nvidia-cache-note → main · +23 −5 · 2 files · 1 commits · merged 2026-12-02 16:15 UTC

Claimed in the coordination issue as LAUNCHER-NVIDIA-CACHE-NOTE: #2570

What and why

Since #2986, several players have reported shader compiles in the game even after "Precompile every pipeline". The cause is NVIDIA's Shader Cache Size left at its default size: the driver throws part of the precompiled pipelines away, and the game compiles them again while it runs. play-nvidia.ps1 already warns about this, but only as a line in the launcher's output, which players do not read.

  • A visible note under the options, highlighted: "Set NVIDIA's shader cache to Unlimited first: NVIDIA Control Panel > Manage 3D settings > Global Settings > Shader Cache Size > Unlimited > Apply (a global setting, not per program)..."
  • A dialog with the same text when "Precompile every pipeline" is ticked.
  • Grid fix: #3057 added a 12th entry, so the "Check for updates at start" box landed on the Resolution row and was hidden behind its label. The rows after the boxes now follow the number of boxes (len(checks) // 2 + n).

Tested

  • python -I tests/test_leonida_launcher.py: OK. One new test checks that the note names the setting, Unlimited, Global Settings and "not per program".
  • The Settings page was opened and captured on Windows 11 (local, not attached). The note shows under the options, and "Check for updates at start" has its own row again above Resolution.
  • Not clicked through: the dialog on ticking the box.

AI-assisted (oreofr-agent for OreoFR, Claude).

🤖 Generated with Claude Code

**@⁠OreoFR** on GitHub · 2026-12-02 15:52 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3166) `OreoFR:feat/launcher-nvidia-cache-note` → `main` · +23 −5 · 2 files · 1 commits · merged 2026-12-02 16:15 UTC Claimed in the coordination issue as `LAUNCHER-NVIDIA-CACHE-NOTE`: https://git.gtahub.st/github/ubiquitarianism--leonida/issues/2570 ### What and why Since #2986, several players have reported shader compiles in the game even after "Precompile every pipeline". The cause is NVIDIA's **Shader Cache Size** left at its default size: the driver throws part of the precompiled pipelines away, and the game compiles them again while it runs. `play-nvidia.ps1` already warns about this, but only as a line in the launcher's output, which players do not read. - **A visible note** under the options, highlighted: "Set NVIDIA's shader cache to Unlimited first: NVIDIA Control Panel > Manage 3D settings > Global Settings > Shader Cache Size > Unlimited > Apply (a global setting, not per program)..." - **A dialog** with the same text when "Precompile every pipeline" is ticked. - **Grid fix:** #3057 added a 12th entry, so the "Check for updates at start" box landed on the Resolution row and was hidden behind its label. The rows after the boxes now follow the number of boxes (`len(checks) // 2 + n`). ### Tested - `python -I tests/test_leonida_launcher.py`: OK. One new test checks that the note names the setting, `Unlimited`, `Global Settings` and "not per program". - The Settings page was opened and captured on Windows 11 (local, not attached). The note shows under the options, and "Check for updates at start" has its own row again above Resolution. - Not clicked through: the dialog on ticking the box. AI-assisted (oreofr-agent for OreoFR, Claude). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Players reported compiles in the game after "Precompile every pipeline". The
cause was NVIDIA's Shader Cache Size left at its default: the driver throws
part of the precompiled pipelines away. The launcher said so only in a line
of its output.

- A highlighted note under the options names the setting and where it is:
  NVIDIA Control Panel > Manage 3D settings > Global Settings > Shader
  Cache Size > Unlimited. It is a global setting, not per program.
- Ticking "Precompile every pipeline" shows the same note in a dialog.
- The options grid: since the "Check for updates" box (#3057) made 11 boxes,
  the last one shared row 5 with Resolution and was hidden behind it. The
  rows after the boxes now follow their count.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 15:58:09 +00:00
Author
Owner

@⁠OreoFR on GitHub · 2026-12-02 16:04 UTC · original

Merging (oreofr-agent, with OreoFR's written OK as maintainer): head 9d1e8fd30d7c9b1d4017ebf347f21dff2ea6e643, CI green. Launcher and its test only.

**@⁠OreoFR** on GitHub · 2026-12-02 16:04 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3166#issuecomment-7351397075) Merging (oreofr-agent, with OreoFR's written OK as maintainer): head `9d1e8fd30d7c9b1d4017ebf347f21dff2ea6e643`, CI green. Launcher and its test only.
github-bot changed target branch from main to gh-pr/3166/base 2026-12-02 16:16:33 +00:00
github manually merged commit 9d1e8fd30d into gh-pr/3166/base 2026-12-02 16:17:35 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/ubiquitarianism--leonida!3166
No description provided.