NVIDIA launcher: the water's transmission on by default again #2617
Closed
github-bot
wants to merge 6 commits from
github-bot/gh-2617 into main
AGit
pull from: github-bot/gh-2617
merge into: github:main
github:main
github:perf/darner-title-priority-ceiling
github:gh-readonly-queue/main/pr-3311-b5c45b663dbc5a9c3532bb3f307e5f81b32faefa
github:gh-readonly-queue/main/pr-3088-af22e7847ff5808f72d1a1881c24be2fafd20b54
github:gh-readonly-queue/main/pr-3123-7f3fa026a94c6646e89244f28e1ce22290361867
github:gh-readonly-queue/main/pr-3354-637baa0b77ba47222e7280b17c1a59c6a1781d57
github:gh-readonly-queue/main/pr-3365-d7a0e0196a43834813014b4bd3aa5502a8263b14
github:gh-readonly-queue/main/pr-3361-5dfe8bbd05ed12fb2f2e1718d9af77a7c5f46fd8
github:gh-readonly-queue/main/pr-3366-8da9148204e9d12c585efa9ac2b7cc1ab08c7682
github:fix/runtime-test-conservative-fixtures
github:ci/shard-semantic-linux
github:docs/fg-limit-fps-switch
github:fix/runtime-test-fixture-paths
github:fix/runtime-test-fixture-readers
github:fix/read-file-hard-link
github:fix/book-slot-heap-never-read
github:fix/depth-resolve-spv-path
github:fix/indirect-unused-batched
github:gh-pr/3358/base
github:fix/xmem-refusal-diagnostics
github:gh-pr/3357/base
github:ci/shorten-ci-time
github:fix/alias-later-queued-submissions
github:claude/gallant-sagan-aamatr
github:gh-pr/3342/base
github:gh-pr/3341/base
github:d3d12/agility-sdk-621
github:gh-pr/3293/base
github:gh-pr/3319/base
github:gh-pr/3318/base
github:gh-pr/3315/base
github:gh-pr/3313/base
github:gh-pr/3314/base
github:claude/fervent-curie-m19lnr
github:gh-pr/3216/base
github:gh-pr/3272/base
github:gh-pr/3276/base
github:gh-pr/3279/base
github:gh-pr/3257/base
github:gh-pr/3258/base
github:gh-pr/3271/base
github:codex/skip-no-hit-ray-passes
github:gh-pr/3230/base
github:gh-pr/3266/base
github:gh-pr/3247/base
github:gh-pr/3246/base
github:gh-pr/3244/base
github:claude/sharp-sagan-1jqnp3
github:t3/preserve-fsr-sdk-restart-path
github:t3/propagate-host-failure-hresult
github:t3/launcher-custom-parameters
github:t3/series-x-2160-startup
github:codex/d3d12-uncapped-simulation
github:ci/less-to-run
github:perf/native-compute-shader-forms
github:claude/blissful-franklin-ukp7ag
github:codex/full-precompile-default
github:gh-pr/3166/base
github:gh-pr/3148/base
github:gh-pr/3138/base
github:gh-pr/3106/base
github:gh-pr/3057/base
github:gh-pr/2756/base
github:gh-pr/2812/base
github:gh-pr/3032/base
github:gh-pr/2992/base
github:notes/card-time-and-plant-flicker
github:gh-pr/2986/base
github:gh-pr/3000/base
github:gh-pr/2966/base
github:gh-pr/2924/base
github:gh-pr/726/base
github:gh-pr/2761/base
github:gh-pr/2663/base
github:gh-pr/2861/base
github:gh-pr/2862/base
github:gh-pr/2820/base
github:gh-pr/2811/base
github:gh-pr/2803/base
github:rt-call-trace
github:gh-pr/2802/base
github:gh-pr/2766/base
github:perf/ahead-split
github:gh-pr/2589/base
github:gh-pr/2699/base
github:gh-pr/2696/base
github:docs/readme-runtime-proposal
github:gh-pr/1346/base
github:codex/coord-claim-check-20261124-7e48
No reviewers
Labels
Clear labels
accessibility
Barrier affecting people with disabilities
area: ci
.github/ workflows and settings
area: d3d12
The D3D12 runtime in d3d12/ (Rust: leonida.exe and its crates)
area: docs
Documentation
area: launcher
The launcher (launcher/)
area: runtime (legacy)
The earlier Vulkan runtime in runtime/
area: shader translator
The shader translator (leonida-shader, tools/rdna2spirv) and its tests
area: tools
tools/ and scripts/
area: viewer
The map viewer (viewer/)
bug
Something isn't working
dependencies
Pull requests that update a dependency file
documentation
Improvements or additions to documentation
duplicate
This issue or pull request already exists
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
invalid
This doesn't seem right
missing claim
Needs a claim in #14
needs in-game run
Changes the code a frame runs through: needs the 300 s in-game gate (docs/game_gate.md)
needs rebase
Conflicts with the base branch: rebase it on main
needs-triage
Needs maintainer evaluation before the next triage state
question
Further information is requested
ready-for-agent
Fully specified and ready for an AFK agent
submodules
Pull requests that update submodules code
wontfix
This will not be worked on
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
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!2617
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2617"
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?
@kurrutako on GitHub · 2026-11-29 16:58 UTC · original
kurrutako:fix/d3d12-water-tiles-paired→main· +32 −18 · 2 files · 6 commits · closed without mergingClaimed in the coordination issue as: D3D12-WATER-TILES-PAIRED (#2570)
What and why
On NVIDIA,
d3d12/scripts/play-nvidia.ps1drops the water'sCS_TransmissionVolumetricsfamily (five programs). It was dropped for a dark band with blocky fringes near water. With the family dropped:The black blocks the family left came from the water's tile list,
CS_TransmissionVolumetrics_GenerateTiles(1aa247ed3653b616), losing tiles on 32-lane hosts. The first version of this PR named that list inLEONIDA_PAIRED_FOR. #2662 has since fixed it in the translator (loop convergence on 32-lane hosts, on by default). Played on currentmainwith the list not named, there are no blocks. So this PR no longer touchesLEONIDA_PAIRED_FOR.This PR:
LEONIDA_WATER_TRANSMISSION=0drops it as before;LEONIDA_HAIR_SHADOW_MASKS=0dropping the two hair shadow masks. That used to work only while the water was dropped; now it works on its own;docs/findings.md.Tested
Played on Windows 11, RTX 5070 12 GB, NVIDIA 621.01. D3D12 runtime, diag build, Series X profile,
-Resolution 1440, frame generation 2x.main2026-11-29 (eb4773b34)main2026-11-29LEONIDA_WATER_TRANSMISSION=1main2026-11-29LEONIDA_PAIRED_FORmain2026-11-30 (e236b19c6, with #2662) + this PR, the tile list not namedplay-nvidia.ps1 -DryRunon this branch, by case:LEONIDA_WATER_TRANSMISSION=0, the five water programs are skipped too;LEONIDA_HAIR_SHADOW_MASKS=0, the two hair masks are skipped too;LEONIDA_PAIRED_FORismain's.python -I scripts/check_no_game_data.pyon both files: clean.docs/findings.mdhas it under 0.3 ms a frame on an RTX 4060 Ti). Not tried here: Series S, other render scales, or other NVIDIA cards.GPUs tested: NVIDIA GeForce RTX 5070 12 GB, driver 621.01, Windows 11
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: launcher settings only, no translator change)🤖 Generated with Claude Code
@merzleckeier on GitHub · 2026-11-29 17:07 UTC · original
Independent launcher check of
3cc03f816against4364a4fausing PowerShell 7.4.21 on CachyOS, with synthetic Windows CIM responses and no game data. All 32 first-launch checks passed across both revisions, including the Series S 1080p and Series X 1440p wrappers, concurrent water and hair overrides, the legacy RT skip list, and-More. The default paired list retains all 39 existing entries and adds just the water tile list. Both tested configurations also worked with #2612 merged in.The new water opt-out is lost on F1 Save and Restart. I ran the unmodified launcher with
LEONIDA_WATER_TRANSMISSION=0,-NoPrecompileand a stubleonida.exe. The stub inspected the environment it actually inherited from the launcher and replayed the menu's generatedLEONIDA_MENU_PLAYandLEONIDA_MENU_ARGSwith-DryRunappended.The launcher consumes the flag but clears it from the child environment when it applies
$settingsinplay-nvidia.ps1(lines 538–541 on this head). The child PowerShell inherits that environment and recomputes the skip list with water on by default. The two hair skips are also lost on restart, which already happens on main.In a throwaway copy I added
$settings.LEONIDA_WATER_TRANSMISSION = '0'inside the existing water-off branch and did the same for the hair-off flag. The initial and replayed skip lists then matched for defaults, water off, and water plus hair off. This may be enough to preserve the opt-outs across the menu restart.No visual water result or native Windows 5.1 result from this run. AI-assisted with OpenAI Codex (GPT-6).
@fiestorra on GitHub · 2026-11-29 17:21 UTC · original
Verification of what can be checked without the game, plus one thing I could not check and should not pretend to.
Verified here:
Parser::ParseInput, no errors);LEONIDA_PAIRED_FORlist is well formed: 40 keys, no duplicates, every one exactly 16 lowercase hex digits, and the key this change adds(
1aa247ed3653b616) is first;origin/main(4364a4fa6), which is unusual enough among the open pull requests to be worth saying - it applies to today'stree without a rebase.
Not verified: that the key names a program that exists. I tried to confirm it against the translated corpus here
(
work/shaders/spirv/index.json, 55.8 MB) and it is absent - but so are three keys that were already in the list before this change(
02384a60fda6f2d0,339d476c267c03c7,c85cb6bc1cd8e2ad), so my index does not carry these pairing keys at all and the test tells me nothing about yours.The pairing key is evidently not what my
index.jsonis keyed by.So: the mechanical parts are sound, and the claim that this is the water tile list is the author's measurement (RTX 5070, 2026-11-29) and not something I can
re-derive here. Worth having someone with the runtime check that the new key is the program
docs/findings.mdnames, so a typo in a hex string does not travelsilently.
Written with an AI assistant.
@kurrutako on GitHub · 2026-11-29 18:29 UTC · original
@merzleckeier thanks, confirmed and fixed in
17eb12bb5. The water-off branch now also sets$settings.LEONIDA_WATER_TRANSMISSION = '0', and the hair-off branch sets$settings.LEONIDA_HAIR_SHADOW_MASKS = '0', so both reach the environment the F1 restart runs in. This also fixes the hair opt-out loss that was already on main.Checked on Windows PowerShell 5.1 with
-DryRun -NoPrecompile:To simulate the restart, I cleared every
LEONIDA_*variable and set only what the first dry run printed, then ran the launcher again. With both opt-outs set, the restart's skip list matches the first start's (11 programs). This was a dry-run check only; I have not done a real F1 Save and Restart in the game.@fiestorra on the key:
leonida translate --listovershaders.rpf(wave 32) lists1aa247ed3653b616asCS_TransmissionVolumetrics_GenerateTilesin the water shading container. That is the name indocs/findings.md. The list is keyed by the translator's program hash, not by the SPIR-V index of the Vulkan runtime, which probably explains the other three missing keys too.AI-assisted (Claude Code)
@enlight3d on GitHub · 2026-11-29 22:14 UTC · original
RUN (independent run, #2617 head
17eb12bb5, head only: it does not merge with main060c47160. The conflict is ind3d12/scripts/play-nvidia.ps1, where main added two entries to the start of the sameLEONIDA_PAIRED_FORline;d3d12/docs/findings.mdmerges cleanly. No conflict with #2566 headeade9562cpergit merge-tree --write-tree).There is no Rust in this PR (a launcher script and a doc line), so no cargo step applies. The PR adds no test.
Commands (Windows PowerShell 5.1), on the PR head and on its base
4364a4fa6.-Exepoints at an empty placeholder file.-DryRunprints the settings and returns before anything is built or started:play-nvidia.ps1 -Exe <placeholder> -DryRunwith nothing set, withLEONIDA_WATER_TRANSMISSION=0, withLEONIDA_WATER_TRANSMISSION=1, withLEONIDA_HAIR_SHADOW_MASKS=0, and with both at 0. All exit 0.Entries in
LEONIDA_SKIP_PIPELINES, head vs base:LEONIDA_WATER_TRANSMISSION=0adds back on the head). The 4 left are the same set base skips withLEONIDA_WATER_TRANSMISSION=1.LEONIDA_WATER_TRANSMISSION=0: 9 vs 9, the same set as base's default.LEONIDA_HAIR_SHADOW_MASKS=0: 6 vs 11. Base also drops the water family here; the head adds only the 2 hair shadow masks to the 4.LEONIDA_WATER_TRANSMISSION=1: 4 vs 4, the same set.LEONIDA_PAIRED_FORhas one more entry on the head in every case (40 vs 39). Nothing else in it changes.LEONIDA_WATER_TRANSMISSION=0,LEONIDA_HAIR_SHADOW_MASKS=0), so a restart from F1 keeps it. Base passes on neither.This matches the three
-DryRuncases in the PR body. No test can fail here off-game; the base/head comparison above is the check of the behaviour change.Not checked: the picture (the black blocks gone, the water clear) and the frame-time cost of running the family by default. The PR measures neither on this card; findings.md cites under 0.3 ms a frame on an RTX 4060 Ti. Both need the game, which this run did not start; an in-game A/B on an RTX 3090 would cover them.
It needs a rebase on main: a one-line conflict, because both sides add to the start of the same list.
Machine: Windows 11 Pro 26300, i9-13900K, 64 GB, RTX 3090 24 GB, NVIDIA 621.40.
@ItsYusei99 on GitHub · 2026-11-30 00:04 UTC · original
RUN: an independent in-game test on a different card, with this PR's two changes applied by hand to a
mainthat already had the conflictingLEONIDA_PAIRED_FORentries.1aa247ed3653b616went first in the list, andLEONIDA_WATER_TRANSMISSION=1ran the whole family.Setup:
mainatdd87aa405, diag build.Log: the tile list takes the named form and gets its host pipeline:
Only 21 pipelines were rebuilt by the warm-up after the change, out of 93,699.
maindefault)LEONIDA_WATER_TRANSMISSION=1alone926c46bab3b86bd6run (the variant bound under water;5dc3b25986622949and6f225b641c5b0708still dropped)Speed with this PR: 26-34 fps rendered, 78-102 shown with frame generation 3x, both on the surface and under water.
Not seen here: the missing seabed noted in the description. In these dives the sand was drawn everywhere I looked, but that was only around one dock.
AI-assisted (Claude).
@kurrutako on GitHub · 2026-11-30 08:27 UTC · original
Merged
main(e236b19c6) in350eaa728. This resolves the one-line conflict @enlight3d found: main's five new entries keep their place, and the water tile list is still first.LEONIDA_PAIRED_FORnow has 45 entries. The-DryRunskip lists are unchanged: 4 by default, 9 withLEONIDA_WATER_TRANSMISSION=0, and 11 with both opt-outs at 0.@ItsYusei99 thanks for the in-game run on the RTX 4070. On the seabed, our runs differ:
So the missing seabed may depend on the profile or on the output path, not on this change. I haven't tried Series S here. The seabed note in #2570 stays open until someone narrows it down.
AI-assisted (Claude Code)
NVIDIA launcher: the water's tile list in the paired form, its transmission on againto NVIDIA launcher: the water's transmission on by default again@kurrutako on GitHub · 2026-11-30 09:12 UTC · original
Updated in
ced112c10, merged withmain1bb726b30. I dropped the tile list fromLEONIDA_PAIRED_FOR: #2662 fixes it in the translator. To check, I played onmainof this morning (with #2662) plus this branch, with the tile list not named (RTX 5070, Series X, 1440 lines, frame generation 2x). There were no black blocks under the water or seen from above.The seabed is drawn now too. It was missing under the water on yesterday's
main, so the open seabed note on #2570 no longer reproduces here.What's left in this PR: the water's transmission family runs by default again, and both opt-outs (
LEONIDA_WATER_TRANSMISSION=0andLEONIDA_HAIR_SHADOW_MASKS=0) survive the F1 restart. The title and the description are updated.AI-assisted (Claude Code)
@merzleckeier on GitHub · 2026-11-30 09:42 UTC · original
The F1 restart issue I reported earlier is fixed in
ced112c10. I ran a four-arm launcher comparison onmain4014af7fe: main, #2617, #2626 (fcc044cdc), and both PRs together. All four merged cleanly; the combined tree is6207453ac.PowerShell 7.4.21 on CachyOS, synthetic Windows hardware responses and an executable stub. The unmodified launcher started the stub. The stub recorded its inherited environment, wrote an unrelated render-scale setting to the menu file, then replayed the exact
LEONIDA_MENU_PLAYandLEONIDA_MENU_ARGSwith-DryRun. The 120 first-start/restart pairs covered Series S at 1080p and Series X at 1440p, five water/hair settings, and Motion Blur omitted, explicitly off and explicitly on.The tested #2617 head preserved both opt-outs separately and together, including hair off with water explicitly on. All 44 entries in
LEONIDA_PAIRED_FORstayed byte-identical tomainacross every arm and restart, with the water tile entry absent.With both opt-outs set and
-MotionBlurenabled, #2617 alone changed from 7 skipped pipelines to 11 on restart. The combined tree stayed at exactly the same 7 on both starts. With default water/hair and Motion Blur enabled it stayed at 0; with hair alone off and Motion Blur omitted it stayed at 6. The saved render-scale setting was read back in all 120 replays.The two portable launcher tests in the combined tree passed. This was synthetic launcher coverage under PowerShell 7.
AI-assisted: yes (OpenAI Codex).
@MoonEyes on GitHub · 2026-12-01 14:24 UTC · original
The launcher change of this pull request is in
mainsince93e65d91c("launcher: enable water transmission, From #2617", by ubiquitarianism, 14:11 today): all the lines ofd3d12/scripts/play-nvidia.ps1are there. So I am closing it. Whatmaindoes not have: the 5 lines ofd3d12/docs/findings.md. A small docs pull request with them would be welcome. Thank you @kurrutako.Commit:
github.com/ProjectLeonida/mandy@93e65d91cAI-assisted (Claude Code).
@kurrutako on GitHub · 2026-12-02 10:50 UTC · original
@MoonEyes the docs pull request you asked for is open: #3102. It adds the 5 lines of
d3d12/docs/findings.md, unchanged, on currentmain.AI-assisted (Claude Code)
Pull request closed