Adding subdivision surface modifier to default cube causes silent crash. #97330
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
9 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#97330
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
AMD Ryzen 5 5500U
)Blender Version
Broken: 3.1.2 Linux 64
(example: 2.79b release)
(example: 2.80,
edbf15d3c0
, blender2.8, 2018-11-28, as found on the splash screen)Worked: 2.93.5
Blender closes abruptly when I add a subdivision surface modifier to the default cube.
Exact steps for others to reproduce the error
Download and unpack blender 3.1.2.
Launch blender.
Under "New File" on the splash screen, choose "General."
The default cube is already selected.
Using the interface on the right, choose the wrench-labeled "Modifier Properties" tab, select "Subdivision Surface" from the "Generate" column in the "Add Modifier" dropdown.
Blender crashes.
I launched blender from a command line to capture this output:
The content of /tmp/blender.crash.txt follows:
I saw, in an issue reported by a windows user, a suggestion to turn off GPU Subdivision under preferences. I have done this and it seems to be a successful work-around.
I just downloaded this version of blender and immediately had this problem after unpacking and launching. I had not turned on the GPU Subdivision preference or made any other preference changes before encountering the problem.
I reasoned this is not a duplicate issue of the one I saw from the windows user because the behaviour they saw was different (not a silent crash).
Added subscriber: @jason1
#97517 was marked as duplicate of this issue
#97606 was marked as duplicate of this issue
Issue with advice to turn off GPU Subdivision
https://developer.blender.org/T97325
I ran blender using the --debug-gpu switch and reproduced the issue. Output follows:
Added subscriber: @iss
Changed status from 'Needs Triage' to: 'Needs User Info'
Since this is issue related to GPU subdivision, please check if you can update GPU drivers and check if this issue happens with latest alpha build from https://builder.blender.org/download/daily/
The issue remains in the alpha build.
Changed status from 'Needs User Info' to: 'Needs Triage'
Added subscriber: @kevindietrich
Thanks for update.
@kevindietrich Can you tell if this is issue with GPU driver or could be bug in our code?
This error
Error: Too many compute shader storage blocks (9/8)
should have been fixed already, so there might a bug in the code. I would need to plug my AMD GPU to investigate further. However, updating driver should fix it.Added subscriber: @srogmann
I reproduced this bug in 3.2.0-alpha using Nvidia instead of AMD.
System Information
Operating system: Debian (Linux)
Graphics card: GeForce RTX 3080 Mobile
Blender Version
Broken: 3.1.2 Linux 64, 3.2.0 2022-04-18 Linux 64
backtrace in 3.2.0-alpha-2022-04-18 via gdb:
Debugging draw_subdiv_extract_pos_nor: get_patch_evaluation_shader returns unexpected NULL instead of shader.
So libgl1-mesa-dri:amd64 might be the one supporting 8 SSBOs only in my current configuration. The system is a new one, it is possible that the wrong libraries are chosen (e.g. old software mesa in debian bullseye).
I created a small "explanation patch" to do some exception-handling and display a hint in case of a missing shader.
After applying this patch one gets
It would be nice if a driver which supports 8 storage blocks only (like libgl1-mesa-dri [20.3.5-1]) would be detected earlier. I will have a look at my system to determine why mesa instead of the nvidia-driver was choosen in this case.
On systems with several OpenGL-implementations one can use the environment variable __GLX_VENDOR_LIBRARY_NAME to choose an implementation. I can switch between a working nvidia-driver and a in blender non-working mesa-driver.
Added subscriber: @Imaginer
Added subscribers: @blendffnike, @PratikPB2123, @mano-wii
Added subscriber: @datar
Added subscriber: @OmarEmaraDev
Changed status from 'Needs Triage' to: 'Confirmed'
@kevindietrich I can reproduce the issue with LLVMPipe in mesa 22, so maybe this can help with debugging the issue without having to switch GPUs.
I am able to reproduce. Assigning to me.
This issue was referenced by
e354ba701a
This issue was referenced by
edd892166d
Changed status from 'Confirmed' to: 'Resolved'
This issue was referenced by
fa9e878e79