Irradiance Volume baking crashes Blender #63232

Closed
opened 2019-04-03 00:27:38 +02:00 by Chris D · 17 comments

System Information
Operating system: Ubuntu 18.04
Graphics card: AMD RX 460 & Intel HD 4000

Blender Version
Broken: blender-2.80-40412499433e-linux-glibc224-x86_64 up until latest nightly, blender-2.80-17c15798c35f-linux-glibc224-x86_64. It's worked in the past, before 40412..., but I'm not sure of the commit ID.

Short description of error
Blender crashes a few moments after hitting bake, the bake does start. The error message makes it seem like Blender is picking the wrong GPU driver. I am using the opensource AMDGPU driver not Gallium if I understand correctly, but there is a display plugged directly into each GPU.

DRI_PRIME is set to 1 in /etc/environment
Starting Blender with DRI_PRIME=0 launches Blender on the Intel GPU and the bake completes successfully.
Starting Blender with DRI_PRIME=1 (or not specifying it) launches Blender on the AMD GPU and the crash occurs with the error:

blender: ../src/gallium/drivers/radeonsi/si_descriptors.c:1489: si_desc_reset_buffer_offset: Assertion `old_buf_va <= old_desc_va' failed.

I wanted to see if I could get to the bottom of this myself, but I could not find that file. ¯_(ツ)_/¯

Exact steps for others to reproduce the error
Add an iridescence volume and hit "Bake Indirect Lighting" on a system with multiple GPUs.

**System Information** Operating system: Ubuntu 18.04 Graphics card: AMD RX 460 & Intel HD 4000 **Blender Version** Broken: blender-2.80-40412499433e-linux-glibc224-x86_64 up until latest nightly, blender-2.80-17c15798c35f-linux-glibc224-x86_64. It's worked in the past, before 40412..., but I'm not sure of the commit ID. **Short description of error** Blender crashes a few moments after hitting bake, the bake does start. The error message makes it seem like Blender is picking the wrong GPU driver. I am using the opensource AMDGPU driver not Gallium if I understand correctly, but there *is* a display plugged directly into each GPU. DRI_PRIME is set to 1 in /etc/environment Starting Blender with DRI_PRIME=0 launches Blender on the Intel GPU and the bake completes successfully. Starting Blender with DRI_PRIME=1 (or not specifying it) launches Blender on the AMD GPU and the crash occurs with the error: ``` blender: ../src/gallium/drivers/radeonsi/si_descriptors.c:1489: si_desc_reset_buffer_offset: Assertion `old_buf_va <= old_desc_va' failed. ``` I wanted to see if I could get to the bottom of this myself, but I could not find that file. ¯\_(ツ)_/¯ **Exact steps for others to reproduce the error** Add an iridescence volume and hit "Bake Indirect Lighting" on a system with multiple GPUs.
Author

Added subscriber: @CheesecakeCG

Added subscriber: @CheesecakeCG

Added subscriber: @ZedDB

Added subscriber: @ZedDB

What mesa version are you using? (glxinfo | grep OpenGL)

That output file path is from the AMD mesa drivers. I've only ran into output like that when there was a driver bug.

What mesa version are you using? (`glxinfo | grep OpenGL`) That output file path is from the AMD mesa drivers. I've only ran into output like that when there was a driver bug.
Author

That output file path is from the AMD mesa drivers.

That explains it! XD

Here's my Mesa version:

