[OpenGL Driver Bug] X-ray causes viewport artifacts in Edit Mode when using Solid rendering #69972

Closed
opened 2019-09-17 09:09:15 +02:00 by Oscar Brynolf · 8 comments

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: Radeon RX Vega ATI Technologies Inc. 4.5.13571 Core Profile Context 19.9.2 26.20.13003.1007

Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: f6cb5f5449
Broken: version: 2.81 (sub 11), branch: master, commit date: 2019-09-16 21:02, hash: 76650402f3

Short description of error
Objects in Edit Mode show white rendering artifacts in viewport when x-ray is turned on (See picture).

Exact steps for others to reproduce the error

  • Open Blender
  • Have new scene with cube
  • Turn on X-ray
  • Select cube
  • Switch to Edit Mode

Artifacts are visible.

Screenshot
Blender 2.8 xray render artifacts bug sample.png
Camera sligthly rotated after steps above.

Screencapture
Blender 2.8 xray render artifacts bug (video).mp4

  • Turning X-ray amount to 0.0 or 1.0 removes the artifacts.
  • Artifacts seem to change sligthly with Multisample settings
  • Using Workbench renderer does NOT create the artifacts.

Debug files
system-info.txt
blender_--debug-gpu.txt
AMD Readeon System Info.txt

Similar bugs, but not same
#67615 (Viewport Display: In front. Glitches (just in 3dViewport background). AMD.)

**System Information** Operating system: Windows-10-10.0.18362 64 Bits Graphics card: Radeon RX Vega ATI Technologies Inc. 4.5.13571 Core Profile Context 19.9.2 26.20.13003.1007 **Blender Version** Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: `f6cb5f5449` Broken: version: 2.81 (sub 11), branch: master, commit date: 2019-09-16 21:02, hash: `76650402f3` **Short description of error** Objects in Edit Mode show white rendering artifacts in viewport when x-ray is turned on (See picture). **Exact steps for others to reproduce the error** - Open Blender - Have new scene with cube - Turn on X-ray - Select cube - Switch to Edit Mode Artifacts are visible. **Screenshot** ![Blender 2.8 xray render artifacts bug sample.png](https://archive.blender.org/developer/F7752462/Blender_2.8_xray_render_artifacts_bug_sample.png) Camera sligthly rotated after steps above. **Screencapture** [Blender 2.8 xray render artifacts bug (video).mp4](https://archive.blender.org/developer/F7752469/Blender_2.8_xray_render_artifacts_bug__video_.mp4) - Turning X-ray amount to 0.0 or 1.0 removes the artifacts. - Artifacts seem to change sligthly with Multisample settings - Using Workbench renderer does NOT create the artifacts. **Debug files** [system-info.txt](https://archive.blender.org/developer/F7752475/system-info.txt) [blender_--debug-gpu.txt](https://archive.blender.org/developer/F7752484/blender_--debug-gpu.txt) [AMD Readeon System Info.txt](https://archive.blender.org/developer/F7752502/AMD_Readeon_System_Info.txt) **Similar bugs, but not same** #67615 (Viewport Display: In front. Glitches (just in 3dViewport background). AMD.)
Author

Added subscriber: @kraybit

Added subscriber: @kraybit
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Jeroen Bakker self-assigned this 2019-09-17 12:20:13 +02:00
Member

Unable to reproduce on Linux (AMD Pro Driver) and Windows 10 with AMD Vega (Adrenalin 19.7.2).
Being able to reproduce it on Windows 10 With AMD Vega (Adrenalin 19.9.2)

Seems like a driver bug. I will have a look if this issue can be bypassed. But as a work around you can for now install the previous version of the AMD driver.

I checked with RenderDoc. I cannot detect any differences when the issue occurs.

Unable to reproduce on Linux (AMD Pro Driver) and Windows 10 with AMD Vega (Adrenalin 19.7.2). Being able to reproduce it on Windows 10 With AMD Vega (Adrenalin 19.9.2) Seems like a driver bug. I will have a look if this issue can be bypassed. But as a work around you can for now install the previous version of the AMD driver. I checked with RenderDoc. I cannot detect any differences when the issue occurs.
Member

I have detected an issue with the AMD 19.2.2 driver. What I have detected is that textures aren't cleared correctly. For the workbench they are the transparency_revealage_tx and oit_revealage_tx. Both are attached as a second color texture to the framebuffer. It seems like glClear is ignoring the selected glDrawBuffers buffers.

Using the --debug-gpu-force-workarounds does not fix this issue; this includes the a workaround for glDrawBuffers, making all buffer sequential without any gaps in between.

I have detected an issue with the AMD 19.2.2 driver. What I have detected is that textures aren't cleared correctly. For the workbench they are the `transparency_revealage_tx` and `oit_revealage_tx`. Both are attached as a second color texture to the framebuffer. It seems like `glClear` is ignoring the selected `glDrawBuffers` buffers. Using the `--debug-gpu-force-workarounds` does not fix this issue; this includes the a workaround for glDrawBuffers, making all buffer sequential without any gaps in between.
Member

A new driver is released, but still have the same issue. The OpenGL backend was not updated.

system-info.txt

A new driver is released, but still have the same issue. The OpenGL backend was not updated. [system-info.txt](https://archive.blender.org/developer/F7773228/system-info.txt)
Jeroen Bakker changed title from X-ray causes viewport artifacts in Edit Mode when using Solid rendering to [OpenGL Driver Bug] X-ray causes viewport artifacts in Edit Mode when using Solid rendering 2019-10-01 08:42:18 +02:00

Added subscriber: @Shaedar

Added subscriber: @Shaedar
Member

I received information that the AMD consumer driver of last week solved this issue. The Pro drivers will have the same fix in the next version that will be released in a couple of weeks.
I will update this report when I have the exact version numbers.

I received information that the AMD consumer driver of last week solved this issue. The Pro drivers will have the same fix in the next version that will be released in a couple of weeks. I will update this report when I have the exact version numbers.
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' 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
3 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#69972
No description provided.