trace-core fails intermittently: zeroed inline records in whole subgroups (shadow-masked, bvh4-single-instanced)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- computer-graphics, testing-qa
Research direction
Start with node bench/runner/run.ts --page trace-core --args scenes=cornell,quad-light sceneTrees=0 and isolate the shadow-masked set on bvh4-single-instanced. Run the inline kernel alone 50 times with a fixed seed, record failing subgroups, then repeat with the pt_bvh binary to compare. A fix should pass three separate reruns of 20; the issue does not name implementation files.
Written by the indexing model from the issue text.
Description
Task: X-trace-core (TASKS) · Page: node bench/runner/run.ts --page trace-core --args scenes=cornell,quad-light sceneTrees=0
trace-core fails intermittently (~10-40% of runs) with inlineMismatch = coneMismatch. It fails on main and on every commit sampled back to before V302, so it is not a regression of the media work. Pass / fail does not track machine load.
What is known
- Only set
shadow-masked(mask 1) on formatbvh4-single-instanced, both scenes. - Bad rays come in runs of consecutive indices, totals mostly multiples of 32 (64, 160, 192, 224; sometimes 1 or 2): whole 32-lane subgroups.
- The batch tracer says miss; the page's INLINE kernel (
rtClosestCone+rtVisible+rtSurfaceALL, workgroup 64) returns a zeroed record (t 0, instance 0, triangle 0, flags 3).
Suspects
Uninitialised or racing workgroup / private memory in the inline cone walk under a ray mask, or an out-of-bounds read on the bvh4 single-instance path that the robustness clamp turns into zeros.
Next step
Run the inline kernel alone on that set 50 times with a fixed seed and record which subgroups fail; then the same with pt_bvh binary to see whether the wide walk is required. Judge any fix by 3 of 3 clean reruns of 20, not one pass.
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 0
- Avg merge
- 15h 19m
- Merged PRs (30d)
- 8
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pmndrs/pathtracer
-
enhancement volumes
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pmndrs/pathtracer#9 ·
-
documentation
Difficulty 5/5 Over a week Newbie friendliness 20/100
pmndrs/pathtracer#63 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
pmndrs/pathtracer#62 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 20/100
pmndrs/pathtracer#61 ·
-
question
Difficulty 4/5 3-5 days Newbie friendliness 20/100
pmndrs/pathtracer#60 ·
All issues in pmndrs/pathtracer
Similar issues
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 82/100
lingdojo/kana-dojo#34714 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 70/100
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
manaflow-ai/cmux#59692 ·
Maintainers usually reply within 1 day
-
Retire stale Python-parity labels in Rust ingress and auth testsPossibly taken @github-actions claimed this today. Openfactory factory:building factory:unowned ralph-status:in-progress via:opencode-free/hy4-flash-free
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
JoshCLWren/comic-pile#5874 · 2 comments ·
Maintainers usually reply within 1 day
-
area: community lane: free-agent priority: P1 roadmap type: task
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
velella-sh/offing#1046 ·
Maintainers usually reply within 1 day