Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant run on m1 Macbook #139

Open
TheSkyseeker opened this issue Mar 27, 2021 · 11 comments
Open

Cant run on m1 Macbook #139

TheSkyseeker opened this issue Mar 27, 2021 · 11 comments
Labels

Comments

@TheSkyseeker
Copy link

Hi and Salut Guys,
the APP crashes on my new Macbook.
Please let me know if you are planing on fixing that, and I'll do my Best to support you with crash-log Infos.
BR Steven

@deufrai
Copy link
Owner

deufrai commented Mar 27, 2021

Hi

Ah M1 macs. I was curious as to when this would blow out in our faces...
I suspect the issue is seen when using ALS from a 'nightly' bulds .dmg image , right ?

@TheSkyseeker
Copy link
Author

Yes, exactly. I used the latest one, 2021-01-29

BR
Steven

@deufrai
Copy link
Owner

deufrai commented Mar 27, 2021

Until we can get ours hands on such hardware, we are unable to provide a .dmg for M1 systems.

But, provided you install pyenv on your M1 Mac, you can generate one yourself using this script : https://github.com/gehelem/als/blob/release/0.7/ci/build_dist_OSX.sh

A specific point of attention needs to be addressed when installing a 3.6.9 version of Python using pyenv.

If you want to try it out, just tell me and I'll describe the steps needed before using this script

Peace

@TheSkyseeker
Copy link
Author

Sure, lets do it👍

@deufrai
Copy link
Owner

deufrai commented Mar 29, 2021

Hi

I sugget you install homebrew so all next steps are easier
See : https://brew.sh/

  1. install pyenv using homebrew
    See : https://github.com/pyenv/pyenv#homebrew-on-macos

  2. install a v3.6.9 Python version, with this specific command :
    env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.6.9

  3. install create-dmg (with homebrew as well)
    See : https://github.com/create-dmg/create-dmg#installation

Then, get ALS sources from release/0.7 branch, using GitHub download or clone feature
then call the build script from the sources top folder :

./ci/build_dist_OSX.sh

You'll then find your DMG image inside the dist subdirectory

@TheSkyseeker
Copy link
Author

Hi,

I finally found the time, but ended in an error trying
env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.6.9
--> Unexpected output of 'arch' on OSX

To be noticed, Python 3.8.2 is installed correctly

Tomorrow I'll clone the terminal-app and set it to be opened with rosetta.

@deufrai deufrai added the build label Feb 22, 2023
@deufrai
Copy link
Owner

deufrai commented Mar 9, 2023

I know, 2 years after....

If you're still into it, I just witnessed an M1 Macmini running perfectly fine with the latest build.
If you want to give it a go : https://als-app.org/nightlies/latest/

@TheSkyseeker
Copy link
Author

TheSkyseeker commented Mar 9, 2023 via email

@deufrai
Copy link
Owner

deufrai commented Mar 9, 2023

Hi,

What about de-rotation here?

Should work out of the box

@deufrai
Copy link
Owner

deufrai commented Mar 21, 2023

Hi again

I received news from a brave soldier who managed to run ALS from source on an M1 Mac Mini : performance boost vs Intel : ~40%

@deufrai deufrai closed this as completed Mar 21, 2023
@deufrai deufrai reopened this Mar 21, 2023
@TheSkyseeker
Copy link
Author

TheSkyseeker commented Mar 22, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants