Artifacts in solid view #74790

Closed
opened 2020-03-15 21:12:05 +01:00 by Georg K · 14 comments

System Information
Operating system: Linux-5.4.24-1-MANJARO-x86_64-with-glibc2.29 64 Bits
Graphics card: AMD VERDE (DRM 2.50.0, 5.4.24-1-MANJARO, LLVM 9.0.1) X.Org 4.5 (Core Profile) Mesa 19.3.5

Blender Version
Broken: version: 2.83 (sub 9), branch: master (modified), commit date: 2020-03-15 18:43, hash: 22925d0dd3 (Master is modified because I had to revert commit 56d6666689 because of https://developer.blender.org/T74024 it also show artifacts without the revert), blender-2.83-a210b8297f5a-linux64
Worked: 2.82 official, version: 2.82 (sub 6), branch: master, commit date: 2020-01-14 15:55, hash: ba5bbf14f9, 2.83 56d6666689

Short description of error
There are artifacts on the geometry in solid shading (can't see them in the other modes). On a different system with intel skylake with integrated graphics, the artifacts are not visible.
SolidViewArtifacts.jpg

Exact steps for others to reproduce the error
Open blender, rotate camera around default cube until you see the artifacts (in the default view position it is not very visible. It helps to move closer to the cube and to look at the brighter areas)

**System Information** Operating system: Linux-5.4.24-1-MANJARO-x86_64-with-glibc2.29 64 Bits Graphics card: AMD VERDE (DRM 2.50.0, 5.4.24-1-MANJARO, LLVM 9.0.1) X.Org 4.5 (Core Profile) Mesa 19.3.5 **Blender Version** Broken: version: 2.83 (sub 9), branch: master (modified), commit date: 2020-03-15 18:43, hash: `22925d0dd3` (Master is modified because I had to revert commit 56d6666689f7 because of https://developer.blender.org/T74024 it also show artifacts without the revert), blender-2.83-a210b8297f5a-linux64 Worked: 2.82 official, version: 2.82 (sub 6), branch: master, commit date: 2020-01-14 15:55, hash: `ba5bbf14f9`, 2.83 56d6666689f7 **Short description of error** There are artifacts on the geometry in solid shading (can't see them in the other modes). On a different system with intel skylake with integrated graphics, the artifacts are not visible. ![SolidViewArtifacts.jpg](https://archive.blender.org/developer/F8408350/SolidViewArtifacts.jpg) **Exact steps for others to reproduce the error** Open blender, rotate camera around default cube until you see the artifacts (in the default view position it is not very visible. It helps to move closer to the cube and to look at the brighter areas)
Author

Added subscriber: @georgK

Added subscriber: @georgK
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

As mentioned in the ticket this could be related to #74024 (Faces missing, weird faces added)
Biggest challenge of this ticket is that we cannot reproduce this with the hardware we have. But as it has worked for some releases.
It would help us to perform a git bisect or check with renderdoc on this issue; would that be something you could help us with?

As mentioned in the ticket this could be related to #74024 (Faces missing, weird faces added) Biggest challenge of this ticket is that we cannot reproduce this with the hardware we have. But as it has worked for some releases. It would help us to perform a git bisect or check with renderdoc on this issue; would that be something you could help us with?
Author

Found it! This commit also caused the crash opening the Spring splash scene https://developer.blender.org/T74791

c476c36e40 is the first bad commit
commit c476c36e40
Author: Clément Foucault foucault.clem@gmail.com
Date: Wed Mar 11 17:07:43 2020 +0100

  Workbench Simplification Refactor
  
  This patch is (almost) a complete rewrite of workbench engine.
  The features remain unchanged but the code quality is greatly improved.
  Hair shading is brighter but also more correct.
  
  This also introduce the concept of `DRWShaderLibrary` to make a simple
  include system inside the GLSL files.
  
  Differential Revision: https://developer.blender.org/D7060
Found it! This commit also caused the crash opening the Spring splash scene https://developer.blender.org/T74791 c476c36e400883d929a7149def8dcb6ad6157a86 is the first bad commit commit c476c36e400883d929a7149def8dcb6ad6157a86 Author: Clément Foucault <foucault.clem@gmail.com> Date: Wed Mar 11 17:07:43 2020 +0100 ``` Workbench Simplification Refactor This patch is (almost) a complete rewrite of workbench engine. The features remain unchanged but the code quality is greatly improved. Hair shading is brighter but also more correct. This also introduce the concept of `DRWShaderLibrary` to make a simple include system inside the GLSL files. Differential Revision: https://developer.blender.org/D7060
Member

Added subscriber: @fclem

Added subscriber: @fclem
Member

@georgK Thanks, That is a big patch. @fclem do you have an idea what could corrupt this on old AMD cards?

@georgK Thanks, That is a big patch. @fclem do you have an idea what could corrupt this on old AMD cards?

Added subscriber: @ThatAsherGuy

Added subscriber: @ThatAsherGuy

I've noticed similar artifacts in wireframe view on my system (Win 10, 2600X, RTX 2060 442.59), so this might not be hardware/driver specific.

I've noticed similar artifacts in wireframe view on my system (Win 10, 2600X, RTX 2060 442.59), so this might not be hardware/driver specific.
Author

No artifacts in wireframe view here.

No artifacts in wireframe view here.

@georgK we need a bit more testing: does that happen with all shading mode? color mode? with outline enabled? with cavity enabled? etc...

Is there any configuration (which is not Xray or wireframe) that works?

@georgK we need a bit more testing: does that happen with all shading mode? color mode? with outline enabled? with cavity enabled? etc... Is there any configuration (which is not Xray or wireframe) that works?
Author

There is a configuration that works: Specular Lighting: off removes the artifacts. There is also a slight improvement by setting Antialiasing >= 5Samples as long as there is no interaction.
Also, setting Specular Lighting to "off" and deactivating "Load UI" in the file view allows to load the Spring splash scene https://developer.blender.org/T74791 without crashing.

tested cases in detail:
Viewport Antialiasing off/Single Pass Antialiasing: artifacts in both cases
Viewport Antialiasing 5Samples - 32Samples : artifacts in all cases,
But: with higher sample count, artifacts vanish if the view is not moved (looks like blurring). Once the camera is moved, they become visible again and flicker as long as the viewport is interacted with. The pattern also changes if a different tool is selected or while the cursor is moved over the navigation gizmo.

Overlay Smooth Wires on/off: artifacts in both cases
Edit Mode Smooth Wires on/off: artifacts in both cases (does not seem to have any effect on wire smoothness in edit mode in contrast to Overlay Smooth Wires. Edit mode wires always seem smooth)

Shading mode?
wire : -
solid : artifacts
material: -
rendered: -

Solid shading - Viewport shading: Color=Material/Object/Vertex/Single/Random/Texture: artifacts in all cases

Background Theme/World/Viewport: artifacts in all cases

Options:
Shadow on/off: artifacts in both cases
Cavity on/off: artifacts in both cases
Outline on/off: artifacts in both cases
Specular Lighting on: artifacts
Specular Lighting off: no artifacts

There is a configuration that works: Specular Lighting: off removes the artifacts. There is also a slight improvement by setting Antialiasing >= 5Samples as long as there is no interaction. Also, setting Specular Lighting to "off" and deactivating "Load UI" in the file view allows to load the Spring splash scene https://developer.blender.org/T74791 without crashing. tested cases in detail: Viewport Antialiasing off/Single Pass Antialiasing: artifacts in both cases Viewport Antialiasing 5Samples - 32Samples : artifacts in all cases, **But**: with higher sample count, artifacts vanish if the view is not moved (looks like blurring). Once the camera is moved, they become visible again and flicker as long as the viewport is interacted with. The pattern also changes if a different tool is selected or while the cursor is moved over the navigation gizmo. Overlay Smooth Wires on/off: artifacts in both cases Edit Mode Smooth Wires on/off: artifacts in both cases (does not seem to have any effect on wire smoothness in edit mode in contrast to Overlay Smooth Wires. Edit mode wires always seem smooth) Shading mode? wire : - solid : artifacts material: - rendered: - Solid shading - Viewport shading: Color=Material/Object/Vertex/Single/Random/Texture: artifacts in all cases Background Theme/World/Viewport: artifacts in all cases Options: Shadow on/off: artifacts in both cases Cavity on/off: artifacts in both cases Outline on/off: artifacts in both cases Specular Lighting on: artifacts Specular Lighting off: **no artifacts**

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

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

Retested 22925d0dd3 after mesa upgrade from 19.3.5-1 to 20.0.4-1 and the artifacts are gone.

Retested 22925d0dd3 after mesa upgrade from 19.3.5-1 to 20.0.4-1 and the artifacts are gone.
Author

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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
5 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#74790
No description provided.