Page MenuHome

Cycles Problems with OpenCL rendering on Rx580
Needs Information from User, NormalPublic

Description

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

Event Timeline

Richard Antalik (ISS) changed the task status from Needs Triage to Needs Information from User.Fri, Aug 28, 6:39 AM

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?

Mohammad Javad - Ehsan (last name) (MJ.Ehsan) changed the task status from Needs Information from User to Needs Triage.Sat, Aug 29, 10:58 PM


This is the "vertical lines artifact"



This is what i called Inaccurate AO pass
An example for problem 4 is naturally heavy but I will upload it anyway
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.

Richard Antalik (ISS) changed the task status from Needs Triage to Needs Information from User.Tue, Sep 1, 8:07 PM

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:

GPU:

Mohammad Javad - Ehsan (last name) (MJ.Ehsan) changed the task status from Needs Information from User to Needs Triage.Thu, Sep 3, 11:00 PM

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.

Richard Antalik (ISS) changed the task status from Needs Triage to Needs Information from User.Mon, Sep 7, 5:55 AM

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.