Page MenuHome

Artefacts when rendering with the GPU in Blender 2.90.2 and 2.83 release
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Win 10 pro 64-bit
Processor: Ryzen 2700X
Graphics card: ASRock Radeon RX 580 Phantom Gaming X OC 8GB
RAM: 32 GB

Blender Version
Broken: 2.90.2 / 2.83.17
Worked: 2.82a

Bisecting shows rB394a1373a0cd as the cause.

Short description of error
When i am rendering using Cycles engine weird artefacts like in the image below are also rendered

Exact steps for others to reproduce the error
There are not specific steps , every image i try to render has the same outcome

Related Objects

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

So far it's only been a problem of the Polaris cards? RDNA is working fine? a month ago the seemed to have the same problem even on blender 2.82. This is my first amd card and probably the last since this. https://blender.stackexchange.com/questions/175770/cycles-gpu-opencl-render-has-square-white-artifacts-and-strange-lines-on-an-amd

I've reported this to AMD. It's been a month since this bug was found.

So far it's only been a problem of the Polaris cards? RDNA is working fine? a month ago the seemed to have the same problem even on blender 2.82. This is my first amd card and probably the last since this. https://blender.stackexchange.com/questions/175770/cycles-gpu-opencl-render-has-square-white-artifacts-and-strange-lines-on-an-amd

RDNA uses a newer OpenCL Stack, however this is a Cycles problem. as Radeonprorender, Luxcorerender and all my other OpenCL Apps are running totally fine, stable and performant. Bugs happen and with enough reports they eventually get fixed - besides not even all addons are running in 2.83 yet so. Eh! if your on the bleeding Edge then expect bugs. The only shame is that this did not get properly tested for an "LTS" Release.

I discovered another bug that might be related to this one since it shows an OpenCl error, on 2.90 while being on render view, just go to the "view object types" menu and hide Mesh, it will corrupt the render view with an error message that can bee seen on the second screenshot. Something similar happens on blender 2.82 but no error message comes up, on 2.83 will crash with no warning.

Could everyone who reproduces the bug provide the system-info.txt (generated in Help -> Save System Info)?

This will allow me to organize the description and can help to better identify what causes the problem.

If you still need it:

Thanks all for the system info, it seems this is about RX 4xx and 5xx cards specifically. I've committed a workaround for those based on the info.

The latest 2.90 builds on https://builder.blender.org/download/ have the fix, please let me know if this solves the problem since I don't have this hardware to confirm myself.

I confirm. The freezes and the atifacts are gone now.
RX570 here.

I confirm.
GPU RX590. Works well

yes,I GOOD ,RX580

I also confirm. RX 590. The problem is gone.

Brecht Van Lommel (brecht) claimed this task.

Thanks, I'll consider this resolved then. Hopefully in the future AMD can provide a driver fix for this, so we can remove our workaround.

Artifacts are gone on rx 590.

Thanks, I'll consider this resolved then. Hopefully in the future AMD can provide a driver fix for this, so we can remove our workaround.

They forget they older cards very quickly, I reported the bug to them, hopefully many people will do the same to make enough noise to fix the problem, but it feels improbable coming from Amd, there a are many problems with Polaris reported on their forums, and never gets fixed, I haven't seen a rx 590 patch note in a while, and it was the most recent Polaris card.

It works on my RX580, but for some reason my Ryzen 1600 renders a lot faster, and I'm not sure if that's normal.

It works on my RX580, but for some reason my Ryzen 1600 renders a lot faster, and I'm not sure if that's normal.

I also noticed that, gpu render seems slower.

Tested blender-2.90.0-6899cb3c073e-windows64, rx580 , problem still remains.

Evan Wilson (EAW) added a comment.EditedThu, Jun 18, 5:42 PM

Tested blender-2.90.0-6899cb3c073e-windows64, rx580 , problem still remains.

Could you upload your system-info.txt please?

The Artifacts are Gone in Blender 2.90 Alpha Works Great
no More Artifact

Here is My System Info:

Does this workaround is planned to go to LTS 2.83?

Yes, it will be added to 2.83 LTS.

Brecht Van Lommel (brecht) reopened this task as Confirmed.Thu, Jun 18, 6:19 PM

Re-opening to investigate performance.

It works for me too but render time more than double, maybe there is some setting in 2.9 to speed it up...

Enabling OpenCl and use it only with the cpu with no gpu has any benefits than using none?

