Rigid body simulation behaves wildly on OSX #38746

Closed
opened 2014-02-21 22:41:30 +01:00 by jesus lamas · 34 comments

System Information
Mac os X 64-bit , NVIDIA GeForce 320M 256 MB

Blender Version
Broken: Blender 2.69.11/ which is the 2.70 test build.

Short description of error
Well there is something wrong with the rigid body simulator. When I add a object and make it active and add a plane which is passive. The object does drop to the plane as it should but once the active object touches the passive plane it starts to slide and move around. Physics are not properly simulated.

Exact steps for others to reproduce the error
I uploaded a video of a screen recording to show the problem/bug on my youtube page.
http://youtu.be/SjN8_sZcngM

**System Information** Mac os X 64-bit , NVIDIA GeForce 320M 256 MB **Blender Version** Broken: Blender 2.69.11/ which is the 2.70 test build. **Short description of error** Well there is something wrong with the rigid body simulator. When I add a object and make it active and add a plane which is passive. The object does drop to the plane as it should but once the active object touches the passive plane it starts to slide and move around. Physics are not properly simulated. **Exact steps for others to reproduce the error** I uploaded a video of a screen recording to show the problem/bug on my youtube page. http://youtu.be/SjN8_sZcngM
Author

Changed status to: 'Open'

Changed status to: 'Open'
jesus lamas self-assigned this 2014-02-21 22:41:30 +01:00
Author

Added subscriber: @jesus650rwc

Added subscriber: @jesus650rwc

#38940 was marked as duplicate of this issue

#38940 was marked as duplicate of this issue
Campbell Barton changed title from Blender 2.70 Test build bug. to Blender 2.70 Test build (rigid body simulator bug) 2014-02-22 03:47:52 +01:00
jesus lamas was unassigned by Bastien Montagne 2014-02-22 15:22:16 +01:00
Sergej Reich was assigned by Bastien Montagne 2014-02-22 15:22:16 +01:00

Added subscriber: @mont29

Added subscriber: @mont29

Cannot confirm that with latest trunk… Could you please upload a sample file with that issue?

Sergej, assigning to you nevertheless. ;)

Cannot confirm that with latest trunk… Could you please upload a sample file with that issue? Sergej, assigning to you nevertheless. ;)
Brecht Van Lommel changed title from Blender 2.70 Test build (rigid body simulator bug) to Rigid body simulator bug 2014-02-22 16:52:38 +01:00
Author

Sample.blend Sample as in .blend? If so, here is a sample.

