Blender crashing when using metal renderer #122022

Open
opened 2024-05-20 22:41:58 +02:00 by Isaac-21 · 4 comments

System Information
Operating system: macOS-14.5-arm64-arm-64bit 64 Bits
Graphics card: Metal API Apple M3 Max 1.2

Blender Version
Broken: version: version: 4.1.1, branch: blender-v4.1-release, commit date: 2024-04-15 15:11, hash: e1743a0317bc
Worked: (newest version of Blender that worked as expected)

Short description of error
blender frequently crashing when using METAL in rendered preview, even when settings are low. ive dowloaded benchmark files, like the classroom, and it runs perfectly until adding in a plane, which causes it to crash. ive also been able to get it to crash by beveling a cube.

Exact steps for others to reproduce the error
make sure you are in cycles, and GPU rendering is turned on. your render device should be set to Apple M3 Max (Gpu - 30 cores).
in one window, change viewing mode to rendered, and try resizing and moving the plane, or beveling the cube.

**System Information** Operating system: macOS-14.5-arm64-arm-64bit 64 Bits Graphics card: Metal API Apple M3 Max 1.2 **Blender Version** Broken: version: version: 4.1.1, branch: blender-v4.1-release, commit date: 2024-04-15 15:11, hash: `e1743a0317bc` Worked: (newest version of Blender that worked as expected) **Short description of error** blender frequently crashing when using METAL in rendered preview, even when settings are low. ive dowloaded benchmark files, like the classroom, and it runs perfectly until adding in a plane, which causes it to crash. ive also been able to get it to crash by beveling a cube. **Exact steps for others to reproduce the error** make sure you are in cycles, and GPU rendering is turned on. your render device should be set to Apple M3 Max (Gpu - 30 cores). in one window, change viewing mode to rendered, and try resizing and moving the plane, or beveling the cube.
Isaac-21 added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2024-05-20 22:41:59 +02:00
Member

I am able to reproduce this issue if MetalRT is enabled (enabled by default on M3 processors). If MetalRT is off, then I can not reproduce the issue (Or at least it's harder to reproduce).

CC @Michael-Jones

System Information
Operating system: macOS-14.4.1-arm64-arm-64bit 64 Bits
Graphics card: Metal API Apple M1 Pro 1.2
Blender version: version: 4.1.1, branch: blender-v4.1-release, commit date: 2024-04-15 15:11, hash: e1743a0317bc

I am able to reproduce this issue if MetalRT is enabled (enabled by default on M3 processors). If MetalRT is off, then I can not reproduce the issue (Or at least it's harder to reproduce). CC @Michael-Jones **System Information** Operating system: macOS-14.4.1-arm64-arm-64bit 64 Bits Graphics card: Metal API Apple M1 Pro 1.2 Blender version: version: 4.1.1, branch: blender-v4.1-release, commit date: 2024-04-15 15:11, hash: `e1743a0317bc`
Alaska added
Status
Confirmed
Module
Render & Cycles
Interest
Metal
and removed
Status
Needs Triage
labels 2024-05-20 23:21:28 +02:00

I can confirm that. With MetalRX turned off, it doesn't crash nearly as often

I can confirm that. With MetalRX turned off, it doesn't crash nearly as often
Alaska added
Priority
High
and removed
Priority
Normal
labels 2024-06-02 07:46:19 +02:00

@Michael-Jones, do you have time to look at this?

@Michael-Jones, do you have time to look at this?

Yes, I would like to get this fixed in 4.2. I suspect that there's some hazardous updating of BVHs.

Yes, I would like to get this fixed in 4.2. I suspect that there's some hazardous updating of BVHs.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser Project (Legacy)
Interest
Asset System
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#122022
No description provided.