Can confirm that GPU crashes have stopped when using GPU to render on Cycles, but performance is still worse than CPU.

Using default cube on a metallic plane render times:
CPU: 00:40.93
GPU: 00:57:51

When rendering a personal project of mine, the results are much worse:
CPU: 0:49:09
GPU: 1:10:08.61

All results were captured using

Blender 2.90.0 Alpha
June 18, 12:56:10 - 6899cb3c073e

Just for Help
RX570
Core i7 7770k

At least for me, the render times are equal. Both rendered with Cycles and GPU.

2.82a: 13:34:33

2.90 (with the fix): 13:17:22

.

Same file rendered

RX 580 8Gb 20.5.1 drivers

GPU BMW scene 240x180 tiles:

2.82.74:26
2.32:58
2.9 6899cb3c073e4:16

GPU Class scene 256x256 tiles

2.82.714:09
2.36:06
2.9 6899cb3c073e13:57

2.3 version with artifact was almost twice as fast, but I guess its only because of artifacts

2.3 with artifacts

2.9

2.3 version with artifact was almost twice as fast, but I guess its only because of artifacts

No it's faster because it's using OpenCL 2.x and older versions are using OpenCL 1.x. I guess with the latest 2.9 build, it is switched again to OpenCL 1.x for Polaris GPUs.
Hopefully this is a temporary workaround and the much faster OpenCL 2.x gets fixed for Polaris GPUs.

I've rolled back my AMD drivers to older versions which seems to be working just fine. IMO i prefer to keep my drivers outdated (haven't notice a difference in performance) and use blender 2.83 with openCL 2.x

I've rolled back my AMD drivers to older versions which seems to be working just fine. IMO i prefer to keep my drivers outdated (haven't notice a difference in performance) and use blender 2.83 with openCL 2.x

Which version did you downgraded to?

I've rolled back my AMD drivers to older versions which seems to be working just fine. IMO i prefer to keep my drivers outdated (haven't notice a difference in performance) and use blender 2.83 with openCL 2.x

Which version did you downgraded to?

Version 20.2.2 WHQL seems to be working just fine! as said by other users in this post.
I am using a RX 480.

You can find it here.

I've rolled back my AMD drivers to older versions which seems to be working just fine. IMO i prefer to keep my drivers outdated (haven't notice a difference in performance) and use blender 2.83 with openCL 2.x

I confirm, rolling back to 20.1.3 with an rx 590 fixed the artifacts and crashes for me, from 20.2.2 and up the bug appears with rx 590, I think Opencl 2.0 shouldn't be disabled for rx 4xx, 5xx cards, rolling back the drivers seems much better workaround and we can use the benefits of opencl 2.0 in newer blender versions, and let´s inform amd and wait for a fix. @Brecht Van Lommel (brecht)

Render times for scenes with artifacts in 2.83 are meaningless and not useful for comparison. Comparing between CPU and GPU also doesn't tell us if there is a performance regression or just possible room for future optimization.

The useful times to compare are with a previously working Blender version.

I've rolled back my AMD drivers to older versions which seems to be working just fine. IMO i prefer to keep my drivers outdated (haven't notice a difference in performance) and use blender 2.83 with openCL 2.x

I confirm, rolling back to 20.1.3 with an rx 590 fixed the artifacts and crashes for me, from 20.2.2 and up the bug appears with rx 590, I think Opencl 2.0 shouldn't be disabled for rx 4xx, 5xx cards, rolling back the drivers seems much better workaround and we can use the benefits of opencl 2.0 in newer blender versions, and let´s inform amd and wait for a fix. @Brecht Van Lommel (brecht)

I agree. I've been testing some of my scenes and i'm getting lots of performance enhances in 2.83 with OpenCL 2.x

I have been testing all drivers for rx 590 and this is what I found.
20.5.1 ❌ artifacts
20.4.2 ❌ artifacts
20.4.1 ❌ artifacts
20.3.1 ❌ artifacts
20.2.2 ✔ no problems
20.1.3 ✔ no problems
20.1.1 ✔ no problems
All drivers from 20.2.2 and prior will fix the artifacts, 20.2.2 is the last recommended driver by amd, is not that old, we shouldn´t have problems rolling back to that version, at least for a while.
I almost sure that it will be the same case for rx 580, 570 and below.

