AMD GPU - EEVEE - Compositor is broken again in 2.93 (Regression) - Alpha Channel crazy behaviour is back. #88844

Closed
opened 2021-06-04 23:00:30 +02:00 by Chris Bell · 12 comments

System Information
Operating system: Windows 10 64bit
Graphics card: AMD Radeon RX580 with latest official drivers.

Blender Version
Broken: 2.93 (Official)
Worked: 2.92.0

Short description of error
Same reported here by myself .. that was broken in 2.91, then fixed (presumably.. the little compositing I did always worked) in 2.92.. and now broken again in 2.93. Now it doesn't crash to desktop, but the absolute random and unpredictable behavior/result with any operation on the alpha channels is absolutely the same described there.
https://developer.blender.org/T84163

Using EEVEE : compositing in the Compositor gives me totally unpredictable results (with Alpha Channels used absolutely in a random way) when combining two basic (even empty) scenes with 2 Renderlayers Input Nodes linked to a Color -> Mix or Color -> AlphaOver Node..

And when I say randomly.. I intend TOTALLY : sometimes (very rarely) alpha channel can be rightly taken into account, but most of the time it is not and (with the same node setup) you can get EVERY possible combination of the two RenderLayers, ... even a totally transparent image or (happend just yet) the renderlayer used both as Image AND alpha channel (make the compositing more transparent where it's dark and opaque where it's bright )..

Exact steps for others to reproduce the error
I provide a very basic and simple scene to test: there's only a holdout shader on a Scene1 object (cube this time) and some Material Nodes in world space to get a background on a Scene2 which is totally empty (but it's absolutely the same if you turn on the Film - Transparent render option on the first scene.. obviously the transparent part is inverted in this case.)

After the luck with 2.92 ... I'm getting (again) totally unpredictable result by any node using alpha channels .. with the two Render Layers composited absolutely at random in every possibile combination/way (even as a totally transparent image).Compositor_Is_Broken_Again.blend

