M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Report crashes, strange behaviour, or apparent bugs
cembilaloglu
Posts: 5
Joined: 24 Oct 2022, 12:44

M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Post by cembilaloglu »

Hi,

I have a M1 Macbook Pro running Coppelia Sim 4.4.0 Edu Version (Qt Version 5.15.5, Clang).

I have used all the physics engines except Mujoco successfully and had no issues. However, when I set the physics engine to Mujoco and click to run, the application crashes immediately without any error message whatsoever.

Do you have any idea what can be the source of the problem?

Thanks in advance.

coppelia
Site Admin
Posts: 10336
Joined: 14 Dec 2012, 00:25

Re: M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Post by coppelia »

Hello,

my guess is that CoppeliaSim is not yet supported natively on M1 - yet. Hopefully in a few weeks. Probably this relates to AVX, SSE and similar.

Cheers

fferri
Posts: 1193
Joined: 09 Sep 2013, 19:28

Re: M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Post by fferri »

cembilaloglu wrote: 24 Oct 2022, 12:57 the application crashes immediately without any error message whatsoever
If you execute the application in Terminal.app (provided you installed coppeliaSim into the Applications folder, type /Applications/coppeliaSim.app/Contents/MacOS/coppeliaSim and press return), you should see startup messages, and possibly a message related to the crash. Can you paste here what you get?

cembilaloglu
Posts: 5
Joined: 24 Oct 2022, 12:44

Re: M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Post by cembilaloglu »

Hi, below is the lines written to the terminal during the crash. There is no error before those.


FALLBACK (log once): Fallback to SW vertex for line stipple
FALLBACK (log once): Fallback to SW vertex processing, m_disable_code: 2000
FALLBACK (log once): Fallback to SW vertex processing in drawCore, m_disable_code: 2000
[simExtMujoco:warning] make sure your CPU supports AVX, SSE and similar, otherwise you might see a crash now...
[1] 72492 illegal hardware instruction /Applications/coppeliaSim.app/Contents/MacOS/coppeliaSim

coppelia
Site Admin
Posts: 10336
Joined: 14 Dec 2012, 00:25

Re: M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Post by coppelia »

Yes, this is very probably due to the fact that m1 is not yet natively supported.

Cheers

cembilaloglu
Posts: 5
Joined: 24 Oct 2022, 12:44

Re: M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Post by cembilaloglu »

Thanks, but do you have a timeline for when it will be available on M1?

coppelia
Site Admin
Posts: 10336
Joined: 14 Dec 2012, 00:25

Re: M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Post by coppelia »

This should hopefully be out in 3-4 weeks of time.

Cheers

cembilaloglu
Posts: 5
Joined: 24 Oct 2022, 12:44

Re: M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Post by cembilaloglu »

Any updates on this?


coppelia
Site Admin
Posts: 10336
Joined: 14 Dec 2012, 00:25

Re: M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Post by coppelia »

yes, we unfortunately got delayed with that task... will resume as quickly as possible

Cheers

Post Reply