Cycles viewport denoising fails with OIDN if it's not selected before going into rendered mode (GPU) #84813

Closed
opened 2021-01-18 06:58:12 +01:00 by Jesse Yurkovich · 7 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1070 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.67

Blender Version
Broken: version:

  • 2.93.0 Alpha, branch: master, commit date: 2021-01-13 23:58, hash: 0876829e7a
  • 2.92.0 Beta, branch: master, commit date: 2021-01-14 20:13, hash: 30dd31a7b3
  • 2.92.0 Alpha, branch: master, commit date: 2020-12-17 20:43, hash: 23233fcf05
  • 2.92.0 Alpha, branch: master, commit date: 2020-11-19 22:15, hash: fdd3032f8f
  • 2.91.0, branch: master, commit date: 2020-11-25 08:34, hash: 0f45cab862
    Worked: Never?
    Short description of error
    If you're using Cycles, device set to GPU, and are in the rendered view mode, if you then select viewport denoising with OIDN the viewport will fail to render and you'll receive a "Denoiser type not supported by compute device"

However, if you select the denoising option before going into rendered mode, things will work fine. See steps below.

Exact steps for others to reproduce the error

  • Start with default scene

  • Enable Cycles, set the device to GPU, AND enable Viewport denoising set to OIDN

  • Switch to rendered mode

  • Things work fine. Toggle the viewport denoising option on and off. Still works fine.

  • Go back to Solid shading mode AND disable Viewport denoising

  • Go back to Rendered mode. Works fine

  • Enable Viewport denoising now. Fails

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1070 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.67 **Blender Version** Broken: version: - 2.93.0 Alpha, branch: master, commit date: 2021-01-13 23:58, hash: `0876829e7a` - 2.92.0 Beta, branch: master, commit date: 2021-01-14 20:13, hash: `30dd31a7b3` - 2.92.0 Alpha, branch: master, commit date: 2020-12-17 20:43, hash: `23233fcf05` - 2.92.0 Alpha, branch: master, commit date: 2020-11-19 22:15, hash: `fdd3032f8f` - 2.91.0, branch: master, commit date: 2020-11-25 08:34, hash: `0f45cab862` Worked: Never? **Short description of error** If you're using Cycles, device set to GPU, and are in the rendered view mode, if you then select viewport denoising with OIDN the viewport will fail to render and you'll receive a "Denoiser type not supported by compute device" However, if you select the denoising option _before_ going into rendered mode, things will work fine. See steps below. **Exact steps for others to reproduce the error** - Start with default scene - Enable Cycles, set the device to GPU, AND enable Viewport denoising set to OIDN - Switch to rendered mode - Things work fine. Toggle the viewport denoising option on and off. Still works fine. - Go back to Solid shading mode AND disable Viewport denoising - Go back to Rendered mode. Works fine - Enable Viewport denoising now. Fails
Author
Member

Added subscriber: @deadpin

Added subscriber: @deadpin

Added subscriber: @rjg

Added subscriber: @rjg

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

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

The computation of OpenImageDenoise is happening on the CPU. However, if it works or not shouldn't depend on the order of operations, so even if this wouldn't be supported in newer versions because of a reason unknown to me, it should behave consistently.

The computation of [OpenImageDenoise ](https://docs.blender.org/manual/en/dev/render/cycles/render_settings/sampling.html?highlight=openimagedenoise#denoising) is happening on the CPU. However, if it works or not shouldn't depend on the order of operations, so even if this wouldn't be supported in ~~newer versions~~ because of a reason unknown to me, it should behave consistently.

I have to correct myself, the same issue can be reproduced in 2.91.0.

I have to correct myself, the same issue can be reproduced in 2.91.0.

This issue was referenced by 1451f7d093

This issue was referenced by 1451f7d09322dbe8596c98a2cf02712097f2a879

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Brecht Van Lommel self-assigned this 2021-01-20 15:00:37 +01:00
Thomas Dinges added this to the 2.92 milestone 2023-02-08 16:14:51 +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
4 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#84813
No description provided.