Overlays ( Face orientation, weight maps etc ) z-fight with underlying mesh #90030

Closed
opened 2021-07-21 23:10:29 +02:00 by Mathias Nordskog · 4 comments

Edit: This appears to be a duplicate of https://developer.blender.org/T87927

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: AMD Radeon RX 6800 XT ATI Technologies Inc. 4.5.14741 Core Profile Context 21.7.1 27.20.22017.1004

Blender Version
Broken: version:

  • 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: 211b6c29f7

  • 2.83.17 Release Candidate, branch: master, commit date: 2021-06-30 07:01, hash: c5c4727d6e

  • 2.90.0, branch: master, commit date: 2020-08-31 11:26, hash: 0330d1af29

  • 2.93.2 Release Candidate, branch: master, commit date: 2021-07-07 05:52, hash: 9e64fd461a.

  • 3.0.0 Alpha, branch: master, commit date: 2021-07-20 21:39, hash: dc8a924efa
    Worked:

  • 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: 375c7dc4ca

Short description of error
Overlays such as face orientation and weight maps will flicker as if z-fighting.
The overlays appear to be z-fighting with the "normal" rendered surface of the mesh.

Exact steps for others to reproduce the error
Open an new project and delete the default cube. The problem is not visible on the default cube unless it is rotated first.
Create a UV sphere, then enable the "face orientation" overlay.
The flickering z-fighting will become very apparently as soon as the view is rotated.

Details

blender_debug_output.txt

blender_system_info.txt

Launching Blender using blender_debug_gpu_glitchworkaround.cmd does not resolve the issue.

When running 2.93 blender.exe with --debug-gpu I also get the following output:

WARN (gpu.shader): OVERLAY_shader_armature_sphere_410 FragShader:
      |
    6 | #extension GL_ARB_shader_draw_parameters : enable
      |  ^
      | Warning: (#62) enable/warn/disable extension is not found. Extension "GL_ARB_conservative_depth" is not supported

WARN (gpu.shader): OVERLAY_shader_armature_sphere_397 FragShader:
      |
    6 | #extension GL_ARB_shader_draw_parameters : enable
      |  ^
      | Warning: (#62) enable/warn/disable extension is not found. Extension "GL_ARB_conservative_depth" is not supported

WARN (gpu.shader): OVERLAY_shader_armature_shape_435 GeomShader:
      |
    5 | #endif
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ^
      | Warning: (#310) Inputs that are integers should be qualified with the interpolation qualifier "flat"

face_orientation_zfighting.PNG

weight_map_zfighting.PNG

Edit: This appears to be a duplicate of https://developer.blender.org/T87927 **System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: AMD Radeon RX 6800 XT ATI Technologies Inc. 4.5.14741 Core Profile Context 21.7.1 27.20.22017.1004 **Blender Version** Broken: version: - 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: `211b6c29f7` - 2.83.17 Release Candidate, branch: master, commit date: 2021-06-30 07:01, hash: `c5c4727d6e` - 2.90.0, branch: master, commit date: 2020-08-31 11:26, hash: `0330d1af29` - 2.93.2 Release Candidate, branch: master, commit date: 2021-07-07 05:52, hash: `9e64fd461a`. - 3.0.0 Alpha, branch: master, commit date: 2021-07-20 21:39, hash: `dc8a924efa` Worked: - 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: `375c7dc4ca` **Short description of error** Overlays such as face orientation and weight maps will flicker as if z-fighting. The overlays appear to be z-fighting with the "normal" rendered surface of the mesh. **Exact steps for others to reproduce the error** Open an new project and delete the default cube. The problem is not visible on the default cube unless it is rotated first. Create a UV sphere, then enable the "face orientation" overlay. The flickering z-fighting will become very apparently as soon as the view is rotated. **Details** [blender_debug_output.txt](https://archive.blender.org/developer/F10232472/blender_debug_output.txt) [blender_system_info.txt](https://archive.blender.org/developer/F10232473/blender_system_info.txt) Launching Blender using blender_debug_gpu_glitchworkaround.cmd does not resolve the issue. When running 2.93 blender.exe with --debug-gpu I also get the following output: ``` WARN (gpu.shader): OVERLAY_shader_armature_sphere_410 FragShader: | 6 | #extension GL_ARB_shader_draw_parameters : enable | ^ | Warning: (#62) enable/warn/disable extension is not found. Extension "GL_ARB_conservative_depth" is not supported WARN (gpu.shader): OVERLAY_shader_armature_sphere_397 FragShader: | 6 | #extension GL_ARB_shader_draw_parameters : enable | ^ | Warning: (#62) enable/warn/disable extension is not found. Extension "GL_ARB_conservative_depth" is not supported WARN (gpu.shader): OVERLAY_shader_armature_shape_435 GeomShader: | 5 | #endif | ^ | Warning: (#310) Inputs that are integers should be qualified with the interpolation qualifier "flat" ``` ![face_orientation_zfighting.PNG](https://archive.blender.org/developer/F10232489/face_orientation_zfighting.PNG) ![weight_map_zfighting.PNG](https://archive.blender.org/developer/F10232491/weight_map_zfighting.PNG)

Added subscriber: @Roughy-4

Added subscriber: @Roughy-4
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

This appears to be a duplicate of https://developer.blender.org/T87927

Thanks for the report. yes, it's duplicate of #87927. I will merge this report :)

>This appears to be a duplicate of https://developer.blender.org/T87927 Thanks for the report. yes, it's duplicate of #87927. I will merge this report :)
Member

Closed as duplicate of #87927

Closed as duplicate of #87927
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
2 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#90030
No description provided.