d3d12: stronger grain and broken strands on male hair and body hair #2990

Open
opened 2026-12-01 22:34:04 +00:00 by Alanls-mx · 4 comments
Alanls-mx commented 2026-12-01 22:34:04 +00:00 (Migrated from github.com)
Contributor

Imported from ubiquitarianism/leonida. Originally posted by Alanls-mx on 2026-12-01T22:34:04Z.


Observed during a local NVIDIA / Series S profile run on 2026-12-01:

  • Grain/stipple and broken strand contours are strongest on male characters' hair, beard/body hair, and arms. Female hair is affected less, according to a side-by-side visual comparison in the same build.
  • In the opening cutscene, the window highlights clip toward white and show a strong halo. This may be a separate lighting/post-processing issue.
  • A sampled frame reached 8.1 FPS, 123.4 ms/frame, and 6,474 draws/frame.

The run was launched with scripts/play-nvidia.ps1 -Log -Capture. The F9 capture and a one-frame dump request produced no PNGs or render-target dumps, and the log has no F9 marker. The current evidence is visual only; it does not yet map the faulty pixels to a specific pass or PSO.

Next investigation:

  1. Restore/verify D3D12 frame and target capture in the launched process.
  2. Compare matching camera/light frames for male and female characters.
  3. Trace hair/fur material coverage and strand edges, then compare lighting, shadow-mask, and post-processing outputs before changing shaders.
  4. Keep pipeline compilation stalls tracked separately in #2961.
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:6732175038 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2990). Originally posted by [Alanls-mx](https://github.com/Alanls-mx) on 2026-12-01T22:34:04Z. --- Observed during a local NVIDIA / Series S profile run on 2026-12-01: - Grain/stipple and broken strand contours are strongest on male characters' hair, beard/body hair, and arms. Female hair is affected less, according to a side-by-side visual comparison in the same build. - In the opening cutscene, the window highlights clip toward white and show a strong halo. This may be a separate lighting/post-processing issue. - A sampled frame reached 8.1 FPS, 123.4 ms/frame, and 6,474 draws/frame. The run was launched with `scripts/play-nvidia.ps1 -Log -Capture`. The F9 capture and a one-frame `dump` request produced no PNGs or render-target dumps, and the log has no F9 marker. The current evidence is visual only; it does not yet map the faulty pixels to a specific pass or PSO. Next investigation: 1. Restore/verify D3D12 frame and target capture in the launched process. 2. Compare matching camera/light frames for male and female characters. 3. Trace hair/fur material coverage and strand edges, then compare lighting, shadow-mask, and post-processing outputs before changing shaders. 4. Keep pipeline compilation stalls tracked separately in #2961.
Alanls-mx commented 2026-12-01 23:10:15 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by Alanls-mx on 2026-12-01T23:10:15Z.


Follow-up capture now works. Frame 20453 (live HUD: 11.6 FPS, 86.2 ms/frame, 3,035 draws) shows strong white stipple on the male beard/moustache and broken hair edges. Its ops trace includes VS_HairStrandGeometry_6c733d35 (643101624bd14159) + PS_SmhCascadeShadow_6c733d35 (f758c2f8e6b9b517), writing the 1280x5120 cascade depth atlas, and VS_HairStrandGeometry_5c1bc890 (e38865315b050ed9) + PS_SmhLocalShadow_5c1bc890 (62306a1922b106e8), writing the 1536x1536 local shadow atlas. This confirms those hair-strand shadow passes are active in the scene; it does not yet prove they cause the visible beard stipple. Next: compare the same head crop against the deferred material/G-buffer and shadow atlas before changing either path. A second two-frame dump also captured the boat/water scene and its render targets.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7328940309 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2990#issuecomment-7328940309). Originally posted by [Alanls-mx](https://github.com/Alanls-mx) on 2026-12-01T23:10:15Z. --- Follow-up capture now works. Frame 20453 (live HUD: 11.6 FPS, 86.2 ms/frame, 3,035 draws) shows strong white stipple on the male beard/moustache and broken hair edges. Its ops trace includes VS_HairStrandGeometry_6c733d35 (643101624bd14159) + PS_SmhCascadeShadow_6c733d35 (f758c2f8e6b9b517), writing the 1280x5120 cascade depth atlas, and VS_HairStrandGeometry_5c1bc890 (e38865315b050ed9) + PS_SmhLocalShadow_5c1bc890 (62306a1922b106e8), writing the 1536x1536 local shadow atlas. This confirms those hair-strand shadow passes are active in the scene; it does not yet prove they cause the visible beard stipple. Next: compare the same head crop against the deferred material/G-buffer and shadow atlas before changing either path. A second two-frame dump also captured the boat/water scene and its render targets.
Alanls-mx commented 2026-12-01 23:21:51 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by Alanls-mx on 2026-12-01T23:21:51Z.


More live-scene captures: frame-36125 shows the male character and strongly backlit foliage; frame-37798 is the same hideout during action. Its ops trace has 4,718 operations, 38 mapped shader hashes, and 0 dropped operations. The names surfaced here are mainly cascade-shadow transforms and paraboloid-shadow culling; no named foliage material shader was isolated, so the plant/hair root cause remains open.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7329253416 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2990#issuecomment-7329253416). Originally posted by [Alanls-mx](https://github.com/Alanls-mx) on 2026-12-01T23:21:51Z. --- More live-scene captures: frame-36125 shows the male character and strongly backlit foliage; frame-37798 is the same hideout during action. Its ops trace has 4,718 operations, 38 mapped shader hashes, and 0 dropped operations. The names surfaced here are mainly cascade-shadow transforms and paraboloid-shadow culling; no named foliage material shader was isolated, so the plant/hair root cause remains open.
Alanls-mx commented 2026-12-01 23:33:40 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by Alanls-mx on 2026-12-01T23:33:40Z.


A follow-up matched the recorded queue events to shader names. A CS_InterpolateStrands variant missed its first wait and completed roughly 4 minutes 25 seconds later. The driver build itself took 0.94 seconds. A foliage mesh variant also missed its first wait and took 5.30 seconds in the driver. The more complete frame 36125 trace contains the foliage mesh programs and multiple strand interpolation variants.

The local branch prioritizes requested strand interpolation, foliage and lighting pipelines using the existing worker queue. It retains the single worker on the 16 GiB preset. This addresses late pipeline availability. The steady-state stipple and its link to material or shadow behavior still need a visual comparison.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7329495727 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2990#issuecomment-7329495727). Originally posted by [Alanls-mx](https://github.com/Alanls-mx) on 2026-12-01T23:33:40Z. --- A follow-up matched the recorded queue events to shader names. A `CS_InterpolateStrands` variant missed its first wait and completed roughly 4 minutes 25 seconds later. The driver build itself took 0.94 seconds. A foliage mesh variant also missed its first wait and took 5.30 seconds in the driver. The more complete frame 36125 trace contains the foliage mesh programs and multiple strand interpolation variants. The local branch prioritizes requested strand interpolation, foliage and lighting pipelines using the existing worker queue. It retains the single worker on the 16 GiB preset. This addresses late pipeline availability. The steady-state stipple and its link to material or shadow behavior still need a visual comparison.
MoonEyes commented 2026-12-03 15:49:04 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T15:49:04Z.


This was generated by AI during triage.

Triage Notes

What we've established so far:

  • The report describes stippled male hair/beard and broken strand edges, with an initial visual capture and later trace evidence showing hair-strand shadow passes are active.
  • The comments explicitly say that this does not yet prove the shadow passes cause the visible stipple; the steady-state visual root cause remains open. Late pipeline availability was also found, but is not established as the cause of the stipple.

What we still need from you (@Alanls-mx):

  • Please report the result of the same-view comparison between the male hair/beard crop, its G-buffer/material data, and the relevant shadow-atlas output. A text summary of the local comparison is enough; do not attach game screenshots, recordings, or dumps.
<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7383782305 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2990#issuecomment-7383782305). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-03T15:49:04Z. --- > *This was generated by AI during triage.* ## Triage Notes **What we've established so far:** - The report describes stippled male hair/beard and broken strand edges, with an initial visual capture and later trace evidence showing hair-strand shadow passes are active. - The comments explicitly say that this does not yet prove the shadow passes cause the visible stipple; the steady-state visual root cause remains open. Late pipeline availability was also found, but is not established as the cause of the stipple. **What we still need from you (@Alanls-mx):** - Please report the result of the same-view comparison between the male hair/beard crop, its G-buffer/material data, and the relevant shadow-atlas output. A text summary of the local comparison is enough; do not attach game screenshots, recordings, or dumps.
Sign in to join this conversation.
No labels
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.

Reference
ProjectLeonida/mandy#2990
No description provided.