Denoising feature. Bug on GPU render (Mac OsX 10.11.6) #52145

Closed
opened 2017-07-21 15:10:16 +02:00 by david serrano · 41 comments

System Information
Osx 10.11.6 (MacBookPro11,5 Intel Core i7)
AMD Radeon R9-M370X

Blender Version
2.78-db8bc1d9829-OSX-10.6 (jul 21)

Short description of error
Denoising feature is not working on GPU rendering. It works on CPU rendering. Using Cycles.

Scene test denoising test_scene.png

CPU render denoising test_cpu render.png

GPU render denoising test_gpu render.png

Exact steps for others to reproduce the error
I just created a mokey with a diffuse shader and sun lamp. Denoising activated using default settings and rendered on CPU and GPU. Tested several times with similar corrupt image result on GPU.

System Information Osx 10.11.6 (MacBookPro11,5 Intel Core i7) AMD Radeon R9-M370X Blender Version 2.78-db8bc1d9829-OSX-10.6 (jul 21) Short description of error Denoising feature is not working on GPU rendering. It works on CPU rendering. Using Cycles. Scene test ![denoising test_scene.png](https://archive.blender.org/developer/F674348/denoising_test_scene.png) CPU render ![denoising test_cpu render.png](https://archive.blender.org/developer/F674350/denoising_test_cpu_render.png) GPU render ![denoising test_gpu render.png](https://archive.blender.org/developer/F674352/denoising_test_gpu_render.png) Exact steps for others to reproduce the error I just created a mokey with a diffuse shader and sun lamp. Denoising activated using default settings and rendered on CPU and GPU. Tested several times with similar corrupt image result on GPU.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @dserama

Added subscriber: @dserama

#58388 was marked as duplicate of this issue

#58388 was marked as duplicate of this issue

#57546 was marked as duplicate of this issue

#57546 was marked as duplicate of this issue

#57513 was marked as duplicate of this issue

#57513 was marked as duplicate of this issue

#54153 was marked as duplicate of this issue

#54153 was marked as duplicate of this issue

#54004 was marked as duplicate of this issue

#54004 was marked as duplicate of this issue

#53826 was marked as duplicate of this issue

#53826 was marked as duplicate of this issue

#52495 was marked as duplicate of this issue

#52495 was marked as duplicate of this issue
david serrano changed title from Denoising bug on GPU render (Mac OsX 10.11.6) to Denoising feature. Bug on GPU render (Mac OsX 10.11.6) 2017-07-21 15:12:13 +02:00

Added subscribers: @MaiLavelle, @brecht

Added subscribers: @MaiLavelle, @brecht

I tried to repro this with Intel + macOS (with a simplified megakernel since the full one doesn't work), but denoising seemed to work ok. @MaiLavelle, do you have a way to test this perhaps? Not sure who maintains macOS OpenCL now.

I tried to repro this with Intel + macOS (with a simplified megakernel since the full one doesn't work), but denoising seemed to work ok. @MaiLavelle, do you have a way to test this perhaps? Not sure who maintains macOS OpenCL now.
Member

Added subscriber: @LukasStockner

Added subscriber: @LukasStockner
Member

I can't reproduce this with the hardware I have available (no macOS here). Maybe @LukasStockner can take a look?

I can't reproduce this with the hardware I have available (no macOS here). Maybe @LukasStockner can take a look?

Added subscriber: @Sergey

Added subscriber: @Sergey
Sergey Sharybin self-assigned this 2017-07-28 15:11:14 +02:00

I can reproduce the issue on so called trashcan here in the studio.

Would need to have a closer look, but flying to conference tomorrow. So if someone fees like looking into the issue -- by the all means please go ahead.

I can reproduce the issue on so called trashcan here in the studio. Would need to have a closer look, but flying to conference tomorrow. So if someone fees like looking into the issue -- by the all means please go ahead.
Member

Added subscriber: @kostex

Added subscriber: @kostex
Member

I have the 'same' issue, except that the rendered tiles on GPU are completely black. No artifacts.
OSX 10.12.6
iMac 5k, 4Ghz Intel i7
AMD Radeon R9 M395X 4096Mb

I have the 'same' issue, except that the rendered tiles on GPU are completely black. No artifacts. OSX 10.12.6 iMac 5k, 4Ghz Intel i7 AMD Radeon R9 M395X 4096Mb

Added subscriber: @AndreAlvesFranco

Added subscriber: @AndreAlvesFranco

Added subscriber: @incorporator

Added subscriber: @incorporator

same as Roel "rendered tiles on GPU are completely black. No artifacts." (entire render is black)
using 10.13.1
radeon pro 580
if I go into the denoiser settings and turn off direct diffuse the denoised tiles aren't black

same as Roel "rendered tiles on GPU are completely black. No artifacts." (entire render is black) using 10.13.1 radeon pro 580 if I go into the denoiser settings and turn off direct diffuse the denoised tiles aren't black

Added subscribers: @jeanniegirl07, @lichtwerk

Added subscribers: @jeanniegirl07, @lichtwerk

Added subscriber: @FireMe

Added subscriber: @FireMe

I have this black tile issue with denonising on GPU also. Im running an iMac Pro with the Radeon Pro Vega 64 16 GB graphics card, for me I have to turn off all the direct denoising to get an image looking like the expected render

using blender version: 2.79 5bd8ac9 and OSX version: 10.13.2

On a side note is there anything I can do for testing as it would be good to get the iMac Pro especially the GPU side of it working well on blender (currently I don't think its taking full advantage of the GPU?)

I have this black tile issue with denonising on GPU also. Im running an iMac Pro with the Radeon Pro Vega 64 16 GB graphics card, for me I have to turn off all the direct denoising to get an image looking like the expected render using blender version: 2.79 5bd8ac9 and OSX version: 10.13.2 On a side note is there anything I can do for testing as it would be good to get the iMac Pro especially the GPU side of it working well on blender (currently I don't think its taking full advantage of the GPU?)

AMD GPU rendering on Mac is indeed quite poor currently, partially due to bugs in the OpenCL driver, partially due to none of the Cycles developers having this hardware or enough time to optimize for it. There's not much users can do in testing, it mainly requires a developer to spend significant time.

AMD GPU rendering on Mac is indeed quite poor currently, partially due to bugs in the OpenCL driver, partially due to none of the Cycles developers having this hardware or enough time to optimize for it. There's not much users can do in testing, it mainly requires a developer to spend significant time.

Added subscriber: @wizardx

Added subscriber: @wizardx

This comment was removed by @wizardx

*This comment was removed by @wizardx*

This bug excists for more than 8 months... what about a solution?

This bug excists for more than 8 months... what about a solution?
Author

This comment was removed by @dserama

*This comment was removed by @dserama*

Added subscriber: @DanielleNishimi

Added subscriber: @DanielleNishimi

Having the same issue as everyone else- the denoising filter turns all tiles black. Deactivated it and everything rendered fine.

Blender 2.79
OSX 10.13.4
iMac Pro
Radeon Pro Vega 64 16368 MB

Having the same issue as everyone else- the denoising filter turns all tiles black. Deactivated it and everything rendered fine. Blender 2.79 OSX 10.13.4 iMac Pro Radeon Pro Vega 64 16368 MB

Added subscriber: @lileo

Added subscriber: @lileo

Added subscriber: @MetinSeven-1

Added subscriber: @MetinSeven-1

The black tiles issue when rendering with AMD GPU + Denoiser on Mac is still there in 2.8, and it's fully reproducable. Is there a chance of this being fixed in the near future? That'd be great.

Thanks.

The black tiles issue when rendering with AMD GPU + Denoiser on Mac is still there in 2.8, and it's fully reproducable. Is there a chance of this being fixed in the near future? That'd be great. Thanks.

Added subscriber: @Timanious

Added subscriber: @Timanious

Yeah it would totally be great if this could be fixed! I tried it with 2.8 and 2.79b without success,.. With 2.8 I get the random black tiles. I just tried it again with 2.79b but that made my Mac reboot itself:( Tried it again just to be sure but the second time my whole screen went yellow and I had to unplug my eGPU.
Using a MacBook Pro 2018 i9 32GB ram with AMD Vega56 eGPU running MacOS Mojave.
Really hoping this can get fixed soon. In the meantime, does anyone know a way to still use the denoise function?

Yeah it would totally be great if this could be fixed! I tried it with 2.8 and 2.79b without success,.. With 2.8 I get the random black tiles. I just tried it again with 2.79b but that made my Mac reboot itself:( Tried it again just to be sure but the second time my whole screen went yellow and I had to unplug my eGPU. Using a MacBook Pro 2018 i9 32GB ram with AMD Vega56 eGPU running MacOS Mojave. Really hoping this can get fixed soon. In the meantime, does anyone know a way to still use the denoise function?

Well, guess its finally time to get this tackled. Been delaying this for quite some time, since this is one of the things which doesn't really have a happy end :(

The actual problem here is caused by a bug in an OpenCL compiler. While it's sometimes possible to work around broken compiler, so far i did not find a working solution for this issue. But even this particular case is solved, with every new feature being added we've got high probability of compiler breaking again. This is not sustainable way of maintaining the project.

The only acceptable solution would be to get OpenCL driver fixed, but Apple announced deprecation of OpenCL and will no longer develop it further.

In order to keep available features in Blender stable and predictable, the decision was made to disable OpenCL support on macOS,

The change, release notes and mailing list announcement will come shortly.

Well, guess its finally time to get this tackled. Been delaying this for quite some time, since this is one of the things which doesn't really have a happy end :( The actual problem here is caused by a bug in an OpenCL compiler. While it's sometimes possible to work around broken compiler, so far i did not find a working solution for this issue. But even this particular case is solved, with every new feature being added we've got high probability of compiler breaking again. This is not sustainable way of maintaining the project. The only acceptable solution would be to get OpenCL driver fixed, but Apple announced deprecation of OpenCL and will no longer develop it further. In order to keep available features in Blender stable and predictable, the decision was made to disable OpenCL support on macOS, The change, release notes and mailing list announcement will come shortly.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Commit: bb0d812d98.
Link to the mailing list: https://lists.blender.org/pipermail/bf-committers/2018-December/049695.html
Link to the release notes: https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Cycles#GPU_rendering

Thanks for the report, but we really can not solve issues in OpenCL compilers.

Commit: bb0d812d98. Link to the mailing list: https://lists.blender.org/pipermail/bf-committers/2018-December/049695.html Link to the release notes: https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Cycles#GPU_rendering Thanks for the report, but we really can not solve issues in OpenCL compilers.

Apple will not longer develop OpenCL... So what about Metal? This is the new one. It's much much faster on Mac and is the new language! Will Blender ever support Metal? This'd be a great idea: much faster render times on Mac, denoising and baking would work as well. Can we expect something like this for 2.81??? It would bring up Blender for a new level on Mac!

Apple will not longer develop OpenCL... So what about Metal? This is the new one. It's much much faster on Mac and is the new language! Will Blender ever support Metal? This'd be a great idea: much faster render times on Mac, denoising and baking would work as well. Can we expect something like this for 2.81??? It would bring up Blender for a new level on Mac!

@wizardx I read that there are plans for a Metal wrapper for Vulkan in the future. I guess a pure Metal version of Blender would require maintaining a separate macOS branch. But if you already want a taste of Metal-assisted rendering, you can try Radeon ProRender. It's quite well-integrated in Blender and is also free.

@wizardx I read that there are plans for a Metal wrapper for Vulkan in the future. I guess a pure Metal version of Blender would require maintaining a separate macOS branch. But if you already want a taste of Metal-assisted rendering, you can try Radeon ProRender. It's quite well-integrated in Blender and is also free.

Added subscriber: @fx1rod

Added subscriber: @fx1rod
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
12 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#52145
No description provided.