Cycles Problems with OpenCL rendering on Rx580 #80173

Closed
opened 2020-08-27 23:21:24 +02:00 by Mohammad Javad - Ehsan (last name) · 15 comments

These are all the problems i encounter when I want to render with my Rx 580 using OpenCL:

  1. In viewport, after writing kernel, render stucks at the first sample while overlays and other panels are still functional. And if you change the rendering mode to material preview, solid, or wireframe, and also if you change the render engine, Blender hangs and you should force stop it.
  2. The second problem with the viewport ( Which is less common than the previous one), is that it renders the scene but it shows an inaccurate AO pass ( by inaccurate I mean It's not exactly looks like AO pass, but it's somehow similar) instead of combined pass.
  3. While Rendering using F12, blender stucks at compiling render kernel. (happens randomly)
  4. While Rendering a heavy scene (with ~3000 static mesh particles) that half of it is sky and the other part is particles, When Tile is on the particles, it only renders 20-30 samples and stops rendering and blender stops responding if you click anywhere.
  5. Sometimes Rendering with OpenCL gives random artifacts, including but not limited to:
    a) Unwanted vertical lines
    b) odd tiles ( darker or brighter than others, or noisier)
    c) pixelated zigzag pattern stretched along x axis which affects gamma of the image
    d) unusual Fireflies

All of the problems started to happen after updating to 2.83 LTS and even they started appear in the previous versions!
These are the solutions I tried and none of them worked for me:

  1. I tried Adrenaline software 20.4.2, 20.7.2, 20.8.2 each time with a clean install
  2. I tried reinstalling windows on a new drive as I thought it might be a problem with my old HDD
    After reinstalling the Windows, I first installed Blender 2.82.7 and it worked just fine, but right after installing 2.83.5, problems started to appear in both 2.83.5 and 2.82.7!

System and software information:
GPU: XFX Rx580 8GB
OS: Windows 10 1909 & 2004
Blender versions: 2.80.15, 2.81a, 2.82.7, 2.83.(0-5), 2.90

These are all the problems i encounter when I want to render with my Rx 580 using OpenCL: 1) In viewport, after writing kernel, render stucks at the first sample while overlays and other panels are still functional. And if you change the rendering mode to material preview, solid, or wireframe, and also if you change the render engine, Blender hangs and you should force stop it. 2) The second problem with the viewport ( Which is less common than the previous one), is that it renders the scene but it shows an inaccurate AO pass ( by inaccurate I mean It's not exactly looks like AO pass, but it's somehow similar) instead of combined pass. 3) While Rendering using F12, blender stucks at compiling render kernel. (happens randomly) 4) While Rendering a heavy scene (with ~3000 static mesh particles) that half of it is sky and the other part is particles, When Tile is on the particles, it only renders 20-30 samples and stops rendering and blender stops responding if you click anywhere. 5) Sometimes Rendering with OpenCL gives random artifacts, including but not limited to: a) Unwanted vertical lines b) odd tiles ( darker or brighter than others, or noisier) c) pixelated zigzag pattern stretched along x axis which affects gamma of the image d) unusual Fireflies All of the problems started to happen after updating to 2.83 LTS and even they started appear in the previous versions! These are the solutions I tried and none of them worked for me: 1) I tried Adrenaline software 20.4.2, 20.7.2, 20.8.2 each time with a clean install 2) I tried reinstalling windows on a new drive as I thought it might be a problem with my old HDD After reinstalling the Windows, I first installed Blender 2.82.7 and it worked just fine, but right after installing 2.83.5, problems started to appear in both 2.83.5 and 2.82.7! System and software information: GPU: XFX Rx580 8GB OS: Windows 10 1909 & 2004 Blender versions: 2.80.15, 2.81a, 2.82.7, 2.83.(0-5), 2.90

Added subscriber: @MJ.Ehsan

Added subscriber: @MJ.Ehsan

Added subscriber: @iss

Added subscriber: @iss

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

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

Can not reproduce 1, 3, 5
4, 2 would require example file.
5 was issue with older drivers (20.4.2) if I recall correctly, but now I can not reproduce that issue with Radeon RX550/550 Series ATI Technologies Inc. 4.5.14736 Core Profile Context 20.7.2 27.20.2001.9003.

I would suggest reporting each issue individually, but I would assume all issues are result of misbehaving driver.
Installing blender 2.83 should definitely not affect 2.82 instance.

Can you upload simplest possible sample file for issue 4 and 2?

