From 3cc03f816469e57cbd16e4f37de7f3079a263ba3 Mon Sep 17 00:00:00 2001 From: kurrutako Date: Sun, 29 Nov 2026 17:57:34 +0100 Subject: [PATCH 1/3] NVIDIA launcher: the water's tile list in the paired form, its transmission on again CS_TransmissionVolumetrics_GenerateTiles (1aa247ed3653b616) in its own form left 8 x 8 groups of the volumetrics' output unwritten at random: black blocks that moved over the water. Named in LEONIDA_PAIRED_FOR, none on an RTX 5070. With that, the CS_TransmissionVolumetrics family runs by default again (dropped, the water is opaque from above and the scene is lost under it); LEONIDA_WATER_TRANSMISSION=0 drops it as before, LEONIDA_HAIR_SHADOW_MASKS=0 still drops the hair shadow masks. Co-Authored-By: Claude Opus 5.5 --- d3d12/docs/findings.md | 3 +++ d3d12/scripts/play-nvidia.ps1 | 42 +++++++++++++++++++---------------- 2 files changed, 26 insertions(+), 19 deletions(-) diff --git a/d3d12/docs/findings.md b/d3d12/docs/findings.md index e4bb03a2f8..b5b11a094f 100644 --- a/d3d12/docs/findings.md +++ b/d3d12/docs/findings.md @@ -400,6 +400,9 @@ card. It does not take the two programs of 256 threads (`CS_AlphTransmissionPref `...DepthTileGenerationMip1`: its host waves would have to meet), which keep their form. For the water: `...GenerateTiles` named, with `LEONIDA_WATER_TRANSMISSION=1` in the window's environment so that the family runs. +Done (RTX 5070, 2026-11-29): in its own form the tile list left 8 x 8 groups of the volumetrics' output +unwritten at random, black blocks that moved over the water from frame to frame; named, none. The launcher +now names it and runs the family by default (`LEONIDA_WATER_TRANSMISSION=0` drops it). **Every compute program of that run by form, and the approximate ones by name (2026-11-27).** `translate_cdxil --census` with `LEONIDA_WAVE_WHY=1` (the host settings of diff --git a/d3d12/scripts/play-nvidia.ps1 b/d3d12/scripts/play-nvidia.ps1 index 98ee14b1c6..4b7a9eb0a4 100644 --- a/d3d12/scripts/play-nvidia.ps1 +++ b/d3d12/scripts/play-nvidia.ps1 @@ -199,7 +199,10 @@ $settings = @{ # CS_DefragHeap_Defrag c042a10ed3428758, _RelocateAllocations c85cb6bc1cd8e2ad and _PostDefrag c80d02ddc38ef279, # which copy overlapping blocks of 1 KB a pass: in 32-lane halves one half stored over what the other had not read # yet (white blotches there). Named, they take the paired form before their own translation. - LEONIDA_PAIRED_FOR = '02384a60fda6f2d0,339d476c267c03c7,39998898c90889b2,c042a10ed3428758,c85cb6bc1cd8e2ad,c80d02ddc38ef279,be6ce5d849d51127,922e1d0ee1e19a85,1f1fbd86759b3da2,0ffd3b911e35e7d0,71883e40620a567a,3c9d23fa83d63d43,4031c6c05fa7ec48,bc76c37f9fa3672b,0a5ecfee6b79e13b,d3e5b737ea7cc150,55d2bce91ec9abcc,f8f712930c606707,40bc5fd052acfdf4,294e7cdd91ebd1f1,b7953a05b189dfc1,a53a7977fe762268,be14e72d86362031,0a5d4f9047b3dce4,8dd8d739047fe557,12b0005a30bc18a9,2620618869072a85,eb9a057a81d18c42,89ed0b981f99573c,b2711644ca5566cc,0903802745985664,ce2378e5e8711aad,136986812880cead,3c196d81eca7ff15,acf14a70f37fb012,f79824724d8e2daf,f0aa2b1e79275592,c4183d3cbee28e8e,2e92491c2ae5472b' + # And the water's tile list (CS_TransmissionVolumetrics_GenerateTiles 1aa247ed3653b616), which its own form ("without + # skips", docs/findings.md) left with tiles missing at random: the volumetrics' passes then wrote no 8 x 8 group + # there, black blocks that moved over the water from frame to frame. Paired, none (RTX 5070, 2026-11-29). + LEONIDA_PAIRED_FOR = '1aa247ed3653b616,02384a60fda6f2d0,339d476c267c03c7,39998898c90889b2,c042a10ed3428758,c85cb6bc1cd8e2ad,c80d02ddc38ef279,be6ce5d849d51127,922e1d0ee1e19a85,1f1fbd86759b3da2,0ffd3b911e35e7d0,71883e40620a567a,3c9d23fa83d63d43,4031c6c05fa7ec48,bc76c37f9fa3672b,0a5ecfee6b79e13b,d3e5b737ea7cc150,55d2bce91ec9abcc,f8f712930c606707,40bc5fd052acfdf4,294e7cdd91ebd1f1,b7953a05b189dfc1,a53a7977fe762268,be14e72d86362031,0a5d4f9047b3dce4,8dd8d739047fe557,12b0005a30bc18a9,2620618869072a85,eb9a057a81d18c42,89ed0b981f99573c,b2711644ca5566cc,0903802745985664,ce2378e5e8711aad,136986812880cead,3c196d81eca7ff15,acf14a70f37fb012,f79824724d8e2daf,f0aa2b1e79275592,c4183d3cbee28e8e,2e92491c2ae5472b' # Leonida: the light stand-in stays on while the rays are off (below). Off, with every ray missing, shade went # black and the sky white (run n1, 453 frames); on, the same view is lit as on the console. What the title left # is kept up to 2 times the estimate (ambient.rs). @@ -378,24 +381,25 @@ if ($RayTracing) { # Its dispatches were dropped for that. With the paired-lane form (emit/paired.rs, after Vice-Tay 5e588e8: a host # thread runs two console lanes, so the halves never exchange) it has 5 group barriers, none in a loop, and is no # longer among the 40 costliest commands of the timing run (under 0.3 ms a frame), so it runs again. -# It is dropped again all the same, until its picture is right: within the hour it ran by default, a dark band -# with a hard horizontal edge and blocky fringes covered the lower third of the screen near water (the user's -# screenshot, 2026-11-27), as if everything under a water line were inside the volume. LEONIDA_WATER_TRANSMISSION=1 -# runs it. -if ($env:LEONIDA_WATER_TRANSMISSION -ne '1') { - # The whole family (the water's CS_TransmissionVolumetrics, findings.md): another configuration binds another - # variant (1440p output with render scale 1.0: 5dc3b25986622949, whose paired form left a band of blocks over the - # lower fifth of the picture, 2026-11-27). - # Five, not the seven dropped from cef91163b on: 2889c21328c69e58 and 888af37a584acf98 were counted with the - # family because they trip on the same thing (findings.md), but by the entry points in their containers they are - # CS_GenerateShadowMasks_SampleHairScreenSpace and CS_GenerateShadowMasksHairOnly_SampleHairScreenSpace: the - # sun's shadow mask where hair is sampled on screen. Dropped, what they would have written keeps an old mask - # (edsuuu/VI-BR-PORT b120167 saw that as blocky, lit hair with another program of that pass out). They run again; - # the reason for the drop was the water's blocks, nothing is noted against these two, and they ran until that - # commit. Not looked at in a run since: - # LEONIDA_HAIR_SHADOW_MASKS=0 in the window's environment drops them as before. - $skip = @('6f225b641c5b0708', '5dc3b25986622949', '926c46bab3b86bd6', '6871d6e4b3ac9a10', 'a10179ab7eda0dc3') - if ($env:LEONIDA_HAIR_SHADOW_MASKS -eq '0') { $skip += '2889c21328c69e58', '888af37a584acf98' } +# It was then dropped again until its picture was right: a dark band with a hard horizontal edge and blocky fringes +# near water (2026-11-27). Dropped, the water is a dark opaque sheet seen from above and, under it, the scene's +# light is lost (black or white, particles only). The blocks were the water's tile list (LEONIDA_PAIRED_FOR above); +# with it paired the family runs by default again: the water clear from above, the seagrass seen under it, no +# blocks (RTX 5070, Series X at 1440 lines, 2026-11-29). LEONIDA_WATER_TRANSMISSION=0 drops the family as before. +# The whole family (findings.md): another configuration binds another variant (1440p output with render scale 1.0: +# 5dc3b25986622949). +$skip = @() +if ($env:LEONIDA_WATER_TRANSMISSION -eq '0') { + $skip += '6f225b641c5b0708', '5dc3b25986622949', '926c46bab3b86bd6', '6871d6e4b3ac9a10', 'a10179ab7eda0dc3' +} +# 2889c21328c69e58 and 888af37a584acf98 were counted with that family from cef91163b on because they trip on the same +# thing (findings.md), but by the entry points in their containers they are CS_GenerateShadowMasks_SampleHairScreenSpace +# and CS_GenerateShadowMasksHairOnly_SampleHairScreenSpace: the sun's shadow mask where hair is sampled on screen. +# Dropped, what they would have written keeps an old mask (edsuuu/VI-BR-PORT b120167 saw that as blocky, lit hair +# with another program of that pass out). They run; LEONIDA_HAIR_SHADOW_MASKS=0 in the window's environment drops +# them as before. +if ($env:LEONIDA_HAIR_SHADOW_MASKS -eq '0') { $skip += '2889c21328c69e58', '888af37a584acf98' } +if ($skip) { if ($settings.LEONIDA_SKIP_PIPELINES) { $skip = @($settings.LEONIDA_SKIP_PIPELINES) + $skip } $settings.LEONIDA_SKIP_PIPELINES = $skip -join ',' } From 17eb12bb5cb78853fb13fed3d568a26b627fb00a Mon Sep 17 00:00:00 2001 From: kurrutako Date: Sun, 29 Nov 2026 19:27:57 +0100 Subject: [PATCH 2/3] NVIDIA launcher: the water and hair opt-outs survive the F1 restart The launcher clears the window's LEONIDA_* before the start and the F1 restart runs it again in that environment, so LEONIDA_WATER_TRANSMISSION=0 (and LEONIDA_HAIR_SHADOW_MASKS=0) were lost on Save and Restart. Both are kept in $settings now. Found by merzleckeier in review. AI-assisted (Claude Code) Co-Authored-By: Claude Opus 5.5 --- d3d12/scripts/play-nvidia.ps1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/d3d12/scripts/play-nvidia.ps1 b/d3d12/scripts/play-nvidia.ps1 index 4b7a9eb0a4..ff9f8129e9 100644 --- a/d3d12/scripts/play-nvidia.ps1 +++ b/d3d12/scripts/play-nvidia.ps1 @@ -389,8 +389,11 @@ if ($RayTracing) { # The whole family (findings.md): another configuration binds another variant (1440p output with render scale 1.0: # 5dc3b25986622949). $skip = @() +# The two opt-outs are kept in $settings too: the window's LEONIDA_* go before the start (below), and the restart +# from F1 runs this script again in that environment. if ($env:LEONIDA_WATER_TRANSMISSION -eq '0') { $skip += '6f225b641c5b0708', '5dc3b25986622949', '926c46bab3b86bd6', '6871d6e4b3ac9a10', 'a10179ab7eda0dc3' + $settings.LEONIDA_WATER_TRANSMISSION = '0' } # 2889c21328c69e58 and 888af37a584acf98 were counted with that family from cef91163b on because they trip on the same # thing (findings.md), but by the entry points in their containers they are CS_GenerateShadowMasks_SampleHairScreenSpace @@ -398,7 +401,10 @@ if ($env:LEONIDA_WATER_TRANSMISSION -eq '0') { # Dropped, what they would have written keeps an old mask (edsuuu/VI-BR-PORT b120167 saw that as blocky, lit hair # with another program of that pass out). They run; LEONIDA_HAIR_SHADOW_MASKS=0 in the window's environment drops # them as before. -if ($env:LEONIDA_HAIR_SHADOW_MASKS -eq '0') { $skip += '2889c21328c69e58', '888af37a584acf98' } +if ($env:LEONIDA_HAIR_SHADOW_MASKS -eq '0') { + $skip += '2889c21328c69e58', '888af37a584acf98' + $settings.LEONIDA_HAIR_SHADOW_MASKS = '0' +} if ($skip) { if ($settings.LEONIDA_SKIP_PIPELINES) { $skip = @($settings.LEONIDA_SKIP_PIPELINES) + $skip } $settings.LEONIDA_SKIP_PIPELINES = $skip -join ',' From ced112c1020cd6ccab95ab8a783936a252913c31 Mon Sep 17 00:00:00 2001 From: kurrutako Date: Mon, 30 Nov 2026 10:11:34 +0100 Subject: [PATCH 3/3] NVIDIA launcher: the water's tile list no longer named for the paired form #2662 (loop convergence on 32-lane hosts, on by default) fixes the tile list in its own form: played with it unnamed (RTX 5070, Series X, 1440 lines), no black blocks under the water or seen from above, and the seabed drawn. The launcher keeps running the water's transmission family by default; the paired list is main's again. AI-assisted (Claude Code) Co-Authored-By: Claude Opus 5.5 --- d3d12/docs/findings.md | 8 +++++--- d3d12/scripts/play-nvidia.ps1 | 13 ++++++------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/d3d12/docs/findings.md b/d3d12/docs/findings.md index 856d6c2eeb..41d2b7a525 100644 --- a/d3d12/docs/findings.md +++ b/d3d12/docs/findings.md @@ -400,9 +400,11 @@ card. It does not take the two programs of 256 threads (`CS_AlphTransmissionPref `...DepthTileGenerationMip1`: its host waves would have to meet), which keep their form. For the water: `...GenerateTiles` named, with `LEONIDA_WATER_TRANSMISSION=1` in the window's environment so that the family runs. -Done (RTX 5070, 2026-11-29): in its own form the tile list left 8 x 8 groups of the volumetrics' output -unwritten at random, black blocks that moved over the water from frame to frame; named, none. The launcher -now names it and runs the family by default (`LEONIDA_WATER_TRANSMISSION=0` drops it). +Done (RTX 5070, 2026-11-29 and 30): in its own form the tile list left 8 x 8 groups of the volumetrics' output +unwritten at random, black blocks that moved over the water from frame to frame; named, none. With the loop +convergence on 32-lane hosts on by default (`LEONIDA_LOOPS_WAVE`, #2662) its own form has none either, unnamed +(Series X, 1440 lines, under the water and seen from above), so it is not named. The launcher runs the family by +default (`LEONIDA_WATER_TRANSMISSION=0` drops it). **Every compute program of that run by form, and the approximate ones by name (2026-11-27).** `translate_cdxil --census` with `LEONIDA_WAVE_WHY=1` (the host settings of diff --git a/d3d12/scripts/play-nvidia.ps1 b/d3d12/scripts/play-nvidia.ps1 index 8b8a7a75b3..d7e924cfb7 100644 --- a/d3d12/scripts/play-nvidia.ps1 +++ b/d3d12/scripts/play-nvidia.ps1 @@ -222,6 +222,7 @@ $settings = @{ # _AttachMesh 407eca669212d400 and CS_Emit_Dynamic_Model 18d957e62926ed3e. Translated alone here (leonida # translate --warm, a host of 32-lane waves) none of the three translates as it is (an LDS read and write in one # lane-branch region of a 64-thread group) and all three do paired (41 and 69 branches taken wave-wide). + LEONIDA_PAIRED_FOR = 'ae0deeafe219c15c,407eca669212d400,18d957e62926ed3e,5e3dd99e0f067aee,57f1b81de55c2842,02384a60fda6f2d0,339d476c267c03c7,39998898c90889b2,c042a10ed3428758,c85cb6bc1cd8e2ad,c80d02ddc38ef279,be6ce5d849d51127,922e1d0ee1e19a85,1f1fbd86759b3da2,0ffd3b911e35e7d0,71883e40620a567a,3c9d23fa83d63d43,4031c6c05fa7ec48,bc76c37f9fa3672b,0a5ecfee6b79e13b,d3e5b737ea7cc150,55d2bce91ec9abcc,f8f712930c606707,40bc5fd052acfdf4,294e7cdd91ebd1f1,b7953a05b189dfc1,a53a7977fe762268,be14e72d86362031,0a5d4f9047b3dce4,8dd8d739047fe557,12b0005a30bc18a9,2620618869072a85,eb9a057a81d18c42,89ed0b981f99573c,b2711644ca5566cc,0903802745985664,ce2378e5e8711aad,136986812880cead,3c196d81eca7ff15,acf14a70f37fb012,f79824724d8e2daf,f0aa2b1e79275592,c4183d3cbee28e8e,2e92491c2ae5472b' # Leonida: asks for memory outside buffers remembered per thread (shadow.rs quick_windows). Series X, RX 6800, # two sessions played from a new game (2026-11-29, runs ab-02 and ab-03, LEONIDA_AB in turns of 4 s, 222 and 215 # world phases): the frame -2.4 ms (+-1.5) and -0.9 ms (+-1.0) median, -2.0 (+-1.7) and -2.5 (+-1.4) mean, of 61-68. @@ -247,10 +248,6 @@ $settings = @{ # -0.66 (+-0.46) mean. The wider views' and records' pools did nothing there, half the processors refreshing copies # made the frame slower (+0.84 and +1.24 ms): left as they are. LEONIDA_AHEAD_SPLIT = '1' - # And the water's tile list (CS_TransmissionVolumetrics_GenerateTiles 1aa247ed3653b616), which its own form ("without - # skips", docs/findings.md) left with tiles missing at random: the volumetrics' passes then wrote no 8 x 8 group - # there, black blocks that moved over the water from frame to frame. Paired, none (RTX 5070, 2026-11-29). - LEONIDA_PAIRED_FOR = '1aa247ed3653b616,ae0deeafe219c15c,407eca669212d400,18d957e62926ed3e,5e3dd99e0f067aee,57f1b81de55c2842,02384a60fda6f2d0,339d476c267c03c7,39998898c90889b2,c042a10ed3428758,c85cb6bc1cd8e2ad,c80d02ddc38ef279,be6ce5d849d51127,922e1d0ee1e19a85,1f1fbd86759b3da2,0ffd3b911e35e7d0,71883e40620a567a,3c9d23fa83d63d43,4031c6c05fa7ec48,bc76c37f9fa3672b,0a5ecfee6b79e13b,d3e5b737ea7cc150,55d2bce91ec9abcc,f8f712930c606707,40bc5fd052acfdf4,294e7cdd91ebd1f1,b7953a05b189dfc1,a53a7977fe762268,be14e72d86362031,0a5d4f9047b3dce4,8dd8d739047fe557,12b0005a30bc18a9,2620618869072a85,eb9a057a81d18c42,89ed0b981f99573c,b2711644ca5566cc,0903802745985664,ce2378e5e8711aad,136986812880cead,3c196d81eca7ff15,acf14a70f37fb012,f79824724d8e2daf,f0aa2b1e79275592,c4183d3cbee28e8e,2e92491c2ae5472b' # Leonida: the light stand-in stays on while the rays are off (below). Off, with every ray missing, shade went # black and the sky white (run n1, 453 frames); on, the same view is lit as on the console. What the title left # is kept up to 2 times the estimate (ambient.rs). @@ -443,9 +440,11 @@ if ($RayTracing) { # longer among the 40 costliest commands of the timing run (under 0.3 ms a frame), so it runs again. # It was then dropped again until its picture was right: a dark band with a hard horizontal edge and blocky fringes # near water (2026-11-27). Dropped, the water is a dark opaque sheet seen from above and, under it, the scene's -# light is lost (black or white, particles only). The blocks were the water's tile list (LEONIDA_PAIRED_FOR above); -# with it paired the family runs by default again: the water clear from above, the seagrass seen under it, no -# blocks (RTX 5070, Series X at 1440 lines, 2026-11-29). LEONIDA_WATER_TRANSMISSION=0 drops the family as before. +# light is lost (black or white, particles only). The blocks were the water's tile list +# (CS_TransmissionVolumetrics_GenerateTiles 1aa247ed3653b616) losing tiles on 32-lane hosts, which the translator's +# loop convergence on such hosts (LEONIDA_LOOPS_WAVE, on by default) fixed. So the family runs by default again: the +# water clear from above, the seagrass and the seabed seen under it, no blocks (RTX 5070, Series X at 1440 lines, +# 2026-11-30). LEONIDA_WATER_TRANSMISSION=0 drops the family as before. # The whole family (findings.md): another configuration binds another variant (1440p output with render scale 1.0: # 5dc3b25986622949). $skip = @()