Adaptive subdiv stuck in "Simple" mode #53604

Closed
opened 2017-12-21 12:03:10 +01:00 by Sebastian Parborg · 24 comments

System Information
Operating system and graphics card
Gentoo Linux
AMD 290x

Blender Version
Broken: (example: 2.69.7 4b206af, see splash screen)
2.79 (master branch) 0ed3a72012

Worked: (optional)
Latest 2.79 release

Short description of error
Adaptive subdiv seems to be now stuck in simple mode. Before it would work with catmull-clark also

Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps

  1. Open attached .blend file
  2. Render the image and notice that the cube doesn't turn into a ball
  3. See attached pictures on the difference between master branch and 2.79

test.blend
Master:
master.png
2.79:
279.png

**System Information** Operating system and graphics card Gentoo Linux AMD 290x **Blender Version** Broken: (example: 2.69.7 4b206af, see splash screen) 2.79 (master branch) 0ed3a72012 Worked: (optional) Latest 2.79 release **Short description of error** Adaptive subdiv seems to be now stuck in simple mode. Before it would work with catmull-clark also **Exact steps for others to reproduce the error** Based on a (as simple as possible) attached .blend file with minimum amount of steps 1. Open attached .blend file 2. Render the image and notice that the cube doesn't turn into a ball 3. See attached pictures on the difference between master branch and 2.79 [test.blend](https://archive.blender.org/developer/F1475641/test.blend) Master: ![master.png](https://archive.blender.org/developer/F1475640/master.png) 2.79: ![279.png](https://archive.blender.org/developer/F1475639/279.png)
Author
Member

Added subscriber: @ZedDB

Added subscriber: @ZedDB
uydrr5v commented 2017-12-21 14:10:48 +01:00 (Migrated from localhost:3001)

Added subscriber: @uydrr5v

Added subscriber: @uydrr5v
uydrr5v commented 2017-12-21 14:10:48 +01:00 (Migrated from localhost:3001)

This comment was removed by @uydrr5v

*This comment was removed by @uydrr5v*
uydrr5v commented 2017-12-21 14:11:46 +01:00 (Migrated from localhost:3001)

This comment was removed by @uydrr5v

*This comment was removed by @uydrr5v*
uydrr5v commented 2017-12-21 14:11:55 +01:00 (Migrated from localhost:3001)

This comment was removed by @uydrr5v

*This comment was removed by @uydrr5v*
uydrr5v commented 2017-12-21 14:12:03 +01:00 (Migrated from localhost:3001)

This comment was removed by @uydrr5v

*This comment was removed by @uydrr5v*
uydrr5v commented 2017-12-21 14:12:10 +01:00 (Migrated from localhost:3001)

This comment was removed by @uydrr5v

*This comment was removed by @uydrr5v*
uydrr5v commented 2017-12-21 14:12:25 +01:00 (Migrated from localhost:3001)

This comment was removed by @uydrr5v

*This comment was removed by @uydrr5v*
uydrr5v commented 2017-12-21 14:12:45 +01:00 (Migrated from localhost:3001)

This comment was removed by @uydrr5v

*This comment was removed by @uydrr5v*
uydrr5v commented 2017-12-21 14:12:51 +01:00 (Migrated from localhost:3001)

This comment was removed by @uydrr5v

*This comment was removed by @uydrr5v*

Added subscriber: @dfelinto

Added subscriber: @dfelinto

Added subscriber: @FloridaJo

Added subscriber: @FloridaJo

I can't verify that here.
2.79 Master and 2.79 buildbot render a ball for me.

macOs 10.13.2

I can't verify that here. 2.79 Master and 2.79 buildbot render a ball for me. macOs 10.13.2
Author
Member

Hmm, If you guys can reproduce then I don't know what I should do to figure out what is wrong.
I'm using gentoo portage to build blender from git. So the build directory is clean. I haven't made any changes to the blender code either. So I don't know what it could be.

It is really weird as adaptive subdiv still seems to work as I can plug displacements into the disp. output node and the surface gets tessellated. But as I said it seems to be stuck in "Simple" subdiv mode...

Hmm, If you guys can reproduce then I don't know what I should do to figure out what is wrong. I'm using gentoo portage to build blender from git. So the build directory is clean. I haven't made any changes to the blender code either. So I don't know what it could be. It is really weird as adaptive subdiv still seems to work as I can plug displacements into the disp. output node and the surface gets tessellated. But as I said it seems to be stuck in "Simple" subdiv mode...

Added subscriber: @sebastian_k

Added subscriber: @sebastian_k

I tested it with latest master on elementaryOS 0.4.1. and it renders a nice and round ball.

I tested it with latest master on elementaryOS 0.4.1. and it renders a nice and round ball.
Author
Member

I've tried to compile the "2.79" tag and it still is broken for me. However if I download the official 2.79 build, it works like expected :S

So I'm guessing this is a library bug or perhaps this is a problem only noticalbe with newer gcc versions?

I've attached my system-info.txt file.

system-info1.txt

I've tried to compile the "2.79" tag and it still is broken for me. However if I download the official 2.79 build, it works like expected :S So I'm guessing this is a library bug or perhaps this is a problem only noticalbe with newer gcc versions? I've attached my system-info.txt file. [system-info1.txt](https://archive.blender.org/developer/F1493775/system-info1.txt)

Added subscriber: @zeauro

Added subscriber: @zeauro

It looks like you are using more recent versions of libraries than Blender developers.

To avoïd that, use the install_deps script.

https://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux/Gentoo/CMake#2._Install.2FUpdate_the_dependencies

It looks like you are using more recent versions of libraries than Blender developers. To avoïd that, use the install_deps script. https://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux/Gentoo/CMake#2._Install.2FUpdate_the_dependencies

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Brecht Van Lommel self-assigned this 2017-12-24 15:49:48 +01:00

The issue is that you are not building with WITH_OPENSUBDIV=ON and WITH_CYCLES_OPENSUBDIV=ON.

If the Gentoo package is not configured to build that way you can consider reporting a bug to them.

The issue is that you are not building with `WITH_OPENSUBDIV=ON` and `WITH_CYCLES_OPENSUBDIV=ON`. If the Gentoo package is not configured to build that way you can consider reporting a bug to them.
Author
Member

@brecht Yes that was it! Thank you.

I have just one question.
Why do you split up opensubdiv support like this? I think that reason for the confusion (at least for me) is that one would think that WITH_OPENSUBDIV=ON would enable opensubdiv for all parts of blender and that there would be no additional switches needed for say cycles.

I think this is what happened with the Gentoo package as WITH_OPENSUBDIV=ON were correctly turned on/off depending on if you wanted opensubdiv or not. However WITH_CYCLES_OPENSUBDIV=ON was missing.

@brecht Yes that was it! Thank you. I have just one question. Why do you split up opensubdiv support like this? I think that reason for the confusion (at least for me) is that one would think that `WITH_OPENSUBDIV=ON` would enable opensubdiv for all parts of blender and that there would be no additional switches needed for say cycles. I think this is what happened with the Gentoo package as `WITH_OPENSUBDIV=ON` were correctly turned on/off depending on if you wanted opensubdiv or not. However `WITH_CYCLES_OPENSUBDIV=ON` was missing.

It has to do with OpenSubdiv not working in Blender due to OpenGL limitations on macOS, while it does work in Cycles. We'll unify the cmake option in Blender 2.8.

It has to do with OpenSubdiv not working in Blender due to OpenGL limitations on macOS, while it does work in Cycles. We'll unify the cmake option in Blender 2.8.
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
7 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#53604
No description provided.