GPencil – Unwanted Dots In Strokes #80906

Open
opened 2 years ago by ronsn · 23 comments
ronsn commented 2 years ago

System Information
Operating system: Linux-5.4.0-47-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: GeForce GTX 1660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100

Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-17 12:10, hash: 82bd1287dd
Worked: (newest version of Blender that worked as expected)

Short description of error
When rendering thick lines the lines will have some unwanted transparent dots. Especially if you turn the percentage of the render resolution up to 200%. Take a look at the attached images (in full size) wehre I marked the dots with red circles:

100% of the standard render resolution (less unwanted dots)
GPencil_Unwanted_Dots_100percent.png

200% of the standard render resolution (more unwanted dots)
GPencil_Unwanted_Dots_200percent.png

This issue might occur on NVIDIA graphics cards only (see comment from @JSM).

Exact steps for others to reproduce the error
GPencil_Unwanted_Dots_r0.blend

Render the attached .blend file, or:

  1. Open Blender and select 2D Animation on the Splash Screen
  2. Draw some thick lines
  3. Turn the percentage of the standard render resolution up to 200%
  4. Render the image and inspect the lines

––––––––––––––––––––--

Have fun in the sun! 😁

**System Information** Operating system: Linux-5.4.0-47-generic-x86_64-with-debian-bullseye-sid 64 Bits Graphics card: GeForce GTX 1660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100 **Blender Version** Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-17 12:10, hash: `82bd1287dd` Worked: (newest version of Blender that worked as expected) **Short description of error** When rendering thick lines the lines will have some unwanted transparent dots. Especially if you turn the percentage of the render resolution up to 200%. Take a look at the attached images (in full size) wehre I marked the dots with red circles: **100% of the standard render resolution** (less unwanted dots) ![GPencil_Unwanted_Dots_100percent.png](https://archive.blender.org/developer/F8893195/GPencil_Unwanted_Dots_100percent.png) **200% of the standard render resolution** (more unwanted dots) ![GPencil_Unwanted_Dots_200percent.png](https://archive.blender.org/developer/F8893190/GPencil_Unwanted_Dots_200percent.png) This issue might occur on NVIDIA graphics cards only ([see comment from](https://developer.blender.org/T80906#1020570) @JSM). **Exact steps for others to reproduce the error** [GPencil_Unwanted_Dots_r0.blend](https://archive.blender.org/developer/F8893187/GPencil_Unwanted_Dots_r0.blend) Render the attached .blend file, or: 1. Open Blender and select *2D Animation* on the *Splash Screen* 2. Draw some thick lines 3. Turn the percentage of the standard render resolution up to 200% 4. Render the image and inspect the lines ––––––––––––––––––––-- Have fun in the sun! 😁
ronsn commented 2 years ago
Poster

Added subscriber: @ronsn

Added subscriber: @ronsn
JSM commented 2 years ago

Added subscriber: @JSM

Added subscriber: @JSM
JSM commented 2 years ago

Can confirm; I have this issue as well.
Tested Blender versions all the way back to 2.80 and the issue persists.

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 452.06

Blender Versions tested
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-16 21:05, hash: 27660b3cd9
Broken: version: 2.90.0, branch: master, commit date: 2020-08-31 11:26, hash: 0330d1af29
Broken: version: 2.83.6, branch: master, commit date: 2020-09-09 07:32, hash: 8610c69777
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: f6cb5f5449

Can confirm; I have this issue as well. Tested Blender versions all the way back to 2.80 and the issue persists. **System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 452.06 **Blender Versions tested** Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-16 21:05, hash: `27660b3cd9` Broken: version: 2.90.0, branch: master, commit date: 2020-08-31 11:26, hash: `0330d1af29` Broken: version: 2.83.6, branch: master, commit date: 2020-09-09 07:32, hash: `8610c69777` Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: `f6cb5f5449`
Collaborator

Added subscriber: @mano-wii

Added subscriber: @mano-wii
Collaborator

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

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

Here is my resulting file.
untitled.png

Am I looking at the wrong place? Because I'm not finding any dot.

Please try the latest daily build: https://builder.blender.org/download/

Go to File → Defaults → Load Factory Settings and then load your file to see if you still can reproduce this issue.


Operating system: Windows-10-10.0.18941 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13596 Core Profile Context 20.10.19.02 27.20.1019.2002

Here is my resulting file. ![untitled.png](https://archive.blender.org/developer/F8906841/untitled.png) Am I looking at the wrong place? Because I'm not finding any dot. Please try the latest daily build: https://builder.blender.org/download/ Go to File → Defaults → Load Factory Settings and then load your file to see if you still can reproduce this issue. ---- **Operating system:** Windows-10-10.0.18941 64 Bits **Graphics card:** Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13596 Core Profile Context 20.10.19.02 27.20.1019.2002
ronsn commented 2 years ago
Poster

@mano-wii When I wrote this issue I already used the latest version from buildbot. But okay, I tested again with the latest available version and the issue still exists. This time I made a screen capture where you can see, that the dots are like quantum fluctuation. They appear and disappear 😅

This was done with Factory Settings but I increased the contrast afterwards:
gpencil_unwanted_dots_r0.mp4

Maybe it's an issue with NVIDIA cards 🤷‍♂️

–––––––––––––––––

System Information
Operating system: Linux-5.4.0-47-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: GeForce GTX 1660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100

Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-20 18:23, hash: e14894aad2

@mano-wii When I wrote this issue I already used the latest version from buildbot. But okay, I tested again with the latest available version and the issue still exists. This time I made a screen capture where you can see, that the dots are like quantum fluctuation. They appear and disappear 😅 This was done with *Factory Settings* but I increased the contrast afterwards: [gpencil_unwanted_dots_r0.mp4](https://archive.blender.org/developer/F8907073/gpencil_unwanted_dots_r0.mp4) Maybe it's an issue with NVIDIA cards 🤷‍♂️ ––––––––––––––––– **System Information** Operating system: Linux-5.4.0-47-generic-x86_64-with-debian-bullseye-sid 64 Bits Graphics card: GeForce GTX 1660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100 **Blender Version** Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-20 18:23, hash: `e14894aad2`
Collaborator

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

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

So is the step 4 (render the image and inspect the lines) optional?
I still can't reproduce the problem :\

So is the step 4 (render the image and inspect the lines) optional? I still can't reproduce the problem :\
ronsn commented 2 years ago
Poster

@mano-wii: Yes step 4 seems to be optional. I discovered the fluctuation just today. But if I render the image again and again the dots stay at the same spot. I can't see any dot in your rendered image.
@JSM has a NVIDIA card as well but newer driver than me and he has the same issue. So maybe it's an NVIDIA related issue and some Blender developer with an NVIDIA card can reproduce this behavior.

@mano-wii: Yes step 4 seems to be optional. I discovered the fluctuation just today. But if I render the image again and again the dots stay at the same spot. I can't see any dot in your rendered image. @JSM has a NVIDIA card as well but newer driver than me and he has the same issue. So maybe it's an NVIDIA related issue and some Blender developer with an NVIDIA card can reproduce this behavior.
JSM commented 2 years ago

This definitely might be a bug specific to nvidia gpus.
tested with latest buildbot build on my other system (which has an amd gpu):
System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: Radeon RX 580 Series ATI Technologies Inc. 4.5.13559 Core Profile Context 26.20.12028.2
No issues/dots
amd_system.png

But on my my system with a nvidia gpu the issue persists
System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.38
has dots:
nvidia_system.jpg

Blender Version
version: 2.91.0 Alpha, branch: master, commit date: 2020-09-20 18:23, hash: e14894aad2

This definitely might be a bug specific to nvidia gpus. tested with latest buildbot build on my other system (which has an amd gpu): **System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: Radeon RX 580 Series ATI Technologies Inc. 4.5.13559 Core Profile Context 26.20.12028.2 No issues/dots ![amd_system.png](https://archive.blender.org/developer/F8907096/amd_system.png) ⠀ But on my my system with a nvidia gpu the issue persists **System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.38 has dots: ![nvidia_system.jpg](https://archive.blender.org/developer/F8907107/nvidia_system.jpg) **Blender Version** version: 2.91.0 Alpha, branch: master, commit date: 2020-09-20 18:23, hash: `e14894aad2`
JSM commented 2 years ago

Also my old: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19 has issues as well.

Also my old: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19 has issues as well.
iss commented 2 years ago
Collaborator

Added subscribers: @lichtwerk, @iss

Added subscribers: @lichtwerk, @iss
iss commented 2 years ago
Collaborator

No issue here either - AMD card. @lichtwerk can you check?

No issue here either - AMD card. @lichtwerk can you check?
Collaborator

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

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

Can confirm

**System Information**
Operating system: Linux-5.8.4-200.fc32.x86_64-x86_64-with-fedora-32-Thirty_Two 64 Bits
Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.66
version: 2.91.0 Alpha, branch: master, commit date: 2020-09-28 10:06, hash: `rBf7655dd322dd`
Can confirm ``` **System Information** Operating system: Linux-5.8.4-200.fc32.x86_64-x86_64-with-fedora-32-Thirty_Two 64 Bits Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.66 version: 2.91.0 Alpha, branch: master, commit date: 2020-09-28 10:06, hash: `rBf7655dd322dd` ```
Collaborator

Added subscriber: @antoniov

Added subscriber: @antoniov
Collaborator

I have tested on Windows with NVIDIA RTX2080TI and sometimes get dots. I have used 2D template a draw a simple stroke.

image.png

I have tested on Windows with NVIDIA RTX2080TI and sometimes get dots. I have used 2D template a draw a simple stroke. ![image.png](https://archive.blender.org/developer/F8932252/image.png)
Collaborator

Can you reproduce the bug with the latest versions? I have not had these points for weeks.

Can you reproduce the bug with the latest versions? I have not had these points for weeks.
Collaborator

Using the file from the report, I still see the dots

Using the file from the report, I still see the dots
ronsn commented 2 years ago
Poster

Issues are still here too (also with new drawings):

System Information
Operating system: Linux-5.4.0-52-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: GeForce GTX 1660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.80.02

Blender Version
Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-11-11 22:08, hash: 2ef2b3e0fd

Issues are still here too (also with new drawings): **System Information** Operating system: Linux-5.4.0-52-generic-x86_64-with-debian-bullseye-sid 64 Bits Graphics card: GeForce GTX 1660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.80.02 **Blender Version** Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-11-11 22:08, hash: `2ef2b3e0fd`
JSM commented 2 years ago

Still have issues as well
(with supplied file and new drawings)

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.30

Blender Version
Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-11-11 22:08, hash: 2ef2b3e0fd

Still have issues as well (with supplied file and new drawings) **System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.30 **Blender Version** Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-11-11 22:08, hash: `2ef2b3e0fd`
JSM commented 10 months ago

So I found a way to make the dots even more severe and the underlying case perhaps.

If you take any stroke, even a smaller radius like 25 px, subdivide it; the dots show up and get worse.
This makes me think it has to do with the draw code(?) and spacing between Grease pencil vertexes.
see attached video.

Desktop 2022.04.15 - 04.28.45.02.mp4

Heavily subdivided stroke example image:

ugly.jpg

So the work around until this gets fixed is simplify modifier or simplify operator on affected strokes.

Tested on
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15

Blender Version
3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: cc66d1020c
3.2.0 Alpha, branch: master, commit date: 2022-04-14 19:51, hash: 48ff456a4b

So I found a way to make the dots even more severe and the underlying case perhaps. If you take any stroke, even a smaller radius like 25 px, subdivide it; the dots show up and get worse. This makes me think it has to do with the draw code(?) and spacing between Grease pencil vertexes. see attached video. [Desktop 2022.04.15 - 04.28.45.02.mp4](https://archive.blender.org/developer/F13002596/Desktop_2022.04.15_-_04.28.45.02.mp4) Heavily subdivided stroke example image: ![ugly.jpg](https://archive.blender.org/developer/F13002605/ugly.jpg) **So the work around until this gets fixed is simplify modifier or simplify operator on affected strokes.** **Tested on** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15 **Blender Version** 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: `cc66d1020c` 3.2.0 Alpha, branch: master, commit date: 2022-04-14 19:51, hash: `48ff456a4b`
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#80906
Loading…
There is no content yet.