Backfacing transparency appears black in GPU (OpenCL) rendering - Cycles #57841

Closed
opened 2018-11-15 07:47:40 +01:00 by Alaska · 20 comments
Member

System Information
System 1:
CPU: Ryzen 5 2600
GPU: RX 570 4GB
OS: Windows 10 Home

System 2:
CPU: Ryzen 5 2500U
GPU: Vega 8
OS: Windows 10 Home

Blender Version
Broken:
Blender 2.79b
Blender 2.79 Master d7f55c4ff5 (November 15)
Blender 2.8 c94f806dc7 (November 15)

Short description of error
If an object material has the "Backfacing" output of the "Geometry" node plugged into a mix node in a way that the back face is transparent, that back face will appear black in the final render on the GPU (only tested with OpenCL). Viewport rendering is unaffected.

Here's an example of what I mean:

Node tree:
Node Tree.PNG

CPU Render/Expected result:
CPU render.png

GPU Render:
GPU Render.png

Exact steps for others to reproduce the error
Here's a few Blend files to test with:

2.79b and Master:
2.79 Backfacing Test.blend
2.8:
2.8 Backfacing Test.blend

**System Information** System 1: CPU: Ryzen 5 2600 GPU: RX 570 4GB OS: Windows 10 Home System 2: CPU: Ryzen 5 2500U GPU: Vega 8 OS: Windows 10 Home **Blender Version** Broken: Blender 2.79b Blender 2.79 Master d7f55c4ff58 (November 15) Blender 2.8 c94f806dc73 (November 15) **Short description of error** If an object material has the "Backfacing" output of the "Geometry" node plugged into a mix node in a way that the back face is transparent, that back face will appear black in the final render on the GPU (*only tested with OpenCL*). Viewport rendering is unaffected. Here's an example of what I mean: Node tree: ![Node Tree.PNG](https://archive.blender.org/developer/F5564420/Node_Tree.PNG) CPU Render/Expected result: ![CPU render.png](https://archive.blender.org/developer/F5564428/CPU_render.png) GPU Render: ![GPU Render.png](https://archive.blender.org/developer/F5564437/GPU_Render.png) **Exact steps for others to reproduce the error** Here's a few Blend files to test with: 2.79b and Master: [2.79 Backfacing Test.blend](https://archive.blender.org/developer/F5564638/2.79_Backfacing_Test.blend) 2.8: [2.8 Backfacing Test.blend](https://archive.blender.org/developer/F5564457/2.8_Backfacing_Test.blend)
Author
Member

Added subscriber: @Alaska

Added subscriber: @Alaska
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Cannot reproduce (but am on linux with 970m).
Which driver version is this? (Have you tried other driver versions?)

Cannot reproduce (but am on linux with 970m). Which driver version is this? (Have you tried other driver versions?)
Author
Member

The Vega 8 GPU is running driver version 17.7
The RX 570 is running diver version 18.10.2

I'm unable to try different drivers on the Vega 8 due to how AMD has setup it's distribution, but I'll give the RX 570 a try on different drivers once my current render is finished.

The Vega 8 GPU is running driver version 17.7 The RX 570 is running diver version 18.10.2 I'm unable to try different drivers on the Vega 8 due to how AMD has setup it's distribution, but I'll give the RX 570 a try on different drivers once my current render is finished.

Added subscriber: @ChristopherAnderssarian

Added subscriber: @ChristopherAnderssarian

I get the reported result with my Vega 64.
Driver ver. 18.10.1

I get the reported result with my Vega 64. Driver ver. 18.10.1
Author
Member
@ChristopherAnderssarian Are you also able to test this bug? https://developer.blender.org/T57645
Brecht Van Lommel was assigned by Bastien Montagne 2018-11-29 15:58:17 +01:00

Added subscriber: @KrzysztofSochacki

Added subscriber: @KrzysztofSochacki

I have the same problem
ubuntu 18.04
amd pro driver 18.50
amd Fx 8150 + RX 580
when I use "life render" on GPU it works fine
when press f12 it goes black both sides (I use plane, not cube)

edit
I've installed win 10 on the same computer with newest amd gpu driver and results are the same :/

I have the same problem ubuntu 18.04 amd pro driver 18.50 amd Fx 8150 + RX 580 when I use "life render" on GPU it works fine when press f12 it goes black both sides (I use plane, not cube) edit I've installed win 10 on the same computer with newest amd gpu driver and results are the same :/

Added subscriber: @vistula_waves

Added subscriber: @vistula_waves

This comment was removed by @vistula_waves

*This comment was removed by @vistula_waves*
Brecht Van Lommel was unassigned by Dalai Felinto 2019-12-23 16:35:50 +01:00

Added subscriber: @brecht

Added subscriber: @brecht

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

I can't reproduce the problem.
The CPU and GPU results are the same.

Operating system: Windows-10-10.0.18941 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13559 Core Profile Context 26.20.12028.2

Can try the latest daily build? https://builder.blender.org/download/

I can't reproduce the problem. The CPU and GPU results are the same. **Operating system:** Windows-10-10.0.18941 64 Bits **Graphics card:** Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13559 Core Profile Context 26.20.12028.2 Can try the latest daily build? https://builder.blender.org/download/

It's working for me.

Operating system: Windows 7
GPU: Radeon Vega 64, Divider version: 19.12.2
CPU: Intel Core i7-5960X

It's working for me. Operating system: Windows 7 GPU: Radeon Vega 64, Divider version: 19.12.2 CPU: Intel Core i7-5960X

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

Changed status from 'Needs User Info' to: 'Resolved'
Germano Cavalcante self-assigned this 2020-02-03 19:50:49 +01:00

Marking as Resolved then.
The report can be reopened if the problem persists.

Marking as `Resolved` then. The report can be reopened if the problem persists.
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

@mano-wii https://developer.blender.org/T73471 related? possibly duplicate. They fixed it by uninstalling and reinstalling the driver related stuff.

Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: Quadro NVS 290/PCIe/SSE2 NVIDIA Corporation 3.3.0
Broken: version: 2.82 (sub 6),

@mano-wii https://developer.blender.org/T73471 related? possibly duplicate. They fixed it by uninstalling and reinstalling the driver related stuff. Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: Quadro NVS 290/PCIe/SSE2 NVIDIA Corporation 3.3.0 Broken: version: 2.82 (sub 6),
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
8 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#57841
No description provided.