Can not reproduce 1, 3, 5 4, 2 would require example file. 5 was issue with older drivers (20.4.2) if I recall correctly, but now I can not reproduce that issue with Radeon RX550/550 Series ATI Technologies Inc. 4.5.14736 Core Profile Context 20.7.2 27.20.2001.9003. I would suggest reporting each issue individually, but I would assume all issues are result of misbehaving driver. Installing blender 2.83 should definitely not affect 2.82 instance. Can you upload simplest possible sample file for issue 4 and 2?

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

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

Unwanted Vertical Lines.jpg
This is the "vertical lines artifact"

car-AOishBug.blend
Screenshot (7).png
This is what i called Inaccurate AO pass
An example for problem 4 is naturally heavy but I will upload it anyway
Archaic correspondence - RenderStops.blend This is that heavy scene ( not that much heavy to fully utilize VRAM )
About problem 5, I tried all of the drivers I mentioned above ( 20.4.2 - 20.7.2 - 20.8.2 ) and none of them worked for me. and then today I tried Radeon pro driver ( Driver Version
20.10.27.02-200708a-357781C-RadeonProEnterprise ). problem number 1, 3 and 5 solved. except odd tiles and unusual fireflies.

Yes, installing a newer version should not affect any other version. But it shockingly does! it affects all 2.80 installable versions.

![Unwanted Vertical Lines.jpg](https://archive.blender.org/developer/F8819465/Unwanted_Vertical_Lines.jpg) This is the "vertical lines artifact" [car-AOishBug.blend](https://archive.blender.org/developer/F8819475/car-AOishBug.blend) ![Screenshot (7).png](https://archive.blender.org/developer/F8819657/Screenshot__7_.png) This is what i called Inaccurate AO pass An example for problem 4 is naturally heavy but I will upload it anyway [Archaic correspondence - RenderStops.blend](https://archive.blender.org/developer/F8819468/Archaic_correspondence_-_RenderStops.blend) This is that heavy scene ( not that much heavy to fully utilize VRAM ) About problem 5, I tried all of the drivers I mentioned above ( 20.4.2 - 20.7.2 - 20.8.2 ) and none of them worked for me. and then today I tried Radeon pro driver ( Driver Version 20.10.27.02-200708a-357781C-RadeonProEnterprise ). **problem number 1, 3 and 5 solved. except odd tiles and unusual fireflies.** Yes, installing a newer version should not affect any other version. But it shockingly does! it affects all 2.80 installable versions.

I tried rendering car-AOishBug.blend but it froze my PC. Though I am not using latest drivers right now, so I will update those first and look at provided files.

I tried rendering `car-AOishBug.blend` but it froze my PC. Though I am not using latest drivers right now, so I will update those first and look at provided files.

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

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

I was able to render car-AOishBug.blend after updating driver, Though I am not sure if I understand problem correctly. I can't see any AO nodes or AO enabled in world settings. AO pass is also completely black. Is the problem the difference in how window material is rendered?

CPU:
Untitled2.png

GPU:
Untitled.png

I was able to render `car-AOishBug.blend` after updating driver, Though I am not sure if I understand problem correctly. I can't see any AO nodes or AO enabled in world settings. AO pass is also completely black. Is the problem the difference in how window material is rendered? CPU: ![Untitled2.png](https://archive.blender.org/developer/F8830506/Untitled2.png) GPU: ![Untitled.png](https://archive.blender.org/developer/F8830507/Untitled.png)

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

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

The problem is that the combined pass seems like AO. but it's not exactly AO. it's different.
Also I think you didn't set the render device to OpenCL as the Device in render settings is greyed out. So it is actually rendered by CPU.

The problem is that the combined pass seems like AO. but it's not exactly AO. it's different. Also I think you didn't set the render device to OpenCL as the Device in render settings is greyed out. So it is actually rendered by CPU.

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

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

In #80173#1008756, @MJ.Ehsan wrote:
The problem is that the combined pass seems like AO. but it's not exactly AO. it's different.

This looks like a bug. Can you simplify the file so you remove all elements that does not cause the bug?

Also I think you didn't set the render device to OpenCL as the Device in render settings is greyed out. So it is actually rendered by CPU.

Yes, top image is CPU, bottom is GPU, which looks like your image.

> In #80173#1008756, @MJ.Ehsan wrote: > The problem is that the combined pass seems like AO. but it's not exactly AO. it's different. This looks like a bug. Can you simplify the file so you remove all elements that does not cause the bug? > Also I think you didn't set the render device to OpenCL as the Device in render settings is greyed out. So it is actually rendered by CPU. Yes, top image is CPU, bottom is GPU, which looks like your image.

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

Changed status from 'Needs User Info' to: 'Archived'
Richard Antalik self-assigned this 2020-10-15 20:29:04 +02:00

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.
Thomas Dinges added this to the 2.83 LTS milestone 2023-02-08 16:35:26 +01:00
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
2 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#80173
No description provided.