Speckles around hair and on dark walls, and a few stray triangles #529

Open
opened 2026-11-28 01:02:28 +00:00 by LakshanSivakumar · 4 comments
LakshanSivakumar commented 2026-11-28 01:02:28 +00:00 (Migrated from github.com)
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-28T01:02:28Z.


What you see

Single bright dots, orange and white, around the man's hair outline and scattered over the dark walls. In some frames a few stray flat triangles: one on his shoulder, one floating on the wall.

What I know

Less than for the other faults. These are leads, not findings:

  • The ray-tracing structure builder is off on this branch. VICTORY_BVH_BUILDER=1 turns it on. In one run 149,711 builder dispatches were skipped. Ray-box tests then return "miss", so shadow rays are never blocked. That fits speckle better than it fits a black room.
  • 16 indirect computes are dropped together in the lighting part of the frame.
  • The ports on this branch refuse nothing new, so the speckle is not from a new refusal.
  • The author of #437 and a tester on an M5 Max both report screen-probe speckle on a lit interior, so it may be a known stage of that work.
  • The fans and spikes on characters are a different fault and are fixed (#518).

What would help

  • A run with VICTORY_BVH_BUILDER=1 from someone who knows that code, with a note on whether the speckle changes and whether it is safe.
  • A skip-draws bisect of the hair: VICTORY_SKIP_DRAWS=<hashes> VICTORY_SKIP_DRAWS_ALTERNATE=1 drops those draws on every other present, which shows at once which program the dots belong to.
  • Anyone who knows whether hair cards here are alpha tested or dithered.

Related: #492, #495.

How to see it

Branch lit-world/base-3 (commit 9a0d811d). It is #437 with fixes on top: #518, the cross-page loads, texture fixes, the page table for described pipelines and the image null-view test. It is not main, and one upstream test fails on it by design (wave32_tests::a_branch_on_a_first_lane_read_is_not_uniform_across_the_halves).

VICTORY_CONSOLE_PIPELINES=0 VICTORY_METAL_RESIDENCY_SETS=1 VICTORY_TEXTURE_DROP_TOP_MIP=1 \
VICTORY_OUTPUT=1280x720 VICTORY_UPSCALER=6 VICTORY_STEP_OVER=pool VICTORY_PIPELINE_TIMEOUT_S=15 \
tools/macos/run-native.sh --console series-s <game folder>

Apple Silicon Mac with 48 GB, Series S profile. The world shows about 4.5 minutes after start on a cold shader cache.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:issue:6656990666 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/529). Originally posted by [LakshanSivakumar](https://github.com/LakshanSivakumar) on 2026-11-28T01:02:28Z. --- ### What you see Single bright dots, orange and white, around the man's hair outline and scattered over the dark walls. In some frames a few stray flat triangles: one on his shoulder, one floating on the wall. ### What I know Less than for the other faults. These are leads, not findings: - The ray-tracing structure builder is off on this branch. `VICTORY_BVH_BUILDER=1` turns it on. In one run 149,711 builder dispatches were skipped. Ray-box tests then return "miss", so shadow rays are never blocked. That fits speckle better than it fits a black room. - 16 indirect computes are dropped together in the lighting part of the frame. - The ports on this branch refuse nothing new, so the speckle is not from a new refusal. - The author of #437 and a tester on an M5 Max both report screen-probe speckle on a lit interior, so it may be a known stage of that work. - The fans and spikes on characters are a different fault and are fixed (#518). ### What would help - A run with `VICTORY_BVH_BUILDER=1` from someone who knows that code, with a note on whether the speckle changes and whether it is safe. - A skip-draws bisect of the hair: `VICTORY_SKIP_DRAWS=<hashes> VICTORY_SKIP_DRAWS_ALTERNATE=1` drops those draws on every other present, which shows at once which program the dots belong to. - Anyone who knows whether hair cards here are alpha tested or dithered. Related: #492, #495. ### How to see it Branch [`lit-world/base-3`](https://github.com/LakshanSivakumar/Native-Victory-macOS/tree/lit-world/base-3) (commit `9a0d811d`). It is #437 with fixes on top: #518, the cross-page loads, texture fixes, the page table for described pipelines and the image null-view test. It is not main, and one upstream test fails on it by design (`wave32_tests::a_branch_on_a_first_lane_read_is_not_uniform_across_the_halves`). ```bash VICTORY_CONSOLE_PIPELINES=0 VICTORY_METAL_RESIDENCY_SETS=1 VICTORY_TEXTURE_DROP_TOP_MIP=1 \ VICTORY_OUTPUT=1280x720 VICTORY_UPSCALER=6 VICTORY_STEP_OVER=pool VICTORY_PIPELINE_TIMEOUT_S=15 \ tools/macos/run-native.sh --console series-s <game folder> ``` Apple Silicon Mac with 48 GB, Series S profile. The world shows about 4.5 minutes after start on a cold shader cache.
Olima34 commented 2026-11-28 01:28:53 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by Olima34 on 2026-11-28T01:28:53Z.


/claim

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7231695363 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/529#issuecomment-7231695363). Originally posted by [Olima34](https://github.com/Olima34) on 2026-11-28T01:28:53Z. --- /claim
github-actions[bot] commented 2026-11-28 01:29:08 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-28T01:29:08Z.


Claimed by @Olima34. Open a draft pull request with Refs #529 in its description within 24 hours, or the claim expires.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7231698257 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/529#issuecomment-7231698257). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T01:29:08Z. --- Claimed by @Olima34. Open a draft pull request with `Refs #529` in its description within 24 hours, or the claim expires.
xarvel-temp commented 2026-11-28 11:32:49 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by xarvel-temp on 2026-11-28T11:32:49Z.


Small note before anyone spends an evening on the first suggestion: VICTORY_BVH_BUILDER does not exist in this repository.

I went looking for it to run that A/B on an M5 Max. On main (2681728) a search of the whole tree for BVH, RAY, RT and ACCEL environment variables returns nothing, and every Builder in crates/victory-gpu and crates/victory-hle is std::thread::Builder. Same on lit-world/base-3.

The switch is from the halfwave Wine fork, at crates/victory-gpu/src/pipeline/builder.rs:101 there:

let on = std::env::var("VICTORY_BVH_BUILDER").is_ok_and(|v| v.trim() == "1");

For what it is worth, xboxbvhbuilder.dll does bind cleanly here (8 hle, 34 host, 15 title, 0 stubbed), so the DLL side is in place; there is just no environment gate on its dispatches that I can find.

So either the builder is turned on some other way on this branch and the bullet means that, or the name was carried over from the other fork. Either way the experiment as written cannot be run, and it might be worth saying in the issue which switch is meant.

I have not touched anything else here — the issue is yours.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7238623111 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/529#issuecomment-7238623111). Originally posted by [xarvel-temp](https://github.com/xarvel-temp) on 2026-11-28T11:32:49Z. --- Small note before anyone spends an evening on the first suggestion: **`VICTORY_BVH_BUILDER` does not exist in this repository.** I went looking for it to run that A/B on an M5 Max. On `main` (2681728) a search of the whole tree for `BVH`, `RAY`, `RT` and `ACCEL` environment variables returns nothing, and every `Builder` in `crates/victory-gpu` and `crates/victory-hle` is `std::thread::Builder`. Same on `lit-world/base-3`. The switch is from the halfwave Wine fork, at `crates/victory-gpu/src/pipeline/builder.rs:101` there: ```rust let on = std::env::var("VICTORY_BVH_BUILDER").is_ok_and(|v| v.trim() == "1"); ``` For what it is worth, `xboxbvhbuilder.dll` does bind cleanly here (`8 hle, 34 host, 15 title, 0 stubbed`), so the DLL side is in place; there is just no environment gate on its dispatches that I can find. So either the builder is turned on some other way on this branch and the bullet means that, or the name was carried over from the other fork. Either way the experiment as written cannot be run, and it might be worth saying in the issue which switch is meant. I have not touched anything else here — the issue is yours.
github-actions[bot] commented 2026-11-29 08:50:37 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-29T08:50:37Z.


The claim by @Olima34 has expired: no pull request referenced it within 24 hours. This issue is free to claim.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7253368135 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/529#issuecomment-7253368135). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-29T08:50:37Z. --- The claim by @Olima34 has expired: no pull request referenced it within 24 hours. This issue is free to claim.
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
LakshanSivakumar/Native-Victory-macOS#529
No description provided.