Quick Fur particles enter in infinite loop and crash #65228
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#65228
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?
Windows 10 64 bits - Compiled last source code at 28/05/2019 10:35:00
I have done some debug and I have seen the time is used in the following functions:
We have tested in two different PCs and it's only compiling the last source code, but not using the buildbot of today.
Added subscriber: @antoniov
Added subscriber: @WilliamReynish
@WilliamReynish @brecht Could you test in Mac/Linux ?
Added subscribers: @OscarNebeAbad, @juang3d
I tested today's master in windows, i7-5960x, without problem:
version: 2.80 (sub 72), branch: blender2.7, commit date: 2019-05-27 19:48, hash:
89207df722
But @antoniov y @OscarNebeAbad tested the same and they get hangs
Also tested master recently build on linux mint, without trouble, in the 2990WX, it's a weird behaviour
BTW: those two are two different pc's from the ones mentioned by Antonio
I have seen the problem is only using "Quick Fur". If you add the particle system, set to hair and 200.000 works.
I tested on today Win 64 build on i7 7700HQ, and also happens to me. Even I got 1 particle on screen if I create just 1million or 4million particles in it.
Added subscriber: @brecht
It seems the problem is related to children generation, when trying to generate 100.000 particles * 10 children on viewport it hangs
It seems that the same thing worked fin in 2.79, the problem seems to be related to child particles
ok, so in 2.8 is also working, so this may be just the result of having faster particle creation and now having a much slower children creation, which in reality it's not slower, it's that now it's more obvious, I'm not sure, still doing some more tests though
It seems to be related to some kind of capping, with 100.000 particles * 100 interpolated children all CPU's are being used ina multithreaded task, while with 100.000 * 10 interpolated children it seems that is not running the multithreading, so it's doing a single threaded task
100.000 * 100 inteprolated:
100.000 * 10 interpolated:
Added subscriber: @JacquesLucke
Added subscriber: @ZedDB
I can't reproduce the infinite loop and crash. Is this still an issue?
Changed status from 'Open' to: 'Archived'
I think we can archive because the reason in the children particles and the number is very high. Really, this is more a ToDo to improve Child particles creation and multithreading, but not a bug.
@juang3d and I were looking at the code but we have not found the problematic lines yet.
Yes, I have not found the problem yet, still looking at particles code when I have some time, I would like to do some proper debug and profiling as Antonio did to find if I found the bottleneck, but I don't think it's a bug, it's just something to be improved.