Blender crashes when OpenSubdiv is enabled upon deselect+reselect of subdivided object #47507

Closed
opened 2016-02-20 20:50:29 +01:00 by Annetta Brisby · 18 comments

System Information
Windows 7 64bit, Intel HD Graphics 4000

Blender Version
Broken: 2.76 da81227 (2.77 test 2)

Short description of error

Exact steps for others to reproduce the error

  • Set "OpenSubdiv compute" in User Preferences/Files to CPU
  • Subdivide the default cube
  • Check "Use OpenSubdiv" in the SubSurf modifier options
  • In the 3D viewport, select another object, then reselect the subdivided object

bloop.blend

**System Information** Windows 7 64bit, Intel HD Graphics 4000 **Blender Version** Broken: 2.76 da81227 (2.77 test 2) **Short description of error** **Exact steps for others to reproduce the error** - Set "OpenSubdiv compute" in User Preferences/Files to CPU - Subdivide the default cube - Check "Use OpenSubdiv" in the SubSurf modifier options - In the 3D viewport, select another object, then reselect the subdivided object [bloop.blend](https://archive.blender.org/developer/F284311/bloop.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @AVBrats

Added subscriber: @AVBrats

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Can't redo this error, is this some well known bug on Intel?

Can't redo this error, is this some well known bug on Intel?

Added subscriber: @Sergey

Added subscriber: @Sergey

Can't redo the issue as well. Please make sure you've got all latest updates installed and that you're using the latest video driver from Intel download center and see if it resolves the issue.

In any case, it's most likely an OpenGL bug.

Can't redo the issue as well. Please make sure you've got all latest updates installed and that you're using the latest video driver from Intel download center and see if it resolves the issue. In any case, it's most likely an OpenGL bug.

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2016-03-01 14:53:54 +01:00

No news since one week…

No news since one week…
Author

Hey y'all, sorry for the late reply. I haven't really been using Blender at all in a week or two and I'd even uninstalled it. But I just downloaded & installed Blender 2.77 RC1 (yay an actual installer!) and I have Intel's newest drivers for my system (Intel HD Graphics 4000 driver 10.18.10.4358 12/21/2015). The error still occurs. I'm also on Windows 10 now. It occurs whether OpenSubdiv Calculate is set to CPU or OpenMP. Running as administrator doesn't help either.

To repeat how to redo the bug (I'm assuming this happens on Intel HD Graphics 4000):

  • Set OpenSubdiv Compute to either CPU or OpenMP
  • Subdivide the default cube or any object
  • Check "Use OpenSubdiv" under the Subsurf modifier options
  • (In the 3D Viewport) Unselect the OpenSubdiv subdivided object and then select the object
Hey y'all, sorry for the late reply. I haven't really been using Blender at all in a week or two and I'd even uninstalled it. But I just downloaded & installed Blender 2.77 RC1 (yay an actual installer!) and I have Intel's newest drivers for my system (Intel HD Graphics 4000 driver 10.18.10.4358 12/21/2015). The error still occurs. I'm also on Windows 10 now. It occurs whether OpenSubdiv Calculate is set to CPU or OpenMP. Running as administrator doesn't help either. To repeat how to redo the bug (I'm assuming this happens on Intel HD Graphics 4000): - Set OpenSubdiv Compute to either CPU or OpenMP - Subdivide the default cube or any object - Check "Use OpenSubdiv" under the Subsurf modifier options - (In the 3D Viewport) Unselect the OpenSubdiv subdivided object and then select the object

Can you please try to place this dll next to your blender.exe (software OGL, will be slow, but will show whether this is a driver issue or not)?

Can you please try to place [this dll](http://download.blender.org/ftp/sergey/softwaregl/win64/opengl32.dll) next to your blender.exe (software OGL, will be slow, but will show whether this is a driver issue or not)?
Author

With that done, Blender doesn't crash anymore! But OpenSubdiv Compute (User Preferences->System) doesn't have any options now, and when I check OpenSubdiv in the Subsurf modifier options, it says that it's disabled in the user preferences.

With that done, Blender doesn't crash anymore! But OpenSubdiv Compute (User Preferences->System) doesn't have any options now, and when I check OpenSubdiv in the Subsurf modifier options, it says that it's disabled in the user preferences.

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'

Ack… right, software OGL is not modern enough to be supported by OpenSubdiv :/

Will reopen in case @Sergey has more/better ideas here, but afraid we won’t be able to do much if we cannot reproduce the issue :|

Oh, maybe you can try tweaking OGL settings in UserPreferences, system tab (things like select method, draw method, multisample, anisotropic filtering, etc.), and/or try tweaking your GPU driver settings (e.g. try different values between 'performance' and 'quality' if you have such slider, etc.).

Ack… right, software OGL is not modern enough to be supported by OpenSubdiv :/ Will reopen in case @Sergey has more/better ideas here, but afraid we won’t be able to do much if we cannot reproduce the issue :| Oh, maybe you can try tweaking OGL settings in UserPreferences, system tab (things like select method, draw method, multisample, anisotropic filtering, etc.), and/or try tweaking your GPU driver settings (e.g. try different values between 'performance' and 'quality' if you have such slider, etc.).
Author

Okay, the last few minutes I've tried several values for the display options in User Preferences->System, the OpenGL render options from the top Render menu, all of the Shading/Display options in the 3D Viewport N-menu. I've also tried all of the possible values in Intel's 3D display settings.

There are only two options that have prevented the error from occurring (but aren't necessarily satisfactory workarounds):

  • Turning off the viewport visibility of the Subsurf modifier. You can still see the OpenSubdiv subsurf when you hit F12 to render, but you have to turn OpenSubdiv off in order for Subsurf visibility to function in the 3D viewport.

  • Activating a matcap. When this was on, activating OpenSubdiv on a model's Subsurf modifier would make it invisible. Only a selection outline wireframe was visible. (Screenshot attached) When Outline Selected is off in this state, the model is completely invisible.

blenderopensubdivmatcap1.png

Okay, the last few minutes I've tried several values for the display options in User Preferences->System, the OpenGL render options from the top Render menu, all of the Shading/Display options in the 3D Viewport N-menu. I've also tried all of the possible values in Intel's 3D display settings. There are only two options that have prevented the error from occurring (but aren't necessarily satisfactory workarounds): - Turning off the viewport visibility of the Subsurf modifier. You can still see the OpenSubdiv subsurf when you hit F12 to render, but you have to turn OpenSubdiv off in order for Subsurf visibility to function in the 3D viewport. - Activating a matcap. When this was on, activating OpenSubdiv on a model's Subsurf modifier would make it invisible. Only a selection outline wireframe was visible. (Screenshot attached) When Outline Selected is off in this state, the model is completely invisible. ![blenderopensubdivmatcap1.png](https://archive.blender.org/developer/F286666/blenderopensubdivmatcap1.png)

Note that opensubdiv is only used for viewport, regular subsurf is always used for render.

This totally sounds like driver issue, so afraid we cannot do much about it, will let @Sergey decide though.

Note that opensubdiv is only used for viewport, regular subsurf is always used for render. This totally sounds like driver issue, so afraid we cannot do much about it, will let @Sergey decide though.
Bastien Montagne removed their assignment 2016-03-12 15:40:09 +01:00
Sergey Sharybin was assigned by Bastien Montagne 2016-03-12 15:40:09 +01:00

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

yes, after all this discussion indeed seems it'a an OpenGL issue. There are some bigger changes planned to OpenSubdiv+OpenGL in Blender, for until those are done would consider it a TODO to stabilize all OpenGL flavors and making it more robust checks about which configurations are supported.

Thanks for the report anyway!

yes, after all this discussion indeed seems it'a an OpenGL issue. There are some bigger changes planned to OpenSubdiv+OpenGL in Blender, for until those are done would consider it a TODO to stabilize all OpenGL flavors and making it more robust checks about which configurations are supported. Thanks for the report anyway!
Sign in to join this conversation.
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
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#47507
No description provided.