grease pencil fast draw loses details in macOS #79425

Open
opened 2020-07-31 13:04:48 +02:00 by Chun Kim Kiu · 17 comments

System Information
Operating system: macOS 10.13.4
MacBook Pro (Retina, 13-inch, Early 2015)
Intel Iris Graphics 6100 1536 MB

Blender Version
2.83.3

Short description of error
From the grease pencil refactor demo, smoother drawing of fast strokes is achieved.

But when I tested, from the left drawing of the attached file, slow drawing produce smooth and accurate line. but the right drawing losses details in fast drawing and easily create corner. Is it an issue for macOS?
fast_stroke.blend

Comparison with drawing in Preview.app
image.png

Steps to redo:
New file > 2D animation
Scribble real fast.

**System Information** Operating system: macOS 10.13.4 MacBook Pro (Retina, 13-inch, Early 2015) Intel Iris Graphics 6100 1536 MB **Blender Version** 2.83.3 **Short description of error** From the grease pencil refactor demo, smoother drawing of fast strokes is achieved. But when I tested, from the left drawing of the attached file, slow drawing produce smooth and accurate line. but the right drawing losses details in fast drawing and easily create corner. Is it an issue for macOS? [fast_stroke.blend](https://archive.blender.org/developer/F8733072/fast_stroke.blend) Comparison with drawing in Preview.app ![image.png](https://archive.blender.org/developer/F9935109/image.png) **Steps to redo:** New file > 2D animation Scribble real fast.
Author

Added subscriber: @ckim

Added subscriber: @ckim

Added subscriber: @iss

Added subscriber: @iss

Are those corners created on start of stroke or on end? I am thinking, that this could be related to #78856

Are those corners created on start of stroke or on end? I am thinking, that this could be related to #78856
Author

I have checked #78856, which I found some similarities and differences.

I try to draw some fast straight lines as #78856. I did notice some delay and result in similar shorter lines as #78856, but only about 20% of the lines got shortened, not as much as it is found in #78856.

I also noticed #78856 mentioned about large file size causing the delay, but I experience the loss of detail in fast draw starting from a new empty file. From the #78856 video that some description is written on the screen, which in my case, the same writing speed can't produce the same accuracy. A lot of detail is lost in the hand writing in my mac.

Finally, about the corners on the stroke, it is mostly created in the middle of the stroke, especially the curve line, I feel like it fails to track a complete fast draw, and is only able to capture a point in the middle which ends up creating a corner.

I hope this information helps!

I have checked #78856, which I found some similarities and differences. I try to draw some fast straight lines as #78856. I did notice some delay and result in similar shorter lines as #78856, but only about 20% of the lines got shortened, not as much as it is found in #78856. I also noticed #78856 mentioned about large file size causing the delay, but I experience the loss of detail in fast draw starting from a new empty file. From the #78856 video that some description is written on the screen, which in my case, the same writing speed can't produce the same accuracy. A lot of detail is lost in the hand writing in my mac. Finally, about the corners on the stroke, it is mostly created in the middle of the stroke, especially the curve line, I feel like it fails to track a complete fast draw, and is only able to capture a point in the middle which ends up creating a corner. I hope this information helps!

Added subscriber: @donaldradams2

Added subscriber: @donaldradams2

I'm seeing this exact issue on my mac as well. Only very slow drawing produces smooth lines, anything quicker has a bunch of angles in it.

Screen Shot 2020-08-13 at 11.54.19 AM.png

Screen Shot 2020-08-13 at 11.55.50 AM.png

I've tried posting a gif of the bug.
2020-08-13 11.59.13.gif

Here's a screenshot. The drawings on the right were drawn faster and have pointy corners in them for some reason. The smoother drawings were done very slowly.
Screen Shot 2020-08-13 at 12.00.42 PM.png

I'm seeing this exact issue on my mac as well. Only very slow drawing produces smooth lines, anything quicker has a bunch of angles in it. ![Screen Shot 2020-08-13 at 11.54.19 AM.png](https://archive.blender.org/developer/F8777519/Screen_Shot_2020-08-13_at_11.54.19_AM.png) ![Screen Shot 2020-08-13 at 11.55.50 AM.png](https://archive.blender.org/developer/F8777522/Screen_Shot_2020-08-13_at_11.55.50_AM.png) I've tried posting a gif of the bug. ![2020-08-13 11.59.13.gif](https://archive.blender.org/developer/F8777536/2020-08-13_11.59.13.gif) Here's a screenshot. The drawings on the right were drawn faster and have pointy corners in them for some reason. The smoother drawings were done very slowly. ![Screen Shot 2020-08-13 at 12.00.42 PM.png](https://archive.blender.org/developer/F8777540/Screen_Shot_2020-08-13_at_12.00.42_PM.png)

I have an update on this. The bug is related to or affected by the screen resolution.

When on my laptop (specs in the post above) at the maximum resolution the bug is there. As I decrease the screen resolution, the circles/curves tend to be smoother. Also, when connected to an external LG 27" 4k monitor, the problem isn't there or is barely noticeable.

@ckim this might be a workaround for you until the team can address the underlying issue.

I have an update on this. The bug is related to or affected by the screen resolution. When on my laptop (specs in the post above) at the maximum resolution the bug is there. As I decrease the screen resolution, the circles/curves tend to be smoother. Also, when connected to an external LG 27" 4k monitor, the problem isn't there or is barely noticeable. @ckim this might be a workaround for you until the team can address the underlying issue.

I tried to reproduce this issue on 4K, it is quite hard to produce consistent curves with consistent speed using mouse, so it is quite hard to triage.
Strokes that I make look relatively OK. Nothing that would raise any concern (apart from ocasional straight lines at start).

I tried to reproduce this issue on 4K, it is quite hard to produce consistent curves with consistent speed using mouse, so it is quite hard to triage. Strokes that I make look relatively OK. Nothing that would raise any concern (apart from ocasional straight lines at start).
Author

Thanks for the update.

The resolution of my macbook pro is 1440 x 900, it is not even the highest resolution, I did try to test it with the lowest resolution 1024 x 640, It does improve a lot (the line is acceptable, but the resolution is too small to work on), still the stroke is not as smooth as painting in Photoshop on the same mac.

I've just try out the new released 2.9, the issue is more or less the same. I hope it will be improved in a near future.

Thanks for the update. The resolution of my macbook pro is 1440 x 900, it is not even the highest resolution, I did try to test it with the lowest resolution 1024 x 640, It does improve a lot (the line is acceptable, but the resolution is too small to work on), still the stroke is not as smooth as painting in Photoshop on the same mac. I've just try out the new released 2.9, the issue is more or less the same. I hope it will be improved in a near future.
Member

Added subscriber: @filedescriptor

Added subscriber: @filedescriptor
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Is this still an issue with the latest alpha from https://builder.blender.org/download/? Thanks.

Is this still an issue with the latest alpha from https://builder.blender.org/download/? Thanks.

Unfortunately this is still a problem in the Alpha release. I would say that it's even worse for me now. Here's a screenshot.

Screen Shot 2021-03-13 at 10.04.40 AM.png

This really is a big problem for me. It makes grease pencil completely unusable for me and probably for other Mac users as well.

Screen Shot 2021-03-13 at 10.06.40 AM.png

Unfortunately this is still a problem in the Alpha release. I would say that it's even worse for me now. Here's a screenshot. ![Screen Shot 2021-03-13 at 10.04.40 AM.png](https://archive.blender.org/developer/F9889168/Screen_Shot_2021-03-13_at_10.04.40_AM.png) This really is a big problem for me. It makes grease pencil completely unusable for me and probably for other Mac users as well. ![Screen Shot 2021-03-13 at 10.06.40 AM.png](https://archive.blender.org/developer/F9889170/Screen_Shot_2021-03-13_at_10.06.40_AM.png)
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Added subscriber: @PrototypeNM1

Added subscriber: @PrototypeNM1

Just looking at the behavior, I would guess that some timeout or ring buffer overwrite mechanism is happening in OSX with tablet events, and Blender periodically doesn't get back to reading them fast enough. This would explain why changing screen resolution would change drawing performance when it otherwise shouldn't.

If there's no visual hitch in the program that indicates some operation in Blender is taking too long, then said mechanism isn't very forgiving. The fix would be to separate Blender event reading into it's own thread, so that it becomes very unlikely that any event isn't handled immediately.

Just looking at the behavior, I would guess that some timeout or ring buffer overwrite mechanism is happening in OSX with tablet events, and Blender periodically doesn't get back to reading them fast enough. This would explain why changing screen resolution would change drawing performance when it otherwise shouldn't. If there's no visual hitch in the program that indicates some operation in Blender is taking too long, then said mechanism isn't very forgiving. The fix would be to separate Blender event reading into it's own thread, so that it becomes very unlikely that any event isn't handled immediately.
Philipp Oeser removed the
Interest
Grease Pencil
label 2023-02-09 15:19:46 +01:00
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
6 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#79425
No description provided.