Maniphest T101502

Regression: Artifacts/crash when sculpting with Dyntopo
Closed, ResolvedBUG

Assigned To
Joseph Eagar (joeedh)
Authored By
Hector DeAnda (Hector123)
Sep 30 2022, 7:47 PM
Tags
  • BF Blender
  • Sculpt, Paint & Texture
Subscribers
Hector DeAnda (Hector123)
Joseph Eagar (joeedh)
Julian Perez (julperado)
Julien Kaspar (JulienKaspar)
Pascal (PMA33)
Philipp Oeser (lichtwerk)
Pratik Borhade (PratikPB2123)
2 More Subscribers
Tokens
"Burninate" token, awarded by MetinSeven.

Description

System Information
Operating system: macOS-12.6-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon HD - FirePro D500 OpenGL Engine ATI Technologies Inc. 4.1 ATI-4.8.101

Blender Version
Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-09-29 23:32, hash: rB1c1dc5f8440d
Worked: (newest version of Blender that worked as expected)

Short description of error
In sculpt mode when selecting Dyntopo a lot of strange artifacts appear, then crash results.

Exact steps for others to reproduce the error

  • Start Blender
  • Select Sculpt Mode -> Select Dyntopo
  • sculpt object and observe unusual artifacts. Continue and crash results.

Revisions and Commits

rB Blender

Related Objects

Mentioned In
T101674: Assert on sculpting with Dyntopo
T101643: Display broken when using dyntopo
Mentioned Here
rB51bd26d0faad: New math function to add small bias to zero axis
rBd42f882343c7: Cleanup: Fix sign conversion warning in BMesh log
rBd4d40f3b69d8: DNA: reduce size of Base struct
rBe5ccbfab09ff: Cleanup: simplify uv packing for non-square materials
T101478: Regression: Crash when Sculpt Mode is selected.
rB65900d88a831: Sculpt: Rewrite PBVH draw
rB039429faeb41: Sculpt: fix missing nullptr check in pbvh draw
D500: Add a new Tracks implementation

Event Timeline

Hector DeAnda (Hector123) created this task.Sep 30 2022, 7:47 PM
TheRedWaxPolice (TheRedWaxPolice) added a subscriber: TheRedWaxPolice (TheRedWaxPolice).Sep 30 2022, 7:59 PM

Yeah, I can confirm the artifacts and sometimes a crash... (Windows here)

Hector DeAnda (Hector123) added a comment.Sep 30 2022, 7:59 PM

Pratik Borhade (PratikPB2123) renamed this task from Mac OS Sculpt Mode, Dyntopo Crash to Regression: Artifacts/crash when sculpting with Dyntopo .Oct 1 2022, 6:14 AM
Pratik Borhade (PratikPB2123) changed the task status from Needs Triage to Confirmed.
Pratik Borhade (PratikPB2123) triaged this task as High priority.
Pratik Borhade (PratikPB2123) updated the task description.
Pratik Borhade (PratikPB2123) added a project: Sculpt, Paint & Texture.
Pratik Borhade (PratikPB2123) added a subscriber: Pratik Borhade (PratikPB2123).

Thanks for the report. I can confirm too. Will check

Pratik Borhade (PratikPB2123) added a subscriber: Joseph Eagar (joeedh).Oct 1 2022, 7:50 AM

Unable to bisect because of T101478: Regression: Crash when Sculpt Mode is selected.
I think either of 65900d88a831, 039429faeb41 introduced the issue.
cc @Joseph Eagar (joeedh)

Steffen Dünner (SteffenD) added a subscriber: Steffen Dünner (SteffenD).Oct 1 2022, 11:03 AM

Same here on bot Linux and Windows. Latest master e5ccbfab09ff

Julien Kaspar (JulienKaspar) moved this task from Backlog to Bugs on the Sculpt, Paint & Texture board.Oct 1 2022, 12:24 PM
Julien Kaspar (JulienKaspar) changed the subtype of this task from "Report" to "Bug".
Joseph Eagar (joeedh) added a comment.Oct 3 2022, 10:35 PM

This should be fixed, can someone confirm?

Hector DeAnda (Hector123) added a comment.Oct 3 2022, 10:55 PM

Not fixed with latest build.

TheRedWaxPolice (TheRedWaxPolice) added a comment.Oct 3 2022, 11:53 PM

Yes, still happening...
blender-3.4.0-alpha+master.d4d40f3b69d8-windows.amd64-release

Pratik Borhade (PratikPB2123) added a comment.Oct 4 2022, 3:06 AM

Can still redo in current master: 22c3db72ca2f3d92852f463c184381ccf2998230

Tanza (Tanza) added a subscriber: Tanza (Tanza).Oct 4 2022, 12:44 PM
Hector DeAnda (Hector123) added a comment.Oct 4 2022, 3:02 PM

Todays build d42f882343c7 results in same artifacts.

Tanza (Tanza) added a comment.Oct 5 2022, 12:19 PM

Still occurs on today's build f9a10e7ed039

Julian Perez (julperado) added a subscriber: Julian Perez (julperado).Oct 5 2022, 6:53 PM
Hector DeAnda (Hector123) added a comment.Oct 6 2022, 7:08 AM

Latest build 51bd26d0faad has same result. Mac Intel.

Julien Kaspar (JulienKaspar) added a subscriber: Julien Kaspar (JulienKaspar).Oct 6 2022, 10:21 AM

@Hector DeAnda (Hector123) No need for daily reminders. This bug is marked as confirmed and high priority and will get fixed asap.

Philipp Oeser (lichtwerk) mentioned this in T101643: Display broken when using dyntopo.Oct 6 2022, 1:55 PM
Philipp Oeser (lichtwerk) merged a task: T101643: Display broken when using dyntopo.
Philipp Oeser (lichtwerk) added subscribers: Pascal (PMA33), Philipp Oeser (lichtwerk).
Metin Seven (MetinSeven) awarded a token.Oct 6 2022, 7:43 PM
Joseph Eagar (joeedh) closed this task as Resolved by committing rBdfa0eb298ed3: Sculpt: Fix T101502: GPU tris miscounted for dyntopo.Oct 6 2022, 11:04 PM
Joseph Eagar (joeedh) claimed this task.
Joseph Eagar (joeedh) added a commit: rBdfa0eb298ed3: Sculpt: Fix T101502: GPU tris miscounted for dyntopo.
Joseph Eagar (joeedh) added a comment.Oct 6 2022, 11:08 PM

I think I've fixed it, please test.

Pratik Borhade (PratikPB2123) added a comment.EditedOct 7 2022, 5:12 AM

@Joseph Eagar (joeedh) , now crash is triggered when I attempt to sculpt with dyntopo (so far I've verified in lite build only: 47d3e765679e54c09ecc4ded812e89483a1e1d9b)

But not frequently crash occurs. Will find reliable way to redo it.
And yes, your commit indeed fixes the issue :)

Steffen Dünner (SteffenD) added a comment.Oct 7 2022, 10:10 AM

The garbled display is indeed fixed. I also was able to sculpt some strokes in one scene until Blender closed.
Then I gave it another try with an empty scene, a simple grid and it closed / crashed upon activating Dyntopo.
Linux / full build / latest master

Pratik Borhade (PratikPB2123) mentioned this in T101674: Assert on sculpting with Dyntopo.Oct 7 2022, 12:52 PM