Maniphest T74973

Linux: Cryptomattes empty/buggy based on enabled render passes
Closed, Resolved

Assigned To
Brecht Van Lommel (brecht)
Authored By
Tristan (Plyro)
Mar 20 2020, 3:17 PM
Tags
  • BF Blender
Subscribers
Tristan (Plyro)

Description

System Information
Operating system: Linux-5.3.0-42-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 780 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 435.21

Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: rB375c7dc4caf4
Worked: (optional)

Short description of error
On Linux systems, cryptomatte layers get corrupted if certain other passes are activated.

Exact steps for others to reproduce the error

Unpack the provided zip file.

Open 'cryptomatte_bug_scene.blend' from the provided archive on a linux machine.

For comparison:
The provided render settings will produce a clean EXR file on 'Render Animation' (like the one already provided and opened in the Compositor/Viewer).

To recreate the error:
Activate the following render passes:
Vector, Normal,
Diffuse (Direct, Indirect, Color)
Glossy (Direct, Indirect, Color)
Transmission (Direct, Indirect, Color)
Subsurface (Direct, Indirect, Color)

Upon hitting 'Render Animation' and reloading the image in the Compositor, the replaced EXR will show corrupted Cryptomattes.

This happens with various combinations of passes. Activating all of the passes above guarantees the error.
Bug seems to be not present in Windows builds. Tested on other ubuntu-based systems with different graphics cards as well.

Revisions and Commits

rC Cycles
rB Blender

Event Timeline

Tristan (Plyro) created this task.Mar 20 2020, 3:17 PM
Tristan (Plyro) added a comment.Mar 20 2020, 3:54 PM

Seems to be the same issue as here:
https://developer.blender.org/T68370

Brecht Van Lommel (brecht) closed this task as Resolved by committing rB6777956005f5: Fix T68370, T74973: Cycles cryptomatte not working when other passes are enabled.Mar 20 2020, 4:16 PM
Brecht Van Lommel (brecht) claimed this task.
Brecht Van Lommel (brecht) added a commit: rB6777956005f5: Fix T68370, T74973: Cycles cryptomatte not working when other passes are enabled.
Brecht Van Lommel (brecht) added a commit: rC07f9426ca0c8: Fix T68370, T74973: Cycles cryptomatte not working when other passes are enabled.Jun 2 2020, 7:43 AM