[Sample.blend](https://archive.blender.org/developer/F78508/Sample.blend) Sample as in .blend? If so, here is a sample.

Can't reproduce here on arch linux 64 bit.
Would be good if someone could try to reproduce this on a mac.

Can't reproduce here on arch linux 64 bit. Would be good if someone could try to reproduce this on a mac.

Added subscriber: @RJW

Added subscriber: @RJW

Confirmed on an iMac running OSX 10.9.1

Works OK for me in official 2.69.0 r60991 and recent buildbot build 2.69 #2175302.

Confirmed on an iMac running OSX 10.9.1 Works OK for me in official 2.69.0 r60991 and recent buildbot build 2.69 #2175302.
Author

Did you test in Blender 2.70 test build that blender.org released?

Did you test in Blender 2.70 test build that blender.org released?

@jesus650rwc Yes, the official Blender 2.70 test build from blender.org exhibits the issue on OSX 10.9.1. The earlier builds I mentioned are OK.

@jesus650rwc Yes, the official Blender 2.70 test build from blender.org exhibits the issue on OSX 10.9.1. The earlier builds I mentioned are OK.

@jesus650rwc @RJW
Could you test the latest buildbot and see whether the problem still exists?

@jesus650rwc @RJW Could you test the latest buildbot and see whether the problem still exists?

Blender 2.69 #cb1b6b5 from buildbot works fine for me.

Blender 2.69 #cb1b6b5 from buildbot works fine for me.
Author

Is that build the same build that was just released from blender? (Blender2.70)

Is that build the same build that was just released from blender? (Blender2.70)

@jesus650rwc It's a different build. As requested by Sergej, I tested the latest buildbot build (http://builder.blender.org/download/) which, as I reported above, works fine on OSX 10.9.1.

In summary, official release has the bug, buildbot is OK.

@jesus650rwc It's a different build. As requested by Sergej, I tested the latest buildbot build (http://builder.blender.org/download/) which, as I reported above, works fine on OSX 10.9.1. In summary, official release has the bug, buildbot is OK.

Added subscriber: @particl3s

Added subscriber: @particl3s

◀ Merged tasks: #38940.

◀ Merged tasks: #38940.
Sergej Reich changed title from Rigid body simulator bug to Rigid body simulation behaves wildly on OSX 2014-03-04 11:32:45 +01:00

Since the problem isn't present in the buildbot builds the bug is either fixed or it's a problem with the way the testbuild was made on OSX.
Please Test the release candidate when it comes out to make sure it's not the latter.

Since the problem isn't present in the buildbot builds the bug is either fixed or it's a problem with the way the testbuild was made on OSX. Please Test the release candidate when it comes out to make sure it's not the latter.

Added subscriber: @sreich

Added subscriber: @sreich

@sreich

I just noticed the RC is available...

  • I've tested Blender 2.70 RC #19f7f9a (2014-03-05 18:37) and it has the wild behaviour.
  • The latest buildbot 2.69 #905dda (2014-03-05 08:00) is OK.

OSX 10.9.2.

Hope this helps.

@sreich I just noticed the RC is available... - I've tested Blender 2.70 RC #19f7f9a (2014-03-05 18:37) and it has the wild behaviour. - The latest buildbot 2.69 #905dda (2014-03-05 08:00) is OK. OSX 10.9.2. Hope this helps.
Author

Is there a way to fix this?

Is there a way to fix this?

Added subscriber: @jensverwiebe

Added subscriber: @jensverwiebe

@jensverwiebe: I think you should take a look at this.

@jensverwiebe: I think you should take a look at this.
Member

I confirm this issue.
The reason is my recent change to clang-omp-3.4.
Oddly it only happens in 64bit build.

We have several options:

  • compile bullet with apple clang for now ( has no openMP, do we even use it here ? )
  • fix it really. I get lot of warnings with clang 3.4 about initialization order.

...

Investigating what the real issue is atm.

Jens

I confirm this issue. The reason is my recent change to clang-omp-3.4. Oddly it only happens in 64bit build. We have several options: - compile bullet with apple clang for now ( has no openMP, do we even use it here ? ) - fix it really. I get lot of warnings with clang 3.4 about initialization order. ... Investigating what the real issue is atm. Jens
Member

So i made a tentavive fix for release 2.70 now, by just using clang 3.3 for bullet2.

This bullet issue should be investigated further:

  • issue is limited to clang 3.4 64bit atm., 32bit build works normal
  • my guess is it is something in the friction handling

Jens

So i made a tentavive fix for release 2.70 now, by just using clang 3.3 for bullet2. This bullet issue should be investigated further: - issue is limited to clang 3.4 64bit atm., 32bit build works normal - my guess is it is something in the friction handling Jens
Member

Bang .. i just updated to Xcode 5.1 which is based on clang 3.4 too -> issue is back ( workaround was using the still @ 3.3 clang from former xcode )
So we need Erwin now

Jens

Bang .. i just updated to Xcode 5.1 which is based on clang 3.4 too -> issue is back ( workaround was using the still @ 3.3 clang from former xcode ) So we need Erwin now Jens

This issue was referenced by blender/blender-addons-contrib@558fa43ffd

This issue was referenced by blender/blender-addons-contrib@558fa43ffd5bb1c4950855bd07450841664e89aa

This issue was referenced by 558fa43ffd

This issue was referenced by 558fa43ffd5bb1c4950855bd07450841664e89aa
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

Closed by commit 558fa43ffd.

Closed by commit 558fa43ffd.
Member

Changed status from 'Resolved' to: 'Open'

Changed status from 'Resolved' to: 'Open'
Member

I wanna have this bug reopened due in fact i made fixes a bit working around the problem.
Although compiling is fixed, i would like to see comments from bullet2 ppl when
they start to use clang > 3.3 too.

The problem is solved atm by not using all release flags for compiling c-api and
just throw the full optimization on cpp code. We could live with that, but i wanna
know why this is in 64bit only and if it is perhaps stricter compiler or something else.

Due rare time atm., i postpone this for after 2.70 Priority is not high.

Jens

I wanna have this bug reopened due in fact i made fixes a bit working around the problem. Although compiling is fixed, i would like to see comments from bullet2 ppl when they start to use clang > 3.3 too. The problem is solved atm by not using all release flags for compiling c-api and just throw the full optimization on cpp code. We could live with that, but i wanna know why this is in 64bit only and if it is perhaps stricter compiler or something else. Due rare time atm., i postpone this for after 2.70 Priority is not high. Jens
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member
Closed by commit blender/blender-addons-contrib@558fa43ffd.
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
6 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#38746
No description provided.