I have been testing all drivers for rx 590 and this is what I found.
20.5.1 ❌ artifacts
20.4.2 ❌ artifacts
20.4.1 ❌ artifacts
20.3.1 ❌ artifacts
20.2.2 ✔ no problems
20.1.3 ✔ no problems
20.1.1 ✔ no problems
All drivers from 20.2.1 and prior will fix the artifacts, 20.2.1 is the last recommended driver by amd, is not that old, we shouldn´t have problems rolling back to that version, at least for a while.
I almost sure that it will be the same case for rx 580, 570 and below.

Thank you for sharing your findings. Have you found any issue in 20.2.2? Weird if you do since i am unable to find any issues with those drivers in my RX 480.

Thank you for sharing your findings. Have you found any issue in 20.2.2? Weird if you do since i am unable to find any issues with those drivers in my RX 480.

My bad, it was 20.2.2, it works fine.

Thank you for sharing your findings. Have you found any issue in 20.2.2? Weird if you do since i am unable to find any issues with those drivers in my RX 480.

My bad, it was 20.2.2, it works fine.

Awesome! so it seems to be an AMD side issue, sadly i feel that this is not gonna be fixed any time soon from AMD since this is old hardware :/ Still i'm gonna report this and hope for the best.

Awesome! so it seems to be an AMD side issue, sadly i feel that this is not gonna be fixed any time soon from AMD since this is old hardware :/ Still i'm gonna report this and hope for the best.

Maybe is an error that was there and was only detectable with blender 2.83, and since it came up just recently, there wasn't a way to let amd know before, their drivers are shared between Polaris and most recent rdna, I think we still have a big chance to get noticed.

I am using a RX 480 and Driver 20.2.2 WHQL
Test 2.83 05:32.86


Test 2.90.0-6899cb3c073 05:48.15

Test 2.82a 05:49.79

not tested on updated drivers because they are locking my pc

I Tested my Project and these are the Results for Each Versions:

and a Screenshot of the Drivers for GPU:

Thanks all for the system info, it seems this is about RX 4xx and 5xx cards specifically. I've committed a workaround for those based on the info.

The latest 2.90 builds on https://builder.blender.org/download/ have the fix, please let me know if this solves the problem since I don't have this hardware to confirm myself.

I can confirm the issue is no longer present on an RX 570 AMD driver 20.5.1

GPU: AMD RX 580
AMD Driver version: 20.2.2
Blender version: 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: 211b6c29f771, type: Release
Platform: Windows

With the 20.2.2 AMD driver, everything works fine, performance is great, a lot better than on the "fixed" 2.90 release. Maybe until AMD fixes this issue, there could be two Blender versions, one with the fix, and one without it.

I Tested my Project and these are the Results for Each Versions:

and a Screenshot of the Drivers for GPU:

of course the 2.83 LTS is the one with the Artifacts

Grabbed 20.2.2 now and it indeed perfroms fine on that and FAST ( using teh OpenCL 2.0 Build ). i have made a Report to the Driver Team pointing to this Thread. What strikes me a bit odd is that every other Software ( uncluding RPR which uses OpenCL 2.0 also ) runs fine even with 20.5.2. The Performance of Cycles on OpenCL 2.0 is awesome now tho. Will continue testing on Linux.

@Alaska (Alaska) downgrade to driver 20.2.2, the bug is not there.

I confirm it work on RX 480 graphic card.

GPU: AMD RX 480
AMD Driver version: 20.5.1

version: 2.90.0 Alpha, branch: master, commit date: 2020-06-19 23:28, hash: 874af5301cdf, type: Release
build date: 2020-06-19, 22:40:03
platform: Windows

Downgrading the graphics card drivers is no an option for me, buttons on other software disappear on the tabs like Adobe and some other giltches...

Downgrading the graphics card drivers is no an option for me, buttons on other software disappear on the tabs like Adobe and some other giltches...

20.2.2 is working bad for you? I´m also using the adobe suite and I have not seen problems. The only thing we can do is keep sending error reports and wait, I also created a post on their forums but no attetion from them https://community.amd.com/message/2982927

Downgrading the graphics card drivers is no an option for me, buttons on other software disappear on the tabs like Adobe and some other giltches...

I had GUI glitches as well immediately after downgrading. Buttons and text missing in my case. It fixed itself after a computer restart. Maybe try a clean driver reinstall?

I had GUI glitches as well immediately after downgrading. Buttons and text missing in my case. It fixed itself after a computer restart. Maybe try a clean driver reinstall?

Downgrade driver to 20.2.2 does not work for me. Still getting random freezes

