Maniphest T95582

Subdivision surface modifier causes crash
Closed, Archived

Assigned To
None
Authored By
Jun Mizutani (jmztn)
Feb 7 2022, 3:02 PM
Tags
  • BF Blender
Subscribers
Jun Mizutani (jmztn)
Kévin Dietrich (kevindietrich)
Omar Emara (OmarSquircleArt)

Description

System Information
Operating system: Linux-5.13.0-28-generic-x86_64-with-glibc2.34 64 Bits
Graphics card: llvmpipe (LLVM 12.0.1, 256 bits) Mesa/X.org 4.5 (Core Profile) Mesa 21.2.2

Blender Version
Broken: version: 3.2.0 Alpha, branch: master, commit date: 2022-02-07 11:18, hash: rBb3bb51dd83a3
Worked: 3.2.0 Alpha, branch: master, commit date: 2022-02-07 11:18, hash: rBb3bb51dd83a3 on Windows11.

Short description of error
[Please fill out a short description of the error here]
Subdivision surface modifier causes crash on

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]
Start blender then apply Subdivision surface modifier.

Event Timeline

Jun Mizutani (jmztn) created this task.Feb 7 2022, 3:02 PM
Omar Emara (OmarSquircleArt) changed the task status from Needs Triage to Needs Information from User.Feb 7 2022, 3:14 PM
Omar Emara (OmarSquircleArt) added a subscriber: Omar Emara (OmarSquircleArt).

I can't replicate that.
Does the crash happen when you add the modifier or when you apply it?
It works on Windows but not on Linux?
Can you try on a GPU driver instead of LLVMpipe?

Jun Mizutani (jmztn) added a comment.Feb 7 2022, 3:56 PM

The crash happens when I add the modifier.
Yes, it works on Windows 11 but not on Linux.
I tried Reder Devices:None and Optix:RTX3070 both crash.

I got messages below.

$ blender --factory-startup
ERROR (gpu.shader): subdiv patch evaluation limit normals Linking:

| Error: Too many compute shader storage blocks (9/8)

Writing: /tmp/blender.crash.txt
Segmentation fault (core dumped)

Omar Emara (OmarSquircleArt) changed the task status from Needs Information from User to Confirmed.Feb 7 2022, 4:22 PM
Omar Emara (OmarSquircleArt) added a subscriber: Kévin Dietrich (kevindietrich).

Looks like LLVMpipe defines a limit of 8 SSBO blocks. Maybe MAX_COMPUTE_SHADER_STORAGE_BLOCKS should be considered when testing for GPU capabilities. @Kévin Dietrich (kevindietrich)

Jun Mizutani (jmztn) added a comment.Feb 7 2022, 4:22 PM

I reboot the system.
It worked fine.

I'm sorry to trouble you.

Omar Emara (OmarSquircleArt) closed this task as Archived.Feb 7 2022, 4:28 PM

Alright. I guess there was a fallback to software rasterization and it was no longer needed after reboot.