GPencil – Fills are Flickering #74663
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
12 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#74663
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: Linux-5.3.0-40-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 435.21
Blender Version
Broken: version: 2.83 (sub 8), branch: master, commit date: 2020-03-11 16:35, hash:
19b46b2fca
Worked: (optional)
Short description of error
While scrolling or hovering over the Viewport Gizmos the Fills starting to flicker. In some cases these artifacts will also be rendered. See screencast (At second 24, I discovered that hovering over the Gizmo made it worse^^):
grease_pencil_fill_flickering_2.mp4
Exact steps for others to reproduce the error
gp_fills_flickering.blend
Open the attached blend file and hover over the Viewport Gizmo, or
Tab
twice to change into Object Mode (this step is not necessary but in Object Mode it seems to be where the problem is most acute)––––––––––––––––––––––––––
I don't have any silly jokes for you today.^^
Added subscriber: @ronsn
#74705 was marked as duplicate of this issue
#74736 was marked as duplicate of this issue
#74702 was marked as duplicate of this issue
#74606 was marked as duplicate of this issue
Added subscribers: @fclem, @antoniov
Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
With the file you provide as example, I cannot reproduce any flickering in my system.
@fclem Do you any idea? can you reproduce it?
I cannot reproduce either. We had an issue with drivers older than 440. Try udpating your drivers to see if it helps.
Added subscribers: @(Deleted), @iss, @ankitm
@ronsn Fun Fact: This also happens when you click in and out of text boxes .
...Also, I had no idea this was happening to you, too. Thank you, Richard Antalik, for leading me straight to this.
@fclem I had to enable the developer mode for my system, to be able to install the driver (440.59).
I tested it also on another laptop, where it hasn't this issue.
I used the attached blend file above and the following Blender version for both.
And this are the results:
Blender Version
2.83 (sub 8), branch: master, commit date: 2020-03-12 00:33, hash:
8751af6d19
DOES NOT WORK ON THIS SYSTEM:
System Information
Operating system: Linux-5.3.0-40-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.59
WORKS ON THIS SYSTEM:
System Information
Operating system: Linux-4.15.0-88-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) Intel Open Source Technology Center 4.5 (Core Profile) Mesa 19.2.8
––––––––––––––––––––––––––––––
Anything else I can do? University is closed because of Corona, so I have a little bit more time^^
Btw. the issue occurs not only in the attached blend file above, but also with Suzanne in the General workspace:
Added subscriber: @Znio.G
Added subscriber: @ignietferro-1
I have bisected th error and it looks the flickering was introduced in commit
c971e812d5
@antoniov That would mean, that the parent commit
bf1b323b154433ab4701a7ab455cdecaa3867819
does not have this issue? I compiled that version and the issue is there as well: grease_pencil_fill_flickering_4.mp4Or did I misunderstand something?
Puhh, I was able to make a bisect too without running into compiling errors all the time.
I choose my borders like this:
Which I tested pretty hard and long. The flickering occurs sometimes a little bit less and sometimes a little bit more and sometimes less often. Which is why I had to test it a little bit longer. And this are my results:
So it seems, that 8b6ecdb77f is the one commit, which introduced the issue.
If you want me to make a recording between those two versions where one is good and the next is bad, I'll make it, but now it's a little bit late here, so I have to leave you for now. :)
Addendum: Even if this was the first bad commit, doesn't mean that there are no other newer commits, which repeated and/or increased the issue.
Added subscriber: @BerbankGreen
Added subscriber: @n1729
I'm experiencing the same issue, too. My environment is as follows.
System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19
Blender Version
Broken: version: 2.83 (sub 9), branch: master, commit date: 2020-03-14 18:05, hash:
a210b8297f
I builded and tested
c971e812d5
and the earlierbf1b323b15
.As @antoniov mentioned, I confirmed that this issue begun from
c971e812d5
at least in my environment.System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19
Blender Version
Broken: version: 2.83 (sub 7), branch: test, commit date: 2020-03-10 03:47, hash:
bf1b323b15
There is no issue.
Blender 2020-03-17 08-14-02.mp4
Blender Version
Broken: version: 2.83 (sub 7), branch: test2, commit date: 2020-03-10 03:47, hash:
c971e812d5
Flickering happens.
Blender 2020-03-17 08-13-18.mp4
Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
Only confirmed in Windows with NVIDIA cards.
@n1729 @ronsn I did a test to verify if it's related to
ivec4
parameter.Here P1305 you have a small patch for testing.
If you could compile and test to see if you have the problem still, we could be sure if the bug relates to that or not.
@antoniov With patch P1305 applied the fills are still flickering on my system**⁽¹⁾**.
Building Blender with your patch went successful:
–––––––––––
(1): System Information
Operating system: Linux-5.3.0-40-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.59
Blender Version
Broken: version: 2.83 (sub 10), branch: master (modified), commit date: 2020-03-19 14:26, hash:
2982c9ba0a
Thank you, @antoniov
I tested P1305. The vec4 version seems to alleviate flickering pretty well, but even so flickering still sometimes happens.
I had never found any single flickering as of the point
bf1b323b15
, which is earlier thanc971e812d5
.System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19
Before applying the patch: version: 2.83 (sub 9), branch: test3, commit date: 2020-03-18 10:12, hash:
12720d8b9b
Blender 2020-03-20 00-48-39.mp4
After applying the patch: version: 2.83 (sub 9), branch: test3, commit date: 2020-03-19 15:20, hash:
2f78389bbb
Please pay attention to the monkey's right ear.
Blender 2020-03-20 00-49-11.mp4
@antoniov I wasn't sure if your patch P1305 made it better, but now I have a "better" opportunity to compare the current master branch version without and with your patch. And it seems that your patch made it better as @n1729 stated out.
I used the following blend file:
konfetti.blend
Here I also made a comparison screencast without and with your patch:
gp_fills_flickering_patch_P1305_comparison.mp4
Added subscriber: @brecht
@brecht We have been looking at the code and running debugs with RenderDoc a NVIDIA tools and it looks a NVDIA driver issue. Could you make a test in a NVIDIA machine to see if you can see what is going on.
Here you have a video inside NVIDIA tool and you can see the flickering when moving the mouse.
2020-03-25 16-37-42.mp4
@fclem and I were looking the code again and again and we are not able to find any mistake. This is a very important bug and we don't know how fix it.
Added subscriber: @heini
Added subscriber: @Jeroen-Bakker
@Jeroen-Bakker Any idea here?
Added subscriber: @smramsay
Added subscriber: @Dr.Toonhattan
Added subscriber: @EAW
Just something I noticed, if it hasn’t already been by others, is that the border of the flickering area occurs where the vertices flip from being inside the fill in edit mode to outside and vice versa.
@antoniov, I looked at this for a bit but also couldn't see the cause. Maybe it's a driver bug.
To pinpoint the cause this I guess you'd have to kind of bisect the change, changing the code incrementally to see which exact part of that commit caused the problem.
If you can't find a solution, an option is to use the new code only for Apple, or the old code only for NVIDIA.
This issue was referenced by
6428da84ed
Changed status from 'Confirmed' to: 'Resolved'