Cycles - Render Pass contains black pixels with no values #90423

Closed
opened 2021-08-04 10:43:47 +02:00 by Marcin Różewski · 22 comments

System Information
Windows 10 Pro Build 19043.1110
GeForce GTX 1080
GeForce GTX 1080
NVIDIA-SMI 461.92
Driver Version: 461.92
CUDA Version: 11.2

Broken Blender Version: 3.0.0 Alpha -> 3.0.15 bpy.app.version_file
Broken Blender Version: 3.0.0 Alpha -> 3.0.7 bpy.app.version_file
Worked Blender Version: 2.93.1 -> 2.93.20 bpy.app.version_file

Getting NANs since 9c6a382f95.

Short description of error
In the almost all pass there are black pixel with no value. In compositing this pixel make artifacts.
The Pass is ok in Blender 2.93.1 with the same geometry.

This is a good render pass AO
image.png

This is a broken render pass AO
image.png

All other pass have the same problem.

**System Information** Windows 10 Pro Build 19043.1110 GeForce GTX 1080 GeForce GTX 1080 NVIDIA-SMI 461.92 Driver Version: 461.92 CUDA Version: 11.2 **Broken** Blender Version: 3.0.0 Alpha -> 3.0.15 `bpy.app.version_file` **Broken** Blender Version: 3.0.0 Alpha -> 3.0.7 `bpy.app.version_file` **Worked** Blender Version: 2.93.1 -> 2.93.20 `bpy.app.version_file` Getting NANs since 9c6a382f95. **Short description of error** In the almost all pass there are black pixel with no value. In compositing this pixel make artifacts. The Pass is ok in Blender 2.93.1 with the same geometry. This is a good render pass AO ![image.png](https://archive.blender.org/developer/F10264555/image.png) This is a broken render pass AO ![image.png](https://archive.blender.org/developer/F10264563/image.png) All other pass have the same problem.

Added subscriber: @mdsanima

Added subscriber: @mdsanima

#90861 was marked as duplicate of this issue

#90861 was marked as duplicate of this issue
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Could you share an example file where this happens?

Could you share an example file where this happens?

This is a file prepare file thats give me a error on 3.0.0
render_pass_error.blend

In the 2.93.1 version is ok.

But now I noticed that the material is badly connected, the normal map was accidentally connected to the alpha slot and the opacity to the emission.
After switching the slots to the correct ones, the rendering no longer shows errors. But if the same file with the wrong connection is made, version 2.93.1 renders without error.

I hope it will help and it is nothing serious. Good luck.

This is a file prepare file thats give me a error on 3.0.0 [render_pass_error.blend](https://archive.blender.org/developer/F10264905/render_pass_error.blend) In the 2.93.1 version is ok. But now I noticed that the material is badly connected, the normal map was accidentally connected to the alpha slot and the opacity to the emission. After switching the slots to the correct ones, the rendering no longer shows errors. But if the same file with the wrong connection is made, version 2.93.1 renders without error. I hope it will help and it is nothing serious. Good luck.

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Please let me know if you want more information.

Please let me know if you want more information.
Member

Changed status from 'Needs Developer To Reproduce' to: 'Needs Triage'

Changed status from 'Needs Developer To Reproduce' to: 'Needs Triage'
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Bisecting note:

Bisecting note: - This already has NANs in b73dc36859 - 7223a0348f crashes - No NANs in 6afafc46f6
Member

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

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

Added subscribers: @ktdfly, @brecht

Added subscribers: @ktdfly, @brecht
Member

Freeze / crash was due to 5f9677fe0c, was fixed in 2dbb492268

So getting NANs since 9c6a382f95.
Strange thing: no matter what I set the Shadow Terminator Geometry Offset to (0.0 should be disabled), those NANs wills always be there.

Think rendering devs would need to look at this (but dont think this is one of the limitations mentioned in the commit?), will confirm for now.

CC @ktdfly
CC @brecht

Freeze / crash was due to 5f9677fe0c, was fixed in 2dbb492268 So getting NANs since 9c6a382f95. Strange thing: no matter what I set the Shadow Terminator Geometry Offset to (0.0 should be disabled), those NANs wills always be there. Think rendering devs would need to look at this (but dont think this is one of the limitations mentioned in the commit?), will confirm for now. CC @ktdfly CC @brecht

I've refined the example. I think the problem is somehow connected to Alpha input of Principled BSDF and how it mixes in Diffuse component.

Screenshot from 2021-08-09 14-38-48.png Screenshot from 2021-08-09 14-38-35.png

render_pass_error_refined.blend

I've refined the example. I think the problem is somehow connected to Alpha input of Principled BSDF and how it mixes in Diffuse component. |![Screenshot from 2021-08-09 14-38-48.png](https://archive.blender.org/developer/F10275118/Screenshot_from_2021-08-09_14-38-48.png)|![Screenshot from 2021-08-09 14-38-35.png](https://archive.blender.org/developer/F10275120/Screenshot_from_2021-08-09_14-38-35.png)| | -- | -- | [render_pass_error_refined.blend](https://archive.blender.org/developer/F10275122/render_pass_error_refined.blend)

@ktdfly, if the geometry offset commit introduced this, can you figure out how to avoid that?

There may be NaNs or invalid values generated earlier, but I think we should both fix that and make the geometry offset robust to such things.

@ktdfly, if the geometry offset commit introduced this, can you figure out how to avoid that? There may be NaNs or invalid values generated earlier, but I think we should both fix that and make the geometry offset robust to such things.

I'll do my best @brecht

I'll do my best @brecht
Member

Added subscriber: @1936403010

Added subscriber: @1936403010

This issue was referenced by blender/cycles@6b8f4518af

This issue was referenced by blender/cycles@6b8f4518aff6da43a57e3edfe7668b5d996edef5

This issue was referenced by cd118c5581

This issue was referenced by cd118c5581f482afc8554ff88b5b6f3b552b1682

This issue was referenced by None@62683

This issue was referenced by None@62683

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Brecht Van Lommel self-assigned this 2021-08-23 15:57:48 +02: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
6 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#90423
No description provided.