Cycles: Metal GPU rendering using Principled Volume Shader adds grey tint #95159

Closed
opened 2022-01-23 20:45:35 +01:00 by Christian Baars · 8 comments

System Information
Operating system: macOS-12.1-arm64-arm-64bit 64 Bits
Graphics card: Apple M1 Max Apple 4.1 Metal - 76.3

Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2022-01-23 18:29, hash: 38c7378949
Worked: did never work for me

Short description of error
In every of my own test since we have Metal GPU support in cycles, some grey is added to materials using the Prinicpled Volume shader on the GPU.
I get the expected output with the CPU on the M1 and on a Win10 laptop (CPU and CUDA) too.
Viewport and final render look the same.

Exact steps for others to reproduce the error
Use the standard startup file. Turn on cycles and delete the surface shader. Add a "Principled Volume shader" with the diffuse color of your choice that is not pure grey and connect to the volume output.

CPU:
cpu_volume_okay.png
GPU:
gpu_volume_grey.png

volume_cycles_metal_bug.blend

For me it is only a minor issue and a rare use case.
Thank you.

**System Information** Operating system: macOS-12.1-arm64-arm-64bit 64 Bits Graphics card: Apple M1 Max Apple 4.1 Metal - 76.3 **Blender Version** Broken: version: 3.1.0 Alpha, branch: master, commit date: 2022-01-23 18:29, hash: `38c7378949` Worked: did never work for me **Short description of error** In every of my own test since we have Metal GPU support in cycles, some grey is added to materials using the Prinicpled Volume shader on the GPU. I get the expected output with the CPU on the M1 and on a Win10 laptop (CPU and CUDA) too. Viewport and final render look the same. **Exact steps for others to reproduce the error** Use the standard startup file. Turn on cycles and delete the surface shader. Add a "Principled Volume shader" with the diffuse color of your choice that is not pure grey and connect to the volume output. CPU: ![cpu_volume_okay.png](https://archive.blender.org/developer/F12819481/cpu_volume_okay.png) GPU: ![gpu_volume_grey.png](https://archive.blender.org/developer/F12819482/gpu_volume_grey.png) [volume_cycles_metal_bug.blend](https://archive.blender.org/developer/F12819473/volume_cycles_metal_bug.blend) For me it is only a minor issue and a rare use case. Thank you.

Added subscriber: @Staars

Added subscriber: @Staars

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Added subscriber: @mano-wii

Added subscriber: @mano-wii
Contributor

Added subscriber: @Raimund58

Added subscriber: @Raimund58

After updating to MacOS 12.2 the problem disappeared (using the old binary). So I assume it was a driver issue.

After updating to MacOS 12.2 the problem disappeared (using the old binary). So I assume it was a driver issue.

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Brecht Van Lommel self-assigned this 2022-02-04 16:38:01 +01:00

That's correct, there was a driver bugfix in 12.2.

That's correct, there was a driver bugfix in 12.2.
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
4 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#95159
No description provided.