NVIDIA launcher: the water's transmission on by default again #2617
Closed
leonida/mandy
kurrutako wants to merge 0 commits from
fix/d3d12-water-tiles-paired into main
pull from: fix/d3d12-water-tiles-paired
merge into: leonida:main
leonida:main
leonida:github-pr/3295
leonida:beta
leonida:docs/changelog-3483-3500
leonida:github-pr/3294
leonida:github-pr/2975
leonida:github-pr/2815
leonida:feat/gate-driver-start
leonida:feat/skip-pipelines-release
leonida:perf/lazy-compare
leonida:perf/mwaitx-wait
leonida:test/prio-ceiling-main
leonida:fix/ab-cpu-stdout
leonida:fix/gate-old-crashes
leonida:diag/ab-cpu
leonida:test/main-0312
leonida:github-pr/3291
leonida:diag/indirect-clamp-census
leonida:feat/barrier-enhanced
leonida:perf/texture-frame-ceiling
leonida:perf/dstorage-threads
leonida:fix/console-queue-dma-tables
leonida:fix/port-descriptors-record-parts
leonida:fix/frame-waits-fence
leonida:fix/console-sampler-words
leonida:fix/graphics-userdata-spill
leonida:fix/xg-reserved-layout-rotation
leonida:fix/barrier-console-flags
leonida:fix/switches-wait-test-child
leonida:test/list-value-waits
leonida:test/lot-gxdk-0412
leonida:fix/bvh-compacted-size
leonida:docs/i18n-quickstarts
leonida:feat/native-pipeline-slots
leonida:fix/clippy-leonida-gpu
leonida:fix/list-value-producers
leonida:fix/descriptor-page-straddle
leonida:fix/xmem-low-window
leonida:fix/ffx-jitter-never-zero
leonida:fix/run-stdout-closed
leonida:github-pr/2892
leonida:github-pr/2896
leonida:feat/warm-save-every
leonida:github-pr/2980
leonida:github-pr/2994
leonida:github-pr/3005
leonida:github-pr/3010
leonida:github-pr/3136
leonida:github-pr/3303
leonida:github-pr/3220
leonida:github-pr/3143
leonida:github-pr/3330
leonida:github-pr/3226
leonida:github-pr/3187
leonida:carry/3395
leonida:github-pr/2946
leonida:github-pr/2947
leonida:github-pr/2945
leonida:github-pr/2983
leonida:github-pr/3001
leonida:github-pr/3372
leonida:github-pr/3128
leonida:github-pr/3296
leonida:github-pr/2588
leonida:github-pr/3119
leonida:github-pr/3378
leonida:fix/crash-diagnostics
leonida:feat/dlss-mip-bias
leonida:fix/retired-out-of-order
leonida:fix/dxr-postbuild-barrier
leonida:fix/amd-relay-default
leonida:fix/removed-report-wait
leonida:feat/heap-twin
leonida:feat/vram-margin
leonida:github-pr/2472
leonida:github-pr/3123
leonida:github-pr/3088
leonida:assets/annonce-v1
leonida:github-pr/2794
leonida:github-pr/3300
leonida:github-pr/3304
leonida:github-pr/3308
leonida:github-pr/3367
leonida:github-pr/3369
leonida:fix/launcher-dlss-diagnostics
leonida:github-pr/3269
leonida:github-pr/2957
leonida:github-pr/3205
leonida:fix/crash-zero-guard
leonida:github-pr/3185
leonida:github-pr/3099
leonida:github-pr/3104
leonida:github-pr/3348
leonida:github-pr/3379
leonida:github-pr/3377
leonida:perf/darner-title-priority-ceiling
leonida:github-pr/3376
leonida:gh-readonly-queue/main/pr-3311-b5c45b663dbc5a9c3532bb3f307e5f81b32faefa
leonida:gh-readonly-queue/main/pr-3088-af22e7847ff5808f72d1a1881c24be2fafd20b54
leonida:gh-readonly-queue/main/pr-3123-7f3fa026a94c6646e89244f28e1ce22290361867
leonida:github-pr/3373
leonida:github-pr/3368
leonida:github-pr/3198
leonida:gh-readonly-queue/main/pr-3354-637baa0b77ba47222e7280b17c1a59c6a1781d57
leonida:gh-readonly-queue/main/pr-3365-d7a0e0196a43834813014b4bd3aa5502a8263b14
leonida:gh-readonly-queue/main/pr-3361-5dfe8bbd05ed12fb2f2e1718d9af77a7c5f46fd8
leonida:gh-readonly-queue/main/pr-3366-8da9148204e9d12c585efa9ac2b7cc1ab08c7682
leonida:github-pr/3346
leonida:github-pr/3375
leonida:github-pr/2958
leonida:github-pr/3151
leonida:github-pr/3307
leonida:github-pr/3278
leonida:github-pr/3374
leonida:fix/runtime-test-conservative-fixtures
leonida:github-pr/3366
leonida:ci/shard-semantic-linux
leonida:github-pr/3354
leonida:docs/fg-limit-fps-switch
leonida:github-pr/3365
leonida:fix/read-file-hard-link
leonida:github-pr/3364
leonida:fix/book-slot-heap-never-read
leonida:github-pr/3361
leonida:github-pr/3263
leonida:github-pr/3360
leonida:github-pr/3353
leonida:github-pr/3331
leonida:fix/alias-later-queued-submissions
leonida:github-pr/3352
leonida:github-pr/3228
leonida:github-pr/3349
leonida:claude/gallant-sagan-aamatr
leonida:github-pr/3200
leonida:github-pr/3132
leonida:github-pr/3323
leonida:github-pr/3332
leonida:github-pr/3340
leonida:github-pr/3311
leonida:github-pr/3334
leonida:github-pr/3297
leonida:github-pr/3256
leonida:github-pr/2567
leonida:github-pr/2851
leonida:d3d12/agility-sdk-621
leonida:github-pr/3164
leonida:github-pr/3114
leonida:github-pr/3050
leonida:github-pr/3113
leonida:github-pr/3326
leonida:github-pr/3144
leonida:github-pr/2642
leonida:github-pr/3072
leonida:github-pr/2789
leonida:github-pr/2643
leonida:github-pr/3009
leonida:github-pr/3035
leonida:github-pr/3031
leonida:github-pr/2686
leonida:github-pr/2834
leonida:github-pr/3321
leonida:github-pr/3325
leonida:github-pr/3290
leonida:github-pr/3324
leonida:github-pr/3130
leonida:claude/fervent-curie-m19lnr
leonida:github-pr/3309
leonida:github-pr/3305
leonida:github-pr/3306
leonida:github-pr/3302
leonida:github-pr/3301
leonida:github-pr/3345
leonida:github-pr/3211
leonida:github-pr/3027
leonida:github-pr/3286
leonida:github-pr/3235
leonida:github-pr/3265
leonida:github-pr/3275
leonida:codex/skip-no-hit-ray-passes
leonida:github-pr/2823
leonida:github-pr/2911
leonida:github-pr/3262
leonida:github-pr/3125
leonida:github-pr/3206
leonida:github-pr/3250
leonida:github-pr/3238
leonida:github-pr/3188
leonida:github-pr/2952
leonida:github-pr/3217
leonida:github-pr/3168
leonida:t3/preserve-fsr-sdk-restart-path
leonida:t3/propagate-host-failure-hresult
leonida:github-pr/3209
leonida:t3/launcher-custom-parameters
leonida:github-pr/3207
leonida:github-pr/3183
leonida:github-pr/3160
leonida:github-pr/3201
leonida:ci/less-to-run
leonida:github-pr/2930
leonida:github-pr/2797
leonida:github-pr/2999
leonida:perf/native-compute-shader-forms
leonida:github-pr/3191
leonida:github-pr/3011
leonida:github-pr/3019
leonida:github-pr/2996
leonida:gh-readonly-queue/main/pr-2789-45dc41f95c1cd0dcc29c2c50582e0e9af8a77259
leonida:claude/blissful-franklin-ukp7ag
leonida:github-pr/3141
leonida:github-pr/3156
leonida:github-pr/3150
leonida:github-pr/3153
leonida:github-pr/3163
leonida:github-pr/3142
leonida:github-pr/3139
leonida:github-pr/2841
leonida:github-pr/3069
leonida:github-pr/3098
leonida:github-pr/3107
leonida:github-pr/3071
leonida:github-pr/2774
leonida:github-pr/2889
leonida:github-pr/3075
leonida:github-pr/2661
leonida:github-pr/3064
leonida:github-pr/3054
leonida:github-pr/3049
leonida:github-pr/2855
leonida:github-pr/2943
leonida:github-pr/3016
leonida:github-pr/2887
leonida:github-pr/3006
leonida:github-pr/3003
leonida:github-pr/2993
leonida:notes/card-time-and-plant-flicker
leonida:github-pr/2989
leonida:feat/vulkan-rs
leonida:github-pr/2985
leonida:github-pr/2951
leonida:github-pr/2982
leonida:github-pr/752
leonida:github-pr/792
leonida:github-pr/2877
leonida:github-pr/2654
leonida:github-pr/2893
leonida:github-pr/2948
leonida:github-pr/2944
leonida:github-pr/2919
leonida:github-pr/2915
leonida:archive/ci/less-to-run/20261202T1121Z
leonida:github-pr/2800
leonida:github-pr/2822
leonida:github-pr/2833
leonida:github-pr/2840
leonida:github-pr/2831
leonida:github-pr/2832
leonida:github-pr/2801
leonida:github-pr/2890
leonida:github-pr/2891
leonida:github-pr/2664
leonida:github-pr/2807
leonida:rt-call-trace
leonida:github-pr/2755
leonida:perf/ahead-split
leonida:github-pr/2587
leonida:github-pr/2698
leonida:github-pr/2609
leonida:github-pr/3219
leonida:docs/readme-runtime-proposal
leonida:github-pr/2017
leonida:github-pr/1741
leonida:github-pr/1667
leonida:codex/coord-claim-check-20261124-7e48
No reviewers
Assignees
Clear assignees
No assignees
Labels
Clear labels
bug
Something isn't working
dependencies
Pull requests that update a dependency file
documentation
Improvements or additions to documentation
enhancement
New feature or request
missing claim
Needs a claim in #14
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
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
Projects
Clear projects
No items
No project
Milestone
Clear milestone
No items
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Reference
leonida/mandy!2617
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/d3d12-water-tiles-paired"
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?
Pull request closed
This pull request cannot be reopened because the branch was deleted.
Claimed in the coordination issue as: D3D12-WATER-TILES-PAIRED (https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7259311450)
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
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).
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.
@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)
RUN (independent run, #2617 head 17eb12bb5, head only: it does not merge with main 060c47160. The conflict is in
d3d12/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 head eade9562c pergit 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.
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).
Merged
main(e236b19c6) in 350eaa728. 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)
Updated in ced112c10, merged with
main1bb726b30. 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)
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).
The launcher change of this pull request is in
mainsince 93e65d91c ("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).
@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)