Compositor in start up file does not show specific passes #94480

Open
opened 2021-12-30 02:45:47 +01:00 by Alaska · 19 comments
Member

Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-12-29 23:51, hash: 9d3264b4fd
Worked: Prior to 7e712b2d6a

Short description of error
When loading the startup file, some passes will be missing from the compositor. For example the denoiser.

Here is a video showing off the issue: F12781327

Exact steps for others to reproduce the error
Watch the video above or follow the steps below:

  1. Start up Blender and change the render engine to Cycles.
  2. Go to the Viewlayer Properties tab and enable Denoising Data.
  3. Change one of the areas to the Compositor and tick the Use Nodes box.
  4. Take note of the passes that are available on the Render layer node.
  5. Select from the top of Blender File -> Defaults -> Save Startup File
  6. Close Blender
  7. Open a new instance of Blender 3.1 and notice that the Render Layer node is missing some of the inputs that should be there.

How it looks before you re-open Blender:
{F13081662, size=full}

How it looks afterwards:
{F13081667, size=full}

Example of startup.blend:
startup.blend

**Blender Version** Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-12-29 23:51, hash: `9d3264b4fd` Worked: Prior to 7e712b2d6a **Short description of error** When loading the startup file, some passes will be missing from the compositor. For example the denoiser. Here is a video showing off the issue: [F12781327](https://archive.blender.org/developer/F12781327/Missing_Passes_in_Compositor.mp4) **Exact steps for others to reproduce the error** Watch the video above or follow the steps below: 1. Start up Blender and change the render engine to Cycles. 2. Go to the `Viewlayer Properties` tab and enable Denoising Data. 3. Change one of the areas to the `Compositor` and tick the `Use Nodes` box. 4. Take note of the passes that are available on the `Render layer` node. 5. Select from the top of Blender `File -> Defaults -> Save Startup File` 6. Close Blender 7. Open a new instance of Blender 3.1 and notice that the `Render Layer` node is missing some of the inputs that should be there. How it looks before you re-open Blender: {[F13081662](https://archive.blender.org/developer/F13081662/image.png), size=full} How it looks afterwards: {[F13081667](https://archive.blender.org/developer/F13081667/image.png), size=full} Example of startup.blend: [startup.blend](https://archive.blender.org/developer/F13081657/startup.blend)
Author
Member

Added subscriber: @Alaska

Added subscriber: @Alaska
Author
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Author
Member

CC @JacquesLucke as it's caused by 7e712b2d6a

CC @JacquesLucke as it's caused by 7e712b2d6a
Alaska changed title from Compositor in start file does not show specific passes to Compositor in start up file does not show specific passes 2021-12-30 02:46:41 +01:00
Member

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

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

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

The problem is that cycles is registered after the startup file is loaded. The list of passes is stored in the addon in engine.py. So when the Render Layers node is updated on file load, it does not know which passes the node should have.
It seems like this is only a problem with the startup file. I couldn't reproduce it by loading files any other way. Also note that the missing sockets have not been removed, they are just unavailable. That also implies that once the sockets come back, their links are restored.
While this is indeed a bug and regression, I wouldn't classify it as high priority unless more severe issues are found.

The problem is that cycles is registered after the startup file is loaded. The list of passes is stored in the addon in `engine.py`. So when the Render Layers node is updated on file load, it does not know which passes the node should have. It seems like this is only a problem with the startup file. I couldn't reproduce it by loading files any other way. Also note that the missing sockets have not been removed, they are just unavailable. That also implies that once the sockets come back, their links are restored. While this is indeed a bug and regression, I wouldn't classify it as high priority unless more severe issues are found.
Author
Member

In #94480#1282771, @JacquesLucke wrote:
While this is indeed a bug and regression, I wouldn't classify it as high priority unless more severe issues are found.

Although this isn't a "severe issue" it does cause some inconvenience.
I personally have a complex denoiser setup in the compositor on my startup file. This is so I every project I work on has the complex denoiser without me having to recreate it.
In my startup file I have the render layers node connected to the complex node tree and then outputting it at the end of the compositor.
On many occasions I will start up a project from my startup file then continue working on the project for maybe a few hours before I close Blender. During the time I'm working on the project the first time, the quality of my denoising is compromised, or broken, due to the missing passes until I enable/disable another render pass.

> In #94480#1282771, @JacquesLucke wrote: > While this is indeed a bug and regression, I wouldn't classify it as high priority unless more severe issues are found. Although this isn't a "severe issue" it does cause some inconvenience. I personally have a complex denoiser setup in the compositor on my startup file. This is so I every project I work on has the complex denoiser without me having to recreate it. In my startup file I have the render layers node connected to the complex node tree and then outputting it at the end of the compositor. On many occasions I will start up a project from my startup file then continue working on the project for maybe a few hours before I close Blender. During the time I'm working on the project the first time, the quality of my denoising is compromised, or broken, due to the missing passes until I enable/disable another render pass.
Author
Member

Sorry, I made the previous comment based on what I remembered about the bug.

Rendering the image does result in the "Render Layers" node being "reloaded" resulting in the compositor providing the correct result.

Sorry, I made the previous comment based on what I remembered about the bug. Rendering the image does result in the "Render Layers" node being "reloaded" resulting in the compositor providing the correct result.
Member

It seems like this is only a problem with the startup file. I couldn't reproduce it by loading files any other way

Looks like issue appear on other files also, see: #94812 ("Passes" disappear in "Render Layers" node in compositor)
We could merge this report in #94812 (reproducing steps are comparatively straightforward)

> It seems like this is only a problem with the startup file. I couldn't reproduce it by loading files any other way Looks like issue appear on other files also, see: #94812 ("Passes" disappear in "Render Layers" node in compositor) We could merge this report in `#94812` (reproducing steps are comparatively straightforward)

Added subscriber: @dfelinto

Added subscriber: @dfelinto

This is fixed already since it was fixed in #94812

This is fixed already since it was fixed in #94812

Closed as duplicate of #94812

Closed as duplicate of #94812
Author
Member

Changed status from 'Duplicate' to: 'Confirmed'

Changed status from 'Duplicate' to: 'Confirmed'
Alaska reopened this issue 2022-05-16 23:27:42 +02:00
Author
Member

I continue to experience this issue with the system information found below. I will re-open this report.

System Information
Operating system: Linux-5.17.0-1-amd64-x86_64-with-glibc2.33 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 510.68.02

Blender Version
Broken version: 3.3.0 Alpha, branch: master, commit date: 2022-05-14 17:46, hash: 139a4b6a84

I continue to experience this issue with the system information found below. I will re-open this report. **System Information** Operating system: Linux-5.17.0-1-amd64-x86_64-with-glibc2.33 64 Bits Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 510.68.02 **Blender Version** Broken version: 3.3.0 Alpha, branch: master, commit date: 2022-05-14 17:46, hash: `139a4b6a84`

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

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

I still cannot reproduce this. @Alaska can you share a .blend?

I still cannot reproduce this. @Alaska can you share a .blend?

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

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

Ah ok, got to reproduce it with denoise. Here is the startup.blend file:

startup.blend

Ah ok, got to reproduce it with denoise. Here is the startup.blend file: [startup.blend](https://archive.blender.org/developer/F13081657/startup.blend)

Hi @Alaska why did you remove this detail: "Note: If you change the render engine back to Cycles this "fixes" itself again." ?

Hi @Alaska why did you remove this detail: "Note: If you change the render engine back to Cycles this "fixes" itself again." ?
Philipp Oeser removed the
Interest
Nodes & Physics
label 2023-02-10 08:44:19 +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#94480
No description provided.