Blender 2.8 - Bake Indirect Lighting or Cubemap stuck in a loop and sometimes crash with Auto Bake selected. #63111
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#63111
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: Windows 7 64-bit
Graphics card: GeForce GTX 1060 6GB
Blender Version
Broken: blender-2.80, 99d4321feff6-win64 2019-03-29
Worked: (optional)
Short description of error
If Auto Bake is selected, clicking "Bake Indirect Lighting" or "Bake Cubemap only", it never finishes with the calculation. It looks like it starts over and over in a loop.
Perhaps it's an unrelated issue but I notice the progress bar does not show up while this is going on unless I move mouse cursor around over the bottom info bar or other UI elements.
I can only exit the loop if I uncheck Auto Bake again. During my earlier tests it sometimes made blender crash/close after a while, but that has not happened for me anymore today.
Exact steps for others to reproduce the error
Open attached blend file.
Choose Rendered view mode.
Make sure Auto Bake is ticked.
Click "Bake Cubemap Only" button.
Observe how the reflection under the sphere fade in and out as if it recalculates over and over.
autobake_bug.blend
Added subscriber: @soderlind
#64945 was marked as duplicate of this issue
#64944 was marked as duplicate of this issue
#64926 was marked as duplicate of this issue
Added subscribers: @Sergey, @brecht
This is a problem of circular tagging for update. To update the displayed lightcache, the baking operation is tagging the scene with COPY_ON_WRITE to update scene->eevee.light_cache (see EEVEE_lightbake_update) to flush this pointer to eval scene. But this tagging seems to flush down to every objects in the scene and tag the probe to update again. I do need to check for ID_RECALC_COPY_ON_WRITE on the probes to detect changes on their properties and leverage the auto bake.
@Sergey @brecht what would be the solution to flush the scene->eevee.light_cache without tagging the whole scene?
Added subscriber: @fclem
It is possible, but needs some surgeoning on operations and relations.
Added subscriber: @alphasatari
Added subscriber: @bennymiltown
I think these new merged tasks are not actually duplicate of this one. See my comment in #64945
When do you think so this is gonna be fixed? I am using AMD RX 570 GPU it was working correctly till 15th of May build. Is there any way to download previous Blender 2.8 Beta build of specific date. I've mistakenly deleted it. I also think these merged task aren't duplicate of each other there is a difference between them.
Ok, I've separated the tasks again.
Changed status from 'Open' to: 'Resolved'
Did series of commits. Should be fixed now.
Thanks for the report, closing.
Added subscriber: @DominickManuli
It's still crashing for me with today release.
@DominickManuli Please submit a new report including exact system configuration, minimal demo file needed and exact steps.
I just did https://developer.blender.org/T65206