Regression: Hair Particles Freeze Entire MacOS! #97542
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
18 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#97542
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: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash:
c77597cd0e
Worked: 3.0
Caused by
5b299e5999
(@RoyTheKoi found this)Short description of error
Using hair particles freezes entire MacOS, the entire laptop becomes unresponsive and hard reset is required.
The problem occurs when hair needs to be displayed in a viewport (if it's hidden in viewport, the system does NOT crash when rendering hair in Cycles.
Exact steps for others to reproduce the error
or
The computer will freeze (please note the system info).
bug-hair-report.blend
system-info.txt
Added subscriber: @dr_formalyst
#101902 was marked as duplicate of this issue
#101653 was marked as duplicate of this issue
#99832 was marked as duplicate of this issue
#97487 was marked as duplicate of this issue
#97630 was marked as duplicate of this issue
Added subscriber: @PratikPB2123
Hi, thanks for the report.
I don't get any freeze when I turn on viewport visibility for hairs.
Can you check with factory reset?: {nav File > Defaults > Load Factory Settings}
Hi Pratik,
Yes it still happens, and let me give you more details.
Sometimes, Blender will crash without freezing MacOS.
It seems to be the problem with the GPU, because often the crash
will start by GPU glitching (screen artifacts), and then either
the system will frieze or Blender will show up normally again
for a moment and then crash.
Notice that when using Cycles rendering in viewport, it does not crash.
It only crashes when using Shaded or Wireframe views.
Hope this helps, let me know if you need any more information.
Thanks
Added subscriber: @mano-wii
Hi, thanks for the information.
@mano-wii , can you test this file on mac?
I cannot reproduce the problem.
It reminds me of #83199 (Blender crashes when adding a particle system to a mesh object and switching the type to Hair)
This may have something to do with the workaround to "transform feedback" on Macs. Since "transform feedback" doesn't work on some Macs (See #58489, #60171).
System Information
Operating system:
macOS-12.2-arm64-arm-64bit 64 Bits
Graphics card:
Apple M1 Apple 4.1 Metal - 76.3
Thanks for checking this. Please note that the error does not appear with low hair count, more less below 10 000. Also I have an AMD card, not M1, and it all worked fine before 3.1 - if all this info can help troubleshoot
Added subscriber: @RoyTheKoi
I experienced this same issue while testing the new hair curves in 3.2 Alpha. The entire OS freezes and only a hard reset fixes things. For me the freezes occur whenever >5000 hair curves are present in solid view (workbench?), not in Cycles.
I can reproduce the problem with the provided blend file also.
My machine is a 2019 16-inch Intel MacBook Pro which has a built-in AMD card, not M1.
System Information
OS: macOS Monterey 12.3
CPU: 2.3 GHz 8-Core Intel Core i9
GPU: AMD Radeon Pro 5500M 8 GB / Intel UHD Graphics 630 1536 MB
Blender Version
Version: 3.2 Alpha, Branch: master, Date: 2022-04-19, Hash:
6a3c3c77b3
Added subscriber: @ThomasDinges
Cannot confirm this on MacBook Pro with
M1 Max
. Tested with 50.000 hair particles.Looks like it works correctly on M1 devices, but not on Intel/AMD combo. I tried it on my older MacBook Pro, which has Radeon 560x card, and it did not crash but I could not even get particles to show in the viewport (in none of the shading modes).
Added subscriber: @jennyp
Changed status from 'Needs Triage' to: 'Confirmed'
Changing to Confirmed, since there are two reports now on this.
Added subscriber: @lichtwerk
This looks like a regression, could someone on MAC bisect this, please?
(will already raise priority here...)
Hair Particles Freeze Entire MacOS!to Regression: Hair Particles Freeze Entire MacOS!Added subscriber: @Wilker-Lucio
Just adding a new report, I'm on Mac OS 12.3.1 (21E258), on a 2019 Macbook Pro with the following graphics cards:
AMD Radeon Pro 5500M 8 GB
Intel UHD Graphics 630 1536 MB
I was following some carpet tutorials and when using the particle system my entire system crashed. Now I can't open that same file again with the risk of the OS crashing entirely too.
Tested on Blender 3.1.2, using Cycles on GPU
Added subscriber: @CharmanDrigo
I've tested some old 3.1 Alpha daily builds and managed to narrow it down to somewhere between these two builds:
2bf519d211
1edf520439
Compiling Blender isn't something I've tackled yet, so unfortunately I won't be able to bisect further for now.
Added subscriber: @Jeroen-Bakker
Unable to reproduce on
18a17d4291
Looking at the reports it could be related to GPU/AMD. Something I am not able to test myself. I have asked Sergey to test.
We cannot reproduce it also on his system. With the steps provided in the description.
As no developer was able to reproduce it we will lower the priority until there is more information available and developers are able to reproduce it.
@ThomasDinges as two users are able to confirm it doesn't mean that we have all the information to reproduce or fix this issue and this ticket can move to on the working board of a developer; It should still be triaged. Especially for platform issues they need to be reproducable, before the GPU team is able to do anything with it, or there should be a very clear stacktrace.
I tried to get a crash report to provide you with the stacktrace, but unfortunately as this bug freezes the entire MacOS the crash report is not saved at all. If you have any suggestions how I could provide you with more detailed/useful information, please let me know.
Running the test file on 3.1.2, I found that Blender quits after ~30 seconds of freezing the OS instead of requiring a hard reset. Still, no crash log is saved.
The only information I was able to get was the following output from the terminal:
I was able to compile Blender and then bisect.
This was the breaking commit:
5b299e5999
Added subscriber: @didi404
Added subscriber: @maxgrafik
Same here. Fresh install of 3.3.0 with factory settings.
I can reproduce the problem with the provided blend file.
Although for me Blender just crashes and does not freeze the entire macOS.
Anything else I can provide to help fix this bug?
Broken: since 3.1
Worked: 3.0.1
System Information
iMac Retina 4K, 21.5, 2019
3,2 GHz 6-Core Intel Core i7
AMD Radeon Pro 560X 4 GB
macOS-12.5.1-x86_64-i386-64bit
system-info.txt
crash-report.txt
Added subscriber: @iamblacqman
Changed status from 'Confirmed' to: 'Needs Developer To Reproduce'
MacBook 16 pro, 2019
Mac OS Monterey
Intel i9
Amd Radeon Pro 5500M
Blender 3.3, 3.2.2
when using hair, the macbook freezes, and reboots after a while. sometimes the blender just crashes. Cycle works well, but sometimes even this project cannot be opened
Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
@iamblacqman : any reason you changed status here?
I didn’t want this, I just added that my hair doesn’t work either
Added subscribers: @r189, @iss, @OmarEmaraDev
Added subscribers: @MaxSonicUA, @EAW
Removed subscriber: @MaxSonicUA
Added subscriber: @MaxSonicUA
Added subscriber: @Christopher-Hemsworth
{F13719967}Hey all, this is basically what I've been faced with as well.
TL;DR: no problems until I started trying out the new hair curves system last night. Now I'm getting full system crash, even with no viewport shading at all. (UPDATE: I reproduced and attached system crash info)
Specs:
macOS Monterey 12.6 (most up to date as of today)
2019 16-inch MacBook Pro
2.6 GHz 6-core Intel Core i7
16 GB 2667 MHz DDR4
AMD Radeon Pro 5300M 4GB
Intel UHD Graphics 630 1536 MB
Which are specs almost identical to another poster here. So in my case I'm running the latest Blender version 3.3.1 (which I have been since it came out) and was having no real issues. I did a benchmark test just to see which of the graphics I should use in cycles and since for the first time Metal is supported, I have for the first time started using GPU compute which has been largely successful. The difference maybe slight, but I figured I would try using GPU. Anyways here's what happened last night:
Using the new hair curves system, seems to be what has caused the problem. I haven't really dealt with the whole entire macOS freezing up before but that's been happening now. I am forced to do a hard reset. When I have tried to reopen that same file the same thing happens (as indicated by another user here).
I have also experienced this happening:
I don't know if this might be helpful but I found a workaround at least to prevent the crashing and be able to load the hair on MacOS without the crashing happening.
You have to hide the particles from the realtime viewport on the particles tab, if you do so, the project should load and Blender will not crash, Save, and then reopen the project.
Go onto the Viewport Shading and wait for the materials to load, then you can manually reveal the particles on the viewport again, this should load the particles correctly and not freeze the system and crash the program.
This issue appears to happen on start when Blender attempts to load everything at once: Materials, geometry and particles, this has resolved the issue for me so far and I can finally see and edit my hair particles without crashing.
However you have to hide the particles from the viewport realtime before closing blender, otherwise on the next open it will freeze again
Added subscriber: @Evgenii111
Added subscriber: @RyanMalm
Adding to the pile on this issue I guess? Similar system specs, similar issue; Blender crashes while using new hair system in eevee viewport, File fails to open or crashes system every time after that. Blender files from other sources which use new hair features also crash Blender.
Quick update: Tested this issue with mac os Ventura 13.2 and Blender 3.4.1 and everything is finally working correctly.
My old ticket: #101902
That's good news @MaxSonicUA!
Can others experiencing the issue confirm if updating works for them as well?
It seems to have solved the problem for me. I can add particles and change from emitter to hair without a crash. I can also use quick effects to create fur without a crash.
Thank you!
I haven't updated to macOS Ventura yet, but it seems the new GPU Metal Backend in 3.5 solved all hair problems for me.
Good news.
Since this is seems a driver issue that is not handled by Blender and updating macOS or using Metal Backend resolves the issue, I am closing the report.
Thanks for the feedback.