OpenGL vendor string: X.Org
OpenGL renderer string: AMD Radeon (TM) RX 460 Graphics (POLARIS11, DRM 3.27.0, 5.0.0-2.1-liquorix-amd64, LLVM 7.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.3
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 18.3.3
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.3.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
> That output file path is from the AMD mesa drivers. That explains it! XD Here's my Mesa version: ``` OpenGL vendor string: X.Org OpenGL renderer string: AMD Radeon (TM) RX 460 Graphics (POLARIS11, DRM 3.27.0, 5.0.0-2.1-liquorix-amd64, LLVM 7.0.0) OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.3 OpenGL core profile shading language version string: 4.50 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 4.5 (Compatibility Profile) Mesa 18.3.3 OpenGL shading language version string: 4.50 OpenGL context flags: (none) OpenGL profile mask: compatibility profile OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.3.3 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 OpenGL ES profile extensions: ```

Is this still an issue with either mesa 18.3.5 or 19.0.1?

Is this still an issue with either mesa 18.3.5 or 19.0.1?
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Philipp Oeser self-assigned this 2019-04-24 10:51:39 +02:00
Member

Since last asking for information it has been 7 or more days, due to the policy of our bug tracker we will have to archive the report until the requested information is given.

Since last asking for information it has been 7 or more days, due to the policy of our bug tracker we will have to archive the report until the requested information is given.
Author

Really sorry about the massive delay! I was finally able to update to Mesa 19.0.2 (and commit 427c75e4c2), now it only crashes when a view-port is visible while baking.

OpenGL vendor string: X.Org
OpenGL renderer string: AMD Radeon (TM) RX 460 Graphics (POLARIS11, DRM 3.27.0, 5.0.0-2.1-liquorix-amd64, LLVM 8.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.0.2
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 19.0.2
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.0.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
Really sorry about the massive delay! I was finally able to update to Mesa 19.0.2 (and commit 427c75e4c20b), now it only crashes when a view-port is visible while baking. ``` OpenGL vendor string: X.Org OpenGL renderer string: AMD Radeon (TM) RX 460 Graphics (POLARIS11, DRM 3.27.0, 5.0.0-2.1-liquorix-amd64, LLVM 8.0.0) OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.0.2 OpenGL core profile shading language version string: 4.50 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 4.5 (Compatibility Profile) Mesa 19.0.2 OpenGL shading language version string: 4.50 OpenGL context flags: (none) OpenGL profile mask: compatibility profile OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.0.2 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 OpenGL ES profile extensions: ```
Philipp Oeser removed their assignment 2019-05-13 10:47:03 +02:00
Member

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'

Added subscriber: @DimaM

Added subscriber: @DimaM

Added subscriber: @iss

Added subscriber: @iss

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

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

@CheesecakeCG is this still an issue with latest Blender version? Or daily build, if you can test that?

@CheesecakeCG is this still an issue with latest Blender version? Or daily build, if you can test that?

Probably it's a duplicate of this bug https://developer.blender.org/T61093. I have two amd cards and I tried to bake irradiance volume with DRI_PRIME=1 and with active render view and seems it works without crashing.

OpenGL vendor string: X.Org
OpenGL renderer string: AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.36.0, 4.15.0-72-generic, LLVM 9.0.1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.0-devel (git-8dc7c46 2020-01-03 bionic-oibaf-ppa)
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.0.0-devel (git-8dc7c46 2020-01-03 bionic-oibaf-ppa)
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.0.0-devel (git-8dc7c46 2020-01-03 bionic-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
user@user:~$ DRI_PRIME=1 glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: AMD Radeon (TM) RX 460 Graphics (POLARIS11, DRM 3.36.0, 4.15.0-72-generic, LLVM 9.0.1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.0-devel (git-8dc7c46 2020-01-03 bionic-oibaf-ppa)
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.0.0-devel (git-8dc7c46 2020-01-03 bionic-oibaf-ppa)
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.0.0-devel (git-8dc7c46 2020-01-03 bionic-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

I use devel version of mesa because I experienced some problems with eevee shaders on mesa version mentioned there https://developer.blender.org/T61093.

Probably it's a duplicate of this bug https://developer.blender.org/T61093. I have two amd cards and I tried to bake irradiance volume with DRI_PRIME=1 and with active render view and seems it works without crashing. ``` OpenGL vendor string: X.Org OpenGL renderer string: AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.36.0, 4.15.0-72-generic, LLVM 9.0.1) OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.0-devel (git-8dc7c46 2020-01-03 bionic-oibaf-ppa) OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.0.0-devel (git-8dc7c46 2020-01-03 bionic-oibaf-ppa) OpenGL shading language version string: 4.60 OpenGL context flags: (none) OpenGL profile mask: compatibility profile OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.0.0-devel (git-8dc7c46 2020-01-03 bionic-oibaf-ppa) OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 OpenGL ES profile extensions: user@user:~$ DRI_PRIME=1 glxinfo | grep OpenGL OpenGL vendor string: X.Org OpenGL renderer string: AMD Radeon (TM) RX 460 Graphics (POLARIS11, DRM 3.36.0, 4.15.0-72-generic, LLVM 9.0.1) OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.0-devel (git-8dc7c46 2020-01-03 bionic-oibaf-ppa) OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.0.0-devel (git-8dc7c46 2020-01-03 bionic-oibaf-ppa) OpenGL shading language version string: 4.60 OpenGL context flags: (none) OpenGL profile mask: compatibility profile OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.0.0-devel (git-8dc7c46 2020-01-03 bionic-oibaf-ppa) OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 OpenGL ES profile extensions: ``` I use devel version of mesa because I experienced some problems with eevee shaders on mesa version mentioned there https://developer.blender.org/T61093.

Thanks for info, it indeed looks very similar to #61093 (Crash in gallium/radeon on some 3D manipulation/render). At least it's definitely driver issue if update resolved this

Thanks for info, it indeed looks very similar to #61093 (Crash in gallium/radeon on some 3D manipulation/render). At least it's definitely driver issue if update resolved this

Closed as duplicate of #61093

Closed as duplicate of #61093
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
5 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#63232
No description provided.