Crash when rendering with cryptomatte enable #98663

Closed
opened 2022-06-08 11:12:03 +02:00 by lecointre leny · 15 comments

System Information
Operating system: macOS-10.13.6-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 580 OpenGL Engine ATI Technologies Inc. 4.1 ATI-1.68.25

Blender Version
Broken: version: 3.2.0 Release Candidate, branch: master, commit date: 2022-06-01 13:39, hash: a493956eaa
Worked: I cant test with 3.1 because the file doesnt open, it crash automaticly.

Short description of error
I can work and render, but if I want cryptomatte (i try only object, material or asset and combinaison) I instantly crash when clicking on the render image.

Exact steps for others to reproduce the error
Enable crpytomatte and click on render image
The scene contain a camera projection and image sequence.
I can give you the blend file and you can replace the link of the image sequences{F13138052}

**System Information** Operating system: macOS-10.13.6-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon Pro 580 OpenGL Engine ATI Technologies Inc. 4.1 ATI-1.68.25 **Blender Version** Broken: version: 3.2.0 Release Candidate, branch: master, commit date: 2022-06-01 13:39, hash: `a493956eaa` Worked: I cant test with 3.1 because the file doesnt open, it crash automaticly. **Short description of error** I can work and render, but if I want cryptomatte (i try only object, material or asset and combinaison) I instantly crash when clicking on the render image. **Exact steps for others to reproduce the error** Enable crpytomatte and click on render image The scene contain a camera projection and image sequence. I can give you the blend file and you can replace the link of the image sequences{[F13138052](https://archive.blender.org/developer/F13138052/lucie_laser.blend)}
Author

Added subscriber: @groslainegroslaine

Added subscriber: @groslainegroslaine

#98752 was marked as duplicate of this issue

#98752 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

No crash here (without the image sequence)

**System Information**
Operating system: Linux-5.13.0-0.rc6.45.fc35.x86_64-x86_64-with-glibc2.34.9000 64 Bits
Graphics card: NVIDIA GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 495.44
version: 3.2.0, branch: master, commit date: 2022-06-07 18:03, hash: `rB2161a892519e`

Enable crpytomatte

Is Object enough? Or do we need Material and Asset checked as well?
image.png
Please provide the image sequences as well (just to be sure)

No crash here (without the image sequence) ``` **System Information** Operating system: Linux-5.13.0-0.rc6.45.fc35.x86_64-x86_64-with-glibc2.34.9000 64 Bits Graphics card: NVIDIA GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 495.44 version: 3.2.0, branch: master, commit date: 2022-06-07 18:03, hash: `rB2161a892519e` ``` > Enable crpytomatte Is `Object` enough? Or do we need `Material` and `Asset` checked as well? ![image.png](https://archive.blender.org/developer/F13138122/image.png) Please provide the image sequences as well (just to be sure)
Author

Yes its the same with only the Object selectid. It crash right away after clicking on the render image (or animation)

Yes its the same with only the Object selectid. It crash right away after clicking on the render image (or animation)

Added subscriber: @JDIbi1973

Added subscriber: @JDIbi1973

System Information
Operating system: macOS-12.0.1-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 580X OpenGL Engine ATI Technologies Inc. 4.1 ATI-4.7.29

Blender Version
Broken: version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: e05e1e3691
Worked: (newest version of Blender that worked as expected)

Short description of error
Similar case, but on scene there is only a few cubes, a light, the camera and a plane. Blender Crashes when I mark any Cryptomatte Passes Option and then I try to render using Eevee render, Cycles works fine.

Exact steps for others to reproduce the error
Open the attached file on a similar Mac, select Cryptomatte Pass and press F12

Thankyou{F13175834}

**System Information** Operating system: macOS-12.0.1-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon Pro 580X OpenGL Engine ATI Technologies Inc. 4.1 ATI-4.7.29 **Blender Version** Broken: version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: `e05e1e3691` Worked: (newest version of Blender that worked as expected) **Short description of error** Similar case, but on scene there is only a few cubes, a light, the camera and a plane. Blender Crashes when I mark any Cryptomatte Passes Option and then I try to render using Eevee render, Cycles works fine. **Exact steps for others to reproduce the error** Open the attached file on a similar Mac, select Cryptomatte Pass and press F12 Thankyou{[F13175834](https://archive.blender.org/developer/F13175834/Testing_Bug_Cryptomatte_Eevee.blend)}
Jeroen Bakker self-assigned this 2022-06-17 08:14:33 +02:00
Member

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

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

Was doing a code review and stumbled on this issue.
There is a shader compilation error that crashes Blender.

ERROR (gpu.shader): EEVEE_shaders_cryptomatte_sh_get VertShader: 
      | 
 5664 |   attrib_load();
      | 
      | Error: '' :   Too few args in Macro  attrib_load

Possible culprit 8ece0816d9
Seems like 092cbacd8f did a fix, but didn't work on certain platforms

Was doing a code review and stumbled on this issue. There is a shader compilation error that crashes Blender. ``` ERROR (gpu.shader): EEVEE_shaders_cryptomatte_sh_get VertShader: | 5664 | attrib_load(); | | Error: '' : Too few args in Macro attrib_load ``` Possible culprit 8ece0816d9 Seems like 092cbacd8f did a fix, but didn't work on certain platforms

This issue was referenced by d69fe52bad

This issue was referenced by d69fe52bad684b40a9419ca37ac88a0d461cb8ce

This issue was referenced by 0ff7a7b3b5

This issue was referenced by 0ff7a7b3b504f8c4c4feac37cd2486d1e41e60cc
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Member

Added subscribers: @KingMadMatty, @OmarEmaraDev

Added subscribers: @KingMadMatty, @OmarEmaraDev
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
7 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#98663
No description provided.