I had GUI glitches as well immediately after downgrading. Buttons and text missing in my case. It fixed itself after a computer restart. Maybe try a clean driver reinstall?

Downgrade driver to 20.2.2 does not work for me. Still getting random freezes

Did you made a clean install? I still had some issues until I uninstalled the graphics driver with ddu uninstaller, also I don´t know which graphics card do you have, maybe is different.

Guys if you still have issues with drivers, i recommend using AMD PRO drivers, they are specifically designed to be stable and have the best performance for design workloads.
I use some of the features inside the Adrenalin drivers so i'm sticking with 20.2.2 at the moment but i've tested the PRO Drivers and they work like a charm. No issues, problems or inestability this far. And my performance is the same, even at games! So if you're not using some features incorporated in the Adrelanin drivers i suggests to switch to PRO drivers.

I just thought I would weigh in on this discussion since I'm having the same problems myself. I have both 2.79 and 2.83 Installed on my machine, and I'm running a RX550 on an older FX4300 CPU with 16gig DDR3 1600mhz ram. ( surprisingly capable machine ) However, every time I try to render cycles, mostly with the preview render as I never get to a full render, blender hangs up, computer crashes and restarts. I've tried AMD Drivers 20.1.3, 20.2.2, as suggested, and am now currently running 20.5.1 and all give the same results. Except 20.5.1, I get a BSOD from that driver version. I've tested cycles in 2.79 and no problems. Everything renders fine. In fact 2.79 seems to render better in cycles than 2.82 did. Which also didn't have this problem. So my guess is there's some bad bug's in 2.83 cycles engine. I hope this gets fixed soon, This has stopped my project in its tracks because I can't use cycles and I don't want to go back to 2.82. I don't know how to do a dump file so I can't give any more information than that. - Oh, and there are no PRO drivers for my card.

Thank You for your attention.

Guys if you still have issues with drivers, i recommend using AMD PRO drivers, they are specifically designed to be stable and have the best performance for design workloads.
I use some of the features inside the Adrenalin drivers so i'm sticking with 20.2.2 at the moment but i've tested the PRO Drivers and they work like a charm. No issues, problems or inestability this far. And my performance is the same, even at games! So if you're not using some features incorporated in the Adrelanin drivers i suggests to switch to PRO drivers.

Thank you. I've Installed here PRO Drivers for my RX570 And now everything seems to work smooth again. I'm new to AMD world, I didn't knew about PRO Drivers.

I also switched to the Pro driver (20.Q2.1) for RX 580 and works, no artifacts and really fast too. More than twice as fast as blender 2.82 in some scenes.
So OpenCL 2.x works fine on Polaris. I hope the workaround to switch back to OpenCL 1.x is not going to be implemented in the 2.83 LTS, or at least a switch to choose between the versions.
Or maybe recommend that the Pro driver should be used for Blender.

The bug is gone in 1.83.1, but I guess it's due blocking opencl 2.0 for polaris cards right?

Hopefully not! if they did that i will have to stick with 2.83.0 i really get used to this performance boost.

I'm able to render with GPU now on 1.83.1, but viewport cycles is giving me the following artifacts on GPU mode, CPU cycles runs fine.

Also if we try to switch out of GPU cycles via going to CPU or Eevee blender gets huge ram and CPU usage then just freezes.

Massive performance regression between 2.83.0LTS and 2.83.1LTS,
With the bmw27_gpu demo file render time goes from 182sec to 270sec (not counting kernel compilation).
windows 10 2004, RX 580 4GB and Ryzen 1600
GPU driver: Radeon pro driver enterprise 20.q2
It makes RX 580 completely useless for rendering as my CPU is faster than my RX 580 graphics card with the new 2.83.1LTS maintenance update.

Using Pro Driver 20.Q2.1 with RX 470. No artifacts, but I experiment random freezes after some graphic corruption on screen. Long renders have a higher possibility to cause the problem. I don't remember having this problem on Blender versions previous to 2.83. by the way, on all versions I see a much higher GPU memory consumption when rendering using OpenCL. On my other computer CUDA takes one third that memory. Both 2.83 and 2.83.1 have random freezes, although 2.83 renders much faster. Haven't tested 2.90.

I also tested 20.2.2 drivers and also had random freezes with no artifacts on 2.83 and up

I'm currently rendering a big image using 2.82.7 and everything is going ok after 40 minutes.

So, for me, the conclussion is that there is something wrong both in blender (2.83 and up) and AMD GPU Drivers,