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

Native Apple Silicon Support #2145

Open
adatan opened this issue Jan 25, 2022 · 24 comments
Open

Native Apple Silicon Support #2145

adatan opened this issue Jan 25, 2022 · 24 comments
Labels
Discussion Needs to be discussed enhancement New feature or request Jira This ticket is being tracked in Jira

Comments

@adatan
Copy link

adatan commented Jan 25, 2022

Please provide builds for apple m1 CPUs

@Bilb Bilb added Discussion Needs to be discussed enhancement New feature or request labels Jan 26, 2022
@mokkun
Copy link

mokkun commented Mar 20, 2022

I'm using it on an M1, so perhaps this has been solved?

@adatan
Copy link
Author

adatan commented Mar 20, 2022

I'm using it on an M1, so perhaps this has been solved?

That's because Rosetta 2

@Bilb
Copy link
Collaborator

Bilb commented Apr 14, 2022

Relates #1635

@solus-hq
Copy link

Did anybody try bulding Session on Apple's aarch64?

@vladstudio
Copy link

any news about Session client for M1?

@mxsrm
Copy link

mxsrm commented May 22, 2023

How is this still not done mid 2023? You literally only have to build a universal binary and you're done?

@altsst
Copy link

altsst commented Sep 27, 2023

+1

@AndreiRegiani
Copy link

Session Desktop is really laggy compared to other IMs, just noticed it's the only app on my M1 still using Intel 💀

image

@AndreiRegiani
Copy link

Duplicated: #2781

I come here once again, it's impossible to use Session on battery (M1 Pro), the high CPU usage overheats my laptop and I can see the battery going down in real-time.

image

@AndreiRegiani
Copy link

Good news everyone: I built & QA tested Session Desktop on macOS arm64 and everything works perfectly without any change, so this issue is simply just to add a new build to the release script.

Can anyone assist with the GitHub Actions do to so? cc/ @Bilb

The UI is so fast now, day and night difference!


cd session-desktop
nvm use 18.15.0
yarn install --frozen-lockfile
yarn build-everything
yarn test

  729 passing (2s)
  3 pending

✨  Done in 3.74s.
image image

@pottsandpans pottsandpans added the Jira This ticket is being tracked in Jira label Apr 4, 2024
@pottsandpans
Copy link
Collaborator

This is being tracked on Jira:
https://optf.atlassian.net/browse/SES-1696

@KeeJef
Copy link
Collaborator

KeeJef commented Apr 8, 2024

Github Actions is having issues producing ARM builds for M series Mac's which don't crash on startup, we are investigating, but we can produce these working builds locally, so shouldn't be too long before we figure this out. We are in the process of migrating to a different built machines for our CI process.

@yougotwill
Copy link
Collaborator

yougotwill commented Aug 21, 2024

Resolved by #3163. Next release will include native silicon builds

@pashynskykh
Copy link

The new release 1.13.2 is still an Intel only build.
Bildschirmfoto 2024-08-29 um 08 39 49

@yougotwill
Copy link
Collaborator

yougotwill commented Aug 29, 2024

Hi @pashynskykh, the team realized that we needed to investigate the auto update behaviour now that Session Desktop supports both macOS architectures. A lot of testing is required to ensure the update is smooth and doesn't breaking auto updating. Because this release had critical fixes for attachments and logging we decided to ship it without arm64 support.

I'll reopen this issue. 🙏

@yougotwill yougotwill reopened this Aug 29, 2024
@pashynskykh
Copy link

Hi @yougotwill,

I hope you are having a great day.

Thanks for the quick response and update on this issue.

I understand that testing might take some time, but would be very grateful for a rough ETA for the arm64 build, like a week, a month, or two months.

Thank you very much!

Best regards,
Vladyslav

@yougotwill
Copy link
Collaborator

@pashynskykh We have a couple of high priority things in the pipeline so honestly expect about 1 month. Will ping you when it's released. 🙏

@pashynskykh
Copy link

@yougotwill thanks you very much for your work! I look forward to trying the build for arm64.

@pashynskykh
Copy link

@yougotwill, sorry to bother you. Is there any news about the arm64 build?

@yougotwill
Copy link
Collaborator

@pashynskykh I'm going to work on it later this week. So hopefully you will hear good news next week 🙏 The main challenge is making sure the auto update works correctly on both macOS architectures.

@pashynskykh
Copy link

@yougotwill, thank you very much for the reply. Looking forward to the release :)

@yougotwill
Copy link
Collaborator

yougotwill commented Nov 13, 2024

@pashynskykh Didn't make as much progress as I would like but just to let you know what I got up to and what still needs to be done.

  1. Working on a PR for session desktop with alpha updates support via a new debug menu
    • New Debug menu
    • UI for swapping release channels is done now need to do logic
  2. PR for Session Fileserver to fetch alpha updates currently it only supports the standard update channel
  3. PR for Github Actions
    • Support macOS Arm64 builds on regular and alpha releases [unmerged branch but tested]
    • Separate upload artefacts for each architecture when github action finishes the job. Alternatively run separate jobs.

Last Updated: 2024/01/24

@pashynskykh
Copy link

@yougotwill thank you very much for such a detailed update on this issue. I really appreciate your work and that you post updates on it.

I really hope to see arm64 build soon, as there are very few E2E-encrypted instant messengers that allow you to create accounts without providing any data. Considering the situation in the world, we need Session to work well on all popular platforms like never before.

Thanks again. Looking forward to the arm64 build :)

@yougotwill
Copy link
Collaborator

yougotwill commented Feb 5, 2025

Migrating my updates to here session-foundation#39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Needs to be discussed enhancement New feature or request Jira This ticket is being tracked in Jira
Projects
None yet
Development

No branches or pull requests