grease pencil fast draw loses details in macOS #79425

Open
opened 3 years ago by ckim · 17 comments
ckim commented 3 years ago

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.
ckim commented 3 years ago
Poster

Added subscriber: @ckim

Added subscriber: @ckim
iss commented 3 years ago
Collaborator

Added subscriber: @iss

Added subscriber: @iss
iss commented 3 years ago
Collaborator

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
ckim commented 3 years ago
Poster

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.
iss commented 2 years ago
Collaborator

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).
ckim commented 2 years ago
Poster

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.
Collaborator

Added subscriber: @filedescriptor

Added subscriber: @filedescriptor
Collaborator

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

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

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)
Collaborator

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

Changed status from 'Needs User Info' to: 'Needs Triage'
ankitm commented 2 years ago
Collaborator

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

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

Added subscriber: @PrototypeNM1

Added subscriber: @PrototypeNM1
Collaborator

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.
lichtwerk removed the
legacy module/Grease Pencil
label 23 hours ago
lichtwerk removed the
Interest/Grease Pencil
label 23 hours ago
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/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
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/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Nodes & Physics
Interest/Overrides
Interest/Performance
Interest/Performance
Interest/Physics
Interest/Pipeline, Assets & I/O
Interest/Platforms, Builds, Tests & Devices
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
legacy module/Animation & Rigging
legacy module/Core
legacy module/Development Management
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/Triaging
legacy module/User Interface
legacy module/VFX & Video
legacy project/1.0.0-beta.2
legacy project/Asset Browser (Archived)
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Code Quest
legacy project/Datablocks and Libraries
legacy project/Eevee
legacy project/Game Animation
legacy project/Game Audio
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Logic
legacy project/Game Physics
legacy project/Game Python
legacy project/Game Rendering
legacy project/Game UI
legacy project/GPU / Viewport
legacy project/GSoC
legacy project/Infrastructure: Websites
legacy project/LibOverrides - Usability and UX
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/Nodes
legacy project/OpenGL Error
legacy project/Papercut
legacy project/Pose Library Basics
legacy project/Retrospective
legacy project/Tracker Curfew
legacy project/Wintab High Frequency
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
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 & Devices
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 Information 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#79425
Loading…
There is no content yet.