Page 1 of 2

M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Posted: 24 Oct 2022, 12:57
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.

Re: M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Posted: 24 Oct 2022, 13:33
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

Re: M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Posted: 25 Oct 2022, 08:07
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?

Re: M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Posted: 25 Oct 2022, 14:54
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

Re: M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Posted: 26 Oct 2022, 14:50
by coppelia
Yes, this is very probably due to the fact that m1 is not yet natively supported.

Cheers

Re: M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Posted: 26 Oct 2022, 15:34
by cembilaloglu
Thanks, but do you have a timeline for when it will be available on M1?

Re: M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Posted: 01 Nov 2022, 13:59
by coppelia
This should hopefully be out in 3-4 weeks of time.

Cheers

Re: M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Posted: 14 Dec 2022, 18:42
by cembilaloglu
Any updates on this?

Re: M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Posted: 15 Dec 2022, 15:29
by fferri

Re: M1 macOS 12.6 Working Coppelia Sim Crashes with Mujoco

Posted: 16 Dec 2022, 12:45
by coppelia
yes, we unfortunately got delayed with that task... will resume as quickly as possible

Cheers