Cycles/Compositor: The denoiser returns a black image if not all requirements are fulfilled #94127
Labels
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#94127
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Default KVM (Proxmox, Linux)
Graphics card: None
Blender Version
Broken: Blender 3.0
Worked: Before Blender 3.0 the frame was just not denoised
Short description of error
If you enable OIDN/Optix denoising without having the needed CPU flags you will get a black frame back.
The desired outcome would be an aborted render with a helpful error.
Exact steps for others to reproduce the error
Further information
The config of a default KVM:
The command that I used to render one frame:
oidn_disabled.blend
oidn_disabled.txt
oidn_enabled.blend
oidn_enabled.txt
optix_enabled.blend
optix_enabled.txt
If I set up the KVM to use HOST at least OIDN works
HOST config:
Why it would be nice to have the bug fixed:
We have a renderfarm that consist out of random machines and it is always a problem if random frames are black/not denoised/strange colored/broken/out of order.
Added subscriber: @Raimund58
Another example:
The black frames are rendered by a default KVM, the normal ones by a HOST KVM
Added subscriber: @Imaginer
Sometimes other features seem to break as well:
The broken frame was rendered by a "Common KVM processor"
Another Blender 2.93 example:
Added subscribers: @Sergey, @brecht, @lichtwerk
Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
#76668, #94333 could be related.
@Sergey, @brecht: I am unable to test this, is this something to be expected?
#93838 (Denoise on Image sequence fails ( results in a blank,transparent image) after first frame) smells the same as well
Maybe, but we can identify that better after he attaches his system-info.
This issue was referenced by
430f71fce2
Proposed fix for the Cycles part is at D13944. Note that SSE 4.1 is required for OIDN, so the patch will effectively make render fail on the configuration where SSE 4.1 support is not detected.
Not sure what is the best way to tackle Compositor node.
For the extra features which are not working reliably (mentioned in #94127#1275555) think is better to submit a separate report with a demo .blend file.
I would do that if I still had the .blend. But I only have the screenshots. Sorry about that :/
But I think that mainly the denoise broke, but I can not verify that.
Thank you for fixing this <3
@Sergey You wrote:
But in my tests I also got a black frame from Optix denoising.
Are you sure about the behaviour or did I make a mistake?
@Raimund58 What a great question! In my initial implementation that what would've happened. What I didn't realize is that this change has been made
0ab1b19de4
.@Raimund58 The complicated part is that we kind of want .blend files to be easily shareable between artists in a way that they can render them without running into errors, and this is an opposite of what one'd want for the render farms and studios. Additionally, making such changes without any notification to artists is not good either.
Had a quick discussion with Brecht. The idea is to make it so that warnings will be generated in the interface when requested settings are overwritten and look into adding warnings-as-error type of a toggle for Cycles (with a goal to avoid CPU time waste on the farms, and possibly covering more than just denoiser/device fallback).
Anyway, this is something which is being discussed.
I am looking forward for good solutions/compromises.
You guys are usually quite good in finding those :)
Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'