Grease pencil immediately crashes on macOS #74536
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#74536
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
Operating system: Darwin-19.3.0-x86_64-i386-64bit 64 Bits
Graphics card: NVIDIA GeForce GT 750M OpenGL Engine NVIDIA Corporation 4.1 NVIDIA-14.0.31 355.11.11.10.10.143
Blender Version
Broken: version: 2.83 (sub 7), branch: greasepencil-object, commit date: 2020-03-07 11:42, hash:
505494062c
Worked:
Short description of error
It seems grease pencil objects in general make Blender crash. This is the first version with the refactor that i'm aware of.
Exact steps for others to reproduce the error
Opening blender and selecting 2D animation startup preset results in crash.
Opening blender and using the default startup preset, then adding a GP-Object, entering draw mode and attempting to draw results in a crash.
Opening blender and using the default startup preset, then adding a GP-Object Monkey type results in crash.
Added subscriber: @MichielvanderWal
#74582 was marked as duplicate of this issue
Added subscriber: @dupoxy
same for me
System Information
Operating system: Darwin-17.7.0-x86_64-i386-64bit 64 Bits
Graphics card: NVIDIA GeForce GTX 680MX OpenGL Engine NVIDIA Corporation 4.1 NVIDIA-10.32.0 355.11.10.10.40.102
Blender Version
Broken: version: 2.83 (sub 7), branch: greasepencil-object, commit date: 2020-03-07 16:29, hash:
5b3670acb4
terminal:
blender.crash.txt:
output with --debug-all:
log-debug.txt
@antoniov are you aware of that !
Added subscriber: @antoniov
Added subscriber: @fclem
@fclem What do you think of this?
The longest attribs used is this:
If you add the values you get:
4 + 4 + 4 + 2 = 14
values in 4 attributtes. Never more than 16 attribs are used, so it looks a driver issue.can someone test in a MacOS machine? We have only Windows and Linux.
This now also happens in the latest master build (
07bdbeda84
) same results! Windows and Linux most likely work, could it be an issue on my end?Added subscribers: @Le.Citron, @BerbankGreen
Grease Pencil Object build crashes with any GP-Object at all on Macto Grease pencil immediately crashes on macOSChanged status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @brecht
Here is the failing shader: P1288
I don't know how these are counted exactly, maybe geometry shader attributes add to the total?
Removing e.g.
hard2
and usinghard1
instead makes it work.hard1
andhard2
are bothvec2
, maybe those can be merged into avec4
?There is no geometry shader anymore for GPencil. I don't know how OSX driver finds more than 16 attributes because we just use 15.
Maybe gl_InstanceID and gl_VertexID count in this limit. In which case we would have 17 attribs.
@brecht can you try replacing gl_InstanceID by 1 to comfirm my hypothesis?
No we cannot. This is because
hard1
andhard2
refer to different vertices. (see the offset and stride for each attrib in the screenshot)This is really tricky because the data is already packed like crazy.
After giving it more thoughts, I think we can pack hardness and aspect ratio with dots rotation if we accept the quality loss (8bits quantization). Also unpacking in the shader will add some overhead.
Assuming you mean this, yes that works as well. So I guess it does indeed count.
This issue was referenced by
c971e812d5
Changed status from 'Confirmed' to: 'Resolved'
Thanks, I can confirm this works, tested with the 2.82 splash screen .blend.