**System Information** Operating system: Windows 10 64bit Graphics card: AMD Radeon RX580 with latest official drivers. **Blender Version** Broken: 2.93 (Official) Worked: 2.92.0 **Short description of error** Same reported here by myself .. that was broken in 2.91, then fixed (presumably.. the little compositing I did always worked) in 2.92.. and now broken again in 2.93. Now it doesn't crash to desktop, but the absolute random and unpredictable behavior/result with any operation on the alpha channels is absolutely the same described there. https://developer.blender.org/T84163 Using EEVEE : compositing in the Compositor gives me totally unpredictable results (with Alpha Channels used absolutely in a random way) when combining two basic (even empty) scenes with 2 Renderlayers Input Nodes linked to a Color -> Mix or Color -> AlphaOver Node.. And when I say randomly.. I intend TOTALLY : sometimes (very rarely) alpha channel can be rightly taken into account, but most of the time it is not and (with the same node setup) you can get EVERY possible combination of the two RenderLayers, ... even a totally transparent image or (happend just yet) the renderlayer used both as Image AND alpha channel (make the compositing more transparent where it's dark and opaque where it's bright ).. **Exact steps for others to reproduce the error** I provide a very basic and simple scene to test: there's only a holdout shader on a Scene1 object (cube this time) and some Material Nodes in world space to get a background on a Scene2 which is totally empty (but it's absolutely the same if you turn on the Film - Transparent render option on the first scene.. obviously the transparent part is inverted in this case.) After the luck with 2.92 ... I'm getting (again) totally unpredictable result by any node using alpha channels .. with the two Render Layers composited absolutely at random in every possibile combination/way (even as a totally transparent image).[Compositor_Is_Broken_Again.blend](https://archive.blender.org/developer/F10158339/Compositor_Is_Broken_Again.blend)
Author

Added subscriber: @Chris-Bell

Added subscriber: @Chris-Bell
Chris Bell changed title from AMD GPU - EEVEE - Compositor is broken again in 2.93 (Regression) - to AMD GPU - EEVEE - Compositor is broken again in 2.93 (Regression) - Alpha Channel crazy behaviour is back. 2021-06-04 23:01:22 +02:00
Author

An update on me investigating this.

  1. the issue is present in Blender 2.92.0 too. I tried to render the same blend file multiple times.. and I got the same unpredictable results as with 2.93.

  2. Maybe ( I need to do more testing on this) this mess with the alpha channels affects only the render view: I did a couple of brief rendering tests and the resulting video was rendered correctly.

An update on me investigating this. 1. the issue is present in Blender 2.92.0 too. I tried to render the same blend file multiple times.. and I got the same unpredictable results as with 2.93. 2. Maybe ( I need to do more testing on this) this mess with the alpha channels affects only the render view: I did a couple of brief rendering tests and the resulting video was rendered correctly.
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

To observe the randomness, do we have to render the scene again, or change some compositor node parameters or something else ?

To observe the randomness, do we have to render the scene again, or change some compositor node parameters or something else ?
Member

the issue is present in Blender 2.92.0 too. I tried to render the same blend file multiple times.. and I got the same unpredictable results as with 2.93.

Tried rendering multiple times in 2.92 and ce64cfd6ed the given file.
image.png
I get the above every time.

> the issue is present in Blender 2.92.0 too. I tried to render the same blend file multiple times.. and I got the same unpredictable results as with 2.93. Tried rendering multiple times in 2.92 and ce64cfd6edc2a0ec0aabfd4daaa5f655763cc74b the given file. ![image.png](https://archive.blender.org/developer/F10188456/image.png) I get the above every time.
Author

In #88844#1177718, @ankitm wrote:
To observe the randomness, do we have to render the scene again, or change some compositor node parameters or something else ?

No, I (still) have different results everytime I hit "render" without changing any parameter in the compositor (in EVERY project/render that uses compositor)..

What GPU do you have ? An old AMD card like mine ? (RX 580) ? I think this issue (as other ones) it's GPU/driver related.

Anyway.. while the render window displays this crazy random unpredictable (and for the most part TOTALLY WRONG) composited images.. the rendered image/video seems to be ok.. but that's still a huge problem, since you have to render a image/video EACH TIME to see the "true" aspect of your compositing, so the Blender render window is totally useless for previewing what you're doing,. and when a lot of composting in involved.. this is a very bad thing.

> In #88844#1177718, @ankitm wrote: > To observe the randomness, do we have to render the scene again, or change some compositor node parameters or something else ? No, I (still) have different results everytime I hit "render" without changing any parameter in the compositor (in EVERY project/render that uses compositor).. What GPU do you have ? An old AMD card like mine ? (RX 580) ? I think this issue (as other ones) it's GPU/driver related. Anyway.. while the render window displays this crazy random unpredictable (and for the most part TOTALLY WRONG) composited images.. the rendered image/video seems to be ok.. but that's still a huge problem, since you have to render a image/video EACH TIME to see the "true" aspect of your compositing, so the Blender render window is totally useless for previewing what you're doing,. and when a lot of composting in involved.. this is a very bad thing.
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

I can't replicate the issue either.
When you say that the bad result "affects only the render view", do you mean the Composite result in the image editor after render? Or the backdrop in the compositor editor?
Can you provide a screenshot of the randomness you mentioned? Does that also happen for Cycles renders?

I can't replicate the issue either. When you say that the bad result "affects only the render view", do you mean the Composite result in the image editor after render? Or the backdrop in the compositor editor? Can you provide a screenshot of the randomness you mentioned? Does that also happen for Cycles renders?
Member

Just a poke regarding my inquiry above, otherwise we will have to archive this for now.

Just a poke regarding my inquiry above, otherwise we will have to archive this for now.
Author

In #88844#1364007, @OmarEmaraDev wrote:
Just a poke regarding my inquiry above, otherwise we will have to archive this for now.

Sorry for the late reply, I missed the notification of your message on February.. and in the meanwhile I didn't any more compositing test, I was into geometry nodes all the time.

For "Render View" i meant the Composite result in the Image Editor shown after the rendering, the backdrop in the compositor editor always showed the corrected compositing result, while in the image editor I always got a totally random result/combination (included the correct one very few times)

Tried now the same scene i posted here with Blender 3.1.2 and it seems to work fine with it now. I tried a 20-30 consecutive renderings and the Image Editor showed me the correct compositing result every time.
I was very curios at this point .. so I tested it in Blender 2.93.8 .. and I got the same random results as before, when I opened the thread.

Since I have exactly the same PC/GPU and also the same GPU Driver Version as before.. I suppose something in the Image Editor got fixed between 2.93 and 3.1.2..

So this report may be archived/closed; I will do some further compositing tests in EEVEE (using cryptomatte too) and if I get some weird results again I will open a new one, but for now everything seems to work as it should.

Thanks to everyone for the wonderful job you are doing with Blender and for the attention you always put into every bug report.

> In #88844#1364007, @OmarEmaraDev wrote: > Just a poke regarding my inquiry above, otherwise we will have to archive this for now. Sorry for the late reply, I missed the notification of your message on February.. and in the meanwhile I didn't any more compositing test, I was into geometry nodes all the time. For "Render View" i meant the Composite result in the Image Editor shown after the rendering, the backdrop in the compositor editor always showed the corrected compositing result, while in the image editor I always got a totally random result/combination (included the correct one very few times) Tried now the same scene i posted here with Blender 3.1.2 and it seems to work fine with it now. I tried a 20-30 consecutive renderings and the Image Editor showed me the correct compositing result every time. I was very curios at this point .. so I tested it in Blender 2.93.8 .. and I got the same random results as before, when I opened the thread. Since I have exactly the same PC/GPU and also the same GPU Driver Version as before.. I suppose something in the Image Editor got fixed between 2.93 and 3.1.2.. So this report may be archived/closed; I will do some further compositing tests in EEVEE (using cryptomatte too) and if I get some weird results again I will open a new one, but for now everything seems to work as it should. Thanks to everyone for the wonderful job you are doing with Blender and for the attention you always put into every bug report.
Member

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
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#88844
No description provided.