Opencl GPU Compute Rendering Tiles Incorrectly For Mix Glass and Transparent Shaders When Hair is Present. #79724

Closed
opened 3 years ago by gabe2252 · 16 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: AMD Radeon RX 5700 XT ATI Technologies Inc. 4.5.13596 Core Profile Context 20.Q2.1 27.20.1023.1001

Blender Version
Broken: version: 2.83.4, branch: master, commit date: 2020-08-05 06:00, hash: c113af8288

Short description of error
When rendering a mesh with another mesh inside of it and the mesh has a mix glass and transparent shader and there is hair present in the scene then the mesh with the mix glass shader will render incorrectly with opencl compute.

CPU Render:
CPU.png
CPU +GPU Render:
CPU+GPU.png
GPU Render:
GPU.png
Example Blend File:
tests.blend
Exact steps for others to reproduce the error
Render example Blend file with Opencl GPU and CPU and compare results.

OR

  1. Add mix glass and transparent shader to default cube.
  2. Add another cube and give it the default principled shader and scale the cube inside the the default one.
  3. Add a plane and give it a Hair particle system and move it to the side.
  4. Add an HDRI for some light.
  5. Render cpu and opencl gpu and compare results.

Also deleting the hair or deleting the inside cube fixes the Issue.

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: AMD Radeon RX 5700 XT ATI Technologies Inc. 4.5.13596 Core Profile Context 20.Q2.1 27.20.1023.1001 **Blender Version** Broken: version: 2.83.4, branch: master, commit date: 2020-08-05 06:00, hash: `c113af8288` **Short description of error** When rendering a mesh with another mesh inside of it and the mesh has a mix glass and transparent shader and there is hair present in the scene then the mesh with the mix glass shader will render incorrectly with opencl compute. CPU Render: ![CPU.png](https://archive.blender.org/developer/F8770974/CPU.png) CPU +GPU Render: ![CPU+GPU.png](https://archive.blender.org/developer/F8770976/CPU_GPU.png) GPU Render: ![GPU.png](https://archive.blender.org/developer/F8770983/GPU.png) Example Blend File: [tests.blend](https://archive.blender.org/developer/F8770987/tests.blend) **Exact steps for others to reproduce the error** Render example Blend file with Opencl GPU and CPU and compare results. OR 1. Add mix glass and transparent shader to default cube. 2. Add another cube and give it the default principled shader and scale the cube inside the the default one. 3. Add a plane and give it a Hair particle system and move it to the side. 4. Add an HDRI for some light. 5. Render cpu and opencl gpu and compare results. Also deleting the hair or deleting the inside cube fixes the Issue.
Poster

Added subscriber: @gabe2252

Added subscriber: @gabe2252
iss commented 3 years ago
Collaborator

Added subscriber: @iss

Added subscriber: @iss
iss commented 3 years ago
Collaborator

#50193 is very similar report, which I am able to reproduce, but I am not able to reproduce this one.

#50193 is very similar report, which I am able to reproduce, but I am not able to reproduce this one.
Poster

Which GPU did you use? I swapped my RX580 in and the issue went away. It only happens with my 5700xt. I think it's an issue with the drivers. I'll have to try all the different drivers on the amd website for this card.

Which GPU did you use? I swapped my RX580 in and the issue went away. It only happens with my 5700xt. I think it's an issue with the drivers. I'll have to try all the different drivers on the amd website for this card.
iss commented 3 years ago
Collaborator

RX550 so indeed this looks like driver issue

RX550 so indeed this looks like driver issue
Poster

Alright, so the "recommend" driver has the issue worse with hair and the cube:otherDriver.png

The "Optimal" driver crashes when compiling the render kernels and the "Pro" driver which I was using originally has the original issue I reported.

Alright, so the "recommend" driver has the issue worse with hair and the cube:![otherDriver.png](https://archive.blender.org/developer/F8777330/otherDriver.png) The "Optimal" driver crashes when compiling the render kernels and the "Pro" driver which I was using originally has the original issue I reported.
jshlxx commented 3 years ago

Added subscriber: @jshlxx

Added subscriber: @jshlxx
jshlxx commented 3 years ago

Can confirm. Happens also on my older driver 20.4.2 aswell as 20.Q2.1

version: 2.83.4, branch: master, commit date: 2020-08-05 06:00, hash: c113af8288, type: Release

system-info.txt
untitled.png

Can confirm. Happens also on my older driver 20.4.2 aswell as 20.Q2.1 version: 2.83.4, branch: master, commit date: 2020-08-05 06:00, hash: c113af82881a, type: Release [system-info.txt](https://archive.blender.org/developer/F8777893/system-info.txt) ![untitled.png](https://archive.blender.org/developer/F8777886/untitled.png)

Added subscriber: @spiderh

Added subscriber: @spiderh

Windows 10 Pro 64-bit
Intel i5-2500K
AMD Radeon 570RX
Blender 2.82a to 2.91.2

Same issue is here. This is not driver issue. I tested AMD 20.4.2 to 21.2.1 versions (plus PRO drivers) and same thing happen.

CPU + GPU

Transparent_Bug_GPU.jpg

CPU

Transparent_Bug_CPU.jpg

Blend File

AMD_Transparent_Bug_Report.blend

Windows 10 Pro 64-bit Intel i5-2500K AMD Radeon 570RX Blender 2.82a to 2.91.2 Same issue is here. This is not driver issue. I tested AMD 20.4.2 to 21.2.1 versions (plus PRO drivers) and same thing happen. CPU + GPU ![Transparent_Bug_GPU.jpg](https://archive.blender.org/developer/F9700173/Transparent_Bug_GPU.jpg) CPU ![Transparent_Bug_CPU.jpg](https://archive.blender.org/developer/F9700180/Transparent_Bug_CPU.jpg) Blend File [AMD_Transparent_Bug_Report.blend](https://archive.blender.org/developer/F9700372/AMD_Transparent_Bug_Report.blend)
Collaborator

Added subscriber: @mano-wii

Added subscriber: @mano-wii
Collaborator

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Collaborator

I'm not sure if it's the same problem, but with the file attached by @spiderh the semitransparent material almost completely disappears on the OpenCL GPU.

I'm not sure if it's the same problem, but with the file attached by @spiderh the semitransparent material almost completely disappears on the OpenCL GPU.
Collaborator

Added subscriber: @Blendify

Added subscriber: @Blendify
Collaborator

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'
Blendify closed this issue 1 year ago
Collaborator

As a result of the Cycles-x changes in Blender 3.0, OpenCL support for Cycles has been removed and older versions will not receive bug fixes in regard to OpenCL rendering.
This is due to the combination of the limited features, driver bugs, and the stalled OpenCL standard making maintenance too difficult.

Blender is working with hardware vendors to bring back GPU rendering support for AMD and Intel GPUs, using others APIs.
Support for all major GPU vendors is an important goal but this goal might not be met for the upcoming 3.0 release.

Support for AMD cards is already in the works, for updates see #91571.

As a result of the [Cycles-x ](https://code.blender.org/2021/04/cycles-x/) changes in Blender 3.0, OpenCL support for Cycles has been removed and older versions will not receive bug fixes in regard to OpenCL rendering. This is due to the combination of the limited features, driver bugs, and the stalled OpenCL standard making maintenance too difficult. Blender is working with hardware vendors to bring back GPU rendering support for AMD and Intel GPUs, using others APIs. Support for all major GPU vendors is an important goal but this goal might not be met for the upcoming 3.0 release. Support for AMD cards is already in the works, for updates see #91571.
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/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
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/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Nodes & Physics
Interest/Overrides
Interest/Performance
Interest/Performance
Interest/Physics
Interest/Pipeline, Assets & I/O
Interest/Platforms, Builds, Tests & Devices
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
legacy module/Animation & Rigging
legacy module/Core
legacy module/Development Management
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/Triaging
legacy module/User Interface
legacy module/VFX & Video
legacy project/1.0.0-beta.2
legacy project/Asset Browser (Archived)
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Code Quest
legacy project/Datablocks and Libraries
legacy project/Eevee
legacy project/Game Animation
legacy project/Game Audio
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Logic
legacy project/Game Physics
legacy project/Game Python
legacy project/Game Rendering
legacy project/Game UI
legacy project/GPU / Viewport
legacy project/GSoC
legacy project/Infrastructure: Websites
legacy project/LibOverrides - Usability and UX
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/Nodes
legacy project/OpenGL Error
legacy project/Papercut
legacy project/Pose Library Basics
legacy project/Retrospective
legacy project/Tracker Curfew
legacy project/Wintab High Frequency
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
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 & Devices
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 Information 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
6 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#79724
Loading…
There is no content yet.