Vulkan: EEVEE Rendering artifacts on AMD GPU #129265

Closed
opened 2024-10-20 09:06:27 +02:00 by Alaska · 3 comments
Member

System Information
Operating system: Windows-10-10.0.26100-SP0 64 Bits
Graphics card: AMD Radeon RX 7800 XT Advanced Micro Devices AMD proprietary driver 24.9.1 (LLPC)

Blender Version
Broken: version: 4.3.0 Beta, branch: blender-v4.3-release, commit date: 2024-10-19 11:43, hash: cf3a6697d2eb
Worked: 4.2 as it did not expose the Vulkan option

Short description of error
When using the EEVEE rendered viewport with the Vulkan backend on a AMD GPU, there are rendering artifacts. See attacted video.

I could not reproduce the issue on my NVIDIA or Intel GPU.

Exact steps for others to reproduce the error

  1. On a AMD GPU (probably with the proprietary GPU drivers if you're on linux)
  2. Open Blender
  3. Enable the Vulkan backend
  4. Enter EEVEE rendered viewport and move around, noticing the artifacts.
**System Information** Operating system: Windows-10-10.0.26100-SP0 64 Bits Graphics card: AMD Radeon RX 7800 XT Advanced Micro Devices AMD proprietary driver 24.9.1 (LLPC) **Blender Version** Broken: version: 4.3.0 Beta, branch: blender-v4.3-release, commit date: 2024-10-19 11:43, hash: `cf3a6697d2eb` Worked: 4.2 as it did not expose the Vulkan option **Short description of error** When using the EEVEE rendered viewport with the Vulkan backend on a AMD GPU, there are rendering artifacts. See attacted video. I could not reproduce the issue on my NVIDIA or Intel GPU. **Exact steps for others to reproduce the error** 1. On a AMD GPU (probably with the proprietary GPU drivers if you're on linux) 2. Open Blender 3. Enable the Vulkan backend 4. Enter EEVEE rendered viewport and move around, noticing the artifacts.
Alaska added the
Status
Needs Triage
Type
Bug
Severity
Normal
labels 2024-10-20 09:06:28 +02:00
Member
cc @Jeroen-Bakker
Pratik Borhade added the
Interest
Vulkan
label 2024-10-21 05:20:32 +02:00
Member

Depth testing

First inspection it seems like a depth test precision issue. The depth test can fail for pixels even when using the same matrix/vertex shader/input data. leading to only calculate a part of the pixels it would need to calculate. I have only been able to reproduce this on Windows/AMD drivers.

When disabling optimizing the shader would fix the depth testing.

Stencil clearing

It seems like the stencil buffer in EEVEE isn't cleared on these devices. The command that is executed for other platforms, just isn't there.

**Depth testing** First inspection it seems like a depth test precision issue. The depth test can fail for pixels even when using the same matrix/vertex shader/input data. leading to only calculate a part of the pixels it would need to calculate. I have only been able to reproduce this on Windows/AMD drivers. *When disabling optimizing the shader would fix the depth testing.* **Stencil clearing** It seems like the stencil buffer in EEVEE isn't cleared on these devices. The command that is executed for other platforms, just isn't there.
Member

Will label this as confirmed then?

Will label this as confirmed then?
Pratik Borhade added
Module
Viewport & EEVEE
Status
Confirmed
and removed
Status
Needs Triage
labels 2024-11-05 09:30:06 +01:00
Jeroen Bakker added this to the 4.3 milestone 2024-11-05 12:19:23 +01:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2024-11-05 12:44:56 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#129265
No description provided.