Cycles GPU crash when switching to Rendered 3DViewport --MacOS 13.1-- #103327
Labels
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
10 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#103327
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Blender Version
Broken: 3.5.0 Alpha, branch: master, commit date: 2022-12-18 20:06, hash:
50c7eb14f4
Worked: 3.5.0 Alpha, branch: master, commit date: 2022-12-16 20:43, hash:
4254810e50
(works fine)Short description of error
Instant crash of blender when switching to rendered 3DView.
Exact steps for others to reproduce the error
Compile latest 3.5 version as of 2022-12-18 20:06, hash:
50c7eb14f4
open empty scene provided below and switch to rendered 3DView.
gpu.blend
xcode 14.1
latest brew updates
(cycles-cache & build-darwin folders deleted before compiling )
PS: When switching to CPU there is no crash. Only GPU !
Added subscriber: @Nurb2Kea
#103290 was marked as duplicate of this issue
#102453 was marked as duplicate of this issue
#103302 was marked as duplicate of this issue
Added subscriber: @OmarEmaraDev
Changed status from 'Needs Triage' to: 'Needs User Info'
Can you attach the crash log created by Blender when it crashes?
Even with the terminal, you won't see anything when it crashes.
3.5 is getting worse since a month, and I'm not able to tell !
3.5.0 Alpha, branch: master, commit date: 2022-12-16 20:43, hash:
4254810e50
(the version before this one) works fine and I even can render animations again what wasn't possible a week ago...Nothing in it:
Blender 3.5.0, Commit date: 2022-12-18 20:06, Hash
50c7eb14f4
bpy.ops.initial.settings() # Operator
backtrace
Python backtrace
Continues with : 3.5.0 Alpha, branch: master, commit date: 2022-12-19 20:56, hash:
c2a8d8b18d
Changed status from 'Needs User Info' to: 'Needs Triage'
Changed status from 'Needs Triage' to: 'Needs User Info'
Can you perhaps check if you can find any relevant logs as per https://apple.stackexchange.com/questions/26480/where-can-i-find-my-crash-logs?
Added subscriber: @Alaska
This is most likely the issue described here: https://blender.chat/channel/render-cycles-module?msg=BGRhNkijQJPTXbm77
Added subscriber: @LukasStockner
Hopefully @LukasStockner or someone else gets around to fixing it soon.
That's what I found.
Blender-2022-12-20-125131.ips
Added subscriber: @Kent-Davis
Changed status from 'Needs User Info' to: 'Needs Triage'
Added subscriber: @iss
Changed status from 'Needs Triage' to: 'Confirmed'
Can confirn, same stacktrace as in #102453, but different function was compiled. Will confirm this task and merge #102453 here, since this is easier to reproduce.
With debugger code got stuck on exception in MetalKernelPipeline::compile() on printf "Error getting function"
Added subscriber: @shugo
Added subscribers: @DanielBrylka, @Memento
Should be fixed by
4c295276f0
in recent nightly builds. Would be great if someone could double-check so we can mark this resolved.yes, the latest build from the 6th of January (and from the last days too) does indeed compile the render kernels with two instances of MTLCompilerService on my intel 2020 iMac 27" (with 16 GB 5700-XT).
Then the workshop.blend scene renders in about 52s and uses a bit over 50% of the GPU.
This is still only half as quick as the Blender release 3.4.1 - here it takes only 28s.
What could be the reason for the slowdown?
Since the support of Metal in Blender I ran the same benchmark each time a new version or system update came out. Here are the results:
Intel iMAC 27“
Blender 3.0
iMac 27“ CPU
60s
Blender 3.1
iMac 27“ CPU
56s
Blender 3.2 Alpha (MacOS 12.3 Metal support!)
iMac 27“ GPU
30s
Blender 3.4 Alpha (MacOS 12.5)
iMac 27“ GPU
30s
Blender 3.4 Alpha (MacOS 12.6)
iMac 27“ GPU
28,4s
Blender 3.4 Alpha (MacOS 13.0)
iMac 27“ GPU
28,76s
Blender 3.5 Alpha (MacOS 13.0.1)
iMac 27“ GPU
28,23s
Blender 3.4 Release (MacOS 13.1)
iMac 27“ GPU
28s
Blender 3.4.1 Release (MacOS 13.1)
iMac 27“ GPU
28s
Blender 3.5 Alpha (MacOS 13.1)
iMac 27“ GPU
52s
I am having strange general crashes of the iMac that I cannot pinpoint. But for sure they are more often since Ventura.
I checked my machine and RAM. My uninformed guess is it has something to do with the "WindowsServer", Metal and the GPU.
Thanks for fixing the Alpha again. Best Daniel
Changed status from 'Confirmed' to: 'Resolved'
Can confirm this being resolved, closing.
There still bad crash during GPU Compute (Computer) on properties during Cycles render. See my other new ticket.
@DanielBrylka
@iss
#104596
Also check my youtube with my link.
There is not resolve.
Hi @Kent-Davis, I just checked on my iMac the 3.5 Alpha from the 12th of February.
I do not see any crashes for a while now and I am happy to report that at least on my configuration the render speed improved a lot again.
Blender 3.4.1 Release (MacOS 13.1)
iMac 27“ GPU
28s
Blender 3.5 Alpha (MacOS 13.2)
iMac 27“ GPU
27s
It's clear to see in the activity monitor that my Radeon Pro 5700 XT is using up to 80% while rendering.
You have a different AMD card as far I could see, right?
I hope you find a cause for your crashes soon.
Best, Daniel
As you can see it's one step away from crashing in video 01.
The second video shows how metal backend is displaying icons and signs when scaling the ui, what never happened in OpenGL.
System Information
Operating system: macOS-13.2.1-x86_64-i386-64bit 64 Bits
Graphics card: Metal API AMD Radeon Pro 5700 XT 1.2
Blender Version
Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-02-20 22:04, hash:
07ae1feed2b9
As you can see it's one step away from crashing in video 01.
The second video shows how metal backend is displaying icons and signs when scaling the ui, what never happened in OpenGL.
System Information
Operating system: macOS-13.2.1-x86_64-i386-64bit 64 Bits
Graphics card: Metal API AMD Radeon Pro 5700 XT 1.2
Blender Version
Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-02-20 22:04, hash:
07ae1feed2b9
Edit: Complete MacOS crash & reboot with :Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-03-03 23:37, hash:
d0cfbc23db81
I'm not sure if is the same issue.
3.4.1 and Beta 3.5 Crashing when changing to shading viewport, still working perfect in 3.3
No matter how simple or complex files are.
I also found that Beta 3.5 was working fine for a while and then and with no reason begins crashing when F12 is pushed even with the files that worked fine before making it not usable at all in my machine.
By the way, Beta 3.5 viewport textures look weird when Viewport Metal is used
ImacPro
3,2 Ghz Xeon W 8 Cores
Radeon Pro Vega 56 8Gb
32 Gb 2666 Mhz DDR4
Ventura 13.2.1
Check my report ticket long explain.
#105148
Thank you. Last test with 3.5β was quite better, Having problems with some addons with viewport metal enable.
ex. KitOps was fully disable and not able to work
@QBer You are welcome.
I am confirming this issue, as it has been reported other times and may be related to these other reports:
#111408: Cycles GPU Compute 5000 x 5000 pixels render F12 crashes
#112678: Regression: Crashes when uses preview or final render modes
When was it reported?
Best blender mac support!!! THX
The reason I stop reporting bugs!
(we report - you fix and test - we confirm working again)
(by the time I can't test it anymore because I don't own anymore this Intel Mac setup)