Blender crashes after baking indirect lights or cubemap on eevee #65386
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#65386
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: Linux-4.18.0-20-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: AMD Radeon (TM) R9 Fury Series (FIJI, DRM 3.26.0, 4.18.0-20-generic, LLVM 7.0.0) X.Org 4.5 (Core Profile) Mesa 18.2.8
Blender Version
Broken: version: 2.80 (sub 74), branch: blender2.7, commit date: 2019-05-31 22:45, hash:
cc600de669
Worked: (optional)
Short description of error
Blender crashes after baking indirect lights or cubemap on eevee. It works for a little while but as soon as you do something, for instance save the file, it crashes and closes.
Exact steps for others to reproduce the error
1- Open teste2.8f.blend. It contains links to animations and objects from the file 2.7render.blend which was made in 2.79b latest for linux. And also a number of textures. I included them just in case.
2-On Indirect Lighting, click Bake cubemap only (Bake indirect lighting also crashes but I just needed to rebake the cubemaps).
3-Set the viewport to rendered (I think it crashes in any view but it's what I've been trying)
4- Do something else like moving the timeline or trying to save the file. Blender will crash and close.
I also included the crash file it generates.
I tried rebooting the pc just in case but still happens.
bug.zip
teste2.8f.crash.txt
Added subscriber: @alexfaiad
Added subscriber: @filibis
I just tested on windows 7 with an AMD FX 8350 with a geforce 710 and it worked fine. No crashes
I also tested on a laptop satellite radius L40DW-C with an AMD A8 with integrated radeon R5 running the latest KDE neon, also based on ubuntu 18.04 and it also crashed.
Both linux computers were running the open source driver that comes with the kernel.
But then when I open the file I baked from windows on linux it becomes all blown out. Bellow is the blown out one that was baked on windows, viewed on linux (it looks correct on windows) and the previous one on linux, with the wrong, black cubemap reflections that I'm trying to update.
Added subscriber: @ZedDB
It seems like it crashes somewhere in the undo system:
Hi, was something done about this bug? I am on a new project but I can't really use Eevee because of the same bug. I'm attaching the project. The only error message on shell is
blender: ../src/gallium/drivers/radeonsi/si_descriptors.c:1507: si_desc_reset_buffer_offset: Assertion `old_buf_va <= old_desc_va' failed.
Aborted (core dumped)
To test it, unzip both files on the same directory, open 28test.blend (it references the other file) and hit "bake indirect lighting". Here it just crashes.
Assets.zip
By the way, I'm using the latest blender 2.8 rc2 as of 23/july/2019
All the other info (hardware and software) is the same as before on Linux
Added subscriber: @capnm
That's another bug, see https://developer.blender.org/T61093#716608
Thank you. I'll try again installing that driver.
I got the radeon because everyone told me it would be easier on Linux but the proprietary Nvidia driver was just so much easier...
Ah, copying/pasting this in the terminal is no harder than installing the proprietary drivers :-)
Added subscriber: @ideasman42
The baking code isn't checking the array length before writing to
lcache->cube_data
, naive fix:This issue was referenced by
ef0e06d764
Changed status from 'Open' to: 'Resolved'