In dual monitor, Mesh disappears when Opensubdiv's on #48953

Closed
opened 2016-07-27 03:08:28 +02:00 by Darío Baldi · 5 comments

I'm not sure if it's a bug or an Opensubdiv limitation.

System Information
Windows 7, NVDIA GTX 650

Blender Version
Tried in these versions and it didn't work in any.
2.76b - hash: f337fea
2.77 - hash: abf6f08
2.77 - hash: eececb0 (buildbot)

Short description of error
In a dual monitor set-up with 2 or more 3d View windows, mesh disappears when opensubdiv is on in all but one window. I tried with simple cube scene and with Victor's rig (CL) and couldn't reproduce the issue.

Exact steps for others to reproduce the error
Turn off/on open subdiv, mesh will appear/disappear. I attached a blend file of the scene.
Blend file: opensubdiv bug.blend
My system info:system-info.txt

Gif showing problem: opensubdiv-bug.gif

I'm not sure if it's a bug or an Opensubdiv limitation. **System Information** Windows 7, NVDIA GTX 650 **Blender Version** Tried in these versions and it didn't work in any. 2.76b - hash: f337fea 2.77 - hash: abf6f08 2.77 - hash: eececb0 (buildbot) **Short description of error** In a dual monitor set-up with 2 or more 3d View windows, mesh disappears when opensubdiv is on in all but one window. I tried with simple cube scene and with Victor's rig (CL) and couldn't reproduce the issue. **Exact steps for others to reproduce the error** Turn off/on open subdiv, mesh will appear/disappear. I attached a blend file of the scene. Blend file: [opensubdiv bug.blend](https://archive.blender.org/developer/F328482/opensubdiv_bug.blend) My system info:[system-info.txt](https://archive.blender.org/developer/F328479/system-info.txt) Gif showing problem: ![opensubdiv-bug.gif](https://archive.blender.org/developer/F328487/opensubdiv-bug.gif)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @dario.baldi

Added subscriber: @dario.baldi

Added subscriber: @Sergey

Added subscriber: @Sergey

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2016-07-27 10:01:45 +02:00

This is a known issue which was already reported here.

This is a specific behavior of how OpenGL and how we use it in Blender. The thing here is that for the performance gains Blender will use separate OpenGL contexts for different windows. But at the same time, so-called VAOs (Vertex Array Objects) are required for OpenSubdiv. Those are like the only ones who are not shared across different OpenGL contexts.

The difficult part here is that drawing code in Blender doesn't really know what window it operates in, what VAO will be relevant to it, how to create VAO when opening new window and destroying VAO when closing a window.

I didn't want to start hacking the system to add quick support for those, because it's like stressing drawing and window management code beyond it's limits, and we also have bigger plans on re-designing the whole drawing code in Blender for 2.8. So would rather invest time we work on really strong new design that trying to hack current limited design.

Thanks for the report, but it's a TODO for now.

This is a known issue which was already reported here. This is a specific behavior of how OpenGL and how we use it in Blender. The thing here is that for the performance gains Blender will use separate OpenGL contexts for different windows. But at the same time, so-called VAOs (Vertex Array Objects) are required for OpenSubdiv. Those are like the only ones who are not shared across different OpenGL contexts. The difficult part here is that drawing code in Blender doesn't really know what window it operates in, what VAO will be relevant to it, how to create VAO when opening new window and destroying VAO when closing a window. I didn't want to start hacking the system to add quick support for those, because it's like stressing drawing and window management code beyond it's limits, and we also have bigger plans on re-designing the whole drawing code in Blender for 2.8. So would rather invest time we work on really strong new design that trying to hack current limited design. Thanks for the report, but it's a TODO for now.
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
2 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#48953
No description provided.