To set stereo 3d mode to Time Sequential may crash Blender #44688
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#44688
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
OSX 10.9.5 but I also suspect Linux have this issue.
Short description of error
When setting 3D to Time Sequential (aka Quadbuffer) Blender duplicates the window (see
wm_stereo3d_set_exec
), when 'time sequential is not supported, the menu lingers open, and leads to a crash after I try to press OK, or simply click around the UI.Also, if I try to change the stereo mode in the python console it works fine:
bpy.ops.wm.set_stereo_3d(display_mode='TIMESEQUENTIAL')
Exact steps for others to reproduce the error
Now quit the menu (esc), or just click anywhere in the UI and boom !
This may be related to the 'broken pop UI' I get when Quadbuffer is not supported:
(look at the exclamation mark on the left)
Changed status to: 'Open'
Added subscriber: @dfelinto
Added subscriber: @sindra1961
It crashes when I perform something in the pop-up window after a warning mark appeared.
However, it does not crash when I click another place of 3dview in defiance of it.
The error of not supporting Quad-buffer in a log file is recorded.
result.txt
Added subscriber: @ideasman42
@ideasman42 any chance you could look at that? This seems related to context/operator getting buggy after windows duplication
Added subscriber: @Sergey
For the records, in some systems, there is a crash that happens prior to the real issue. So for general testing the patch below helps to reproduce the issue in some linuxes too.
@ideasman42, afraid you know this are better than me. Mind having a look and give some help to Dalai?
This issue was referenced by
d9b6768521
Changed status from 'Open' to: 'Resolved'
@ideasman42 after your commit I get the following crash:
(OSX here) is it working in your computer? Do you see the error message popup?
@dfelinto, could you try with
95b9d6d9c2
or later?(I had to trick Blender into thinking the OpenGL state was OK to test the patch, think its fixed now)
@ideasman42 it's almost there. When the window is NOT in fullscreen it no longer crashes. If I set fullscreen first (Alt+F11) I then get the same segfault as above (listbase.c:111)
@dfelinto, As you did before, could you make a patch which will crash? without the system having to support 3d hardware I don't have? :)
Re-opening bug so we dont forget about it for release.
Changed status from 'Resolved' to: 'Open'
Removed subscriber: @sindra1961
Added subscriber: @ThomasDinges
I can't reproduce the issue (Alt+F11) on linux, @ThomasDinges can you try that on windows to see if it's OSX specific?
How to test:
Managed to get a crash with the popup, should be really fixed this time.
b54e95a5c8
But theres still a crash:
Alt+F10
Alt+F11
Set Stereo 3D -> Time Sequential
@ideasman42 you don't even need Alt+F11 for this crash in string.c, "Alt+F10, Set Stereo 3D > Time Sequencial" is enough. I'll look at that. I still get the Alt + F11 crash, but it's probably OSX only.
@dfelinto,
Looks like making
ED_screen_duplicate
support non-normal screens will fix.Just need to make sure the screen state remains valid at all times. (when using a temp screen for eg).
Note that testing different fixes here was getting problematic. Committed
962f764d58
to avoid calling operator exec to duplicate screen (so its easier to add args if we want).@dfelinto, is this fixed now?
If not, would be good to note what fails exactly, AFAICS there were 2 bugs which are resolved.
@ideasman42 apart from the fullwindow (Alt + F11) issue in OSX, I believe the bug is fixed. I'm yet to confirm if we didn't break quadbuffer support for computers that can handle it, so I will wait to close this until later this week.
@dfelinto. maybe am being a bit picky - but the state of this report is confusing now.
If I had OSX and wanted to fix I wouldn't even know where to start.
Maybe this report could be closed,. Then open new report with remaining issue?
Its just this is potentially holding up release, so leaving it in some unknown state means its hard keep track of what needs doing.
Changed status from 'Open' to: 'Resolved'
OK, I just tested master in a quadbuffer compatible station and things are working from either fullscreen (Alt+F11) or windowed modes.
I'm closing this now and I'll report the fullscreen + OSX issue separately later.
Out of curiosity, when in fullscreen (Alt + F11) in Linux, after toggling Pageflip mode, the new window is not fullscreen. I think this is a minor drawback, so nothing to worry about.