Cycles GPU rendering on Apple Metal not working #99999

Closed
opened 2022-07-26 16:14:34 +02:00 by Matt B · 5 comments

System Information
Operating system: macOS-12.5-arm64-arm-64bit 64 Bits
Graphics card: Apple M 1 Max Apple 4.1 Metal - 76.3

Blender Version
Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-07-24 19:33, hash: 6db059e3d7
Worked: (Blender 3.2.1 appears to work okay)

Short description of error
Blender freezes when entering Cycles GPU rendering mode (Apple Metal). I've recorded a video of it happening (linked below), I'm using an M 1 Max MacBook Pro. In the recording I let it run for about a minute but I've left it for longer and there's no response.

https://www.dropbox.com/s/2iz3rzy071ogmzo/Screen%20Recording%202022-07-26%20at%2015.03.07.mov?dl=0

Exact steps for others to reproduce the error
Load up Blender 3.3a with default factory preferences and a simple scene with light and cube, ensure Metal GPU option is enabled, switch to Cycles rendering with GPU compute enabled.

**System Information** Operating system: macOS-12.5-arm64-arm-64bit 64 Bits Graphics card: Apple M 1 Max Apple 4.1 Metal - 76.3 **Blender Version** Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-07-24 19:33, hash: `6db059e3d7` Worked: (Blender 3.2.1 appears to work okay) **Short description of error** Blender freezes when entering Cycles GPU rendering mode (Apple Metal). I've recorded a video of it happening (linked below), I'm using an M 1 Max MacBook Pro. In the recording I let it run for about a minute but I've left it for longer and there's no response. https://www.dropbox.com/s/2iz3rzy071ogmzo/Screen%20Recording%202022-07-26%20at%2015.03.07.mov?dl=0 **Exact steps for others to reproduce the error** Load up Blender 3.3a with default factory preferences and a simple scene with light and cube, ensure Metal GPU option is enabled, switch to Cycles rendering with GPU compute enabled.
Author

Added subscriber: @mr_berns

Added subscriber: @mr_berns
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

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

Changed status from 'Needs Triage' to: 'Archived'
Member

Thanks for the report. As said in the message in the top corner Loading render kernels: May take few minutes for the first time, you'll have to wait for kernels to load.
Not a bug, closing.

Thanks for the report. As said in the message in the top corner `Loading render kernels: May take few minutes for the first time`, you'll have to wait for kernels to load. Not a bug, closing.
Author

Hi, thank you for taking a look.

I just tried again as per your instruction and made sure to wait a decent amount of time, and eventually the render loaded as you suggest (thank you).

It took around 7 minutes, which seems like a long time compared to before - if I load up a fresh copy of Blender 3.2 on Apple silicon it takes only a few seconds.

I made sure to test this thoroughly by getting a different MacBook that I own (m1 MacBook Air), which has never had 3.2 installed, loading up the same default cube scene in a fresh install of Blender 3.2.1. It took approx 15 seconds to load.

Do you have any more info about what might be going on - is there a potential optimisation problem?

It seems like a possible regression from the previous version of Blender.

I should also add that it takes nowhere near this long for GPU rendering on my Windows PC, again only a few seconds after I click render (this was after a brand new install of Blender 3.3).

Thank you

Hi, thank you for taking a look. I just tried again as per your instruction and made sure to wait a decent amount of time, and eventually the render loaded as you suggest (thank you). It took around 7 minutes, which seems like a long time compared to before - if I load up a fresh copy of Blender 3.2 on Apple silicon it takes only a few seconds. I made sure to test this thoroughly by getting a different MacBook that I own (m1 MacBook Air), which has never had 3.2 installed, loading up the same default cube scene in a fresh install of Blender 3.2.1. It took approx 15 seconds to load. Do you have any more info about what might be going on - is there a potential optimisation problem? It seems like a possible regression from the previous version of Blender. I should also add that it takes nowhere near this long for GPU rendering on my Windows PC, again only a few seconds after I click render (this was after a brand new install of Blender 3.3). Thank you
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
2 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#99999
No description provided.