-
Notifications
You must be signed in to change notification settings - Fork 193
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
[Feature Request] ARM64 #1635
Comments
As someone that has primarily ARM devices due to not being able to afford something better, this would be a huge quality of life improvement. To my knowledge, this would be required to get it to run on a PinePhone as well since they use an Allwinner A64 SoC. The PinePhone would need additional support through proper UI scaling but that's already been mentioned in issue #1304. |
Has any progress for this to be added as a feature been made? I own a pinephone and would really appreciate support for arm64 - either being able to build from source or as an AppImage. Happy to help debug/contribute too. |
Hey, I cannot test this all the way as I only have a remove raspi 4 without a display, but I get a so I guess it almost start. Maybe the screen not present is the only left issue? in
(just add the then run
it should build you a file see the arm64 in its name. looks like the library is installed on raspi with the version number At this point, it just asks on my side for a screen. |
@Bilb Thanks for the response, unfortunately I could not run
Can you confirm I should be building this on the pinephone, or should I do this on another linux machine (amd64) and then transfer the AppImage across? |
Never used Yarn before, getting this error, both on my PI and my x64: |
I tried on my x64 so I would recommend doing the same. About your error. Did you run |
what is the yarn package installed? it's not supposed to be a binary you installed from your repository but an npm global binary Before trying to build a release you should first follow those steps as seen in the Building.md file
then Only then you can try to do what I am taking about in this comment |
I decided to clone the repo and begin from scratch on my x64, when I run this I got this output However I decided to continue building and created the AppImage. I moved it to the pinephone and executed EDIT: I changed the outputs to be uploaded to the pastebin so the thread is tidy |
In thr first output, you get an error here Can you tell me what's returned by |
Ah yes, my mistake I thought it was changed to python2 after installing.
|
you should be able to overide your default python temporary just with this command and rerun your command |
Just reran |
before build-release you also need to compile .ts and .tsx files to js. |
|
maybe just compile on amd64 PC with electron-builder config like
|
When I try to install
and if nvm v12.0.0 is used then the following error is produced
As with FatBirdie this too my first time using these commands and I am unsure how to move forward from here. As with the error log from my previous comment, I am not sure where the error is coming from as on lines 6-9 it appears that in the |
@Bilb @peepopoggers I followed the below steps in order, can you let me know if I'm building correctly? On x64
Instead of On Raspberry Pi
I've also tried As I have an external monitor if I can replicate your AppImage for my Raspberry Pi I can also check whether the build was successful before moving back to the pinephone. |
can you try to rebuild on your computer after having removed in package.json the
(and the , right before it). Does that |
No it does not remove the error |
Just tried to see if the latest updates fixed this and I can only get so far as to run
Any updates on when this will work? The main reason I dont use my pinephone daily yet is because I dont have a secure messaging platform working yet and would really like this to work. |
|
@necro-nemesis changing the version to |
It's having a problem building sqlite3 or .. better-sqlite3 and archiving it. Try installing git-lfs |
I was able to build the AppImage for the pinephone, but when I tried opening it I got this error, again not sure how to proceed but it does look like it's almost complete |
You're further ahead than I am at this point. I'm trying to build on a Pi4 to see if it's feasible. Possibly someone working on Session development could throw us a bone? |
One thing I discovered poking around is the annoying network timeout warnings has a an option |
I don't think the timeout was a problem for me, I have been building on an x64 system if that makes any difference. Hopefully the devs pull through then! |
timeout was an issue for me and that fixed the option. I've the added challenge on trying to build on 32bit but if the objective is to use on Raspberry Pi OS then I'm limited there. Not sure of the merit in supporting this build but at this point it's just the challenge to see if it will build. The Linux build instructions could use some attention like listing current dependencies. The correct version to build on etc. I was even looking over the github Actions CI Ubuntu build to see what was there that could be missing. That's where I picked up on the timeout option. |
|
@code-mart , I tried again - building on PinePhone Mobian: git clone https://github.com/oxen-io/session-desktop.git
git checkout fb74a33f28c9c950932d4202493819626b9125d4
yarn install
yarn generate
USE_SYSTEM_FPM=true build-release
cd release
sudo dpkg -i session-desktop-linux-arm64-1.8.4.deb It built and installed. But on running, it throws a "database error" |
very likely, there is an earlier error than this one. Would help to have the full logs started from the terminal |
|
Based on signalapp/better-sqlite3#1 it seems like there is indeed a problem with |
@BugInACode , I actually had no problems building per the above. I got the executable and all - it just has DB problems. |
Interesting, I tried yesterday on my x64 and got the same errors as in the |
@BugInACode , no, the steps I used were these #1635 (comment) |
try on a pi |
Have you tried? Does it work?
Sent with [ProtonMail](https://protonmail.com/) secure email.
…------- Original Message -------
On Thursday, May 19th, 2022 at 10:19 AM, peepopoggers ***@***.***> wrote:
try on a pi
—
Reply to this email directly, [view it on GitHub](#1635 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/ACZWS3XZ6OLO4Q2X3WDPVA3VKZLY3ANCNFSM445TT3HA).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Whats the issue of publishing a ready made, working out of the box, AppImage directly under releases from Session team? |
It's nice to see that some people are interested in building Session for ARM. 🙏 😄 |
@zpeterg : I gave building another try using your instructions in #1635 (comment). I got this error:
Editing packages.json and replacing node version under engines with 19.4.0 fixed that. But then I got network errors after running "yarn install":
Looking into that, tbc. PS: to automate these instructions a bit more, let's add "cd session-desktop" after the git clone command. |
@BugInACode : I retried your instructions, and got stuck at:
|
@BugInACode : when using "yarn generate-lock-entry" that worked. Then, I had to install "libopenjp2-tools" to fix " ⨯ exec: "opj_decompress": executable file not found in $PATH". After that:
cc: @zpeterg |
After installing curve25519-js I still got the error about missing index.js. I ran "npm install" to reinstall all dependencies and such. This ended with:
|
I have a PinePhone Pro and have tried installing Session-Desktop on Kali Nethunter, Manjaro Plasma Mobile, Manjaro Phosh, postmarketOS, Mobian, and Ubuntu Touch. All have been unsuccessful. Farthest I got was with Manjaro Plasma Mobile, Session gets stuck at the splash screen. |
@6uHt1G it's been a while since I looked at this... can you share what steps you took to get to the stuck splash screen? |
As all the backorders for the Librem 5 Linux phone are close to being delivered, a number of those users will be looking for an ARM64 version of Session as well. I don't have the expertise, but I can certainly report bugs and beta test. |
Building the Session App in Flatpak, would that automatically enable it to work on any system since it would have to contain all required libraries etc? |
bump |
Anything new on this subject? |
"KeeJef added the enhancement label on May 17, 2021" ... |
We haven't forgotten about this, still something we would like to do, however taking a backseat to closed group & disappearing message overhaul. |
@Keksimus69 Unfortunately this is not (my)/the intended outcome, but cool to see it on the screen nonetheless.
@CaptainMorgan12 This does sound like a good option to try. I can give this a go on the weekend.
@KeeJef appreciate it. I haven't forgotten about this either |
Hi everyone 👋 I'm glad to see that the issue is still open. I can see more and more ARM64 devices running Linux (and also Windows nowadays) so this feature would totally make sense. |
Hi
Would love to see an AppImage made for Arm64 so Session could be run on Raspberry, Pine etc.
I'm not sure if interest for this is very low or non existent, but if you have a need for it please give this a thumbs up.
Cheers!
The text was updated successfully, but these errors were encountered: